ipfs-cluster/api
Hector Sanjuan 7a05eeeb60 Fix #1547: Store pin metadata in a sorted array
This deprecates the Metadata protobuf map and starts serializing metadata as an
array that is always sorted by the metadata key.

This should resolve the issue that an state export file can be imported
resulting in two different CRDT dags because the binary representation of the
pin can arbitrarily change depending on how the keys in the map are listed,
and thus the CID of a delta is impacted.

So with this, a state export should result in exactly the same DAG regardless
of where it is imported.
2022-06-16 17:43:29 +02:00
..
common Merge pull request #1626 from ipfs/feat/cid-strings 2022-04-07 15:05:00 +02:00
ipfsproxy Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
pb Fix #1547: Store pin metadata in a sorted array 2022-06-16 17:43:29 +02:00
pinsvcapi Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
rest Fix #1655: rest api lbclients panic on error with streaming methods 2022-06-16 17:43:29 +02:00
add_test.go Fix #1358: Set RawLeaves to true when unset and CidVersion=1 (#1359) 2021-05-19 23:56:30 +02:00
add.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
types_test.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
types.go Fix #1547: Store pin metadata in a sorted array 2022-06-16 17:43:29 +02:00
util.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00