neo-go/pkg/core/state/validator.go

14 lines
225 B
Go
Raw Normal View History

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
}