Skip to content

add IT for JD mining mode negotiation#326

Draft
xyephy wants to merge 2 commits intostratum-mining:mainfrom
xyephy:2026/03/jd-mining-modes
Draft

add IT for JD mining mode negotiation#326
xyephy wants to merge 2 commits intostratum-mining:mainfrom
xyephy:2026/03/jd-mining-modes

Conversation

@xyephy
Copy link
Copy Markdown
Collaborator

@xyephy xyephy commented Mar 11, 2026

Add integration tests for all three JD mining mode scenarios

  • Mode mismatch (JDS requires FullTemplate, JDC asks CoinbaseOnly) -> SetupConnectionError
  • CoinbaseOnly mode: no DeclareMiningJob exchanged, block propagation only from JDC to TP
  • FullTemplate mode: DeclareMiningJob exchanged with JDS

Closes #21

@xyephy xyephy marked this pull request as draft March 11, 2026 09:09
@xyephy xyephy force-pushed the 2026/03/jd-mining-modes branch 4 times, most recently from 7342a5a to e8888a9 Compare March 17, 2026 17:40
@xyephy xyephy force-pushed the 2026/03/jd-mining-modes branch from e8888a9 to b0cf1a1 Compare April 1, 2026 06:23
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.

Test different JD mining modes

1 participant