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(0x7fbc8fb652c8), requires_capability(0x7fbc96bfd938), requires_capability(0x7fbcaf5d4d48), requires_capability(0x7fbc9e0db518)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.

Created with MrDocs