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 calling Chainman's CreateNewBlock. The latter is always called via the interface in production code.
  • Loading branch information
Sjors committed Nov 14, 2024
1 parent 98ad249 commit f9200f6
Showing 1 changed file with 108 additions and 77 deletions.
Loading

0 comments on commit f9200f6

Please sign in to comment.