ChainstateManager::CurrentChainstate

Return current chainstate targeting the most-work, network tip.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1bc16f38), requires_capability(0x7f2e146b5288), requires_capability(0x7f2e298fa658), requires_capability(0x7f2e360b7db8)]]
Chainstate&
CurrentChainstate() const;

Return Value

The current most-work chainstate.