MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetBlockHash

Method GetBlockHash

src/chain.h:309–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 uint256 GetBlockHash() const
310 {
311 return *phashBlock;
312 }
313
314 int64_t GetBlockTime() const
315 {

Callers 15

GetBlockHeaderMethod · 0.45
CDiskBlockIndexMethod · 0.45
rest_getutxosFunction · 0.45
CreateNewBlockMethod · 0.45
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.45
UpdatedBlockTipMethod · 0.45
ProcessGetBlockDataFunction · 0.45
ProcessHeadersMessageFunction · 0.45
ProcessMessageFunction · 0.45
ConsiderEvictionMethod · 0.45
SendMessagesMethod · 0.45
WriteBatchSyncMethod · 0.45

Calls

no outgoing calls

Tested by 7

BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
UpdatedBlockTipMethod · 0.36
BlockConnectedMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36