Documentation ¶
Index ¶
- Variables
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) GetAddons() []string
- func (m *Endpoint) GetApiInterfaces() []string
- func (m *Endpoint) GetExtensions() []string
- func (m *Endpoint) GetGeolocation() int32
- func (m *Endpoint) GetIPPORT() string
- func (m *Endpoint) Marshal() (dAtA []byte, err error)
- func (m *Endpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *Endpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) Size() (n int)
- func (m *Endpoint) String() string
- func (m *Endpoint) Unmarshal(dAtA []byte) error
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type StakeEntry
- func (*StakeEntry) Descriptor() ([]byte, []int)
- func (m *StakeEntry) GetAddress() string
- func (m *StakeEntry) GetChain() string
- func (m *StakeEntry) GetDelegateCommission() uint64
- func (m *StakeEntry) GetDelegateLimit() types.Coin
- func (m *StakeEntry) GetDelegateTotal() types.Coin
- func (m *StakeEntry) GetEndpoints() []Endpoint
- func (m *StakeEntry) GetGeolocation() int32
- func (m *StakeEntry) GetMoniker() string
- func (m *StakeEntry) GetStake() types.Coin
- func (m *StakeEntry) GetStakeAppliedBlock() uint64
- func (m *StakeEntry) Marshal() (dAtA []byte, err error)
- func (m *StakeEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeEntry) ProtoMessage()
- func (m *StakeEntry) Reset()
- func (m *StakeEntry) Size() (n int)
- func (m *StakeEntry) String() string
- func (m *StakeEntry) Unmarshal(dAtA []byte) error
- func (m *StakeEntry) XXX_DiscardUnknown()
- func (m *StakeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeEntry) XXX_Merge(src proto.Message)
- func (m *StakeEntry) XXX_Size() int
- func (m *StakeEntry) XXX_Unmarshal(b []byte) error
- type StakeStorage
- func (*StakeStorage) Descriptor() ([]byte, []int)
- func (m *StakeStorage) GetEpochBlockHash() []byte
- func (m *StakeStorage) GetIndex() string
- func (m *StakeStorage) GetStakeEntries() []StakeEntry
- func (m *StakeStorage) Marshal() (dAtA []byte, err error)
- func (m *StakeStorage) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeStorage) ProtoMessage()
- func (m *StakeStorage) Reset()
- func (m *StakeStorage) Size() (n int)
- func (m *StakeStorage) String() string
- func (m *StakeStorage) Unmarshal(dAtA []byte) error
- func (m *StakeStorage) XXX_DiscardUnknown()
- func (m *StakeStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeStorage) XXX_Merge(src proto.Message)
- func (m *StakeStorage) XXX_Size() int
- func (m *StakeStorage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEndpoint = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEndpoint = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEndpoint = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { IPPORT string `protobuf:"bytes,1,opt,name=iPPORT,proto3" json:"iPPORT,omitempty"` Geolocation int32 `protobuf:"varint,3,opt,name=geolocation,proto3" json:"geolocation,omitempty"` Addons []string `protobuf:"bytes,4,rep,name=addons,proto3" json:"addons,omitempty"` ApiInterfaces []string `protobuf:"bytes,5,rep,name=api_interfaces,json=apiInterfaces,proto3" json:"api_interfaces,omitempty"` Extensions []string `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"` }
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetApiInterfaces ¶
func (*Endpoint) GetExtensions ¶
func (*Endpoint) GetGeolocation ¶
func (*Endpoint) MarshalToSizedBuffer ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type StakeEntry ¶
type StakeEntry struct { Stake types.Coin `protobuf:"bytes,1,opt,name=stake,proto3" json:"stake"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` StakeAppliedBlock uint64 `protobuf:"varint,3,opt,name=stake_applied_block,json=stakeAppliedBlock,proto3" json:"stake_applied_block,omitempty"` Endpoints []Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints"` Geolocation int32 `protobuf:"varint,5,opt,name=geolocation,proto3" json:"geolocation,omitempty"` Chain string `protobuf:"bytes,6,opt,name=chain,proto3" json:"chain,omitempty"` Moniker string `protobuf:"bytes,8,opt,name=moniker,proto3" json:"moniker,omitempty"` DelegateTotal types.Coin `protobuf:"bytes,9,opt,name=delegate_total,json=delegateTotal,proto3" json:"delegate_total"` DelegateLimit types.Coin `protobuf:"bytes,10,opt,name=delegate_limit,json=delegateLimit,proto3" json:"delegate_limit"` DelegateCommission uint64 `protobuf:"varint,11,opt,name=delegate_commission,json=delegateCommission,proto3" json:"delegate_commission,omitempty"` }
func (*StakeEntry) Descriptor ¶
func (*StakeEntry) Descriptor() ([]byte, []int)
func (*StakeEntry) GetAddress ¶
func (m *StakeEntry) GetAddress() string
func (*StakeEntry) GetChain ¶
func (m *StakeEntry) GetChain() string
func (*StakeEntry) GetDelegateCommission ¶
func (m *StakeEntry) GetDelegateCommission() uint64
func (*StakeEntry) GetDelegateLimit ¶
func (m *StakeEntry) GetDelegateLimit() types.Coin
func (*StakeEntry) GetDelegateTotal ¶
func (m *StakeEntry) GetDelegateTotal() types.Coin
func (*StakeEntry) GetEndpoints ¶
func (m *StakeEntry) GetEndpoints() []Endpoint
func (*StakeEntry) GetGeolocation ¶
func (m *StakeEntry) GetGeolocation() int32
func (*StakeEntry) GetMoniker ¶
func (m *StakeEntry) GetMoniker() string
func (*StakeEntry) GetStake ¶
func (m *StakeEntry) GetStake() types.Coin
func (*StakeEntry) GetStakeAppliedBlock ¶
func (m *StakeEntry) GetStakeAppliedBlock() uint64
func (*StakeEntry) Marshal ¶
func (m *StakeEntry) Marshal() (dAtA []byte, err error)
func (*StakeEntry) MarshalToSizedBuffer ¶
func (m *StakeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeEntry) ProtoMessage ¶
func (*StakeEntry) ProtoMessage()
func (*StakeEntry) Reset ¶
func (m *StakeEntry) Reset()
func (*StakeEntry) Size ¶
func (m *StakeEntry) Size() (n int)
func (*StakeEntry) String ¶
func (m *StakeEntry) String() string
func (*StakeEntry) Unmarshal ¶
func (m *StakeEntry) Unmarshal(dAtA []byte) error
func (*StakeEntry) XXX_DiscardUnknown ¶
func (m *StakeEntry) XXX_DiscardUnknown()
func (*StakeEntry) XXX_Marshal ¶
func (m *StakeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeEntry) XXX_Merge ¶
func (m *StakeEntry) XXX_Merge(src proto.Message)
func (*StakeEntry) XXX_Size ¶
func (m *StakeEntry) XXX_Size() int
func (*StakeEntry) XXX_Unmarshal ¶
func (m *StakeEntry) XXX_Unmarshal(b []byte) error
type StakeStorage ¶
type StakeStorage struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` StakeEntries []StakeEntry `protobuf:"bytes,2,rep,name=stakeEntries,proto3" json:"stakeEntries"` EpochBlockHash []byte `protobuf:"bytes,3,opt,name=epochBlockHash,proto3" json:"epochBlockHash,omitempty"` }
func (*StakeStorage) Descriptor ¶
func (*StakeStorage) Descriptor() ([]byte, []int)
func (*StakeStorage) GetEpochBlockHash ¶
func (m *StakeStorage) GetEpochBlockHash() []byte
func (*StakeStorage) GetIndex ¶
func (m *StakeStorage) GetIndex() string
func (*StakeStorage) GetStakeEntries ¶
func (m *StakeStorage) GetStakeEntries() []StakeEntry
func (*StakeStorage) Marshal ¶
func (m *StakeStorage) Marshal() (dAtA []byte, err error)
func (*StakeStorage) MarshalToSizedBuffer ¶
func (m *StakeStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeStorage) ProtoMessage ¶
func (*StakeStorage) ProtoMessage()
func (*StakeStorage) Reset ¶
func (m *StakeStorage) Reset()
func (*StakeStorage) Size ¶
func (m *StakeStorage) Size() (n int)
func (*StakeStorage) String ¶
func (m *StakeStorage) String() string
func (*StakeStorage) Unmarshal ¶
func (m *StakeStorage) Unmarshal(dAtA []byte) error
func (*StakeStorage) XXX_DiscardUnknown ¶
func (m *StakeStorage) XXX_DiscardUnknown()
func (*StakeStorage) XXX_Marshal ¶
func (m *StakeStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeStorage) XXX_Merge ¶
func (m *StakeStorage) XXX_Merge(src proto.Message)
func (*StakeStorage) XXX_Size ¶
func (m *StakeStorage) XXX_Size() int
func (*StakeStorage) XXX_Unmarshal ¶
func (m *StakeStorage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.