construct a valid block
| 80 | |
| 81 | // construct a valid block |
| 82 | const std::shared_ptr<const CBlock> GoodBlock(const uint256& prev_hash) |
| 83 | { |
| 84 | return FinalizeBlock(Block(prev_hash)); |
| 85 | } |
| 86 | |
| 87 | // construct an invalid block (but with a valid header) |
| 88 | const std::shared_ptr<const CBlock> BadBlock(const uint256& prev_hash) |
no test coverage detected