Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_CASE
Function · 0.45
TestPackageSelection
Method · 0.45
TestBasicMining
Method · 0.45
TestPrioritisedMining
Method · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
ResetChainman
Function · 0.45
initialize_chain
Function · 0.45
initialize_tx_pool
Function · 0.45
initialize_tx_pool
Function · 0.45
ResetChainmanAndMempool
Function · 0.45
cmpctblock.cpp
File · 0.45
ResetChainman
Function · 0.45
Calls
no outgoing calls
Tested by
11
BOOST_AUTO_TEST_CASE
Function · 0.36
TestPackageSelection
Method · 0.36
TestBasicMining
Method · 0.36
TestPrioritisedMining
Method · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
ResetChainman
Function · 0.36
initialize_chain
Function · 0.36
initialize_tx_pool
Function · 0.36
initialize_tx_pool
Function · 0.36
ResetChainmanAndMempool
Function · 0.36
ResetChainman
Function · 0.36