Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ GetMockTime
Function
GetMockTime
src/util/time.cpp:60–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
std::chrono::seconds GetMockTime()
61
{
62
return g_mock_time.load(std::memory_order_relaxed);
63
}
64
65
MockableSteadyClock::time_point MockableSteadyClock::now() noexcept
66
{
Callers
2
Finish
Function · 0.85
Entry
Class · 0.85
Calls
1
load
Method · 0.45
Tested by
1
Finish
Function · 0.68