oddsdk / ts-odd

An SDK for building apps with decentralized identity and storage.
https://odd.dev/
Apache License 2.0
178 stars 24 forks source link

Replace CID log with version-based system #145

Closed icidasset closed 2 years ago

icidasset commented 4 years ago

Currently we keep a CID log, meaning, for every change we make, we store the root CID in an append-only local array. Based on this log we determine if the file system is ahead or behind. Now that we have versioning we can replace this with a better system. See https://whitepaper.fission.codes/file-system/file-system-basics/head-synchronization

icidasset commented 2 years ago

Closing in favour of upcoming merge semantics in rs-wnfs.