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(0x7fb95fa37348), requires_capability(0x7fb96ac5e2a8), requires_capability(0x7fb96e9d4ac8), requires_capability(0x7fb98748a138)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.

Created with MrDocs