Closed Gozala closed 5 years ago
I recently discovered that what go names id
id
https://github.com/multiformats/go-multihash/blob/0e239d8fa37b597bd150660e5b6845570aa5b833/multihash.go#L92
JS calls identity
https://github.com/multiformats/js-multihash/issues/70
Which is confusing, but then I also discovered that multicodec table also refers to 0x00 as identity.
0x00
identity
Please pick either name but stick to one across projects otherwise it's very confusing.
Yeah, it should be "identity".
I recently discovered that what go names
id
https://github.com/multiformats/go-multihash/blob/0e239d8fa37b597bd150660e5b6845570aa5b833/multihash.go#L92
JS calls identity
https://github.com/multiformats/js-multihash/issues/70
Which is confusing, but then I also discovered that multicodec table also refers to
0x00
asidentity
.Please pick either name but stick to one across projects otherwise it's very confusing.