Documentation ¶
Index ¶
- type BitVec
- func (*BitVec) Descriptor() ([]byte, []int)
- func (m *BitVec) GetData() []byte
- func (m *BitVec) GetLen() uint64
- func (*BitVec) ProtoMessage()
- func (m *BitVec) Reset()
- func (m *BitVec) String() string
- func (m *BitVec) XXX_DiscardUnknown()
- func (m *BitVec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BitVec) XXX_Merge(src proto.Message)
- func (m *BitVec) XXX_Size() int
- func (m *BitVec) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetHeight() uint64
- func (m *Block) GetPrevHash() *Hash
- func (m *Block) GetProposerId() uint32
- func (m *Block) GetStateHash() *Hash
- func (m *Block) GetTxCount() uint32
- func (m *Block) GetTxHash() *Hash
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockRequest
- func (*BlockRequest) Descriptor() ([]byte, []int)
- func (m *BlockRequest) GetHeight() uint64
- func (m *BlockRequest) GetTo() *PublicKey
- func (*BlockRequest) ProtoMessage()
- func (m *BlockRequest) Reset()
- func (m *BlockRequest) String() string
- func (m *BlockRequest) XXX_DiscardUnknown()
- func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockRequest) XXX_Merge(src proto.Message)
- func (m *BlockRequest) XXX_Size() int
- func (m *BlockRequest) XXX_Unmarshal(b []byte) error
- type BlockResponse
- func (*BlockResponse) Descriptor() ([]byte, []int)
- func (m *BlockResponse) GetBlock() *Block
- func (m *BlockResponse) GetPrecommits() [][]byte
- func (m *BlockResponse) GetTo() *PublicKey
- func (m *BlockResponse) GetTransactions() []*Hash
- func (*BlockResponse) ProtoMessage()
- func (m *BlockResponse) Reset()
- func (m *BlockResponse) String() string
- func (m *BlockResponse) XXX_DiscardUnknown()
- func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockResponse) XXX_Merge(src proto.Message)
- func (m *BlockResponse) XXX_Size() int
- func (m *BlockResponse) XXX_Unmarshal(b []byte) error
- type ConfigReference
- func (*ConfigReference) Descriptor() ([]byte, []int)
- func (m *ConfigReference) GetActualFrom() uint64
- func (m *ConfigReference) GetCfgHash() *Hash
- func (*ConfigReference) ProtoMessage()
- func (m *ConfigReference) Reset()
- func (m *ConfigReference) String() string
- func (m *ConfigReference) XXX_DiscardUnknown()
- func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfigReference) XXX_Merge(src proto.Message)
- func (m *ConfigReference) XXX_Size() int
- func (m *ConfigReference) XXX_Unmarshal(b []byte) error
- type Connect
- func (*Connect) Descriptor() ([]byte, []int)
- func (m *Connect) GetPubAddr() string
- func (m *Connect) GetTime() *timestamp.Timestamp
- func (m *Connect) GetUserAgent() string
- func (*Connect) ProtoMessage()
- func (m *Connect) Reset()
- func (m *Connect) String() string
- func (m *Connect) XXX_DiscardUnknown()
- func (m *Connect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Connect) XXX_Merge(src proto.Message)
- func (m *Connect) XXX_Size() int
- func (m *Connect) XXX_Unmarshal(b []byte) error
- type Hash
- func (*Hash) Descriptor() ([]byte, []int)
- func (m *Hash) GetData() []byte
- func (*Hash) ProtoMessage()
- func (m *Hash) Reset()
- func (m *Hash) String() string
- func (m *Hash) XXX_DiscardUnknown()
- func (m *Hash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Hash) XXX_Merge(src proto.Message)
- func (m *Hash) XXX_Size() int
- func (m *Hash) XXX_Unmarshal(b []byte) error
- type PeersRequest
- func (*PeersRequest) Descriptor() ([]byte, []int)
- func (m *PeersRequest) GetTo() *PublicKey
- func (*PeersRequest) ProtoMessage()
- func (m *PeersRequest) Reset()
- func (m *PeersRequest) String() string
- func (m *PeersRequest) XXX_DiscardUnknown()
- func (m *PeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PeersRequest) XXX_Merge(src proto.Message)
- func (m *PeersRequest) XXX_Size() int
- func (m *PeersRequest) XXX_Unmarshal(b []byte) error
- type Precommit
- func (*Precommit) Descriptor() ([]byte, []int)
- func (m *Precommit) GetBlockHash() *Hash
- func (m *Precommit) GetHeight() uint64
- func (m *Precommit) GetProposeHash() *Hash
- func (m *Precommit) GetRound() uint32
- func (m *Precommit) GetTime() *timestamp.Timestamp
- func (m *Precommit) GetValidator() uint32
- func (*Precommit) ProtoMessage()
- func (m *Precommit) Reset()
- func (m *Precommit) String() string
- func (m *Precommit) XXX_DiscardUnknown()
- func (m *Precommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Precommit) XXX_Merge(src proto.Message)
- func (m *Precommit) XXX_Size() int
- func (m *Precommit) XXX_Unmarshal(b []byte) error
- type Prevote
- func (*Prevote) Descriptor() ([]byte, []int)
- func (m *Prevote) GetHeight() uint64
- func (m *Prevote) GetLockedRound() uint32
- func (m *Prevote) GetProposeHash() *Hash
- func (m *Prevote) GetRound() uint32
- func (m *Prevote) GetValidator() uint32
- func (*Prevote) ProtoMessage()
- func (m *Prevote) Reset()
- func (m *Prevote) String() string
- func (m *Prevote) XXX_DiscardUnknown()
- func (m *Prevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Prevote) XXX_Merge(src proto.Message)
- func (m *Prevote) XXX_Size() int
- func (m *Prevote) XXX_Unmarshal(b []byte) error
- type PrevotesRequest
- func (*PrevotesRequest) Descriptor() ([]byte, []int)
- func (m *PrevotesRequest) GetHeight() uint64
- func (m *PrevotesRequest) GetProposeHash() *Hash
- func (m *PrevotesRequest) GetRound() uint32
- func (m *PrevotesRequest) GetTo() *PublicKey
- func (m *PrevotesRequest) GetValidators() *BitVec
- func (*PrevotesRequest) ProtoMessage()
- func (m *PrevotesRequest) Reset()
- func (m *PrevotesRequest) String() string
- func (m *PrevotesRequest) XXX_DiscardUnknown()
- func (m *PrevotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrevotesRequest) XXX_Merge(src proto.Message)
- func (m *PrevotesRequest) XXX_Size() int
- func (m *PrevotesRequest) XXX_Unmarshal(b []byte) error
- type Propose
- func (*Propose) Descriptor() ([]byte, []int)
- func (m *Propose) GetHeight() uint64
- func (m *Propose) GetPrevHash() *Hash
- func (m *Propose) GetRound() uint32
- func (m *Propose) GetTransactions() []*Hash
- func (m *Propose) GetValidator() uint32
- func (*Propose) ProtoMessage()
- func (m *Propose) Reset()
- func (m *Propose) String() string
- func (m *Propose) XXX_DiscardUnknown()
- func (m *Propose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Propose) XXX_Merge(src proto.Message)
- func (m *Propose) XXX_Size() int
- func (m *Propose) XXX_Unmarshal(b []byte) error
- type ProposeRequest
- func (*ProposeRequest) Descriptor() ([]byte, []int)
- func (m *ProposeRequest) GetHeight() uint64
- func (m *ProposeRequest) GetProposeHash() *Hash
- func (m *ProposeRequest) GetTo() *PublicKey
- func (*ProposeRequest) ProtoMessage()
- func (m *ProposeRequest) Reset()
- func (m *ProposeRequest) String() string
- func (m *ProposeRequest) XXX_DiscardUnknown()
- func (m *ProposeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProposeRequest) XXX_Merge(src proto.Message)
- func (m *ProposeRequest) XXX_Size() int
- func (m *ProposeRequest) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetData() []byte
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type SecretKey
- func (*SecretKey) Descriptor() ([]byte, []int)
- func (m *SecretKey) GetData() []byte
- func (*SecretKey) ProtoMessage()
- func (m *SecretKey) Reset()
- func (m *SecretKey) String() string
- func (m *SecretKey) XXX_DiscardUnknown()
- func (m *SecretKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SecretKey) XXX_Merge(src proto.Message)
- func (m *SecretKey) XXX_Size() int
- func (m *SecretKey) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetHeight() uint64
- func (m *Status) GetLastHash() *Hash
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type TransactionResult
- func (*TransactionResult) Descriptor() ([]byte, []int)
- func (m *TransactionResult) GetDescription() string
- func (m *TransactionResult) GetStatus() uint32
- func (*TransactionResult) ProtoMessage()
- func (m *TransactionResult) Reset()
- func (m *TransactionResult) String() string
- func (m *TransactionResult) XXX_DiscardUnknown()
- func (m *TransactionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionResult) XXX_Merge(src proto.Message)
- func (m *TransactionResult) XXX_Size() int
- func (m *TransactionResult) XXX_Unmarshal(b []byte) error
- type TransactionsRequest
- func (*TransactionsRequest) Descriptor() ([]byte, []int)
- func (m *TransactionsRequest) GetTo() *PublicKey
- func (m *TransactionsRequest) GetTxs() []*Hash
- func (*TransactionsRequest) ProtoMessage()
- func (m *TransactionsRequest) Reset()
- func (m *TransactionsRequest) String() string
- func (m *TransactionsRequest) XXX_DiscardUnknown()
- func (m *TransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionsRequest) XXX_Merge(src proto.Message)
- func (m *TransactionsRequest) XXX_Size() int
- func (m *TransactionsRequest) XXX_Unmarshal(b []byte) error
- type TransactionsResponse
- func (*TransactionsResponse) Descriptor() ([]byte, []int)
- func (m *TransactionsResponse) GetTo() *PublicKey
- func (m *TransactionsResponse) GetTransactions() [][]byte
- func (*TransactionsResponse) ProtoMessage()
- func (m *TransactionsResponse) Reset()
- func (m *TransactionsResponse) String() string
- func (m *TransactionsResponse) XXX_DiscardUnknown()
- func (m *TransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionsResponse) XXX_Merge(src proto.Message)
- func (m *TransactionsResponse) XXX_Size() int
- func (m *TransactionsResponse) XXX_Unmarshal(b []byte) error
- type TxLocation
- func (*TxLocation) Descriptor() ([]byte, []int)
- func (m *TxLocation) GetBlockHeight() uint64
- func (m *TxLocation) GetPositionInBlock() uint64
- func (*TxLocation) ProtoMessage()
- func (m *TxLocation) Reset()
- func (m *TxLocation) String() string
- func (m *TxLocation) XXX_DiscardUnknown()
- func (m *TxLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxLocation) XXX_Merge(src proto.Message)
- func (m *TxLocation) XXX_Size() int
- func (m *TxLocation) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitVec ¶
type BitVec struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Len uint64 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BitVec) Descriptor ¶
func (*BitVec) ProtoMessage ¶
func (*BitVec) ProtoMessage()
func (*BitVec) XXX_DiscardUnknown ¶
func (m *BitVec) XXX_DiscardUnknown()
func (*BitVec) XXX_Marshal ¶
func (*BitVec) XXX_Unmarshal ¶
type Block ¶
type Block struct { ProposerId uint32 `protobuf:"varint,1,opt,name=proposer_id,json=proposerId,proto3" json:"proposer_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` TxCount uint32 `protobuf:"varint,3,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"` PrevHash *Hash `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` TxHash *Hash `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` StateHash *Hash `protobuf:"bytes,6,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetPrevHash ¶
func (*Block) GetProposerId ¶
func (*Block) GetStateHash ¶
func (*Block) GetTxCount ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockRequest ¶
type BlockRequest struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockRequest) Descriptor ¶
func (*BlockRequest) Descriptor() ([]byte, []int)
func (*BlockRequest) GetHeight ¶
func (m *BlockRequest) GetHeight() uint64
func (*BlockRequest) GetTo ¶
func (m *BlockRequest) GetTo() *PublicKey
func (*BlockRequest) ProtoMessage ¶
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) Reset ¶
func (m *BlockRequest) Reset()
func (*BlockRequest) String ¶
func (m *BlockRequest) String() string
func (*BlockRequest) XXX_DiscardUnknown ¶
func (m *BlockRequest) XXX_DiscardUnknown()
func (*BlockRequest) XXX_Marshal ¶
func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockRequest) XXX_Merge ¶
func (dst *BlockRequest) XXX_Merge(src proto.Message)
func (*BlockRequest) XXX_Size ¶
func (m *BlockRequest) XXX_Size() int
func (*BlockRequest) XXX_Unmarshal ¶
func (m *BlockRequest) XXX_Unmarshal(b []byte) error
type BlockResponse ¶
type BlockResponse struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Block *Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` Precommits [][]byte `protobuf:"bytes,3,rep,name=precommits,proto3" json:"precommits,omitempty"` Transactions []*Hash `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockResponse) Descriptor ¶
func (*BlockResponse) Descriptor() ([]byte, []int)
func (*BlockResponse) GetBlock ¶
func (m *BlockResponse) GetBlock() *Block
func (*BlockResponse) GetPrecommits ¶
func (m *BlockResponse) GetPrecommits() [][]byte
func (*BlockResponse) GetTo ¶
func (m *BlockResponse) GetTo() *PublicKey
func (*BlockResponse) GetTransactions ¶
func (m *BlockResponse) GetTransactions() []*Hash
func (*BlockResponse) ProtoMessage ¶
func (*BlockResponse) ProtoMessage()
func (*BlockResponse) Reset ¶
func (m *BlockResponse) Reset()
func (*BlockResponse) String ¶
func (m *BlockResponse) String() string
func (*BlockResponse) XXX_DiscardUnknown ¶
func (m *BlockResponse) XXX_DiscardUnknown()
func (*BlockResponse) XXX_Marshal ¶
func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockResponse) XXX_Merge ¶
func (dst *BlockResponse) XXX_Merge(src proto.Message)
func (*BlockResponse) XXX_Size ¶
func (m *BlockResponse) XXX_Size() int
func (*BlockResponse) XXX_Unmarshal ¶
func (m *BlockResponse) XXX_Unmarshal(b []byte) error
type ConfigReference ¶
type ConfigReference struct { ActualFrom uint64 `protobuf:"varint,1,opt,name=actual_from,json=actualFrom,proto3" json:"actual_from,omitempty"` CfgHash *Hash `protobuf:"bytes,2,opt,name=cfg_hash,json=cfgHash,proto3" json:"cfg_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigReference) Descriptor ¶
func (*ConfigReference) Descriptor() ([]byte, []int)
func (*ConfigReference) GetActualFrom ¶
func (m *ConfigReference) GetActualFrom() uint64
func (*ConfigReference) GetCfgHash ¶
func (m *ConfigReference) GetCfgHash() *Hash
func (*ConfigReference) ProtoMessage ¶
func (*ConfigReference) ProtoMessage()
func (*ConfigReference) Reset ¶
func (m *ConfigReference) Reset()
func (*ConfigReference) String ¶
func (m *ConfigReference) String() string
func (*ConfigReference) XXX_DiscardUnknown ¶
func (m *ConfigReference) XXX_DiscardUnknown()
func (*ConfigReference) XXX_Marshal ¶
func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigReference) XXX_Merge ¶
func (dst *ConfigReference) XXX_Merge(src proto.Message)
func (*ConfigReference) XXX_Size ¶
func (m *ConfigReference) XXX_Size() int
func (*ConfigReference) XXX_Unmarshal ¶
func (m *ConfigReference) XXX_Unmarshal(b []byte) error
type Connect ¶
type Connect struct { PubAddr string `protobuf:"bytes,1,opt,name=pub_addr,json=pubAddr,proto3" json:"pub_addr,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Connect) Descriptor ¶
func (*Connect) GetPubAddr ¶
func (*Connect) GetUserAgent ¶
func (*Connect) ProtoMessage ¶
func (*Connect) ProtoMessage()
func (*Connect) XXX_DiscardUnknown ¶
func (m *Connect) XXX_DiscardUnknown()
func (*Connect) XXX_Marshal ¶
func (*Connect) XXX_Unmarshal ¶
type Hash ¶
type Hash struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Hash) Descriptor ¶
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) XXX_DiscardUnknown ¶
func (m *Hash) XXX_DiscardUnknown()
func (*Hash) XXX_Unmarshal ¶
type PeersRequest ¶
type PeersRequest struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeersRequest) Descriptor ¶
func (*PeersRequest) Descriptor() ([]byte, []int)
func (*PeersRequest) GetTo ¶
func (m *PeersRequest) GetTo() *PublicKey
func (*PeersRequest) ProtoMessage ¶
func (*PeersRequest) ProtoMessage()
func (*PeersRequest) Reset ¶
func (m *PeersRequest) Reset()
func (*PeersRequest) String ¶
func (m *PeersRequest) String() string
func (*PeersRequest) XXX_DiscardUnknown ¶
func (m *PeersRequest) XXX_DiscardUnknown()
func (*PeersRequest) XXX_Marshal ¶
func (m *PeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PeersRequest) XXX_Merge ¶
func (dst *PeersRequest) XXX_Merge(src proto.Message)
func (*PeersRequest) XXX_Size ¶
func (m *PeersRequest) XXX_Size() int
func (*PeersRequest) XXX_Unmarshal ¶
func (m *PeersRequest) XXX_Unmarshal(b []byte) error
type Precommit ¶
type Precommit struct { Validator uint32 `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` ProposeHash *Hash `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"` BlockHash *Hash `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Precommit) Descriptor ¶
func (*Precommit) GetBlockHash ¶
func (*Precommit) GetProposeHash ¶
func (*Precommit) GetValidator ¶
func (*Precommit) ProtoMessage ¶
func (*Precommit) ProtoMessage()
func (*Precommit) XXX_DiscardUnknown ¶
func (m *Precommit) XXX_DiscardUnknown()
func (*Precommit) XXX_Marshal ¶
func (*Precommit) XXX_Unmarshal ¶
type Prevote ¶
type Prevote struct { Validator uint32 `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` ProposeHash *Hash `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"` LockedRound uint32 `protobuf:"varint,5,opt,name=locked_round,json=lockedRound,proto3" json:"locked_round,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Prevote) Descriptor ¶
func (*Prevote) GetLockedRound ¶
func (*Prevote) GetProposeHash ¶
func (*Prevote) GetValidator ¶
func (*Prevote) ProtoMessage ¶
func (*Prevote) ProtoMessage()
func (*Prevote) XXX_DiscardUnknown ¶
func (m *Prevote) XXX_DiscardUnknown()
func (*Prevote) XXX_Marshal ¶
func (*Prevote) XXX_Unmarshal ¶
type PrevotesRequest ¶
type PrevotesRequest struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` ProposeHash *Hash `protobuf:"bytes,4,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"` Validators *BitVec `protobuf:"bytes,5,opt,name=validators,proto3" json:"validators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrevotesRequest) Descriptor ¶
func (*PrevotesRequest) Descriptor() ([]byte, []int)
func (*PrevotesRequest) GetHeight ¶
func (m *PrevotesRequest) GetHeight() uint64
func (*PrevotesRequest) GetProposeHash ¶
func (m *PrevotesRequest) GetProposeHash() *Hash
func (*PrevotesRequest) GetRound ¶
func (m *PrevotesRequest) GetRound() uint32
func (*PrevotesRequest) GetTo ¶
func (m *PrevotesRequest) GetTo() *PublicKey
func (*PrevotesRequest) GetValidators ¶
func (m *PrevotesRequest) GetValidators() *BitVec
func (*PrevotesRequest) ProtoMessage ¶
func (*PrevotesRequest) ProtoMessage()
func (*PrevotesRequest) Reset ¶
func (m *PrevotesRequest) Reset()
func (*PrevotesRequest) String ¶
func (m *PrevotesRequest) String() string
func (*PrevotesRequest) XXX_DiscardUnknown ¶
func (m *PrevotesRequest) XXX_DiscardUnknown()
func (*PrevotesRequest) XXX_Marshal ¶
func (m *PrevotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrevotesRequest) XXX_Merge ¶
func (dst *PrevotesRequest) XXX_Merge(src proto.Message)
func (*PrevotesRequest) XXX_Size ¶
func (m *PrevotesRequest) XXX_Size() int
func (*PrevotesRequest) XXX_Unmarshal ¶
func (m *PrevotesRequest) XXX_Unmarshal(b []byte) error
type Propose ¶
type Propose struct { Validator uint32 `protobuf:"varint,1,opt,name=validator,proto3" json:"validator,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` PrevHash *Hash `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` Transactions []*Hash `protobuf:"bytes,5,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Propose) Descriptor ¶
func (*Propose) GetPrevHash ¶
func (*Propose) GetTransactions ¶
func (*Propose) GetValidator ¶
func (*Propose) ProtoMessage ¶
func (*Propose) ProtoMessage()
func (*Propose) XXX_DiscardUnknown ¶
func (m *Propose) XXX_DiscardUnknown()
func (*Propose) XXX_Marshal ¶
func (*Propose) XXX_Unmarshal ¶
type ProposeRequest ¶
type ProposeRequest struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` ProposeHash *Hash `protobuf:"bytes,3,opt,name=propose_hash,json=proposeHash,proto3" json:"propose_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposeRequest) Descriptor ¶
func (*ProposeRequest) Descriptor() ([]byte, []int)
func (*ProposeRequest) GetHeight ¶
func (m *ProposeRequest) GetHeight() uint64
func (*ProposeRequest) GetProposeHash ¶
func (m *ProposeRequest) GetProposeHash() *Hash
func (*ProposeRequest) GetTo ¶
func (m *ProposeRequest) GetTo() *PublicKey
func (*ProposeRequest) ProtoMessage ¶
func (*ProposeRequest) ProtoMessage()
func (*ProposeRequest) Reset ¶
func (m *ProposeRequest) Reset()
func (*ProposeRequest) String ¶
func (m *ProposeRequest) String() string
func (*ProposeRequest) XXX_DiscardUnknown ¶
func (m *ProposeRequest) XXX_DiscardUnknown()
func (*ProposeRequest) XXX_Marshal ¶
func (m *ProposeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposeRequest) XXX_Merge ¶
func (dst *ProposeRequest) XXX_Merge(src proto.Message)
func (*ProposeRequest) XXX_Size ¶
func (m *ProposeRequest) XXX_Size() int
func (*ProposeRequest) XXX_Unmarshal ¶
func (m *ProposeRequest) XXX_Unmarshal(b []byte) error
type PublicKey ¶
type PublicKey struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
type SecretKey ¶
type SecretKey struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SecretKey) Descriptor ¶
func (*SecretKey) ProtoMessage ¶
func (*SecretKey) ProtoMessage()
func (*SecretKey) XXX_DiscardUnknown ¶
func (m *SecretKey) XXX_DiscardUnknown()
func (*SecretKey) XXX_Marshal ¶
func (*SecretKey) XXX_Unmarshal ¶
type Status ¶
type Status struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` LastHash *Hash `protobuf:"bytes,2,opt,name=last_hash,json=lastHash,proto3" json:"last_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Status) Descriptor ¶
func (*Status) GetLastHash ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type TransactionResult ¶
type TransactionResult struct { Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionResult) Descriptor ¶
func (*TransactionResult) Descriptor() ([]byte, []int)
func (*TransactionResult) GetDescription ¶
func (m *TransactionResult) GetDescription() string
func (*TransactionResult) GetStatus ¶
func (m *TransactionResult) GetStatus() uint32
func (*TransactionResult) ProtoMessage ¶
func (*TransactionResult) ProtoMessage()
func (*TransactionResult) Reset ¶
func (m *TransactionResult) Reset()
func (*TransactionResult) String ¶
func (m *TransactionResult) String() string
func (*TransactionResult) XXX_DiscardUnknown ¶
func (m *TransactionResult) XXX_DiscardUnknown()
func (*TransactionResult) XXX_Marshal ¶
func (m *TransactionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionResult) XXX_Merge ¶
func (dst *TransactionResult) XXX_Merge(src proto.Message)
func (*TransactionResult) XXX_Size ¶
func (m *TransactionResult) XXX_Size() int
func (*TransactionResult) XXX_Unmarshal ¶
func (m *TransactionResult) XXX_Unmarshal(b []byte) error
type TransactionsRequest ¶
type TransactionsRequest struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Txs []*Hash `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionsRequest) Descriptor ¶
func (*TransactionsRequest) Descriptor() ([]byte, []int)
func (*TransactionsRequest) GetTo ¶
func (m *TransactionsRequest) GetTo() *PublicKey
func (*TransactionsRequest) GetTxs ¶
func (m *TransactionsRequest) GetTxs() []*Hash
func (*TransactionsRequest) ProtoMessage ¶
func (*TransactionsRequest) ProtoMessage()
func (*TransactionsRequest) Reset ¶
func (m *TransactionsRequest) Reset()
func (*TransactionsRequest) String ¶
func (m *TransactionsRequest) String() string
func (*TransactionsRequest) XXX_DiscardUnknown ¶
func (m *TransactionsRequest) XXX_DiscardUnknown()
func (*TransactionsRequest) XXX_Marshal ¶
func (m *TransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionsRequest) XXX_Merge ¶
func (dst *TransactionsRequest) XXX_Merge(src proto.Message)
func (*TransactionsRequest) XXX_Size ¶
func (m *TransactionsRequest) XXX_Size() int
func (*TransactionsRequest) XXX_Unmarshal ¶
func (m *TransactionsRequest) XXX_Unmarshal(b []byte) error
type TransactionsResponse ¶
type TransactionsResponse struct { To *PublicKey `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Transactions [][]byte `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionsResponse) Descriptor ¶
func (*TransactionsResponse) Descriptor() ([]byte, []int)
func (*TransactionsResponse) GetTo ¶
func (m *TransactionsResponse) GetTo() *PublicKey
func (*TransactionsResponse) GetTransactions ¶
func (m *TransactionsResponse) GetTransactions() [][]byte
func (*TransactionsResponse) ProtoMessage ¶
func (*TransactionsResponse) ProtoMessage()
func (*TransactionsResponse) Reset ¶
func (m *TransactionsResponse) Reset()
func (*TransactionsResponse) String ¶
func (m *TransactionsResponse) String() string
func (*TransactionsResponse) XXX_DiscardUnknown ¶
func (m *TransactionsResponse) XXX_DiscardUnknown()
func (*TransactionsResponse) XXX_Marshal ¶
func (m *TransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionsResponse) XXX_Merge ¶
func (dst *TransactionsResponse) XXX_Merge(src proto.Message)
func (*TransactionsResponse) XXX_Size ¶
func (m *TransactionsResponse) XXX_Size() int
func (*TransactionsResponse) XXX_Unmarshal ¶
func (m *TransactionsResponse) XXX_Unmarshal(b []byte) error
type TxLocation ¶
type TxLocation struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` PositionInBlock uint64 `protobuf:"varint,2,opt,name=position_in_block,json=positionInBlock,proto3" json:"position_in_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxLocation) Descriptor ¶
func (*TxLocation) Descriptor() ([]byte, []int)
func (*TxLocation) GetBlockHeight ¶
func (m *TxLocation) GetBlockHeight() uint64
func (*TxLocation) GetPositionInBlock ¶
func (m *TxLocation) GetPositionInBlock() uint64
func (*TxLocation) ProtoMessage ¶
func (*TxLocation) ProtoMessage()
func (*TxLocation) Reset ¶
func (m *TxLocation) Reset()
func (*TxLocation) String ¶
func (m *TxLocation) String() string
func (*TxLocation) XXX_DiscardUnknown ¶
func (m *TxLocation) XXX_DiscardUnknown()
func (*TxLocation) XXX_Marshal ¶
func (m *TxLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxLocation) XXX_Merge ¶
func (dst *TxLocation) XXX_Merge(src proto.Message)
func (*TxLocation) XXX_Size ¶
func (m *TxLocation) XXX_Size() int
func (*TxLocation) XXX_Unmarshal ¶
func (m *TxLocation) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.