ChainstateManager::ActiveChain

Return the active chain of block headers.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753e2e8e8), requires_capability(0x7fd74dceff98), requires_capability(0x7fd74a14db98), requires_capability(0x7fd75e70ee28)]]
CChain&
ActiveChain() const;

Return Value

A reference to the active chain.