Skip to content

Haskell-Generate: stop referring to Midstate explicitly#346

Open
apoelstra wants to merge 1 commit into
BlockstreamResearch:masterfrom
apoelstra:2026-07/midstate
Open

Haskell-Generate: stop referring to Midstate explicitly#346
apoelstra wants to merge 1 commit into
BlockstreamResearch:masterfrom
apoelstra:2026-07/midstate

Conversation

@apoelstra

@apoelstra apoelstra commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

This is an unnecessary encapsulation violation (Haskell-Generate doesn't need to know how Cmr is implemented when it just needs to construct one from a byte array), and also it'll stop working when we move to bitcoin_hashes 1.0.

This is an unnecessary encapsulation violation (Haskell-Generate doesn't
need to know how Cmr is implemented when it just needs to construct one
from a byte array), and also it'll stop working when we move to
bitcoin_hashes 1.0.

@delta1 delta1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK 90b0dbe; tested locally

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