2018-07-17 18:39:04 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2018-08-02 17:47:49 +00:00
|
|
|
// source: messages.proto
|
2018-07-17 18:39:04 +00:00
|
|
|
|
2018-07-31 18:54:45 +00:00
|
|
|
package ethereum_beacon_p2p_v1
|
2018-07-17 18:39:04 +00:00
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2018-07-28 19:53:02 +00:00
|
|
|
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
2018-07-17 18:39:04 +00:00
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
type BeaconBlockHashAnnounce struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockHashAnnounce) Reset() { *m = BeaconBlockHashAnnounce{} }
|
|
|
|
func (m *BeaconBlockHashAnnounce) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BeaconBlockHashAnnounce) ProtoMessage() {}
|
|
|
|
func (*BeaconBlockHashAnnounce) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{0}
|
2018-07-28 19:53:02 +00:00
|
|
|
}
|
|
|
|
func (m *BeaconBlockHashAnnounce) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BeaconBlockHashAnnounce.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BeaconBlockHashAnnounce.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BeaconBlockHashAnnounce) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BeaconBlockHashAnnounce.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockHashAnnounce) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BeaconBlockHashAnnounce.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockHashAnnounce) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BeaconBlockHashAnnounce.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BeaconBlockHashAnnounce proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BeaconBlockHashAnnounce) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BeaconBlockRequest struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockRequest) Reset() { *m = BeaconBlockRequest{} }
|
|
|
|
func (m *BeaconBlockRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BeaconBlockRequest) ProtoMessage() {}
|
|
|
|
func (*BeaconBlockRequest) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{1}
|
2018-07-28 19:53:02 +00:00
|
|
|
}
|
|
|
|
func (m *BeaconBlockRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BeaconBlockRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BeaconBlockRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BeaconBlockRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BeaconBlockRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BeaconBlockRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BeaconBlockRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BeaconBlockRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BeaconBlockRequest) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BeaconBlockResponse struct {
|
2018-08-05 23:23:31 +00:00
|
|
|
Block *BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-07-28 19:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) Reset() { *m = BeaconBlockResponse{} }
|
|
|
|
func (m *BeaconBlockResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BeaconBlockResponse) ProtoMessage() {}
|
|
|
|
func (*BeaconBlockResponse) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{2}
|
2018-07-28 19:53:02 +00:00
|
|
|
}
|
|
|
|
func (m *BeaconBlockResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BeaconBlockResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BeaconBlockResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BeaconBlockResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BeaconBlockResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BeaconBlockResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlockResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BeaconBlockResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BeaconBlockResponse proto.InternalMessageInfo
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlockResponse) GetBlock() *BeaconBlock {
|
|
|
|
if m != nil {
|
|
|
|
return m.Block
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BeaconBlock struct {
|
|
|
|
ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
|
|
|
|
SlotNumber uint64 `protobuf:"varint,2,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
|
|
|
|
RandaoReveal []byte `protobuf:"bytes,3,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
|
|
|
|
AttestationBitmask []byte `protobuf:"bytes,4,opt,name=attestation_bitmask,json=attestationBitmask,proto3" json:"attestation_bitmask,omitempty"`
|
|
|
|
AttestationAggregateSig []uint32 `protobuf:"varint,5,rep,packed,name=attestation_aggregate_sig,json=attestationAggregateSig,proto3" json:"attestation_aggregate_sig,omitempty"`
|
|
|
|
ShardAggregateVotes []*AggregateVote `protobuf:"bytes,6,rep,name=shard_aggregate_votes,json=shardAggregateVotes,proto3" json:"shard_aggregate_votes,omitempty"`
|
|
|
|
MainChainRef []byte `protobuf:"bytes,7,opt,name=main_chain_ref,json=mainChainRef,proto3" json:"main_chain_ref,omitempty"`
|
|
|
|
ActiveStateHash []byte `protobuf:"bytes,8,opt,name=active_state_hash,json=activeStateHash,proto3" json:"active_state_hash,omitempty"`
|
|
|
|
CrystallizedStateHash []byte `protobuf:"bytes,9,opt,name=crystallized_state_hash,json=crystallizedStateHash,proto3" json:"crystallized_state_hash,omitempty"`
|
|
|
|
Timestamp *timestamp.Timestamp `protobuf:"bytes,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlock) Reset() { *m = BeaconBlock{} }
|
|
|
|
func (m *BeaconBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BeaconBlock) ProtoMessage() {}
|
|
|
|
func (*BeaconBlock) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{3}
|
|
|
|
}
|
|
|
|
func (m *BeaconBlock) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BeaconBlock.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BeaconBlock.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *BeaconBlock) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BeaconBlock.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlock) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BeaconBlock.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BeaconBlock) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BeaconBlock.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BeaconBlock proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BeaconBlock) GetParentHash() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.ParentHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetSlotNumber() uint64 {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.SlotNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetRandaoReveal() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.RandaoReveal
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetAttestationBitmask() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AttestationBitmask
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetAttestationAggregateSig() []uint32 {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AttestationAggregateSig
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetShardAggregateVotes() []*AggregateVote {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.ShardAggregateVotes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetMainChainRef() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.MainChainRef
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetActiveStateHash() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.ActiveStateHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetCrystallizedStateHash() []byte {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.CrystallizedStateHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *BeaconBlock) GetTimestamp() *timestamp.Timestamp {
|
2018-07-28 19:53:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Timestamp
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-07-31 00:29:40 +00:00
|
|
|
type CrystallizedStateHashAnnounce struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateHashAnnounce) Reset() { *m = CrystallizedStateHashAnnounce{} }
|
|
|
|
func (m *CrystallizedStateHashAnnounce) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CrystallizedStateHashAnnounce) ProtoMessage() {}
|
|
|
|
func (*CrystallizedStateHashAnnounce) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{4}
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
|
|
|
func (m *CrystallizedStateHashAnnounce) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CrystallizedStateHashAnnounce.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CrystallizedStateHashAnnounce.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CrystallizedStateHashAnnounce) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CrystallizedStateHashAnnounce.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateHashAnnounce) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CrystallizedStateHashAnnounce.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateHashAnnounce) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CrystallizedStateHashAnnounce.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CrystallizedStateHashAnnounce proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CrystallizedStateHashAnnounce) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CrystallizedStateRequest struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateRequest) Reset() { *m = CrystallizedStateRequest{} }
|
|
|
|
func (m *CrystallizedStateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CrystallizedStateRequest) ProtoMessage() {}
|
|
|
|
func (*CrystallizedStateRequest) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{5}
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
|
|
|
func (m *CrystallizedStateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CrystallizedStateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CrystallizedStateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CrystallizedStateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CrystallizedStateRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CrystallizedStateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CrystallizedStateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CrystallizedStateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CrystallizedStateRequest) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CrystallizedStateResponse struct {
|
2018-08-05 23:23:31 +00:00
|
|
|
CrystallizedState *CrystallizedState `protobuf:"bytes,1,opt,name=crystallized_state,json=crystallizedState,proto3" json:"crystallized_state,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) Reset() { *m = CrystallizedStateResponse{} }
|
|
|
|
func (m *CrystallizedStateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CrystallizedStateResponse) ProtoMessage() {}
|
|
|
|
func (*CrystallizedStateResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{6}
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CrystallizedStateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CrystallizedStateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CrystallizedStateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CrystallizedStateResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CrystallizedStateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CrystallizedStateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CrystallizedStateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CrystallizedStateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetCrystallizedState() *CrystallizedState {
|
|
|
|
if m != nil {
|
|
|
|
return m.CrystallizedState
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CrystallizedState struct {
|
2018-07-31 00:29:40 +00:00
|
|
|
ActiveValidators []*ValidatorRecord `protobuf:"bytes,1,rep,name=active_validators,json=activeValidators,proto3" json:"active_validators,omitempty"`
|
|
|
|
QueuedValidators []*ValidatorRecord `protobuf:"bytes,2,rep,name=queued_validators,json=queuedValidators,proto3" json:"queued_validators,omitempty"`
|
|
|
|
ExitedValidators []*ValidatorRecord `protobuf:"bytes,3,rep,name=exited_validators,json=exitedValidators,proto3" json:"exited_validators,omitempty"`
|
|
|
|
CurrentEpochShuffling []uint64 `protobuf:"varint,4,rep,packed,name=current_epoch_shuffling,json=currentEpochShuffling,proto3" json:"current_epoch_shuffling,omitempty"`
|
|
|
|
CurrentEpoch uint64 `protobuf:"varint,5,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"`
|
|
|
|
LastJustifiedEpoch uint64 `protobuf:"varint,6,opt,name=last_justified_epoch,json=lastJustifiedEpoch,proto3" json:"last_justified_epoch,omitempty"`
|
|
|
|
LastFinalizedEpoch uint64 `protobuf:"varint,7,opt,name=last_finalized_epoch,json=lastFinalizedEpoch,proto3" json:"last_finalized_epoch,omitempty"`
|
|
|
|
CurrentDynasty uint64 `protobuf:"varint,8,opt,name=current_dynasty,json=currentDynasty,proto3" json:"current_dynasty,omitempty"`
|
|
|
|
NextShard uint64 `protobuf:"varint,9,opt,name=next_shard,json=nextShard,proto3" json:"next_shard,omitempty"`
|
|
|
|
CurrentCheckPoint []byte `protobuf:"bytes,10,opt,name=current_check_point,json=currentCheckPoint,proto3" json:"current_check_point,omitempty"`
|
|
|
|
TotalDeposits uint64 `protobuf:"varint,11,opt,name=total_deposits,json=totalDeposits,proto3" json:"total_deposits,omitempty"`
|
|
|
|
DynastySeed []byte `protobuf:"bytes,12,opt,name=dynasty_seed,json=dynastySeed,proto3" json:"dynasty_seed,omitempty"`
|
|
|
|
DynastySeedLastReset uint64 `protobuf:"varint,13,opt,name=dynasty_seed_last_reset,json=dynastySeedLastReset,proto3" json:"dynasty_seed_last_reset,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) Reset() { *m = CrystallizedState{} }
|
|
|
|
func (m *CrystallizedState) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CrystallizedState) ProtoMessage() {}
|
|
|
|
func (*CrystallizedState) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{7}
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CrystallizedState.Unmarshal(m, b)
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CrystallizedState.Marshal(b, m, deterministic)
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
2018-08-05 23:23:31 +00:00
|
|
|
func (dst *CrystallizedState) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CrystallizedState.Merge(dst, src)
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CrystallizedState.Size(m)
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CrystallizedState.DiscardUnknown(m)
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
var xxx_messageInfo_CrystallizedState proto.InternalMessageInfo
|
2018-07-31 00:29:40 +00:00
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetActiveValidators() []*ValidatorRecord {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.ActiveValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetQueuedValidators() []*ValidatorRecord {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.QueuedValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetExitedValidators() []*ValidatorRecord {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.ExitedValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetCurrentEpochShuffling() []uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.CurrentEpochShuffling
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetCurrentEpoch() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.CurrentEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetLastJustifiedEpoch() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.LastJustifiedEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetLastFinalizedEpoch() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.LastFinalizedEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetCurrentDynasty() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.CurrentDynasty
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetNextShard() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.NextShard
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetCurrentCheckPoint() []byte {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.CurrentCheckPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetTotalDeposits() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.TotalDeposits
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetDynastySeed() []byte {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.DynastySeed
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *CrystallizedState) GetDynastySeedLastReset() uint64 {
|
2018-07-31 00:29:40 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.DynastySeedLastReset
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-07-31 01:13:25 +00:00
|
|
|
type ActiveStateHashAnnounce struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveStateHashAnnounce) Reset() { *m = ActiveStateHashAnnounce{} }
|
|
|
|
func (m *ActiveStateHashAnnounce) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ActiveStateHashAnnounce) ProtoMessage() {}
|
|
|
|
func (*ActiveStateHashAnnounce) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{8}
|
2018-07-31 01:13:25 +00:00
|
|
|
}
|
|
|
|
func (m *ActiveStateHashAnnounce) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ActiveStateHashAnnounce.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ActiveStateHashAnnounce.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ActiveStateHashAnnounce) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ActiveStateHashAnnounce.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateHashAnnounce) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ActiveStateHashAnnounce.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateHashAnnounce) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ActiveStateHashAnnounce.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ActiveStateHashAnnounce proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ActiveStateHashAnnounce) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ActiveStateRequest struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveStateRequest) Reset() { *m = ActiveStateRequest{} }
|
|
|
|
func (m *ActiveStateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ActiveStateRequest) ProtoMessage() {}
|
|
|
|
func (*ActiveStateRequest) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{9}
|
2018-07-31 01:13:25 +00:00
|
|
|
}
|
|
|
|
func (m *ActiveStateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ActiveStateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ActiveStateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ActiveStateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ActiveStateRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ActiveStateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ActiveStateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ActiveStateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ActiveStateRequest) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ActiveStateResponse struct {
|
2018-08-05 23:23:31 +00:00
|
|
|
ActiveState *ActiveState `protobuf:"bytes,1,opt,name=active_state,json=activeState,proto3" json:"active_state,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-07-31 01:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveStateResponse) Reset() { *m = ActiveStateResponse{} }
|
|
|
|
func (m *ActiveStateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ActiveStateResponse) ProtoMessage() {}
|
|
|
|
func (*ActiveStateResponse) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{10}
|
2018-07-31 01:13:25 +00:00
|
|
|
}
|
|
|
|
func (m *ActiveStateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ActiveStateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ActiveStateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ActiveStateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ActiveStateResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ActiveStateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ActiveStateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ActiveStateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ActiveStateResponse proto.InternalMessageInfo
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *ActiveStateResponse) GetActiveState() *ActiveState {
|
|
|
|
if m != nil {
|
|
|
|
return m.ActiveState
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ActiveState struct {
|
|
|
|
TotalAttesterDeposits uint64 `protobuf:"varint,1,opt,name=total_attester_deposits,json=totalAttesterDeposits,proto3" json:"total_attester_deposits,omitempty"`
|
|
|
|
AttesterBitfield []byte `protobuf:"bytes,2,opt,name=attester_bitfield,json=attesterBitfield,proto3" json:"attester_bitfield,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ActiveState) Reset() { *m = ActiveState{} }
|
|
|
|
func (m *ActiveState) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ActiveState) ProtoMessage() {}
|
|
|
|
func (*ActiveState) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{11}
|
|
|
|
}
|
|
|
|
func (m *ActiveState) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ActiveState.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ActiveState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ActiveState.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ActiveState) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ActiveState.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ActiveState) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ActiveState.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ActiveState) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ActiveState.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ActiveState proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ActiveState) GetTotalAttesterDeposits() uint64 {
|
2018-07-31 01:13:25 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.TotalAttesterDeposits
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func (m *ActiveState) GetAttesterBitfield() []byte {
|
2018-07-31 01:13:25 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AttesterBitfield
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
type AggregateVote struct {
|
|
|
|
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
|
|
ShardBlockHash []byte `protobuf:"bytes,2,opt,name=shard_block_hash,json=shardBlockHash,proto3" json:"shard_block_hash,omitempty"`
|
|
|
|
SignerBitmask []byte `protobuf:"bytes,3,opt,name=signer_bitmask,json=signerBitmask,proto3" json:"signer_bitmask,omitempty"`
|
|
|
|
AggregateSig []uint32 `protobuf:"varint,4,rep,packed,name=aggregate_sig,json=aggregateSig,proto3" json:"aggregate_sig,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AggregateVote) Reset() { *m = AggregateVote{} }
|
|
|
|
func (m *AggregateVote) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AggregateVote) ProtoMessage() {}
|
|
|
|
func (*AggregateVote) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{12}
|
2018-07-28 19:53:02 +00:00
|
|
|
}
|
|
|
|
func (m *AggregateVote) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AggregateVote.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AggregateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AggregateVote.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *AggregateVote) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AggregateVote.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *AggregateVote) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AggregateVote.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AggregateVote) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AggregateVote.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AggregateVote proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AggregateVote) GetShardId() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ShardId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AggregateVote) GetShardBlockHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ShardBlockHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AggregateVote) GetSignerBitmask() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.SignerBitmask
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AggregateVote) GetAggregateSig() []uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AggregateSig
|
|
|
|
}
|
|
|
|
return nil
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
|
2018-07-31 00:29:40 +00:00
|
|
|
type ValidatorRecord struct {
|
|
|
|
PublicKey uint64 `protobuf:"varint,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
|
|
WithdrawalShard uint64 `protobuf:"varint,2,opt,name=withdrawal_shard,json=withdrawalShard,proto3" json:"withdrawal_shard,omitempty"`
|
|
|
|
WithdrawalAddress []byte `protobuf:"bytes,3,opt,name=withdrawal_address,json=withdrawalAddress,proto3" json:"withdrawal_address,omitempty"`
|
|
|
|
RandaoCommitment []byte `protobuf:"bytes,4,opt,name=randao_commitment,json=randaoCommitment,proto3" json:"randao_commitment,omitempty"`
|
|
|
|
Balance uint64 `protobuf:"varint,5,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
|
|
SwitchDynasty uint64 `protobuf:"varint,6,opt,name=switch_dynasty,json=switchDynasty,proto3" json:"switch_dynasty,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) Reset() { *m = ValidatorRecord{} }
|
|
|
|
func (m *ValidatorRecord) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ValidatorRecord) ProtoMessage() {}
|
|
|
|
func (*ValidatorRecord) Descriptor() ([]byte, []int) {
|
2018-08-05 23:23:31 +00:00
|
|
|
return fileDescriptor_messages_8f0ba6c06432bb45, []int{13}
|
2018-07-31 00:29:40 +00:00
|
|
|
}
|
|
|
|
func (m *ValidatorRecord) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ValidatorRecord.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ValidatorRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ValidatorRecord.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *ValidatorRecord) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ValidatorRecord.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *ValidatorRecord) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ValidatorRecord.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ValidatorRecord) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ValidatorRecord.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ValidatorRecord proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetPublicKey() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.PublicKey
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetWithdrawalShard() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.WithdrawalShard
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetWithdrawalAddress() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.WithdrawalAddress
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetRandaoCommitment() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RandaoCommitment
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetBalance() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Balance
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ValidatorRecord) GetSwitchDynasty() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SwitchDynasty
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-07-31 18:54:45 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*BeaconBlockHashAnnounce)(nil), "ethereum.beacon.p2p.v1.BeaconBlockHashAnnounce")
|
|
|
|
proto.RegisterType((*BeaconBlockRequest)(nil), "ethereum.beacon.p2p.v1.BeaconBlockRequest")
|
|
|
|
proto.RegisterType((*BeaconBlockResponse)(nil), "ethereum.beacon.p2p.v1.BeaconBlockResponse")
|
2018-08-05 23:23:31 +00:00
|
|
|
proto.RegisterType((*BeaconBlock)(nil), "ethereum.beacon.p2p.v1.BeaconBlock")
|
2018-07-31 18:54:45 +00:00
|
|
|
proto.RegisterType((*CrystallizedStateHashAnnounce)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateHashAnnounce")
|
|
|
|
proto.RegisterType((*CrystallizedStateRequest)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateRequest")
|
|
|
|
proto.RegisterType((*CrystallizedStateResponse)(nil), "ethereum.beacon.p2p.v1.CrystallizedStateResponse")
|
2018-08-05 23:23:31 +00:00
|
|
|
proto.RegisterType((*CrystallizedState)(nil), "ethereum.beacon.p2p.v1.CrystallizedState")
|
2018-07-31 18:54:45 +00:00
|
|
|
proto.RegisterType((*ActiveStateHashAnnounce)(nil), "ethereum.beacon.p2p.v1.ActiveStateHashAnnounce")
|
|
|
|
proto.RegisterType((*ActiveStateRequest)(nil), "ethereum.beacon.p2p.v1.ActiveStateRequest")
|
|
|
|
proto.RegisterType((*ActiveStateResponse)(nil), "ethereum.beacon.p2p.v1.ActiveStateResponse")
|
2018-08-05 23:23:31 +00:00
|
|
|
proto.RegisterType((*ActiveState)(nil), "ethereum.beacon.p2p.v1.ActiveState")
|
2018-07-31 18:54:45 +00:00
|
|
|
proto.RegisterType((*AggregateVote)(nil), "ethereum.beacon.p2p.v1.AggregateVote")
|
|
|
|
proto.RegisterType((*ValidatorRecord)(nil), "ethereum.beacon.p2p.v1.ValidatorRecord")
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
|
2018-08-05 23:23:31 +00:00
|
|
|
func init() { proto.RegisterFile("messages.proto", fileDescriptor_messages_8f0ba6c06432bb45) }
|
|
|
|
|
|
|
|
var fileDescriptor_messages_8f0ba6c06432bb45 = []byte{
|
|
|
|
// 998 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x5d, 0x6f, 0x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