Switch to dag-cbor #85
Labels
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
P1
High: Likely tackled by core team if no one steps up
Problem
This library is very old, and remembers the time before we had dag-cbor.
It uses stringified JSON put in data field of
dag-pb
which is not only inefficiency and a technical debt, but an antipattern these days.Solution
ipfs.object
API and JSON indag-pb
ipfs.block
(ipfs.dag
may change,block
won't) and space-efficient dag-cbor (https://www.npmjs.com/package/@ipld/dag-cbor)The text was updated successfully, but these errors were encountered: