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

Method GetBlockTime

src/primitives/block.h:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 int64_t GetBlockTime() const
67 {
68 return (int64_t)nTime;
69 }
70};
71
72

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
FUZZ_TARGETFunction · 0.45
FUZZ_TARGETFunction · 0.45
GetNetworkHashPSFunction · 0.45
getblocktemplateFunction · 0.45
TxToJSONFunction · 0.45
getblockchaininfoFunction · 0.45
getblockstatsFunction · 0.45
getTipFunction · 0.45
GetMinimumTimeFunction · 0.45

Calls

no outgoing calls

Tested by 5

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