List of chainstates. Note: in general, it is not safe to delete Chainstate objects once they are added to this list because there is no mutex that can be locked to prevent Chainstate pointers from being used while they are deleted. (cs_main doesn't work because it is too narrow and is released in the middle of Chainstate::ActivateBestChain to let notifications be processed. m_chainstate_mutex doesn't work because it is not locked at other times when the chainstate is in use.)
Synopsis
Declared in <validation.h>
[[guarded_by(0x7f2e1bc18488), guarded_by(0x7f2e146b67d8), guarded_by(0x7f2e298fbba8), guarded_by(0x7f2e360b9308)]]
std::vector<std::unique_ptr<Chainstate>> m_chainstates;
Created with MrDocs