Skip to content

Sv2NewTemplate: add coinbase_witness#108

Draft
Sjors wants to merge 1 commit into
stratum-mining:masterfrom
Sjors:2026/06/witness_reserved_value
Draft

Sv2NewTemplate: add coinbase_witness#108
Sjors wants to merge 1 commit into
stratum-mining:masterfrom
Sjors:2026/06/witness_reserved_value

Conversation

@Sjors

@Sjors Sjors commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Adding coinbase_witness to the Sv2NewTemplate message so that it is automatically propagated to other roles in the Stratum v2 ecosystem, rather than assumed to be 0x00...00.

This ensures that if this value ever gets consensus meaning, miners only need to upgrade their node software, not the rest of the mining stack.

This is a breaking change requiring an updated Stratum v2 spec as well as support on the SRI side.

Supersedes #10.

TODO:

  • switch integration test to use corresponding SRI branch once available

Adding coinbase_witness to the Sv2NewTemplate message so that it is
automatically propagated to other roles in the Stratum v2 ecosystem,
rather than assumed to be 0x00...00.

This ensures that if this value ever gets consensus meaning, miners
only need to upgrade their node software, not the rest of the mining
stack.

This is a breaking change requiring an updated Stratum v2 spec as
well as support on the SRI side.
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.

1 participant