(self, mining, ctx, block, *, result, reason="", debug="")
| 122 | return block |
| 123 | |
| 124 | async def assert_submit_block(self, mining, ctx, block, *, result, reason="", debug=""): |
| 125 | submit = await mining.submitBlock(ctx, block.serialize()) |
| 126 | assert_equal(submit.result, result) |
| 127 | assert_equal(submit.reason, reason) |
| 128 | assert_equal(submit.debug, debug) |
| 129 | |
| 130 | def run_mining_interface_test(self): |
| 131 | """Test Mining interface methods.""" |
no test coverage detected