neoneo-go/pkg/core/transaction/attrtype.go
2020-09-16 14:50:31 +03:00

16 lines
330 B
Go

package transaction
//go:generate stringer -type=AttrType -linecomment
// AttrType represents the purpose of the attribute.
type AttrType uint8
// List of valid attribute types.
const (
HighPriority AttrType = 1
OracleResponseT AttrType = 0x11 // OracleResponse
)
func (a AttrType) allowMultiple() bool {
return false
}