Skip to content

Commit

Permalink
test: use Mining interface in miner_tests
Browse files Browse the repository at this point in the history
Alternate calls between Chainman's ProcessNewBlock and submitSolution. The Chainman code path is used in production, so it's important to keep test coverage for it.

Use createNewBlock via the interface instead of using the BlockAssembler directly. The latter is always called via the interface in production code.
  • Loading branch information
Sjors committed Dec 30, 2024
1 parent 9355578 commit 9af14f2
Showing 1 changed file with 111 additions and 77 deletions.
Loading

0 comments on commit 9af14f2

Please sign in to comment.