MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetBlockHash

Method GetBlockHash

src/chain.h:346–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 }
345
346 uint256 GetBlockHash() const
347 {
348 return *phashBlock;
349 }
350
351 /**
352 * Check whether this block's and all previous blocks' transactions have been

Callers 15

GetBlockHeaderMethod · 0.45
CDiskBlockIndexMethod · 0.45
rest_getutxosFunction · 0.45
rest_blockhash_by_heightFunction · 0.45
BlockRequestedMethod · 0.45
FinalizeNodeMethod · 0.45
FetchBlockMethod · 0.45
UpdatedBlockTipMethod · 0.45
AlreadyHaveTxMethod · 0.45
ProcessGetBlockDataMethod · 0.45
ProcessHeadersMessageMethod · 0.45

Calls

no outgoing calls

Tested by 15

BOOST_FIXTURE_TEST_CASEFunction · 0.36
CreateSyncedWalletFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
CreateBlockMethod · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
UpdatedBlockTipMethod · 0.36
BlockConnectedMethod · 0.36
BlockDisconnectedMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36