Skip to content

test multiple coinbase outputs round-trip#325

Open
xyephy wants to merge 1 commit intostratum-mining:mainfrom
xyephy:2026/03/coinbase-output-integration
Open

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

Conversation

@xyephy
Copy link
Copy Markdown
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 3 times, most recently from 1706f1c to 1a2b6db Compare March 9, 2026 05:11
@xyephy xyephy force-pushed the 2026/03/coinbase-output-integration branch from 1a2b6db to 7b4e11f Compare March 26, 2026 18:10
@xyephy xyephy marked this pull request as ready for review March 27, 2026 07:32
Add integration tests verifying that coinbase outputs configured on
the pool are correctly propagated through the full mining pipeline
(TP -> Pool -> Translator -> Minerd) and appear in mined blocks.
@xyephy xyephy force-pushed the 2026/03/coinbase-output-integration branch from 7b4e11f to 5605a41 Compare March 31, 2026 18:33
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