2019-11-25 17:39:11 +00:00
|
|
|
package entities
|
2018-03-21 16:11:04 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
)
|