| 4524 | } |
| 4525 | |
| 4526 | void CChainState::UnloadBlockIndex() |
| 4527 | { |
| 4528 | AssertLockHeld(::cs_main); |
| 4529 | nBlockSequenceId = 1; |
| 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 |