hldb / welo

peer-to-peer, collaborative states using Merkle-CRDTs
Other
32 stars 2 forks source link

remove Blocks api #79

Closed tabcat closed 1 year ago

tabcat commented 1 year ago

Helia exposes a blockstore which is a standardized interface which i dont expect to change much. This is different than js-ipfs which had a more complex api that was changed a few times.

The Blocks api/helper exists in welo to make encoding and storing blocks in ipfs. I think it should be removed with encoding being handled inside the components creating the data to be encoded and stored. (e.g. Entry, Identity, replicators)

tabcat commented 1 year ago

think i will add a block encoder for cbor to the utils