ChainstateManager::ActiveChain

Return the active chain of block headers.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fbcaca8), requires_capability(0x7fb96adf3c78), requires_capability(0x7fb96eb26df8), requires_capability(0x7fb987168588)]]
CChain&
ActiveChain() const;

Return Value

A reference to the active chain.