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

Stop indexing hash types #731

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

tcharding
Copy link
Member

In preparation for removing SliceIndex from hash type impls (in bitcoin_hashes) lets stop indexing hash types here.

Internal change only.

In preparation for removing `SliceIndex` from hash type impls (in
`bitcoin_hashes`) lets stop indexing hash types here.

Internal change only.
Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK f0100e1

@jlest01
Copy link

jlest01 commented Sep 5, 2024

ACK f0100e1

@apoelstra
Copy link
Member

Idle thoughts:

I wonder if engine.input should be doing the .as_ref for us.

Also in rust-bitcoin we should make sure that all these hashes also implement AsRef<PushBytes>.

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 f0100e1 successfully ran local tests

@apoelstra apoelstra merged commit 652cace into rust-bitcoin:master Sep 5, 2024
30 checks passed
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.

4 participants