Open ianopolous opened 8 years ago
great stuff! thanks for sharing @ianopolous -- may want to describe the object graph a bit more in the readme. also, once IPLD lands, it could get simplify some stuff, maybe
Yep, I plan to make IPLD the serialization format.
Thanks for your work @ianopolous! I built the javascript library https://github.com/mmalmi/merkle-btree based on it. Currently integrating it to https://identi.fi for decentralized indexing.
@mmalmi There is a more up to date version here: https://github.com/Peergos/Peergos/tree/master/src/peergos/shared/merklebtree
This version is also asynchronous and so maps trivially to JS promises (we compile ours to Javascript automatically).
I've implemented a merkle b-tree It uses a generic "content addressed storage" interface, but it is meant for IPFS. It is hash agnostic (the storage provides the hash, same as in IPFS) and self cleaning - objects are deleted as soon as they are unreachable.
We are already using it in Peergos as a layer on top of IPFS/our DHT.