| 76 | } |
| 77 | |
| 78 | COutPoint MineBlock(const NodeContext& node, const node::BlockCreateOptions& assembler_options) |
| 79 | { |
| 80 | auto block = PrepareBlock(node, assembler_options); |
| 81 | auto valid = MineBlock(node, block); |
| 82 | assert(!valid.IsNull()); |
| 83 | return valid; |
| 84 | } |
| 85 | |
| 86 | struct BlockValidationStateCatcher : public CValidationInterface { |
| 87 | const uint256 m_hash; |
no test coverage detected