ChainstateManager::CurrentChainstate

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37ba94a28), requires_capability(0x7ff375ddb3b8), requires_capability(0x7ff37e1a4c88), requires_capability(0x7ff375a96af8)]]
Chainstate&
CurrentChainstate() const;

Return Value

The current most-work chainstate.