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

remove bmt entry #270

Merged
merged 1 commit into from
May 31, 2022
Merged

remove bmt entry #270

merged 1 commit into from
May 31, 2022

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented May 26, 2022

This is an ongoing pain-point because it serves as an example of the very weird edges of the multicodec table. I'm not aware of any real use; or even how it could be practically used. It's not a "hash function", but describes a hash process that needs additional "function" information. I suspect it has its genesis in looking at Bitcoin et. al., but for those binary merkle trees we use bitcoin-tx coupled with dbl-sha2-256 which gives us all the information we need.

ssz-sha2-256-bmt is a newer example of an entry that's more descriptive, it stretches definitions a bit here but describes a hashing process within a format. It's probably not an awesome example either, but it's closer to a standard (current) understanding of multiformats than bmt is (not just because it can actually be implemented and used).

Can anyone think of a good reason to keep this entry, or can we remove it as cruft?

This is an ongoing pain-point because it serves as an example of the very weird edges of the multicodec table. I'm not aware of any real use; or even how it could be practically used. It's not a "hash function", but describes a hash process that needs additional "function" information. I suspect it has its genesis in looking at Bitcoin et. al., but for those binary merkle trees we use `bitcoin-tx` coupled with `dbl-sha2-256` which gives us all the information we need.

`ssz-sha2-256-bmt` is a newer example of an entry that's more descriptive, it stretches definitions a bit here but describes a hashing process within a format. It's probably not an awesome example either, but it's closer to a standard (current) understanding of multiformats than `bmt` is (not just because it can actually be implemented and used).

Can anyone think of a good reason to keep this entry, or can we remove it as cruft?
@rvagg rvagg merged commit f6f2460 into master May 31, 2022
@rvagg rvagg deleted the rvagg/remove-bmt branch May 31, 2022 01:26
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

Successfully merging this pull request may close these issues.

None yet

2 participants