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

Method GetBlockTime

src/primitives/block.h:340–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 uint256 GetHash() const;
339
340 int64_t GetBlockTime() const
341 {
342 return (int64_t)nTime;
343 }
344};
345
346

Callers 14

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
FUZZ_TARGETFunction · 0.45
FUZZ_TARGETFunction · 0.45
GetNetworkHashPSFunction · 0.45
getblocktemplateFunction · 0.45
TxToJSONFunction · 0.45
getblockstatsFunction · 0.45
SaveBlockToDiskMethod · 0.45
getHeaderTipMethod · 0.45
getLastBlockTimeMethod · 0.45
handleNotifyBlockTipMethod · 0.45

Calls

no outgoing calls

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGETFunction · 0.36
FUZZ_TARGETFunction · 0.36