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(0x7fd753c9ab88), requires_capability(0x7fd74db5c658), requires_capability(0x7fd74ab5e678), requires_capability(0x7fd73ea79538)]]
kernel::ChainstateRole
GetRole() const;

Return Value

The current role of this chainstate.

Created with MrDocs