| 1315 | } |
| 1316 | |
| 1317 | bool ProcessBlock(const Block& block, bool* new_block) |
| 1318 | { |
| 1319 | int _new_block; |
| 1320 | int res = btck_chainstate_manager_process_block(get(), block.get(), &_new_block); |
| 1321 | if (new_block) *new_block = _new_block == 1; |
| 1322 | return res == 0; |
| 1323 | } |
| 1324 | |
| 1325 | BlockValidationState ProcessBlockHeader(const BlockHeader& header) |
| 1326 | { |
nothing calls this directly
no test coverage detected