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(0x7ff37b9012a8), requires_capability(0x7ff375c47eb8), requires_capability(0x7ff37e052d28), requires_capability(0x7ff375933c88)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.