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

Implement missing traits #25

Merged
merged 11 commits into from
Oct 2, 2018
Merged

Conversation

mpapierski
Copy link
Contributor

@mpapierski mpapierski commented Sep 23, 2018

This way an Address could be easily stored in a HashMap, and much more since the guac_rs relies heavily on Parity code and Parity code is rich in helpers, and traits that we didn't know yet.

Closes #23

This is WIP and probably not exactly what we want, but its just to move
forward with compile errors.
This will allow to convert BigEndianInt into an "inner" type which is
BigUint.

This approach feels cleaner as we can use BigUint/BigInt directly when
calculating stuff, but BigEndianInt just inside clarity to interact with
the blockchain.
@mpapierski mpapierski changed the title Implement hashing traits for Address. Implement missing traits Oct 1, 2018
@mpapierski mpapierski merged commit 71447e4 into althea-net:master Oct 2, 2018
@mpapierski mpapierski deleted the 23-hash branch October 2, 2018 08:34
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.

2 participants