Documentation ¶
Index ¶
- Variables
- type AccountAmtPair
- func (*AccountAmtPair) Descriptor() ([]byte, []int)
- func (m *AccountAmtPair) GetAccount() []byte
- func (m *AccountAmtPair) GetAmt() []byte
- func (*AccountAmtPair) ProtoMessage()
- func (m *AccountAmtPair) Reset()
- func (m *AccountAmtPair) String() string
- func (m *AccountAmtPair) XXX_DiscardUnknown()
- func (m *AccountAmtPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountAmtPair) XXX_Merge(src proto.Message)
- func (m *AccountAmtPair) XXX_Size() int
- func (m *AccountAmtPair) XXX_Unmarshal(b []byte) error
- type MultiSigMessage
- func (*MultiSigMessage) Descriptor() ([]byte, []int)
- func (m *MultiSigMessage) GetMsg() []byte
- func (m *MultiSigMessage) GetSigs() [][]byte
- func (*MultiSigMessage) ProtoMessage()
- func (m *MultiSigMessage) Reset()
- func (m *MultiSigMessage) String() string
- func (m *MultiSigMessage) XXX_DiscardUnknown()
- func (m *MultiSigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiSigMessage) XXX_Merge(src proto.Message)
- func (m *MultiSigMessage) XXX_Size() int
- func (m *MultiSigMessage) XXX_Unmarshal(b []byte) error
- type Penalty
- func (*Penalty) Descriptor() ([]byte, []int)
- func (m *Penalty) GetBeneficiaries() []*AccountAmtPair
- func (m *Penalty) GetExpireTime() uint64
- func (m *Penalty) GetNonce() uint64
- func (m *Penalty) GetPenalizedDelegators() []*AccountAmtPair
- func (m *Penalty) GetValidatorAddress() []byte
- func (*Penalty) ProtoMessage()
- func (m *Penalty) Reset()
- func (m *Penalty) String() string
- func (m *Penalty) XXX_DiscardUnknown()
- func (m *Penalty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Penalty) XXX_Merge(src proto.Message)
- func (m *Penalty) XXX_Size() int
- func (m *Penalty) XXX_Unmarshal(b []byte) error
- type PenaltyRequest
- func (*PenaltyRequest) Descriptor() ([]byte, []int)
- func (m *PenaltyRequest) GetPenalty() []byte
- func (m *PenaltyRequest) GetSigs() [][]byte
- func (*PenaltyRequest) ProtoMessage()
- func (m *PenaltyRequest) Reset()
- func (m *PenaltyRequest) String() string
- func (m *PenaltyRequest) XXX_DiscardUnknown()
- func (m *PenaltyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PenaltyRequest) XXX_Merge(src proto.Message)
- func (m *PenaltyRequest) XXX_Size() int
- func (m *PenaltyRequest) XXX_Unmarshal(b []byte) error
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)
- func (m *Reward) GetCumulativeMiningReward() []byte
- func (m *Reward) GetCumulativeServiceReward() []byte
- func (m *Reward) GetReceiver() []byte
- func (*Reward) ProtoMessage()
- func (m *Reward) Reset()
- func (m *Reward) String() string
- func (m *Reward) XXX_DiscardUnknown()
- func (m *Reward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reward) XXX_Merge(src proto.Message)
- func (m *Reward) XXX_Size() int
- func (m *Reward) XXX_Unmarshal(b []byte) error
- type RewardRequest
- func (*RewardRequest) Descriptor() ([]byte, []int)
- func (m *RewardRequest) GetReward() []byte
- func (m *RewardRequest) GetSigs() [][]byte
- func (*RewardRequest) ProtoMessage()
- func (m *RewardRequest) Reset()
- func (m *RewardRequest) String() string
- func (m *RewardRequest) XXX_DiscardUnknown()
- func (m *RewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardRequest) XXX_Merge(src proto.Message)
- func (m *RewardRequest) XXX_Size() int
- func (m *RewardRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Soltype = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*string)(nil), Field: 1004, Name: "sgn.soltype", Tag: "bytes,1004,opt,name=soltype", Filename: "sgn.proto", }
Functions ¶
This section is empty.
Types ¶
type AccountAmtPair ¶
type AccountAmtPair struct { Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Amt []byte `protobuf:"bytes,2,opt,name=amt,proto3" json:"amt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 3
func (*AccountAmtPair) Descriptor ¶
func (*AccountAmtPair) Descriptor() ([]byte, []int)
func (*AccountAmtPair) GetAccount ¶
func (m *AccountAmtPair) GetAccount() []byte
func (*AccountAmtPair) GetAmt ¶
func (m *AccountAmtPair) GetAmt() []byte
func (*AccountAmtPair) ProtoMessage ¶
func (*AccountAmtPair) ProtoMessage()
func (*AccountAmtPair) Reset ¶
func (m *AccountAmtPair) Reset()
func (*AccountAmtPair) String ¶
func (m *AccountAmtPair) String() string
func (*AccountAmtPair) XXX_DiscardUnknown ¶
func (m *AccountAmtPair) XXX_DiscardUnknown()
func (*AccountAmtPair) XXX_Marshal ¶
func (m *AccountAmtPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountAmtPair) XXX_Merge ¶
func (m *AccountAmtPair) XXX_Merge(src proto.Message)
func (*AccountAmtPair) XXX_Size ¶
func (m *AccountAmtPair) XXX_Size() int
func (*AccountAmtPair) XXX_Unmarshal ¶
func (m *AccountAmtPair) XXX_Unmarshal(b []byte) error
type MultiSigMessage ¶ added in v0.2.0
type MultiSigMessage struct { // serialized message Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Sigs [][]byte `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 3 This is a generic multi-sig message for DPoS contract to validate any types of request messages
func (*MultiSigMessage) Descriptor ¶ added in v0.2.0
func (*MultiSigMessage) Descriptor() ([]byte, []int)
func (*MultiSigMessage) GetMsg ¶ added in v0.2.0
func (m *MultiSigMessage) GetMsg() []byte
func (*MultiSigMessage) GetSigs ¶ added in v0.2.0
func (m *MultiSigMessage) GetSigs() [][]byte
func (*MultiSigMessage) ProtoMessage ¶ added in v0.2.0
func (*MultiSigMessage) ProtoMessage()
func (*MultiSigMessage) Reset ¶ added in v0.2.0
func (m *MultiSigMessage) Reset()
func (*MultiSigMessage) String ¶ added in v0.2.0
func (m *MultiSigMessage) String() string
func (*MultiSigMessage) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *MultiSigMessage) XXX_DiscardUnknown()
func (*MultiSigMessage) XXX_Marshal ¶ added in v0.2.0
func (m *MultiSigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSigMessage) XXX_Merge ¶ added in v0.2.0
func (m *MultiSigMessage) XXX_Merge(src proto.Message)
func (*MultiSigMessage) XXX_Size ¶ added in v0.2.0
func (m *MultiSigMessage) XXX_Size() int
func (*MultiSigMessage) XXX_Unmarshal ¶ added in v0.2.0
func (m *MultiSigMessage) XXX_Unmarshal(b []byte) error
type Penalty ¶
type Penalty struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` ExpireTime uint64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` ValidatorAddress []byte `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` PenalizedDelegators []*AccountAmtPair `protobuf:"bytes,4,rep,name=penalized_delegators,json=penalizedDelegators,proto3" json:"penalized_delegators,omitempty"` Beneficiaries []*AccountAmtPair `protobuf:"bytes,5,rep,name=beneficiaries,proto3" json:"beneficiaries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 6
func (*Penalty) Descriptor ¶
func (*Penalty) GetBeneficiaries ¶
func (m *Penalty) GetBeneficiaries() []*AccountAmtPair
func (*Penalty) GetExpireTime ¶
func (*Penalty) GetPenalizedDelegators ¶
func (m *Penalty) GetPenalizedDelegators() []*AccountAmtPair
func (*Penalty) GetValidatorAddress ¶
func (*Penalty) ProtoMessage ¶
func (*Penalty) ProtoMessage()
func (*Penalty) XXX_DiscardUnknown ¶
func (m *Penalty) XXX_DiscardUnknown()
func (*Penalty) XXX_Marshal ¶
func (*Penalty) XXX_Unmarshal ¶
type PenaltyRequest ¶
type PenaltyRequest struct { // serialized Penalty message Penalty []byte `protobuf:"bytes,1,opt,name=penalty,proto3" json:"penalty,omitempty"` Sigs [][]byte `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 3
func (*PenaltyRequest) Descriptor ¶
func (*PenaltyRequest) Descriptor() ([]byte, []int)
func (*PenaltyRequest) GetPenalty ¶
func (m *PenaltyRequest) GetPenalty() []byte
func (*PenaltyRequest) GetSigs ¶
func (m *PenaltyRequest) GetSigs() [][]byte
func (*PenaltyRequest) ProtoMessage ¶
func (*PenaltyRequest) ProtoMessage()
func (*PenaltyRequest) Reset ¶
func (m *PenaltyRequest) Reset()
func (*PenaltyRequest) String ¶
func (m *PenaltyRequest) String() string
func (*PenaltyRequest) XXX_DiscardUnknown ¶
func (m *PenaltyRequest) XXX_DiscardUnknown()
func (*PenaltyRequest) XXX_Marshal ¶
func (m *PenaltyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PenaltyRequest) XXX_Merge ¶
func (m *PenaltyRequest) XXX_Merge(src proto.Message)
func (*PenaltyRequest) XXX_Size ¶
func (m *PenaltyRequest) XXX_Size() int
func (*PenaltyRequest) XXX_Unmarshal ¶
func (m *PenaltyRequest) XXX_Unmarshal(b []byte) error
type Reward ¶
type Reward struct { Receiver []byte `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` CumulativeMiningReward []byte `` /* 129-byte string literal not displayed */ CumulativeServiceReward []byte `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 4
func (*Reward) Descriptor ¶
func (*Reward) GetCumulativeMiningReward ¶
func (*Reward) GetCumulativeServiceReward ¶
func (*Reward) GetReceiver ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) XXX_DiscardUnknown ¶
func (m *Reward) XXX_DiscardUnknown()
func (*Reward) XXX_Marshal ¶
func (*Reward) XXX_Unmarshal ¶
type RewardRequest ¶
type RewardRequest struct { // serialized Reward message Reward []byte `protobuf:"bytes,1,opt,name=reward,proto3" json:"reward,omitempty"` Sigs [][]byte `protobuf:"bytes,2,rep,name=sigs,proto3" json:"sigs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next Tag: 3
func (*RewardRequest) Descriptor ¶
func (*RewardRequest) Descriptor() ([]byte, []int)
func (*RewardRequest) GetReward ¶
func (m *RewardRequest) GetReward() []byte
func (*RewardRequest) GetSigs ¶
func (m *RewardRequest) GetSigs() [][]byte
func (*RewardRequest) ProtoMessage ¶
func (*RewardRequest) ProtoMessage()
func (*RewardRequest) Reset ¶
func (m *RewardRequest) Reset()
func (*RewardRequest) String ¶
func (m *RewardRequest) String() string
func (*RewardRequest) XXX_DiscardUnknown ¶
func (m *RewardRequest) XXX_DiscardUnknown()
func (*RewardRequest) XXX_Marshal ¶
func (m *RewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardRequest) XXX_Merge ¶
func (m *RewardRequest) XXX_Merge(src proto.Message)
func (*RewardRequest) XXX_Size ¶
func (m *RewardRequest) XXX_Size() int
func (*RewardRequest) XXX_Unmarshal ¶
func (m *RewardRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.