mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
456a2d55fd
closes #714
14 lines
351 B
Go
14 lines
351 B
Go
package result
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
)
|
|
|
|
// Validator used for the representation of
|
|
// state.Validator on the RPC Server.
|
|
type Validator struct {
|
|
PublicKey keys.PublicKey `json:"publickey"`
|
|
Votes util.Fixed8 `json:"votes"`
|
|
Active bool `json:"active"`
|
|
}
|