mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 13:56:35 +00:00
16 lines
289 B
Go
16 lines
289 B
Go
|
package network
|
||
|
|
||
|
// RelayReason is the type which describes the different relay outcome
|
||
|
type RelayReason uint8
|
||
|
|
||
|
// List of valid RelayReason.
|
||
|
const (
|
||
|
RelaySucceed RelayReason = iota
|
||
|
RelayAlreadyExists
|
||
|
RelayOutOfMemory
|
||
|
RelayUnableToVerify
|
||
|
RelayInvalid
|
||
|
RelayPolicyFail
|
||
|
RelayUnknown
|
||
|
)
|