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

Derive hash #394

Closed
wants to merge 2 commits into from
Closed

Derive hash #394

wants to merge 2 commits into from

Conversation

tcharding
Copy link
Member

@tcharding tcharding commented May 6, 2022

Derive Hash for all structs and enums (excl. error enums) that can.

Patch 2 is 'wip' because I'm not sure if it makes sense to derive Hash for the types in that patch but the issue says "do all of them"?

Draft still for feedback on patch 2. Also I did not re-check the whole codebase, the original PR was done a long time ago, well check it over before taking off draft.

Resolves: #226

Derive hash for all types that currently can.

It is not immediately apparent why we have types that do not derive
`Debug`, this patch however explicitly does not change this.

Fix: rust-bitcoin#394
@tcharding
Copy link
Member Author

Done in #659

@tcharding tcharding closed this Mar 27, 2024
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.

Derive Hash for everything that can derive Hash for all structures in the lib
1 participant