Return the current role of the chainstate. See ChainstateManager documentation for a description of the different types of chainstates.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb652c8), requires_capability(0x7fbc96bfd938), requires_capability(0x7fbcaf5d4d48), requires_capability(0x7fbc9e0db518)]]
kernel::ChainstateRole
GetRole() const;
The current role of this chainstate.