neoneo-go/pkg/core/state/validator.go
Roman Khimov b83e84ca08 core: switch to the new voting system (via native NEO contract)
It has all the methods required now, so you can register, vote and get
voting results. Fixes .
2020-04-27 16:06:50 +03:00

13 lines
225 B
Go

package state
import (
"math/big"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
)
// Validator holds the state of a validator (its key and votes balance).
type Validator struct {
Key *keys.PublicKey
Votes *big.Int
}