2020-03-05 14:48:30 +00:00
|
|
|
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"`
|
2020-04-26 17:04:16 +00:00
|
|
|
Votes int64 `json:"votes,string"`
|
2020-03-05 14:48:30 +00:00
|
|
|
Active bool `json:"active"`
|
|
|
|
}
|