forked from TrueCloudLab/neoneo-go
28908aa3cf
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
12 lines
217 B
Go
12 lines
217 B
Go
package noderoles
|
|
|
|
// Role represents the type of the participant.
|
|
type Role byte
|
|
|
|
// Role enumeration.
|
|
const (
|
|
StateValidator Role = 4
|
|
Oracle Role = 8
|
|
NeoFSAlphabet Role = 16
|
|
P2PNotary Role = 128
|
|
)
|