Skip to content

test multiple coinbase outputs round-trip#325

Draft
xyephy wants to merge 2 commits intostratum-mining:mainfrom
xyephy:2026/03/coinbase-output-integration
Draft

test multiple coinbase outputs round-trip#325
xyephy wants to merge 2 commits intostratum-mining:mainfrom
xyephy:2026/03/coinbase-output-integration

Conversation

@xyephy
Copy link
Collaborator

@xyephy xyephy commented Mar 9, 2026

Adds integration tests that verify all coinbase outputs survive the full
round-trip through the mining stack (TP -> Pool -> Translator -> Minerd).
Bitcoin Core block acceptance is used as the assertion — if any output is
dropped or mangled, the block is rejected.

  • tp_coinbase_outputs_round_trip — witness commitment output round-trip
  • tp_multiple_coinbase_outputs_round_trip — 3+ OP_RETURN outputs round-trip,
    requires a custom Bitcoin Core build with -testmulticoinbase support

Closes #58

@xyephy xyephy marked this pull request as draft March 9, 2026 04:23
@xyephy xyephy force-pushed the 2026/03/coinbase-output-integration branch 2 times, most recently from d0fb197 to 1706f1c Compare March 9, 2026 04:28
@xyephy xyephy force-pushed the 2026/03/coinbase-output-integration branch from 1706f1c to 1a2b6db Compare March 9, 2026 05:11
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.

Integration tests against TP with multiple coinbase outputs

1 participant