mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-24 09:30:36 +00:00
52fa41a12a
* added account_state + changed ECPoint to PublicKey * account state persist * in depth test for existing accounts. * implemented GetTransaction. * added enrollment TX * added persist of accounts and unspent coins * bumped version -> 0.32.0
12 lines
273 B
Go
12 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
|
|
)
|