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

Method Time

src/primitives/block.h:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 uint256 GetHash() const;
60
61 NodeSeconds Time() const
62 {
63 return NodeSeconds{std::chrono::seconds{nTime}};
64 }
65
66 int64_t GetBlockTime() const
67 {

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.45
TestPackageSelectionMethod · 0.45
TestBasicMiningMethod · 0.45
TestPrioritisedMiningMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
ResetChainmanFunction · 0.45
initialize_chainFunction · 0.45
initialize_tx_poolFunction · 0.45
initialize_tx_poolFunction · 0.45
ResetChainmanAndMempoolFunction · 0.45
cmpctblock.cppFile · 0.45
ResetChainmanFunction · 0.45

Calls

no outgoing calls

Tested by 11

BOOST_AUTO_TEST_CASEFunction · 0.36
TestPackageSelectionMethod · 0.36
TestBasicMiningMethod · 0.36
TestPrioritisedMiningMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
ResetChainmanFunction · 0.36
initialize_chainFunction · 0.36
initialize_tx_poolFunction · 0.36
initialize_tx_poolFunction · 0.36
ResetChainmanAndMempoolFunction · 0.36
ResetChainmanFunction · 0.36