Chainstate::GetRole

Return the current role of the chainstate. See ChainstateManager documentation for a description of the different types of chainstates.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f9513ab39e8), requires_capability(0x7f9502c96a58), requires_capability(0x7f9525448788), requires_capability(0x7f95173fea68)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.