Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ResetNextWrite
Method
ResetNextWrite
src/test/util/validation.cpp:25–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
{
24
struct TestChainstate : public Chainstate {
25
void ResetNextWrite() { m_next_write = NodeClock::time_point::max() - 1s; }
26
};
27
LOCK(::cs_main);
28
for (const auto& cs : m_chainstates) {
Callers
1
DisableNextWrite
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected