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

Method AdvanceTime

src/test/fuzz/txrequest.cpp:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 std::chrono::microseconds Now() const { return m_now; }
147
148 void AdvanceTime(std::chrono::microseconds offset)
149 {
150 m_now += offset;
151 while (!m_events.empty() && m_events.top() <= m_now) m_events.pop();
152 }
153
154 void AdvanceToEvent()
155 {

Callers 1

FUZZ_TARGETFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected