Skip to content

Fix inconsistent naming in the dummy key hash structs#463

Merged
sanket1729 merged 2 commits intorust-bitcoin:masterfrom
afilini:fix/inconsistent-dummy-hash-names
Sep 26, 2022
Merged

Fix inconsistent naming in the dummy key hash structs#463
sanket1729 merged 2 commits intorust-bitcoin:masterfrom
afilini:fix/inconsistent-dummy-hash-names

Conversation

@afilini
Copy link
Contributor

@afilini afilini commented Sep 26, 2022

Also derive Default for DummyHash and all of its hash types since they are all empty structs.

@apoelstra
Copy link
Member

CI failure is a broken dependency, fixed in a commit of #461

sanket1729 and others added 2 commits September 26, 2022 15:39
Also derive `Default` for `DummyHash` and all of its hash types since
they are all empty structs.
@afilini afilini force-pushed the fix/inconsistent-dummy-hash-names branch from eb2c282 to af5d2d2 Compare September 26, 2022 13:39
@afilini
Copy link
Contributor Author

afilini commented Sep 26, 2022

I cherry-picked Sanket's commit and rebased on top of it

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK eb2c282

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK af5d2d2

@sanket1729
Copy link
Member

FTR, we plan to remove the DummyKey* types in the future. You should be able to test everything with MiniscriptKey = String type.

@sanket1729 sanket1729 merged commit b6daa97 into rust-bitcoin:master Sep 26, 2022
@afilini afilini deleted the fix/inconsistent-dummy-hash-names branch September 28, 2022 10:46
sanket1729 added a commit to sanket1729/elements-miniscript that referenced this pull request Oct 21, 2022
…022_10

b6daa97 Merge rust-bitcoin/rust-miniscript#463: Fix inconsistent naming in the dummy key hash structs

Export structs from upstream instead
heap-coder added a commit to heap-coder/rust-miniscript that referenced this pull request Sep 27, 2025
…e dummy key hash structs

af5d2d24da840ea5a0753799e344e9a5a16e238d Fix inconsistent naming in the dummy key hash structs (Alekos Filini)
637f5cef74a0b1b338d53ec967e587728ecf55d5 MSRV fixes for once_cell (sanket1729)

Pull request description:

  Also derive `Default` for `DummyHash` and all of its hash types since they are all empty structs.

ACKs for top commit:
  apoelstra:
    ACK af5d2d24da840ea5a0753799e344e9a5a16e238d

Tree-SHA512: 6ecee59932573fbfd2784bfabad0efbab1f9840f16cd4ab78c11c2ddcabab08307723c54c52a4bb4d00201ab91df9480185ace9da99f241fb986fc93cf07dfdd
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