neoneo-go/pkg/rpc/response/result/validator.go

14 lines
318 B
Go
Raw Normal View History

package result
import (
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
)
// Validator used for the representation of
// state.Validator on the RPC Server.
type Validator struct {
PublicKey keys.PublicKey `json:"publickey"`
Votes int64 `json:"votes,string"`
Active bool `json:"active"`
}