2018-07-17 18:39:04 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2018-07-31 00:29:40 +00:00
|
|
|
// source: messages.proto
|
2018-07-17 18:39:04 +00:00
|
|
|
|
|
|
|
package ethereum_messages_v1
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
type Topic int32
|
|
|
|
|
|
|
|
const (
|
2018-07-28 19:53:02 +00:00
|
|
|
Topic_UNKNOWN Topic = 0
|
|
|
|
Topic_COLLATION_BODY_REQUEST Topic = 1
|
|
|
|
Topic_COLLATION_BODY_RESPONSE Topic = 2
|
|
|
|
Topic_TRANSACTIONS Topic = 3
|
|
|
|
Topic_BEACON_BLOCK_HASH_ANNOUNCE Topic = 4
|
|
|
|
Topic_BEACON_BLOCK_REQUEST Topic = 5
|
|
|
|
Topic_BEACON_BLOCK_RESPONSE Topic = 6
|
2018-07-17 18:39:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var Topic_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "COLLATION_BODY_REQUEST",
|
|
|
|
2: "COLLATION_BODY_RESPONSE",
|
|
|
|
3: "TRANSACTIONS",
|
2018-07-28 19:53:02 +00:00
|
|
|
4: "BEACON_BLOCK_HASH_ANNOUNCE",
|
|
|
|
5: "BEACON_BLOCK_REQUEST",
|
|
|
|
6: "BEACON_BLOCK_RESPONSE",
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
var Topic_value = map[string]int32{
|
2018-07-28 19:53:02 +00:00
|
|
|
"UNKNOWN": 0,
|
|
|
|
"COLLATION_BODY_REQUEST": 1,
|
|
|
|
"COLLATION_BODY_RESPONSE": 2,
|
|
|
|
"TRANSACTIONS": 3,
|
|
|
|
"BEACON_BLOCK_HASH_ANNOUNCE": 4,
|
|
|
|
"BEACON_BLOCK_REQUEST": 5,
|
|
|
|
"BEACON_BLOCK_RESPONSE": 6,
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x Topic) String() string {
|
|
|
|
return proto.EnumName(Topic_name, int32(x))
|
|
|
|
}
|
|
|
|
func (Topic) EnumDescriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{0}
|
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-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []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-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []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 {
|
|
|
|
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 *BeaconBlockResponse) Reset() { *m = BeaconBlockResponse{} }
|
|
|
|
func (m *BeaconBlockResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BeaconBlockResponse) ProtoMessage() {}
|
|
|
|
func (*BeaconBlockResponse) Descriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []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
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetParentHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ParentHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetSlotNumber() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SlotNumber
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetRandaoReveal() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.RandaoReveal
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetAttestationBitmask() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.AttestationBitmask
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetAttestationAggregateSig() []uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AttestationAggregateSig
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetShardAggregateVotes() []*AggregateVote {
|
|
|
|
if m != nil {
|
|
|
|
return m.ShardAggregateVotes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetMainChainRef() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.MainChainRef
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetActiveStateHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ActiveStateHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetCrystallizedStateHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.CrystallizedStateHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BeaconBlockResponse) GetTimestamp() *timestamp.Timestamp {
|
|
|
|
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) {
|
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{3}
|
|
|
|
}
|
|
|
|
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) {
|
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{4}
|
|
|
|
}
|
|
|
|
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 {
|
|
|
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
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_cee754b6a540d58d, []int{5}
|
|
|
|
}
|
|
|
|
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) GetActiveValidators() []*ValidatorRecord {
|
|
|
|
if m != nil {
|
|
|
|
return m.ActiveValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetQueuedValidators() []*ValidatorRecord {
|
|
|
|
if m != nil {
|
|
|
|
return m.QueuedValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetExitedValidators() []*ValidatorRecord {
|
|
|
|
if m != nil {
|
|
|
|
return m.ExitedValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetCurrentEpochShuffling() []uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CurrentEpochShuffling
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetCurrentEpoch() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CurrentEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetLastJustifiedEpoch() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastJustifiedEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetLastFinalizedEpoch() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastFinalizedEpoch
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetCurrentDynasty() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.CurrentDynasty
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetNextShard() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NextShard
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetCurrentCheckPoint() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.CurrentCheckPoint
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetTotalDeposits() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TotalDeposits
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetDynastySeed() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.DynastySeed
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CrystallizedStateResponse) GetDynastySeedLastReset() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DynastySeedLastReset
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
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-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{6}
|
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
|
|
|
}
|
|
|
|
|
|
|
|
type CollationBodyRequest struct {
|
|
|
|
ShardId uint64 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
|
|
Period uint64 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"`
|
|
|
|
ChunkRoot []byte `protobuf:"bytes,3,opt,name=chunk_root,json=chunkRoot,proto3" json:"chunk_root,omitempty"`
|
|
|
|
ProposerAddress []byte `protobuf:"bytes,4,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
|
|
|
|
Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) Reset() { *m = CollationBodyRequest{} }
|
|
|
|
func (m *CollationBodyRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollationBodyRequest) ProtoMessage() {}
|
|
|
|
func (*CollationBodyRequest) Descriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{7}
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
func (m *CollationBodyRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollationBodyRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollationBodyRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CollationBodyRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollationBodyRequest.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollationBodyRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollationBodyRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CollationBodyRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) GetShardId() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ShardId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) GetPeriod() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Period
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) GetChunkRoot() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChunkRoot
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) GetProposerAddress() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProposerAddress
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyRequest) GetSignature() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
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) {
|
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{8}
|
|
|
|
}
|
|
|
|
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-17 18:39:04 +00:00
|
|
|
type CollationBodyResponse struct {
|
|
|
|
HeaderHash []byte `protobuf:"bytes,1,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
|
|
|
|
Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyResponse) Reset() { *m = CollationBodyResponse{} }
|
|
|
|
func (m *CollationBodyResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CollationBodyResponse) ProtoMessage() {}
|
|
|
|
func (*CollationBodyResponse) Descriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{9}
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
func (m *CollationBodyResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CollationBodyResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CollationBodyResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *CollationBodyResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CollationBodyResponse.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CollationBodyResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CollationBodyResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CollationBodyResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CollationBodyResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CollationBodyResponse) GetHeaderHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.HeaderHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CollationBodyResponse) GetBody() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Transaction struct {
|
2018-07-28 19:53:02 +00:00
|
|
|
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
|
|
|
|
GasPrice uint64 `protobuf:"varint,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
|
|
|
|
GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
|
|
|
|
Recipient []byte `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
|
|
|
|
Value uint64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
Input []byte `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"`
|
|
|
|
Signature *Signature `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) Reset() { *m = Transaction{} }
|
|
|
|
func (m *Transaction) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Transaction) ProtoMessage() {}
|
|
|
|
func (*Transaction) Descriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{10}
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
func (m *Transaction) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Transaction.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Transaction.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (dst *Transaction) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Transaction.Merge(dst, src)
|
|
|
|
}
|
|
|
|
func (m *Transaction) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Transaction.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Transaction) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Transaction.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Transaction proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Transaction) GetNonce() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Nonce
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetGasPrice() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GasPrice
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetGasLimit() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.GasLimit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetRecipient() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Recipient
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetValue() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Transaction) GetInput() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Input
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Transaction) GetSignature() *Signature {
|
2018-07-17 18:39:04 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
type Signature struct {
|
2018-07-17 18:39:04 +00:00
|
|
|
V uint64 `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"`
|
|
|
|
R uint64 `protobuf:"varint,2,opt,name=r,proto3" json:"r,omitempty"`
|
|
|
|
S uint64 `protobuf:"varint,3,opt,name=s,proto3" json:"s,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) Reset() { *m = Signature{} }
|
|
|
|
func (m *Signature) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Signature) ProtoMessage() {}
|
|
|
|
func (*Signature) Descriptor() ([]byte, []int) {
|
2018-07-31 00:29:40 +00:00
|
|
|
return fileDescriptor_messages_cee754b6a540d58d, []int{11}
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Signature.Unmarshal(m, b)
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Signature.Marshal(b, m, deterministic)
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
2018-07-28 19:53:02 +00:00
|
|
|
func (dst *Signature) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Signature.Merge(dst, src)
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Signature.Size(m)
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Signature.DiscardUnknown(m)
|
2018-07-17 18:39:04 +00:00
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
var xxx_messageInfo_Signature proto.InternalMessageInfo
|
2018-07-17 18:39:04 +00:00
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) GetV() uint64 {
|
2018-07-17 18:39:04 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.V
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) GetR() uint64 {
|
2018-07-17 18:39:04 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.R
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2018-07-28 19:53:02 +00:00
|
|
|
func (m *Signature) GetS() uint64 {
|
2018-07-17 18:39:04 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.S
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2018-07-28 19:53:02 +00:00
|
|
|
proto.RegisterType((*BeaconBlockHashAnnounce)(nil), "ethereum.messages.v1.BeaconBlockHashAnnounce")
|
|
|
|
proto.RegisterType((*BeaconBlockRequest)(nil), "ethereum.messages.v1.BeaconBlockRequest")
|
|
|
|
proto.RegisterType((*BeaconBlockResponse)(nil), "ethereum.messages.v1.BeaconBlockResponse")
|
2018-07-31 00:29:40 +00:00
|
|
|
proto.RegisterType((*CrystallizedStateHashAnnounce)(nil), "ethereum.messages.v1.CrystallizedStateHashAnnounce")
|
|
|
|
proto.RegisterType((*CrystallizedStateRequest)(nil), "ethereum.messages.v1.CrystallizedStateRequest")
|
|
|
|
proto.RegisterType((*CrystallizedStateResponse)(nil), "ethereum.messages.v1.CrystallizedStateResponse")
|
2018-07-28 19:53:02 +00:00
|
|
|
proto.RegisterType((*AggregateVote)(nil), "ethereum.messages.v1.AggregateVote")
|
2018-07-17 18:39:04 +00:00
|
|
|
proto.RegisterType((*CollationBodyRequest)(nil), "ethereum.messages.v1.CollationBodyRequest")
|
2018-07-31 00:29:40 +00:00
|
|
|
proto.RegisterType((*ValidatorRecord)(nil), "ethereum.messages.v1.ValidatorRecord")
|
2018-07-17 18:39:04 +00:00
|
|
|
proto.RegisterType((*CollationBodyResponse)(nil), "ethereum.messages.v1.CollationBodyResponse")
|
|
|
|
proto.RegisterType((*Transaction)(nil), "ethereum.messages.v1.Transaction")
|
2018-07-28 19:53:02 +00:00
|
|
|
proto.RegisterType((*Signature)(nil), "ethereum.messages.v1.Signature")
|
2018-07-17 18:39:04 +00:00
|
|
|
proto.RegisterEnum("ethereum.messages.v1.Topic", Topic_name, Topic_value)
|
|
|
|
}
|
|
|
|
|
2018-07-31 00:29:40 +00:00
|
|
|
func init() { proto.RegisterFile("messages.proto", fileDescriptor_messages_cee754b6a540d58d) }
|
|
|
|
|
|
|
|
var fileDescriptor_messages_cee754b6a540d58d = []byte{
|
|
|
|
// 1225 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0xdb, 0xc6,
|
|
|
|
0x12, 0x3e, 0xb4, 0x65, 0x3b, 0x1a, 0x49, 0xb6, 0xbc, 0xb6, 0x63, 0xda, 0x39, 0x39, 0xf1, 0x51,
|
|
|
|
0x1a, 0x54, 0x4d, 0x11, 0xa5, 0x4d, 0x90, 0xa2, 0x28, 0xd0, 0x0b, 0x59, 0x71, 0x91, 0x34, 0x86,
|
|
|
|
0x94, 0x52, 0x4e, 0x82, 0x5e, 0x11, 0x2b, 0x72, 0x24, 0x6e, 0x4d, 0x71, 0x99, 0xdd, 0xa5, 0x12,
|
|
|
|
0xf5, 0x01, 0xfa, 0x1c, 0x7d, 0x85,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