celestiaorg / celestia-node

Celestia Data Availability Nodes
Apache License 2.0
929 stars 925 forks source link

ipfs: consider ipld-prime and ipld-selectors #6

Closed liamsi closed 2 years ago

liamsi commented 3 years ago

Another interesting suggestion brought up by @Wondertan is to use ipld-prime. Particularly, the IPLD selectors look extremely cool and relevant to what we are doing. E.g. they could be used to download a range of leafs that belong to a particular namespace at once (#221).


Note: If it turns out much simpler to use ipld-selectors instead of manually adding logic to traverse the NMT for celestiaorg/celestia-node#5, we should prioritize this issue. Let's keep in mind though that ipld-prime is a relatively young project and it might be better to wait until it matures and stabilizes a bit further.


Wondertan commented 3 years ago

Another reason why we should not rush with Graphsync is that it depends on IPLDv1 and it's currently under major refactoring. I would suggest not to touch this topic for several months and return to this only after devnet.

liamsi commented 2 years ago

closing in favour of #614