Return the current role of the chainstate. See ChainstateManager documentation for a description of the different types of chainstates.
ChainstateManager
Declared in <validation.h>
<validation.h>
kernel::ChainstateRole GetRole() const;
The current role of this chainstate.