MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ProcessBlock

Method ProcessBlock

src/kernel/bitcoinkernel_wrapper.h:1317–1323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

getFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected