2021-03-23 10:37:30 +00:00
|
|
|
package noderoles
|
|
|
|
|
2022-04-20 18:30:09 +00:00
|
|
|
// Role represents the type of the participant.
|
2021-03-23 10:37:30 +00:00
|
|
|
type Role byte
|
|
|
|
|
|
|
|
// Role enumeration.
|
|
|
|
const (
|
|
|
|
StateValidator Role = 4
|
|
|
|
Oracle Role = 8
|
|
|
|
NeoFSAlphabet Role = 16
|
|
|
|
P2PNotary Role = 128
|
|
|
|
)
|