-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
adder: add support for specifying the hash function #3919
Conversation
@whyrusleeping this p.r. will unconditionally set the Cid version to 1 if the |
239f0ad
to
2c8120c
Compare
Great! I would just like to see a test that adds some directory stuff recursively too |
I'm working on it. Raw leaves are a bit of a problem. They need proper support for being used with a hash function other then the default |
cdc1c83
to
322a1f5
Compare
@whyrusleeping okay this should be good to go, the first commit "Rename NewBlock to NewBlockV0" is not necessary, I did it as a debugging aid and it might be useful to keep. If not it can be cleanly dropped. |
322a1f5
to
49e313e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! This look good to me 👍 I would like the NewBlockV0 change reverted though, its just a bit too much noise in the PR for my tastes right now
Then theres a code climate issue, documenting the NewNodeWithPrefix would be very helpful |
License: MIT Signed-off-by: Kevin Atkinson <[email protected]>
License: MIT Signed-off-by: Kevin Atkinson <[email protected]>
49e313e
to
4bbd001
Compare
@whyrusleeping both issues should be addressed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks @kevina :)
Closes #3917
License: MIT
Signed-off-by: Kevin Atkinson [email protected]