mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-30 09:33:36 +00:00
12 lines
216 B
Go
12 lines
216 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 = 32
|
|
)
|