Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Roles []Role
Roles is a set of all available roles sorted by values.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role byte
Role represents the type of the participant.
const ( StateValidator Role Oracle NeoFSAlphabet P2PNotary )
Role enumeration.
func FromString ¶
FromString returns a node role parsed from its string representation and a boolean value denoting whether the conversion was OK and the role exists.
Click to show internal directories.
Click to hide internal directories.