github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/core/state/validator.go (about)

     1  package state
     2  
     3  import (
     4  	"math/big"
     5  
     6  	"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
     7  )
     8  
     9  // Validator holds the state of a validator (its key and votes balance).
    10  type Validator struct {
    11  	Key   *keys.PublicKey
    12  	Votes *big.Int
    13  }