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(0x7f2e1ba83658), requires_capability(0x7f2e145632a8), requires_capability(0x7f2e373bc458), requires_capability(0x7f2e36e330a8)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.