Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS: remove special handling for CBOR nodes #32

Open
djdv opened this issue Jun 29, 2023 · 0 comments
Open

IPFS: remove special handling for CBOR nodes #32

djdv opened this issue Jun 29, 2023 · 0 comments

Comments

@djdv
Copy link
Owner

djdv commented Jun 29, 2023

Extracted from: #27 (comment)

We probably don't have to handle non-UFS nodes.
Any non-UFS node can just be handled as a binary blob that sources data from the node's blocks.

Previously we had an option to return cbor data as JSON, but this was removed, and the special handling as a cborFile probably doesn't need to exist anymore.
This kind of behaviour is better emulated at the system level.
I.e. cat /the/cbor/node | cbor-formatter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant