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

Validator Set Hash #6

Merged
merged 5 commits into from
Aug 18, 2019
Merged

Validator Set Hash #6

merged 5 commits into from
Aug 18, 2019

Conversation

ebuchman
Copy link
Member

@ebuchman ebuchman commented Aug 3, 2019

Adds a validator::Set struct containing a sorted list of validators and a hash() method to compute the merkle root.

Includes a test vector generated from the Go codebase.

Can run tests with:
`cargo test --features "amino-types,keys,serde_json" -- --nocapture`
@ebuchman
Copy link
Member Author

Merging for now. Will treat CI next

@ebuchman ebuchman merged commit 6f6015d into master Aug 18, 2019
@ebuchman ebuchman deleted the validator_set branch August 18, 2019 18:23
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

1 participant