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

Separate the hash_enum BCS parameter into hashchain enum and merkle tree enum #47

Open
alexander-zw opened this issue May 3, 2021 · 0 comments

Comments

@alexander-zw
Copy link
Contributor

The bcs_transformation_parameters object has an attribute named hash_enum. However, this is incorrect, since the BCS transformation is allowed to have different hash types for its hashchain and merkle tree. This attribute should be split into two different ones, perhaps called hashchain_hash_enum and merkle_hash_enum.

The hash_enum parameter is used to determine the default hash type, as well as for debugging purposes.

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

No branches or pull requests

1 participant