mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-18 05:44:43 +00:00
13 lines
209 B
Go
13 lines
209 B
Go
|
package noderoles
|
||
|
|
||
|
// Role represents type of participant.
|
||
|
type Role byte
|
||
|
|
||
|
// Role enumeration.
|
||
|
const (
|
||
|
StateValidator Role = 4
|
||
|
Oracle Role = 8
|
||
|
NeoFSAlphabet Role = 16
|
||
|
P2PNotary Role = 128
|
||
|
)
|