Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Make cid() work on binary blobs #24

Merged
merged 1 commit into from
Apr 27, 2018
Merged

Make cid() work on binary blobs #24

merged 1 commit into from
Apr 27, 2018

Conversation

vmx
Copy link
Member

@vmx vmx commented Apr 11, 2018

Instead of having util.cid() take a DAG node as input, change it
to take a binary blob as input. This can save some (de)serializtion
overhead.

It also gains optional options for specifying a CID version and the
hash algorithm that should be used for calculation (if you don't
want to use the default one).

Instead of having `util.cid()` take a DAG node as input, change it
to take a binary blob as input. This can save some (de)serializtion
overhead.

It also gains optional options for specifying a CID version and the
hash algorithm that should be used for calculation (if you don't
want to use the default one).
@vmx vmx requested review from Stebalien and kumavis April 11, 2018 18:31
@vmx vmx merged commit 19451a5 into master Apr 27, 2018
@vmx vmx deleted the cid-binaryblob branch April 27, 2018 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants