ValidatorCommittee
type ValidatorCommittee
The Validator Set for a particular epoch.
BCS
The BCS serialized form for this type is defined by the following ABNF:
```text validator-committee = u64 ; epoch (vector validator-committee-member) ```
type ValidatorCommittee struct {
Epoch uint64
Members []ValidatorCommitteeMember
}
func ValidatorCommitteeFromBcs
func ValidatorCommitteeFromBcs(bcs []byte) (ValidatorCommittee, error)
Create this type from BCS encoded bytes.
func ValidatorCommitteeFromJson
func ValidatorCommitteeFromJson(json string) (ValidatorCommittee, error)
Create this type from JSON encoded string.
func (*ValidatorCommittee) Destroy
func (r *ValidatorCommittee) Destroy()