-
Notifications
You must be signed in to change notification settings - Fork 9
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
substrate encodings #33
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@TODO
hash_number - should be named: index
hash - should be named: hash.data
total_length - should be named: size
hashtype
entirely and just have it internal to substrate, because it can be calculated/derived from other params// hash of the parent when used in calculation of the root hash doesn't contain hashtype
// => because that's part of the hash payload in the first place
// ==> hardcode hashtype to 2
// ==> hashtype of the merkle root is always 2
The text was updated successfully, but these errors were encountered: