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

refactor: segregate x11 hashing #6303

Merged

Conversation

PastaPastaPasta
Copy link
Member

Issue being fixed or feature implemented

Refactor x11 hashing out into it's own header

What was done?

move x11 hashing out of hash.h, into hash_x11.h and also move those headers crypto/x11 folder

How Has This Been Tested?

Building

Breaking Changes

None

Checklist:

Go over all the following points, and put an x in all the boxes that apply.

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@PastaPastaPasta PastaPastaPasta added this to the 22 milestone Oct 3, 2024
src/hash_x11.h Outdated
return hash[10].trim256();
}

#endif // BITCOIN_HASH_X11_H
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing EOL

@@ -707,6 +707,7 @@ libbitcoin_consensus_a_SOURCES = \
consensus/validation.h \
hash.cpp \
hash.h \
hash_x11.h \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to add hash_x11.h to test/util/data/non-backported.txt to let extra linter and clang-format run on this file

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK e1749b5

@PastaPastaPasta PastaPastaPasta merged commit 4bd7f5d into dashpay:develop Oct 7, 2024
33 checks passed
@PastaPastaPasta PastaPastaPasta deleted the refactor/segregate-x11 branch October 8, 2024 13:44
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.

3 participants