neoneo-go/pkg/network/relay_reason.go

16 lines
290 B
Go
Raw Normal View History

package network
2019-10-22 14:56:03 +00:00
// 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
)