MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / UnloadBlockIndex

Method UnloadBlockIndex

src/validation.cpp:4527–4531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4525}
4526
4527void CChainState::UnloadBlockIndex() {
4528 nBlockSequenceId = 1;
4529 m_failed_blocks.clear();
4530 setBlockIndexCandidates.clear();
4531}
4532
4533// May NOT be used after any connections are up as much
4534// of the peer-processing logic assumes a consistent

Callers 1

UnloadBlockIndexFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected