Skip to content

Update IPFS Kubo to 0.20.0 #30652

Closed
brave/brave-core-crx-packager
#630

Description

cc @cypt4 @bbondy @autonome

Signed Binaries: https://dist.ipfs.tech/kubo/v0.20.0/
Release Notes: https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.20.md

This release includes internal refactoring and bugfixes,
but there should be no impact on features exposed by Brave aside from --empty-repo described below.

--empty-repo is now the default

When initializing a repository with ipfs init, --empty-repo=true is now the default.

This means that the repository will be empty by default, instead of containing the introduction README files.
More about the rationale behind this decision on the tracking issue.

@cypt4 I am mentioning this just in case you ended up counting the number of pins user has to detect if they did any NFT pinning. 👉 If you assumed the number needs to be bigger than 2 recursive pins, read below.


To make this work with both old and new nodes, you can take a look at the "before and after summary here.

If you want to count user pins, and want to make it work for both old and new repositories,
simply filter out below two CIDs before producing the number of user pins:

$ ipfs pin ls -t recursive
QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc recursive # README dir (always pinned before Kubo 0.20)
QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn recursive # always pinned empty dir 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions