mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
13 lines
273 B
Go
13 lines
273 B
Go
|
package core
|
||
|
|
||
|
// CoinState represents the state of a coin.
|
||
|
type CoinState uint8
|
||
|
|
||
|
// Viable CoinState constants.
|
||
|
const (
|
||
|
CoinStateConfirmed CoinState = 0
|
||
|
CoinStateSpent CoinState = 1 << 1
|
||
|
CoinStateClaimed CoinState = 1 << 2
|
||
|
CoinStateFrozen CoinState = 1 << 5
|
||
|
)
|