Documentation ¶
Index ¶
- Variables
- func RegisterXchainServer(s *grpc.Server, srv XchainServer)
- type AK2AccountRequest
- func (*AK2AccountRequest) Descriptor() ([]byte, []int)
- func (m *AK2AccountRequest) GetAddress() string
- func (m *AK2AccountRequest) GetBcname() string
- func (m *AK2AccountRequest) GetHeader() *Header
- func (*AK2AccountRequest) ProtoMessage()
- func (m *AK2AccountRequest) Reset()
- func (m *AK2AccountRequest) String() string
- func (m *AK2AccountRequest) XXX_DiscardUnknown()
- func (m *AK2AccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AK2AccountRequest) XXX_Merge(src proto.Message)
- func (m *AK2AccountRequest) XXX_Size() int
- func (m *AK2AccountRequest) XXX_Unmarshal(b []byte) error
- type AK2AccountResponse
- func (*AK2AccountResponse) Descriptor() ([]byte, []int)
- func (m *AK2AccountResponse) GetAccount() []string
- func (m *AK2AccountResponse) GetBcname() string
- func (m *AK2AccountResponse) GetHeader() *Header
- func (*AK2AccountResponse) ProtoMessage()
- func (m *AK2AccountResponse) Reset()
- func (m *AK2AccountResponse) String() string
- func (m *AK2AccountResponse) XXX_DiscardUnknown()
- func (m *AK2AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AK2AccountResponse) XXX_Merge(src proto.Message)
- func (m *AK2AccountResponse) XXX_Size() int
- func (m *AK2AccountResponse) XXX_Unmarshal(b []byte) error
- type Acl
- func (*Acl) Descriptor() ([]byte, []int)
- func (m *Acl) GetAkSets() *AkSets
- func (m *Acl) GetAksWeight() map[string]float64
- func (m *Acl) GetPm() *PermissionModel
- func (*Acl) ProtoMessage()
- func (m *Acl) Reset()
- func (m *Acl) String() string
- func (m *Acl) XXX_DiscardUnknown()
- func (m *Acl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl) XXX_Merge(src proto.Message)
- func (m *Acl) XXX_Size() int
- func (m *Acl) XXX_Unmarshal(b []byte) error
- type AclStatus
- func (*AclStatus) Descriptor() ([]byte, []int)
- func (m *AclStatus) GetAccountName() string
- func (m *AclStatus) GetAcl() *Acl
- func (m *AclStatus) GetBcname() string
- func (m *AclStatus) GetConfirmed() bool
- func (m *AclStatus) GetContractName() string
- func (m *AclStatus) GetHeader() *Header
- func (m *AclStatus) GetMethodName() string
- func (*AclStatus) ProtoMessage()
- func (m *AclStatus) Reset()
- func (m *AclStatus) String() string
- func (m *AclStatus) XXX_DiscardUnknown()
- func (m *AclStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AclStatus) XXX_Merge(src proto.Message)
- func (m *AclStatus) XXX_Size() int
- func (m *AclStatus) XXX_Unmarshal(b []byte) error
- type AddressBalanceStatus
- func (*AddressBalanceStatus) Descriptor() ([]byte, []int)
- func (m *AddressBalanceStatus) GetAddress() string
- func (m *AddressBalanceStatus) GetHeader() *Header
- func (m *AddressBalanceStatus) GetTfds() []*TokenFrozenDetails
- func (*AddressBalanceStatus) ProtoMessage()
- func (m *AddressBalanceStatus) Reset()
- func (m *AddressBalanceStatus) String() string
- func (m *AddressBalanceStatus) XXX_DiscardUnknown()
- func (m *AddressBalanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressBalanceStatus) XXX_Merge(src proto.Message)
- func (m *AddressBalanceStatus) XXX_Size() int
- func (m *AddressBalanceStatus) XXX_Unmarshal(b []byte) error
- type AddressContractsRequest
- func (*AddressContractsRequest) Descriptor() ([]byte, []int)
- func (m *AddressContractsRequest) GetAddress() string
- func (m *AddressContractsRequest) GetBcname() string
- func (m *AddressContractsRequest) GetHeader() *Header
- func (m *AddressContractsRequest) GetNeedContent() bool
- func (*AddressContractsRequest) ProtoMessage()
- func (m *AddressContractsRequest) Reset()
- func (m *AddressContractsRequest) String() string
- func (m *AddressContractsRequest) XXX_DiscardUnknown()
- func (m *AddressContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressContractsRequest) XXX_Merge(src proto.Message)
- func (m *AddressContractsRequest) XXX_Size() int
- func (m *AddressContractsRequest) XXX_Unmarshal(b []byte) error
- type AddressContractsResponse
- func (*AddressContractsResponse) Descriptor() ([]byte, []int)
- func (m *AddressContractsResponse) GetContracts() map[string]*ContractList
- func (m *AddressContractsResponse) GetHeader() *Header
- func (*AddressContractsResponse) ProtoMessage()
- func (m *AddressContractsResponse) Reset()
- func (m *AddressContractsResponse) String() string
- func (m *AddressContractsResponse) XXX_DiscardUnknown()
- func (m *AddressContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressContractsResponse) XXX_Merge(src proto.Message)
- func (m *AddressContractsResponse) XXX_Size() int
- func (m *AddressContractsResponse) XXX_Unmarshal(b []byte) error
- type AddressStatus
- func (*AddressStatus) Descriptor() ([]byte, []int)
- func (m *AddressStatus) GetAddress() string
- func (m *AddressStatus) GetBcs() []*TokenDetail
- func (m *AddressStatus) GetHeader() *Header
- func (*AddressStatus) ProtoMessage()
- func (m *AddressStatus) Reset()
- func (m *AddressStatus) String() string
- func (m *AddressStatus) XXX_DiscardUnknown()
- func (m *AddressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressStatus) XXX_Merge(src proto.Message)
- func (m *AddressStatus) XXX_Size() int
- func (m *AddressStatus) XXX_Unmarshal(b []byte) error
- type AkSet
- func (*AkSet) Descriptor() ([]byte, []int)
- func (m *AkSet) GetAks() []string
- func (*AkSet) ProtoMessage()
- func (m *AkSet) Reset()
- func (m *AkSet) String() string
- func (m *AkSet) XXX_DiscardUnknown()
- func (m *AkSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AkSet) XXX_Merge(src proto.Message)
- func (m *AkSet) XXX_Size() int
- func (m *AkSet) XXX_Unmarshal(b []byte) error
- type AkSets
- func (*AkSets) Descriptor() ([]byte, []int)
- func (m *AkSets) GetExpression() string
- func (m *AkSets) GetSets() map[string]*AkSet
- func (*AkSets) ProtoMessage()
- func (m *AkSets) Reset()
- func (m *AkSets) String() string
- func (m *AkSets) XXX_DiscardUnknown()
- func (m *AkSets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AkSets) XXX_Merge(src proto.Message)
- func (m *AkSets) XXX_Size() int
- func (m *AkSets) XXX_Unmarshal(b []byte) error
- type BCSpeeds
- func (*BCSpeeds) Descriptor() ([]byte, []int)
- func (m *BCSpeeds) GetBcSpeed() map[string]float64
- func (*BCSpeeds) ProtoMessage()
- func (m *BCSpeeds) Reset()
- func (m *BCSpeeds) String() string
- func (m *BCSpeeds) XXX_DiscardUnknown()
- func (m *BCSpeeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BCSpeeds) XXX_Merge(src proto.Message)
- func (m *BCSpeeds) XXX_Size() int
- func (m *BCSpeeds) XXX_Unmarshal(b []byte) error
- type BCStatus
- func (*BCStatus) Descriptor() ([]byte, []int)
- func (m *BCStatus) GetBcname() string
- func (m *BCStatus) GetBlock() *InternalBlock
- func (m *BCStatus) GetBranchBlockid() []string
- func (m *BCStatus) GetHeader() *Header
- func (m *BCStatus) GetMeta() *LedgerMeta
- func (m *BCStatus) GetUtxoMeta() *UtxoMeta
- func (*BCStatus) ProtoMessage()
- func (m *BCStatus) Reset()
- func (m *BCStatus) String() string
- func (m *BCStatus) XXX_DiscardUnknown()
- func (m *BCStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BCStatus) XXX_Merge(src proto.Message)
- func (m *BCStatus) XXX_Size() int
- func (m *BCStatus) XXX_Unmarshal(b []byte) error
- type BCTipStatus
- func (*BCTipStatus) Descriptor() ([]byte, []int)
- func (m *BCTipStatus) GetHeader() *Header
- func (m *BCTipStatus) GetIsTrunkTip() bool
- func (*BCTipStatus) ProtoMessage()
- func (m *BCTipStatus) Reset()
- func (m *BCTipStatus) String() string
- func (m *BCTipStatus) XXX_DiscardUnknown()
- func (m *BCTipStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BCTipStatus) XXX_Merge(src proto.Message)
- func (m *BCTipStatus) XXX_Size() int
- func (m *BCTipStatus) XXX_Unmarshal(b []byte) error
- type BatchTxs
- func (*BatchTxs) Descriptor() ([]byte, []int)
- func (m *BatchTxs) GetHeader() *Header
- func (m *BatchTxs) GetTxs() []*TxStatus
- func (*BatchTxs) ProtoMessage()
- func (m *BatchTxs) Reset()
- func (m *BatchTxs) String() string
- func (m *BatchTxs) XXX_DiscardUnknown()
- func (m *BatchTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BatchTxs) XXX_Merge(src proto.Message)
- func (m *BatchTxs) XXX_Size() int
- func (m *BatchTxs) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBcname() string
- func (m *Block) GetBlock() *InternalBlock
- func (m *Block) GetBlockid() []byte
- func (m *Block) GetHeader() *Header
- func (m *Block) GetStatus() Block_EBlockStatus
- 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 BlockChains
- func (*BlockChains) Descriptor() ([]byte, []int)
- func (m *BlockChains) GetBlockchains() []string
- func (m *BlockChains) GetHeader() *Header
- func (*BlockChains) ProtoMessage()
- func (m *BlockChains) Reset()
- func (m *BlockChains) String() string
- func (m *BlockChains) XXX_DiscardUnknown()
- func (m *BlockChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockChains) XXX_Merge(src proto.Message)
- func (m *BlockChains) XXX_Size() int
- func (m *BlockChains) XXX_Unmarshal(b []byte) error
- type BlockHeight
- func (*BlockHeight) Descriptor() ([]byte, []int)
- func (m *BlockHeight) GetBcname() string
- func (m *BlockHeight) GetHeader() *Header
- func (m *BlockHeight) GetHeight() int64
- func (*BlockHeight) ProtoMessage()
- func (m *BlockHeight) Reset()
- func (m *BlockHeight) String() string
- func (m *BlockHeight) XXX_DiscardUnknown()
- func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeight) XXX_Merge(src proto.Message)
- func (m *BlockHeight) XXX_Size() int
- func (m *BlockHeight) XXX_Unmarshal(b []byte) error
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetBcname() string
- func (m *BlockID) GetBlockid() []byte
- func (m *BlockID) GetHeader() *Header
- func (m *BlockID) GetNeedContent() bool
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type Block_EBlockStatus
- type ChainedBftPhaseMessage
- func (*ChainedBftPhaseMessage) Descriptor() ([]byte, []int)
- func (m *ChainedBftPhaseMessage) GetJustifyQC() *QuorumCert
- func (m *ChainedBftPhaseMessage) GetMsgDigest() []byte
- func (m *ChainedBftPhaseMessage) GetProposalQC() *QuorumCert
- func (m *ChainedBftPhaseMessage) GetSignature() *SignInfo
- func (m *ChainedBftPhaseMessage) GetType() QCState
- func (m *ChainedBftPhaseMessage) GetViewNumber() int64
- func (*ChainedBftPhaseMessage) ProtoMessage()
- func (m *ChainedBftPhaseMessage) Reset()
- func (m *ChainedBftPhaseMessage) String() string
- func (m *ChainedBftPhaseMessage) XXX_DiscardUnknown()
- func (m *ChainedBftPhaseMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainedBftPhaseMessage) XXX_Merge(src proto.Message)
- func (m *ChainedBftPhaseMessage) XXX_Size() int
- func (m *ChainedBftPhaseMessage) XXX_Unmarshal(b []byte) error
- type ChainedBftVoteMessage
- func (*ChainedBftVoteMessage) Descriptor() ([]byte, []int)
- func (m *ChainedBftVoteMessage) GetProposalId() []byte
- func (m *ChainedBftVoteMessage) GetSignature() *SignInfo
- func (*ChainedBftVoteMessage) ProtoMessage()
- func (m *ChainedBftVoteMessage) Reset()
- func (m *ChainedBftVoteMessage) String() string
- func (m *ChainedBftVoteMessage) XXX_DiscardUnknown()
- func (m *ChainedBftVoteMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainedBftVoteMessage) XXX_Merge(src proto.Message)
- func (m *ChainedBftVoteMessage) XXX_Size() int
- func (m *ChainedBftVoteMessage) XXX_Unmarshal(b []byte) error
- type CommonIn
- func (*CommonIn) Descriptor() ([]byte, []int)
- func (m *CommonIn) GetHeader() *Header
- func (m *CommonIn) GetViewOption() ViewOption
- func (*CommonIn) ProtoMessage()
- func (m *CommonIn) Reset()
- func (m *CommonIn) String() string
- func (m *CommonIn) XXX_DiscardUnknown()
- func (m *CommonIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommonIn) XXX_Merge(src proto.Message)
- func (m *CommonIn) XXX_Size() int
- func (m *CommonIn) XXX_Unmarshal(b []byte) error
- type CommonReply
- func (*CommonReply) Descriptor() ([]byte, []int)
- func (m *CommonReply) GetHeader() *Header
- func (*CommonReply) ProtoMessage()
- func (m *CommonReply) Reset()
- func (m *CommonReply) String() string
- func (m *CommonReply) XXX_DiscardUnknown()
- func (m *CommonReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommonReply) XXX_Merge(src proto.Message)
- func (m *CommonReply) XXX_Size() int
- func (m *CommonReply) XXX_Unmarshal(b []byte) error
- type ContractEvent
- func (*ContractEvent) Descriptor() ([]byte, []int)
- func (m *ContractEvent) GetBody() []byte
- func (m *ContractEvent) GetContract() string
- func (m *ContractEvent) GetName() string
- func (*ContractEvent) ProtoMessage()
- func (m *ContractEvent) Reset()
- func (m *ContractEvent) String() string
- func (m *ContractEvent) XXX_DiscardUnknown()
- func (m *ContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractEvent) XXX_Merge(src proto.Message)
- func (m *ContractEvent) XXX_Size() int
- func (m *ContractEvent) XXX_Unmarshal(b []byte) error
- type ContractList
- func (*ContractList) Descriptor() ([]byte, []int)
- func (m *ContractList) GetContractStatus() []*ContractStatus
- func (*ContractList) ProtoMessage()
- func (m *ContractList) Reset()
- func (m *ContractList) String() string
- func (m *ContractList) XXX_DiscardUnknown()
- func (m *ContractList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractList) XXX_Merge(src proto.Message)
- func (m *ContractList) XXX_Size() int
- func (m *ContractList) XXX_Unmarshal(b []byte) error
- type ContractResponse
- func (*ContractResponse) Descriptor() ([]byte, []int)
- func (m *ContractResponse) GetBody() []byte
- func (m *ContractResponse) GetMessage() string
- func (m *ContractResponse) GetStatus() int32
- func (*ContractResponse) ProtoMessage()
- func (m *ContractResponse) Reset()
- func (m *ContractResponse) String() string
- func (m *ContractResponse) XXX_DiscardUnknown()
- func (m *ContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractResponse) XXX_Merge(src proto.Message)
- func (m *ContractResponse) XXX_Size() int
- func (m *ContractResponse) XXX_Unmarshal(b []byte) error
- type ContractStatData
- func (*ContractStatData) Descriptor() ([]byte, []int)
- func (m *ContractStatData) GetAccountCount() int64
- func (m *ContractStatData) GetContractCount() int64
- func (*ContractStatData) ProtoMessage()
- func (m *ContractStatData) Reset()
- func (m *ContractStatData) String() string
- func (m *ContractStatData) XXX_DiscardUnknown()
- func (m *ContractStatData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractStatData) XXX_Merge(src proto.Message)
- func (m *ContractStatData) XXX_Size() int
- func (m *ContractStatData) XXX_Unmarshal(b []byte) error
- type ContractStatDataRequest
- func (*ContractStatDataRequest) Descriptor() ([]byte, []int)
- func (m *ContractStatDataRequest) GetBcname() string
- func (m *ContractStatDataRequest) GetHeader() *Header
- func (*ContractStatDataRequest) ProtoMessage()
- func (m *ContractStatDataRequest) Reset()
- func (m *ContractStatDataRequest) String() string
- func (m *ContractStatDataRequest) XXX_DiscardUnknown()
- func (m *ContractStatDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractStatDataRequest) XXX_Merge(src proto.Message)
- func (m *ContractStatDataRequest) XXX_Size() int
- func (m *ContractStatDataRequest) XXX_Unmarshal(b []byte) error
- type ContractStatDataResponse
- func (*ContractStatDataResponse) Descriptor() ([]byte, []int)
- func (m *ContractStatDataResponse) GetBcname() string
- func (m *ContractStatDataResponse) GetData() *ContractStatData
- func (m *ContractStatDataResponse) GetHeader() *Header
- func (*ContractStatDataResponse) ProtoMessage()
- func (m *ContractStatDataResponse) Reset()
- func (m *ContractStatDataResponse) String() string
- func (m *ContractStatDataResponse) XXX_DiscardUnknown()
- func (m *ContractStatDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractStatDataResponse) XXX_Merge(src proto.Message)
- func (m *ContractStatDataResponse) XXX_Size() int
- func (m *ContractStatDataResponse) XXX_Unmarshal(b []byte) error
- type ContractStatus
- func (*ContractStatus) Descriptor() ([]byte, []int)
- func (m *ContractStatus) GetContractName() string
- func (m *ContractStatus) GetDesc() []byte
- func (m *ContractStatus) GetIsBanned() bool
- func (m *ContractStatus) GetRuntime() string
- func (m *ContractStatus) GetTimestamp() int64
- func (m *ContractStatus) GetTxid() string
- func (*ContractStatus) ProtoMessage()
- func (m *ContractStatus) Reset()
- func (m *ContractStatus) String() string
- func (m *ContractStatus) XXX_DiscardUnknown()
- func (m *ContractStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractStatus) XXX_Merge(src proto.Message)
- func (m *ContractStatus) XXX_Size() int
- func (m *ContractStatus) XXX_Unmarshal(b []byte) error
- type CrossChainMeta
- func (*CrossChainMeta) Descriptor() ([]byte, []int)
- func (m *CrossChainMeta) GetMinEndorsorNum() int64
- func (m *CrossChainMeta) GetType() string
- func (*CrossChainMeta) ProtoMessage()
- func (m *CrossChainMeta) Reset()
- func (m *CrossChainMeta) String() string
- func (m *CrossChainMeta) XXX_DiscardUnknown()
- func (m *CrossChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossChainMeta) XXX_Merge(src proto.Message)
- func (m *CrossChainMeta) XXX_Size() int
- func (m *CrossChainMeta) XXX_Unmarshal(b []byte) error
- type CrossEndorsor
- func (*CrossEndorsor) Descriptor() ([]byte, []int)
- func (m *CrossEndorsor) GetAddress() string
- func (m *CrossEndorsor) GetHost() string
- func (m *CrossEndorsor) GetPubKey() string
- func (*CrossEndorsor) ProtoMessage()
- func (m *CrossEndorsor) Reset()
- func (m *CrossEndorsor) String() string
- func (m *CrossEndorsor) XXX_DiscardUnknown()
- func (m *CrossEndorsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossEndorsor) XXX_Merge(src proto.Message)
- func (m *CrossEndorsor) XXX_Size() int
- func (m *CrossEndorsor) XXX_Unmarshal(b []byte) error
- type CrossQueryInfo
- func (*CrossQueryInfo) Descriptor() ([]byte, []int)
- func (m *CrossQueryInfo) GetRequest() *CrossQueryRequest
- func (m *CrossQueryInfo) GetResponse() *CrossQueryResponse
- func (m *CrossQueryInfo) GetSigns() []*SignatureInfo
- func (*CrossQueryInfo) ProtoMessage()
- func (m *CrossQueryInfo) Reset()
- func (m *CrossQueryInfo) String() string
- func (m *CrossQueryInfo) XXX_DiscardUnknown()
- func (m *CrossQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossQueryInfo) XXX_Merge(src proto.Message)
- func (m *CrossQueryInfo) XXX_Size() int
- func (m *CrossQueryInfo) XXX_Unmarshal(b []byte) error
- type CrossQueryMeta
- func (*CrossQueryMeta) Descriptor() ([]byte, []int)
- func (m *CrossQueryMeta) GetChainMeta() *CrossChainMeta
- func (m *CrossQueryMeta) GetEndorsors() []*CrossEndorsor
- func (*CrossQueryMeta) ProtoMessage()
- func (m *CrossQueryMeta) Reset()
- func (m *CrossQueryMeta) String() string
- func (m *CrossQueryMeta) XXX_DiscardUnknown()
- func (m *CrossQueryMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossQueryMeta) XXX_Merge(src proto.Message)
- func (m *CrossQueryMeta) XXX_Size() int
- func (m *CrossQueryMeta) XXX_Unmarshal(b []byte) error
- type CrossQueryRequest
- func (*CrossQueryRequest) Descriptor() ([]byte, []int)
- func (m *CrossQueryRequest) GetAuthRequire() []string
- func (m *CrossQueryRequest) GetBcname() string
- func (m *CrossQueryRequest) GetInitiator() string
- func (m *CrossQueryRequest) GetRequest() *InvokeRequest
- func (m *CrossQueryRequest) GetTimestamp() int64
- func (*CrossQueryRequest) ProtoMessage()
- func (m *CrossQueryRequest) Reset()
- func (m *CrossQueryRequest) String() string
- func (m *CrossQueryRequest) XXX_DiscardUnknown()
- func (m *CrossQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossQueryRequest) XXX_Merge(src proto.Message)
- func (m *CrossQueryRequest) XXX_Size() int
- func (m *CrossQueryRequest) XXX_Unmarshal(b []byte) error
- type CrossQueryResponse
- func (*CrossQueryResponse) Descriptor() ([]byte, []int)
- func (m *CrossQueryResponse) GetResponse() *ContractResponse
- func (*CrossQueryResponse) ProtoMessage()
- func (m *CrossQueryResponse) Reset()
- func (m *CrossQueryResponse) String() string
- func (m *CrossQueryResponse) XXX_DiscardUnknown()
- func (m *CrossQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CrossQueryResponse) XXX_Merge(src proto.Message)
- func (m *CrossQueryResponse) XXX_Size() int
- func (m *CrossQueryResponse) XXX_Unmarshal(b []byte) error
- type DposCandidatesRequest
- func (*DposCandidatesRequest) Descriptor() ([]byte, []int)
- func (m *DposCandidatesRequest) GetBcname() string
- func (m *DposCandidatesRequest) GetHeader() *Header
- func (*DposCandidatesRequest) ProtoMessage()
- func (m *DposCandidatesRequest) Reset()
- func (m *DposCandidatesRequest) String() string
- func (m *DposCandidatesRequest) XXX_DiscardUnknown()
- func (m *DposCandidatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposCandidatesRequest) XXX_Merge(src proto.Message)
- func (m *DposCandidatesRequest) XXX_Size() int
- func (m *DposCandidatesRequest) XXX_Unmarshal(b []byte) error
- type DposCandidatesResponse
- func (*DposCandidatesResponse) Descriptor() ([]byte, []int)
- func (m *DposCandidatesResponse) GetCandidatesInfo() []string
- func (m *DposCandidatesResponse) GetHeader() *Header
- func (*DposCandidatesResponse) ProtoMessage()
- func (m *DposCandidatesResponse) Reset()
- func (m *DposCandidatesResponse) String() string
- func (m *DposCandidatesResponse) XXX_DiscardUnknown()
- func (m *DposCandidatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposCandidatesResponse) XXX_Merge(src proto.Message)
- func (m *DposCandidatesResponse) XXX_Size() int
- func (m *DposCandidatesResponse) XXX_Unmarshal(b []byte) error
- type DposCheckResultsRequest
- func (*DposCheckResultsRequest) Descriptor() ([]byte, []int)
- func (m *DposCheckResultsRequest) GetBcname() string
- func (m *DposCheckResultsRequest) GetHeader() *Header
- func (m *DposCheckResultsRequest) GetTerm() int64
- func (*DposCheckResultsRequest) ProtoMessage()
- func (m *DposCheckResultsRequest) Reset()
- func (m *DposCheckResultsRequest) String() string
- func (m *DposCheckResultsRequest) XXX_DiscardUnknown()
- func (m *DposCheckResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposCheckResultsRequest) XXX_Merge(src proto.Message)
- func (m *DposCheckResultsRequest) XXX_Size() int
- func (m *DposCheckResultsRequest) XXX_Unmarshal(b []byte) error
- type DposCheckResultsResponse
- func (*DposCheckResultsResponse) Descriptor() ([]byte, []int)
- func (m *DposCheckResultsResponse) GetCheckResult() []string
- func (m *DposCheckResultsResponse) GetHeader() *Header
- func (m *DposCheckResultsResponse) GetTerm() int64
- func (*DposCheckResultsResponse) ProtoMessage()
- func (m *DposCheckResultsResponse) Reset()
- func (m *DposCheckResultsResponse) String() string
- func (m *DposCheckResultsResponse) XXX_DiscardUnknown()
- func (m *DposCheckResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposCheckResultsResponse) XXX_Merge(src proto.Message)
- func (m *DposCheckResultsResponse) XXX_Size() int
- func (m *DposCheckResultsResponse) XXX_Unmarshal(b []byte) error
- type DposNominateInfo
- func (*DposNominateInfo) Descriptor() ([]byte, []int)
- func (m *DposNominateInfo) GetCandidate() string
- func (m *DposNominateInfo) GetTxid() string
- func (*DposNominateInfo) ProtoMessage()
- func (m *DposNominateInfo) Reset()
- func (m *DposNominateInfo) String() string
- func (m *DposNominateInfo) XXX_DiscardUnknown()
- func (m *DposNominateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposNominateInfo) XXX_Merge(src proto.Message)
- func (m *DposNominateInfo) XXX_Size() int
- func (m *DposNominateInfo) XXX_Unmarshal(b []byte) error
- type DposNominateRecordsRequest
- func (*DposNominateRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposNominateRecordsRequest) GetAddress() string
- func (m *DposNominateRecordsRequest) GetBcname() string
- func (m *DposNominateRecordsRequest) GetHeader() *Header
- func (*DposNominateRecordsRequest) ProtoMessage()
- func (m *DposNominateRecordsRequest) Reset()
- func (m *DposNominateRecordsRequest) String() string
- func (m *DposNominateRecordsRequest) XXX_DiscardUnknown()
- func (m *DposNominateRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposNominateRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposNominateRecordsRequest) XXX_Size() int
- func (m *DposNominateRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposNominateRecordsResponse
- func (*DposNominateRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposNominateRecordsResponse) GetHeader() *Header
- func (m *DposNominateRecordsResponse) GetNominateRecords() []*DposNominateInfo
- func (*DposNominateRecordsResponse) ProtoMessage()
- func (m *DposNominateRecordsResponse) Reset()
- func (m *DposNominateRecordsResponse) String() string
- func (m *DposNominateRecordsResponse) XXX_DiscardUnknown()
- func (m *DposNominateRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposNominateRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposNominateRecordsResponse) XXX_Size() int
- func (m *DposNominateRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposNomineeRecordsRequest
- func (*DposNomineeRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposNomineeRecordsRequest) GetAddress() string
- func (m *DposNomineeRecordsRequest) GetBcname() string
- func (m *DposNomineeRecordsRequest) GetHeader() *Header
- func (*DposNomineeRecordsRequest) ProtoMessage()
- func (m *DposNomineeRecordsRequest) Reset()
- func (m *DposNomineeRecordsRequest) String() string
- func (m *DposNomineeRecordsRequest) XXX_DiscardUnknown()
- func (m *DposNomineeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposNomineeRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposNomineeRecordsRequest) XXX_Size() int
- func (m *DposNomineeRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposNomineeRecordsResponse
- func (*DposNomineeRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposNomineeRecordsResponse) GetHeader() *Header
- func (m *DposNomineeRecordsResponse) GetTxid() string
- func (*DposNomineeRecordsResponse) ProtoMessage()
- func (m *DposNomineeRecordsResponse) Reset()
- func (m *DposNomineeRecordsResponse) String() string
- func (m *DposNomineeRecordsResponse) XXX_DiscardUnknown()
- func (m *DposNomineeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposNomineeRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposNomineeRecordsResponse) XXX_Size() int
- func (m *DposNomineeRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposStatus
- func (*DposStatus) Descriptor() ([]byte, []int)
- func (m *DposStatus) GetBlockNum() int64
- func (m *DposStatus) GetCheckResult() []string
- func (m *DposStatus) GetProposer() string
- func (m *DposStatus) GetProposerNum() int64
- func (m *DposStatus) GetTerm() int64
- func (*DposStatus) ProtoMessage()
- func (m *DposStatus) Reset()
- func (m *DposStatus) String() string
- func (m *DposStatus) XXX_DiscardUnknown()
- func (m *DposStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposStatus) XXX_Merge(src proto.Message)
- func (m *DposStatus) XXX_Size() int
- func (m *DposStatus) XXX_Unmarshal(b []byte) error
- type DposStatusRequest
- func (*DposStatusRequest) Descriptor() ([]byte, []int)
- func (m *DposStatusRequest) GetBcname() string
- func (m *DposStatusRequest) GetHeader() *Header
- func (*DposStatusRequest) ProtoMessage()
- func (m *DposStatusRequest) Reset()
- func (m *DposStatusRequest) String() string
- func (m *DposStatusRequest) XXX_DiscardUnknown()
- func (m *DposStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposStatusRequest) XXX_Merge(src proto.Message)
- func (m *DposStatusRequest) XXX_Size() int
- func (m *DposStatusRequest) XXX_Unmarshal(b []byte) error
- type DposStatusResponse
- func (*DposStatusResponse) Descriptor() ([]byte, []int)
- func (m *DposStatusResponse) GetHeader() *Header
- func (m *DposStatusResponse) GetStatus() *DposStatus
- func (*DposStatusResponse) ProtoMessage()
- func (m *DposStatusResponse) Reset()
- func (m *DposStatusResponse) String() string
- func (m *DposStatusResponse) XXX_DiscardUnknown()
- func (m *DposStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposStatusResponse) XXX_Merge(src proto.Message)
- func (m *DposStatusResponse) XXX_Size() int
- func (m *DposStatusResponse) XXX_Unmarshal(b []byte) error
- type DposVoteRecordsRequest
- func (*DposVoteRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposVoteRecordsRequest) GetAddress() string
- func (m *DposVoteRecordsRequest) GetBcname() string
- func (m *DposVoteRecordsRequest) GetHeader() *Header
- func (*DposVoteRecordsRequest) ProtoMessage()
- func (m *DposVoteRecordsRequest) Reset()
- func (m *DposVoteRecordsRequest) String() string
- func (m *DposVoteRecordsRequest) XXX_DiscardUnknown()
- func (m *DposVoteRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposVoteRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposVoteRecordsRequest) XXX_Size() int
- func (m *DposVoteRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposVoteRecordsResponse
- func (*DposVoteRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposVoteRecordsResponse) GetHeader() *Header
- func (m *DposVoteRecordsResponse) GetVoteTxidRecords() []*VoteRecord
- func (*DposVoteRecordsResponse) ProtoMessage()
- func (m *DposVoteRecordsResponse) Reset()
- func (m *DposVoteRecordsResponse) String() string
- func (m *DposVoteRecordsResponse) XXX_DiscardUnknown()
- func (m *DposVoteRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposVoteRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposVoteRecordsResponse) XXX_Size() int
- func (m *DposVoteRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposVotedRecordsRequest
- func (*DposVotedRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposVotedRecordsRequest) GetAddress() string
- func (m *DposVotedRecordsRequest) GetBcname() string
- func (m *DposVotedRecordsRequest) GetHeader() *Header
- func (*DposVotedRecordsRequest) ProtoMessage()
- func (m *DposVotedRecordsRequest) Reset()
- func (m *DposVotedRecordsRequest) String() string
- func (m *DposVotedRecordsRequest) XXX_DiscardUnknown()
- func (m *DposVotedRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposVotedRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposVotedRecordsRequest) XXX_Size() int
- func (m *DposVotedRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposVotedRecordsResponse
- func (*DposVotedRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposVotedRecordsResponse) GetHeader() *Header
- func (m *DposVotedRecordsResponse) GetVotedTxidRecords() []*VotedRecord
- func (*DposVotedRecordsResponse) ProtoMessage()
- func (m *DposVotedRecordsResponse) Reset()
- func (m *DposVotedRecordsResponse) String() string
- func (m *DposVotedRecordsResponse) XXX_DiscardUnknown()
- func (m *DposVotedRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DposVotedRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposVotedRecordsResponse) XXX_Size() int
- func (m *DposVotedRecordsResponse) XXX_Unmarshal(b []byte) error
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)
- func (m *GasPrice) GetCpuRate() int64
- func (m *GasPrice) GetDiskRate() int64
- func (m *GasPrice) GetMemRate() int64
- func (m *GasPrice) GetXfeeRate() int64
- func (*GasPrice) ProtoMessage()
- func (m *GasPrice) Reset()
- func (m *GasPrice) String() string
- func (m *GasPrice) XXX_DiscardUnknown()
- func (m *GasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GasPrice) XXX_Merge(src proto.Message)
- func (m *GasPrice) XXX_Size() int
- func (m *GasPrice) XXX_Unmarshal(b []byte) error
- type GetAccountContractsRequest
- func (*GetAccountContractsRequest) Descriptor() ([]byte, []int)
- func (m *GetAccountContractsRequest) GetAccount() string
- func (m *GetAccountContractsRequest) GetBcname() string
- func (m *GetAccountContractsRequest) GetHeader() *Header
- func (*GetAccountContractsRequest) ProtoMessage()
- func (m *GetAccountContractsRequest) Reset()
- func (m *GetAccountContractsRequest) String() string
- func (m *GetAccountContractsRequest) XXX_DiscardUnknown()
- func (m *GetAccountContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAccountContractsRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountContractsRequest) XXX_Size() int
- func (m *GetAccountContractsRequest) XXX_Unmarshal(b []byte) error
- type GetAccountContractsResponse
- func (*GetAccountContractsResponse) Descriptor() ([]byte, []int)
- func (m *GetAccountContractsResponse) GetContractsStatus() []*ContractStatus
- func (m *GetAccountContractsResponse) GetHeader() *Header
- func (*GetAccountContractsResponse) ProtoMessage()
- func (m *GetAccountContractsResponse) Reset()
- func (m *GetAccountContractsResponse) String() string
- func (m *GetAccountContractsResponse) XXX_DiscardUnknown()
- func (m *GetAccountContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAccountContractsResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountContractsResponse) XXX_Size() int
- func (m *GetAccountContractsResponse) XXX_Unmarshal(b []byte) error
- type HDInfo
- func (*HDInfo) Descriptor() ([]byte, []int)
- func (m *HDInfo) GetHdPublicKey() []byte
- func (m *HDInfo) GetOriginalHash() []byte
- func (*HDInfo) ProtoMessage()
- func (m *HDInfo) Reset()
- func (m *HDInfo) String() string
- func (m *HDInfo) XXX_DiscardUnknown()
- func (m *HDInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HDInfo) XXX_Merge(src proto.Message)
- func (m *HDInfo) XXX_Size() int
- func (m *HDInfo) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetError() XChainErrorEnum
- func (m *Header) GetFromNode() string
- func (m *Header) GetLogid() string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type IdentityAuth
- func (*IdentityAuth) Descriptor() ([]byte, []int)
- func (m *IdentityAuth) GetAddr() string
- func (m *IdentityAuth) GetPeerID() string
- func (m *IdentityAuth) GetPubkey() []byte
- func (m *IdentityAuth) GetSign() []byte
- func (m *IdentityAuth) GetTimestamp() string
- func (*IdentityAuth) ProtoMessage()
- func (m *IdentityAuth) Reset()
- func (m *IdentityAuth) String() string
- func (m *IdentityAuth) XXX_DiscardUnknown()
- func (m *IdentityAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IdentityAuth) XXX_Merge(src proto.Message)
- func (m *IdentityAuth) XXX_Size() int
- func (m *IdentityAuth) XXX_Unmarshal(b []byte) error
- type IdentityAuths
- func (*IdentityAuths) Descriptor() ([]byte, []int)
- func (m *IdentityAuths) GetAuth() []*IdentityAuth
- func (*IdentityAuths) ProtoMessage()
- func (m *IdentityAuths) Reset()
- func (m *IdentityAuths) String() string
- func (m *IdentityAuths) XXX_DiscardUnknown()
- func (m *IdentityAuths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IdentityAuths) XXX_Merge(src proto.Message)
- func (m *IdentityAuths) XXX_Size() int
- func (m *IdentityAuths) XXX_Unmarshal(b []byte) error
- type InternalBlock
- func (*InternalBlock) Descriptor() ([]byte, []int)
- func (m *InternalBlock) GetBlockid() []byte
- func (m *InternalBlock) GetCurBlockNum() int64
- func (m *InternalBlock) GetCurTerm() int64
- func (m *InternalBlock) GetFailedTxs() map[string]string
- func (m *InternalBlock) GetHeight() int64
- func (m *InternalBlock) GetInTrunk() bool
- func (m *InternalBlock) GetJustify() *QuorumCert
- func (m *InternalBlock) GetMerkleRoot() []byte
- func (m *InternalBlock) GetMerkleTree() [][]byte
- func (m *InternalBlock) GetNextHash() []byte
- func (m *InternalBlock) GetNonce() int32
- func (m *InternalBlock) GetPreHash() []byte
- func (m *InternalBlock) GetProposer() []byte
- func (m *InternalBlock) GetPubkey() []byte
- func (m *InternalBlock) GetSign() []byte
- func (m *InternalBlock) GetTargetBits() int32
- func (m *InternalBlock) GetTimestamp() int64
- func (m *InternalBlock) GetTransactions() []*Transaction
- func (m *InternalBlock) GetTxCount() int32
- func (m *InternalBlock) GetVersion() int32
- func (*InternalBlock) ProtoMessage()
- func (m *InternalBlock) Reset()
- func (m *InternalBlock) String() string
- func (m *InternalBlock) XXX_DiscardUnknown()
- func (m *InternalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InternalBlock) XXX_Merge(src proto.Message)
- func (m *InternalBlock) XXX_Size() int
- func (m *InternalBlock) XXX_Unmarshal(b []byte) error
- type InvokeRPCRequest
- func (*InvokeRPCRequest) Descriptor() ([]byte, []int)
- func (m *InvokeRPCRequest) GetAuthRequire() []string
- func (m *InvokeRPCRequest) GetBcname() string
- func (m *InvokeRPCRequest) GetHeader() *Header
- func (m *InvokeRPCRequest) GetInitiator() string
- func (m *InvokeRPCRequest) GetRequests() []*InvokeRequest
- func (*InvokeRPCRequest) ProtoMessage()
- func (m *InvokeRPCRequest) Reset()
- func (m *InvokeRPCRequest) String() string
- func (m *InvokeRPCRequest) XXX_DiscardUnknown()
- func (m *InvokeRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvokeRPCRequest) XXX_Merge(src proto.Message)
- func (m *InvokeRPCRequest) XXX_Size() int
- func (m *InvokeRPCRequest) XXX_Unmarshal(b []byte) error
- type InvokeRPCResponse
- func (*InvokeRPCResponse) Descriptor() ([]byte, []int)
- func (m *InvokeRPCResponse) GetBcname() string
- func (m *InvokeRPCResponse) GetHeader() *Header
- func (m *InvokeRPCResponse) GetResponse() *InvokeResponse
- func (*InvokeRPCResponse) ProtoMessage()
- func (m *InvokeRPCResponse) Reset()
- func (m *InvokeRPCResponse) String() string
- func (m *InvokeRPCResponse) XXX_DiscardUnknown()
- func (m *InvokeRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvokeRPCResponse) XXX_Merge(src proto.Message)
- func (m *InvokeRPCResponse) XXX_Size() int
- func (m *InvokeRPCResponse) XXX_Unmarshal(b []byte) error
- type InvokeRequest
- func (*InvokeRequest) Descriptor() ([]byte, []int)
- func (m *InvokeRequest) GetAmount() string
- func (m *InvokeRequest) GetArgs() map[string][]byte
- func (m *InvokeRequest) GetContractName() string
- func (m *InvokeRequest) GetMethodName() string
- func (m *InvokeRequest) GetModuleName() string
- func (m *InvokeRequest) GetResourceLimits() []*ResourceLimit
- func (*InvokeRequest) ProtoMessage()
- func (m *InvokeRequest) Reset()
- func (m *InvokeRequest) String() string
- func (m *InvokeRequest) XXX_DiscardUnknown()
- func (m *InvokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvokeRequest) XXX_Merge(src proto.Message)
- func (m *InvokeRequest) XXX_Size() int
- func (m *InvokeRequest) XXX_Unmarshal(b []byte) error
- type InvokeResponse
- func (*InvokeResponse) Descriptor() ([]byte, []int)
- func (m *InvokeResponse) GetGasUsed() int64
- func (m *InvokeResponse) GetInputs() []*TxInputExt
- func (m *InvokeResponse) GetOutputs() []*TxOutputExt
- func (m *InvokeResponse) GetRequests() []*InvokeRequest
- func (m *InvokeResponse) GetResponse() [][]byte
- func (m *InvokeResponse) GetResponses() []*ContractResponse
- func (m *InvokeResponse) GetUtxoInputs() []*TxInput
- func (m *InvokeResponse) GetUtxoOutputs() []*TxOutput
- func (*InvokeResponse) ProtoMessage()
- func (m *InvokeResponse) Reset()
- func (m *InvokeResponse) String() string
- func (m *InvokeResponse) XXX_DiscardUnknown()
- func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InvokeResponse) XXX_Merge(src proto.Message)
- func (m *InvokeResponse) XXX_Size() int
- func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
- type LedgerMeta
- func (*LedgerMeta) Descriptor() ([]byte, []int)
- func (m *LedgerMeta) GetRootBlockid() []byte
- func (m *LedgerMeta) GetTipBlockid() []byte
- func (m *LedgerMeta) GetTrunkHeight() int64
- func (*LedgerMeta) ProtoMessage()
- func (m *LedgerMeta) Reset()
- func (m *LedgerMeta) String() string
- func (m *LedgerMeta) XXX_DiscardUnknown()
- func (m *LedgerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LedgerMeta) XXX_Merge(src proto.Message)
- func (m *LedgerMeta) XXX_Size() int
- func (m *LedgerMeta) XXX_Unmarshal(b []byte) error
- type ModifyBlock
- func (*ModifyBlock) Descriptor() ([]byte, []int)
- func (m *ModifyBlock) GetEffectiveHeight() int64
- func (m *ModifyBlock) GetEffectiveTxid() string
- func (m *ModifyBlock) GetMarked() bool
- func (m *ModifyBlock) GetPublicKey() string
- func (m *ModifyBlock) GetSign() string
- func (*ModifyBlock) ProtoMessage()
- func (m *ModifyBlock) Reset()
- func (m *ModifyBlock) String() string
- func (m *ModifyBlock) XXX_DiscardUnknown()
- func (m *ModifyBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyBlock) XXX_Merge(src proto.Message)
- func (m *ModifyBlock) XXX_Size() int
- func (m *ModifyBlock) XXX_Unmarshal(b []byte) error
- type NativeCodeDesc
- func (*NativeCodeDesc) Descriptor() ([]byte, []int)
- func (m *NativeCodeDesc) GetDigest() []byte
- func (m *NativeCodeDesc) GetName() string
- func (m *NativeCodeDesc) GetPrevVersion() string
- func (m *NativeCodeDesc) GetVersion() string
- func (m *NativeCodeDesc) GetXuperApiVersion() int32
- func (*NativeCodeDesc) ProtoMessage()
- func (m *NativeCodeDesc) Reset()
- func (m *NativeCodeDesc) String() string
- func (m *NativeCodeDesc) XXX_DiscardUnknown()
- func (m *NativeCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NativeCodeDesc) XXX_Merge(src proto.Message)
- func (m *NativeCodeDesc) XXX_Size() int
- func (m *NativeCodeDesc) XXX_Unmarshal(b []byte) error
- type NativeCodeStatus
- func (*NativeCodeStatus) Descriptor() ([]byte, []int)
- func (m *NativeCodeStatus) GetDesc() *NativeCodeDesc
- func (m *NativeCodeStatus) GetHealthy() bool
- func (m *NativeCodeStatus) GetStatus() int32
- func (*NativeCodeStatus) ProtoMessage()
- func (m *NativeCodeStatus) Reset()
- func (m *NativeCodeStatus) String() string
- func (m *NativeCodeStatus) XXX_DiscardUnknown()
- func (m *NativeCodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NativeCodeStatus) XXX_Merge(src proto.Message)
- func (m *NativeCodeStatus) XXX_Size() int
- func (m *NativeCodeStatus) XXX_Unmarshal(b []byte) error
- type PermissionModel
- func (*PermissionModel) Descriptor() ([]byte, []int)
- func (m *PermissionModel) GetAcceptValue() float64
- func (m *PermissionModel) GetRule() PermissionRule
- func (*PermissionModel) ProtoMessage()
- func (m *PermissionModel) Reset()
- func (m *PermissionModel) String() string
- func (m *PermissionModel) XXX_DiscardUnknown()
- func (m *PermissionModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PermissionModel) XXX_Merge(src proto.Message)
- func (m *PermissionModel) XXX_Size() int
- func (m *PermissionModel) XXX_Unmarshal(b []byte) error
- type PermissionRule
- type PreExecWithSelectUTXORequest
- func (*PreExecWithSelectUTXORequest) Descriptor() ([]byte, []int)
- func (m *PreExecWithSelectUTXORequest) GetAddress() string
- func (m *PreExecWithSelectUTXORequest) GetBcname() string
- func (m *PreExecWithSelectUTXORequest) GetHeader() *Header
- func (m *PreExecWithSelectUTXORequest) GetNeedLock() bool
- func (m *PreExecWithSelectUTXORequest) GetRequest() *InvokeRPCRequest
- func (m *PreExecWithSelectUTXORequest) GetSignInfo() *SignatureInfo
- func (m *PreExecWithSelectUTXORequest) GetTotalAmount() int64
- func (*PreExecWithSelectUTXORequest) ProtoMessage()
- func (m *PreExecWithSelectUTXORequest) Reset()
- func (m *PreExecWithSelectUTXORequest) String() string
- func (m *PreExecWithSelectUTXORequest) XXX_DiscardUnknown()
- func (m *PreExecWithSelectUTXORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PreExecWithSelectUTXORequest) XXX_Merge(src proto.Message)
- func (m *PreExecWithSelectUTXORequest) XXX_Size() int
- func (m *PreExecWithSelectUTXORequest) XXX_Unmarshal(b []byte) error
- type PreExecWithSelectUTXOResponse
- func (*PreExecWithSelectUTXOResponse) Descriptor() ([]byte, []int)
- func (m *PreExecWithSelectUTXOResponse) GetBcname() string
- func (m *PreExecWithSelectUTXOResponse) GetHeader() *Header
- func (m *PreExecWithSelectUTXOResponse) GetResponse() *InvokeResponse
- func (m *PreExecWithSelectUTXOResponse) GetUtxoOutput() *UtxoOutput
- func (*PreExecWithSelectUTXOResponse) ProtoMessage()
- func (m *PreExecWithSelectUTXOResponse) Reset()
- func (m *PreExecWithSelectUTXOResponse) String() string
- func (m *PreExecWithSelectUTXOResponse) XXX_DiscardUnknown()
- func (m *PreExecWithSelectUTXOResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PreExecWithSelectUTXOResponse) XXX_Merge(src proto.Message)
- func (m *PreExecWithSelectUTXOResponse) XXX_Size() int
- func (m *PreExecWithSelectUTXOResponse) XXX_Unmarshal(b []byte) error
- type QCSignInfos
- func (*QCSignInfos) Descriptor() ([]byte, []int)
- func (m *QCSignInfos) GetQCSignInfos() []*SignInfo
- func (*QCSignInfos) ProtoMessage()
- func (m *QCSignInfos) Reset()
- func (m *QCSignInfos) String() string
- func (m *QCSignInfos) XXX_DiscardUnknown()
- func (m *QCSignInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QCSignInfos) XXX_Merge(src proto.Message)
- func (m *QCSignInfos) XXX_Size() int
- func (m *QCSignInfos) XXX_Unmarshal(b []byte) error
- type QCState
- type QuorumCert
- func (*QuorumCert) Descriptor() ([]byte, []int)
- func (m *QuorumCert) GetProposalId() []byte
- func (m *QuorumCert) GetProposalMsg() []byte
- func (m *QuorumCert) GetSignInfos() *QCSignInfos
- func (m *QuorumCert) GetType() QCState
- func (m *QuorumCert) GetViewNumber() int64
- func (*QuorumCert) ProtoMessage()
- func (m *QuorumCert) Reset()
- func (m *QuorumCert) String() string
- func (m *QuorumCert) XXX_DiscardUnknown()
- func (m *QuorumCert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuorumCert) XXX_Merge(src proto.Message)
- func (m *QuorumCert) XXX_Size() int
- func (m *QuorumCert) XXX_Unmarshal(b []byte) error
- type RawUrl
- func (*RawUrl) Descriptor() ([]byte, []int)
- func (m *RawUrl) GetHeader() *Header
- func (m *RawUrl) GetRawUrl() string
- func (*RawUrl) ProtoMessage()
- func (m *RawUrl) Reset()
- func (m *RawUrl) String() string
- func (m *RawUrl) XXX_DiscardUnknown()
- func (m *RawUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RawUrl) XXX_Merge(src proto.Message)
- func (m *RawUrl) XXX_Size() int
- func (m *RawUrl) XXX_Unmarshal(b []byte) error
- type ResourceLimit
- func (*ResourceLimit) Descriptor() ([]byte, []int)
- func (m *ResourceLimit) GetLimit() int64
- func (m *ResourceLimit) GetType() ResourceType
- func (*ResourceLimit) ProtoMessage()
- func (m *ResourceLimit) Reset()
- func (m *ResourceLimit) String() string
- func (m *ResourceLimit) XXX_DiscardUnknown()
- func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResourceLimit) XXX_Merge(src proto.Message)
- func (m *ResourceLimit) XXX_Size() int
- func (m *ResourceLimit) XXX_Unmarshal(b []byte) error
- type ResourceType
- type SignInfo
- func (*SignInfo) Descriptor() ([]byte, []int)
- func (m *SignInfo) GetAddress() string
- func (m *SignInfo) GetPublicKey() string
- func (m *SignInfo) GetSign() []byte
- func (*SignInfo) ProtoMessage()
- func (m *SignInfo) Reset()
- func (m *SignInfo) String() string
- func (m *SignInfo) XXX_DiscardUnknown()
- func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInfo) XXX_Merge(src proto.Message)
- func (m *SignInfo) XXX_Size() int
- func (m *SignInfo) XXX_Unmarshal(b []byte) error
- type SignatureInfo
- func (*SignatureInfo) Descriptor() ([]byte, []int)
- func (m *SignatureInfo) GetPublicKey() string
- func (m *SignatureInfo) GetSign() []byte
- func (*SignatureInfo) ProtoMessage()
- func (m *SignatureInfo) Reset()
- func (m *SignatureInfo) String() string
- func (m *SignatureInfo) XXX_DiscardUnknown()
- func (m *SignatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignatureInfo) XXX_Merge(src proto.Message)
- func (m *SignatureInfo) XXX_Size() int
- func (m *SignatureInfo) XXX_Unmarshal(b []byte) error
- type Speeds
- func (*Speeds) Descriptor() ([]byte, []int)
- func (m *Speeds) GetBcSpeeds() map[string]*BCSpeeds
- func (m *Speeds) GetSumSpeeds() map[string]float64
- func (*Speeds) ProtoMessage()
- func (m *Speeds) Reset()
- func (m *Speeds) String() string
- func (m *Speeds) XXX_DiscardUnknown()
- func (m *Speeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Speeds) XXX_Merge(src proto.Message)
- func (m *Speeds) XXX_Size() int
- func (m *Speeds) XXX_Unmarshal(b []byte) error
- type SystemsStatus
- func (*SystemsStatus) Descriptor() ([]byte, []int)
- func (m *SystemsStatus) GetBcsStatus() []*BCStatus
- func (m *SystemsStatus) GetHeader() *Header
- func (m *SystemsStatus) GetPeerUrls() []string
- func (m *SystemsStatus) GetSpeeds() *Speeds
- func (*SystemsStatus) ProtoMessage()
- func (m *SystemsStatus) Reset()
- func (m *SystemsStatus) String() string
- func (m *SystemsStatus) XXX_DiscardUnknown()
- func (m *SystemsStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SystemsStatus) XXX_Merge(src proto.Message)
- func (m *SystemsStatus) XXX_Size() int
- func (m *SystemsStatus) XXX_Unmarshal(b []byte) error
- type SystemsStatusReply
- func (*SystemsStatusReply) Descriptor() ([]byte, []int)
- func (m *SystemsStatusReply) GetHeader() *Header
- func (m *SystemsStatusReply) GetSystemsStatus() *SystemsStatus
- func (*SystemsStatusReply) ProtoMessage()
- func (m *SystemsStatusReply) Reset()
- func (m *SystemsStatusReply) String() string
- func (m *SystemsStatusReply) XXX_DiscardUnknown()
- func (m *SystemsStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SystemsStatusReply) XXX_Merge(src proto.Message)
- func (m *SystemsStatusReply) XXX_Size() int
- func (m *SystemsStatusReply) XXX_Unmarshal(b []byte) error
- type TokenDetail
- func (*TokenDetail) Descriptor() ([]byte, []int)
- func (m *TokenDetail) GetBalance() string
- func (m *TokenDetail) GetBcname() string
- func (m *TokenDetail) GetError() XChainErrorEnum
- func (*TokenDetail) ProtoMessage()
- func (m *TokenDetail) Reset()
- func (m *TokenDetail) String() string
- func (m *TokenDetail) XXX_DiscardUnknown()
- func (m *TokenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TokenDetail) XXX_Merge(src proto.Message)
- func (m *TokenDetail) XXX_Size() int
- func (m *TokenDetail) XXX_Unmarshal(b []byte) error
- type TokenFrozenDetail
- func (*TokenFrozenDetail) Descriptor() ([]byte, []int)
- func (m *TokenFrozenDetail) GetBalance() string
- func (m *TokenFrozenDetail) GetIsFrozen() bool
- func (*TokenFrozenDetail) ProtoMessage()
- func (m *TokenFrozenDetail) Reset()
- func (m *TokenFrozenDetail) String() string
- func (m *TokenFrozenDetail) XXX_DiscardUnknown()
- func (m *TokenFrozenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TokenFrozenDetail) XXX_Merge(src proto.Message)
- func (m *TokenFrozenDetail) XXX_Size() int
- func (m *TokenFrozenDetail) XXX_Unmarshal(b []byte) error
- type TokenFrozenDetails
- func (*TokenFrozenDetails) Descriptor() ([]byte, []int)
- func (m *TokenFrozenDetails) GetBcname() string
- func (m *TokenFrozenDetails) GetError() XChainErrorEnum
- func (m *TokenFrozenDetails) GetTfd() []*TokenFrozenDetail
- func (*TokenFrozenDetails) ProtoMessage()
- func (m *TokenFrozenDetails) Reset()
- func (m *TokenFrozenDetails) String() string
- func (m *TokenFrozenDetails) XXX_DiscardUnknown()
- func (m *TokenFrozenDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TokenFrozenDetails) XXX_Merge(src proto.Message)
- func (m *TokenFrozenDetails) XXX_Size() int
- func (m *TokenFrozenDetails) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetAuthRequire() []string
- func (m *Transaction) GetAuthRequireSigns() []*SignatureInfo
- func (m *Transaction) GetAutogen() bool
- func (m *Transaction) GetBlockid() []byte
- func (m *Transaction) GetCoinbase() bool
- func (m *Transaction) GetContractRequests() []*InvokeRequest
- func (m *Transaction) GetDesc() []byte
- func (m *Transaction) GetHDInfo() *HDInfo
- func (m *Transaction) GetInitiator() string
- func (m *Transaction) GetInitiatorSigns() []*SignatureInfo
- func (m *Transaction) GetModifyBlock() *ModifyBlock
- func (m *Transaction) GetNonce() string
- func (m *Transaction) GetReceivedTimestamp() int64
- func (m *Transaction) GetTimestamp() int64
- func (m *Transaction) GetTxInputs() []*TxInput
- func (m *Transaction) GetTxInputsExt() []*TxInputExt
- func (m *Transaction) GetTxOutputs() []*TxOutput
- func (m *Transaction) GetTxOutputsExt() []*TxOutputExt
- func (m *Transaction) GetTxid() []byte
- func (m *Transaction) GetVersion() int32
- func (m *Transaction) GetXuperSign() *XuperSignature
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionStatus
- type TxData
- func (*TxData) Descriptor() ([]byte, []int)
- func (m *TxData) GetAccount() []*TxDataAccount
- func (m *TxData) GetBcname() string
- func (m *TxData) GetDesc() []byte
- func (m *TxData) GetFromAddr() string
- func (m *TxData) GetFromPubkey() string
- func (m *TxData) GetFromScrkey() string
- func (m *TxData) GetHeader() *Header
- func (m *TxData) GetNonce() string
- func (m *TxData) GetTimestamp() int64
- func (m *TxData) GetTxid() []byte
- func (m *TxData) GetUserSign() []byte
- func (m *TxData) GetVersion() int32
- func (*TxData) ProtoMessage()
- func (m *TxData) Reset()
- func (m *TxData) String() string
- func (m *TxData) XXX_DiscardUnknown()
- func (m *TxData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxData) XXX_Merge(src proto.Message)
- func (m *TxData) XXX_Size() int
- func (m *TxData) XXX_Unmarshal(b []byte) error
- type TxDataAccount
- func (*TxDataAccount) Descriptor() ([]byte, []int)
- func (m *TxDataAccount) GetAddress() string
- func (m *TxDataAccount) GetAmount() string
- func (m *TxDataAccount) GetFrozenHeight() int64
- func (*TxDataAccount) ProtoMessage()
- func (m *TxDataAccount) Reset()
- func (m *TxDataAccount) String() string
- func (m *TxDataAccount) XXX_DiscardUnknown()
- func (m *TxDataAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxDataAccount) XXX_Merge(src proto.Message)
- func (m *TxDataAccount) XXX_Size() int
- func (m *TxDataAccount) XXX_Unmarshal(b []byte) error
- type TxInput
- func (*TxInput) Descriptor() ([]byte, []int)
- func (m *TxInput) GetAmount() []byte
- func (m *TxInput) GetFromAddr() []byte
- func (m *TxInput) GetFrozenHeight() int64
- func (m *TxInput) GetRefOffset() int32
- func (m *TxInput) GetRefTxid() []byte
- func (*TxInput) ProtoMessage()
- func (m *TxInput) Reset()
- func (m *TxInput) String() string
- func (m *TxInput) XXX_DiscardUnknown()
- func (m *TxInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxInput) XXX_Merge(src proto.Message)
- func (m *TxInput) XXX_Size() int
- func (m *TxInput) XXX_Unmarshal(b []byte) error
- type TxInputExt
- func (*TxInputExt) Descriptor() ([]byte, []int)
- func (m *TxInputExt) GetBucket() string
- func (m *TxInputExt) GetKey() []byte
- func (m *TxInputExt) GetRefOffset() int32
- func (m *TxInputExt) GetRefTxid() []byte
- func (*TxInputExt) ProtoMessage()
- func (m *TxInputExt) Reset()
- func (m *TxInputExt) String() string
- func (m *TxInputExt) XXX_DiscardUnknown()
- func (m *TxInputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxInputExt) XXX_Merge(src proto.Message)
- func (m *TxInputExt) XXX_Size() int
- func (m *TxInputExt) XXX_Unmarshal(b []byte) error
- type TxOutput
- func (*TxOutput) Descriptor() ([]byte, []int)
- func (m *TxOutput) GetAmount() []byte
- func (m *TxOutput) GetFrozenHeight() int64
- func (m *TxOutput) GetToAddr() []byte
- func (*TxOutput) ProtoMessage()
- func (m *TxOutput) Reset()
- func (m *TxOutput) String() string
- func (m *TxOutput) XXX_DiscardUnknown()
- func (m *TxOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxOutput) XXX_Merge(src proto.Message)
- func (m *TxOutput) XXX_Size() int
- func (m *TxOutput) XXX_Unmarshal(b []byte) error
- type TxOutputExt
- func (*TxOutputExt) Descriptor() ([]byte, []int)
- func (m *TxOutputExt) GetBucket() string
- func (m *TxOutputExt) GetKey() []byte
- func (m *TxOutputExt) GetValue() []byte
- func (*TxOutputExt) ProtoMessage()
- func (m *TxOutputExt) Reset()
- func (m *TxOutputExt) String() string
- func (m *TxOutputExt) XXX_DiscardUnknown()
- func (m *TxOutputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxOutputExt) XXX_Merge(src proto.Message)
- func (m *TxOutputExt) XXX_Size() int
- func (m *TxOutputExt) XXX_Unmarshal(b []byte) error
- type TxStatus
- func (*TxStatus) Descriptor() ([]byte, []int)
- func (m *TxStatus) GetBcname() string
- func (m *TxStatus) GetDistance() int64
- func (m *TxStatus) GetHeader() *Header
- func (m *TxStatus) GetStatus() TransactionStatus
- func (m *TxStatus) GetTx() *Transaction
- func (m *TxStatus) GetTxid() []byte
- func (*TxStatus) ProtoMessage()
- func (m *TxStatus) Reset()
- func (m *TxStatus) String() string
- func (m *TxStatus) XXX_DiscardUnknown()
- func (m *TxStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxStatus) XXX_Merge(src proto.Message)
- func (m *TxStatus) XXX_Size() int
- func (m *TxStatus) XXX_Unmarshal(b []byte) error
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)
- func (m *Utxo) GetAmount() []byte
- func (m *Utxo) GetRefOffset() int32
- func (m *Utxo) GetRefTxid() []byte
- func (m *Utxo) GetToAddr() []byte
- func (m *Utxo) GetToPubkey() []byte
- func (*Utxo) ProtoMessage()
- func (m *Utxo) Reset()
- func (m *Utxo) String() string
- func (m *Utxo) XXX_DiscardUnknown()
- func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Utxo) XXX_Merge(src proto.Message)
- func (m *Utxo) XXX_Size() int
- func (m *Utxo) XXX_Unmarshal(b []byte) error
- type UtxoInput
- func (*UtxoInput) Descriptor() ([]byte, []int)
- func (m *UtxoInput) GetAddress() string
- func (m *UtxoInput) GetBcname() string
- func (m *UtxoInput) GetHeader() *Header
- func (m *UtxoInput) GetNeedLock() bool
- func (m *UtxoInput) GetPublickey() string
- func (m *UtxoInput) GetTotalNeed() string
- func (m *UtxoInput) GetUserSign() []byte
- func (*UtxoInput) ProtoMessage()
- func (m *UtxoInput) Reset()
- func (m *UtxoInput) String() string
- func (m *UtxoInput) XXX_DiscardUnknown()
- func (m *UtxoInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoInput) XXX_Merge(src proto.Message)
- func (m *UtxoInput) XXX_Size() int
- func (m *UtxoInput) XXX_Unmarshal(b []byte) error
- type UtxoKey
- func (*UtxoKey) Descriptor() ([]byte, []int)
- func (m *UtxoKey) GetAmount() string
- func (m *UtxoKey) GetOffset() string
- func (m *UtxoKey) GetRefTxid() string
- func (*UtxoKey) ProtoMessage()
- func (m *UtxoKey) Reset()
- func (m *UtxoKey) String() string
- func (m *UtxoKey) XXX_DiscardUnknown()
- func (m *UtxoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoKey) XXX_Merge(src proto.Message)
- func (m *UtxoKey) XXX_Size() int
- func (m *UtxoKey) XXX_Unmarshal(b []byte) error
- type UtxoMeta
- func (*UtxoMeta) Descriptor() ([]byte, []int)
- func (m *UtxoMeta) GetAvgDelay() int64
- func (m *UtxoMeta) GetForbiddenContract() *InvokeRequest
- func (m *UtxoMeta) GetGasPrice() *GasPrice
- func (m *UtxoMeta) GetGroupChainContract() *InvokeRequest
- func (m *UtxoMeta) GetIrreversibleBlockHeight() int64
- func (m *UtxoMeta) GetIrreversibleSlideWindow() int64
- func (m *UtxoMeta) GetLatestBlockid() []byte
- func (m *UtxoMeta) GetLockKeyList() []string
- func (m *UtxoMeta) GetMaxBlockSize() int64
- func (m *UtxoMeta) GetNewAccountResourceAmount() int64
- func (m *UtxoMeta) GetReservedContracts() []*InvokeRequest
- func (m *UtxoMeta) GetUnconfirmTxAmount() int64
- func (m *UtxoMeta) GetUtxoTotal() string
- func (*UtxoMeta) ProtoMessage()
- func (m *UtxoMeta) Reset()
- func (m *UtxoMeta) String() string
- func (m *UtxoMeta) XXX_DiscardUnknown()
- func (m *UtxoMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoMeta) XXX_Merge(src proto.Message)
- func (m *UtxoMeta) XXX_Size() int
- func (m *UtxoMeta) XXX_Unmarshal(b []byte) error
- type UtxoOutput
- func (*UtxoOutput) Descriptor() ([]byte, []int)
- func (m *UtxoOutput) GetHeader() *Header
- func (m *UtxoOutput) GetTotalSelected() string
- func (m *UtxoOutput) GetUtxoList() []*Utxo
- func (*UtxoOutput) ProtoMessage()
- func (m *UtxoOutput) Reset()
- func (m *UtxoOutput) String() string
- func (m *UtxoOutput) XXX_DiscardUnknown()
- func (m *UtxoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoOutput) XXX_Merge(src proto.Message)
- func (m *UtxoOutput) XXX_Size() int
- func (m *UtxoOutput) XXX_Unmarshal(b []byte) error
- type UtxoRecord
- func (*UtxoRecord) Descriptor() ([]byte, []int)
- func (m *UtxoRecord) GetItem() []*UtxoKey
- func (m *UtxoRecord) GetUtxoAmount() string
- func (m *UtxoRecord) GetUtxoCount() string
- func (*UtxoRecord) ProtoMessage()
- func (m *UtxoRecord) Reset()
- func (m *UtxoRecord) String() string
- func (m *UtxoRecord) XXX_DiscardUnknown()
- func (m *UtxoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoRecord) XXX_Merge(src proto.Message)
- func (m *UtxoRecord) XXX_Size() int
- func (m *UtxoRecord) XXX_Unmarshal(b []byte) error
- type UtxoRecordDetail
- func (*UtxoRecordDetail) Descriptor() ([]byte, []int)
- func (m *UtxoRecordDetail) GetAccountName() string
- func (m *UtxoRecordDetail) GetBcname() string
- func (m *UtxoRecordDetail) GetDisplayCount() int64
- func (m *UtxoRecordDetail) GetFrozenUtxoRecord() *UtxoRecord
- func (m *UtxoRecordDetail) GetHeader() *Header
- func (m *UtxoRecordDetail) GetLockedUtxoRecord() *UtxoRecord
- func (m *UtxoRecordDetail) GetOpenUtxoRecord() *UtxoRecord
- func (*UtxoRecordDetail) ProtoMessage()
- func (m *UtxoRecordDetail) Reset()
- func (m *UtxoRecordDetail) String() string
- func (m *UtxoRecordDetail) XXX_DiscardUnknown()
- func (m *UtxoRecordDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UtxoRecordDetail) XXX_Merge(src proto.Message)
- func (m *UtxoRecordDetail) XXX_Size() int
- func (m *UtxoRecordDetail) XXX_Unmarshal(b []byte) error
- type ViewOption
- type VoteRecord
- func (*VoteRecord) Descriptor() ([]byte, []int)
- func (m *VoteRecord) GetCandidate() string
- func (m *VoteRecord) GetTxid() string
- func (*VoteRecord) ProtoMessage()
- func (m *VoteRecord) Reset()
- func (m *VoteRecord) String() string
- func (m *VoteRecord) XXX_DiscardUnknown()
- func (m *VoteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VoteRecord) XXX_Merge(src proto.Message)
- func (m *VoteRecord) XXX_Size() int
- func (m *VoteRecord) XXX_Unmarshal(b []byte) error
- type VotedRecord
- func (*VotedRecord) Descriptor() ([]byte, []int)
- func (m *VotedRecord) GetTxid() string
- func (m *VotedRecord) GetVoter() string
- func (*VotedRecord) ProtoMessage()
- func (m *VotedRecord) Reset()
- func (m *VotedRecord) String() string
- func (m *VotedRecord) XXX_DiscardUnknown()
- func (m *VotedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VotedRecord) XXX_Merge(src proto.Message)
- func (m *VotedRecord) XXX_Size() int
- func (m *VotedRecord) XXX_Unmarshal(b []byte) error
- type WasmCodeDesc
- func (*WasmCodeDesc) Descriptor() ([]byte, []int)
- func (m *WasmCodeDesc) GetCompiler() string
- func (m *WasmCodeDesc) GetContractType() string
- func (m *WasmCodeDesc) GetDigest() []byte
- func (m *WasmCodeDesc) GetRuntime() string
- func (m *WasmCodeDesc) GetVmCompiler() string
- func (*WasmCodeDesc) ProtoMessage()
- func (m *WasmCodeDesc) Reset()
- func (m *WasmCodeDesc) String() string
- func (m *WasmCodeDesc) XXX_DiscardUnknown()
- func (m *WasmCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WasmCodeDesc) XXX_Merge(src proto.Message)
- func (m *WasmCodeDesc) XXX_Size() int
- func (m *WasmCodeDesc) XXX_Unmarshal(b []byte) error
- type XChainErrorEnum
- type XchainClient
- type XchainServer
- type XuperSignature
- func (*XuperSignature) Descriptor() ([]byte, []int)
- func (m *XuperSignature) GetPublicKeys() [][]byte
- func (m *XuperSignature) GetSignature() []byte
- func (*XuperSignature) ProtoMessage()
- func (m *XuperSignature) Reset()
- func (m *XuperSignature) String() string
- func (m *XuperSignature) XXX_DiscardUnknown()
- func (m *XuperSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *XuperSignature) XXX_Merge(src proto.Message)
- func (m *XuperSignature) XXX_Size() int
- func (m *XuperSignature) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Block_EBlockStatus_name = map[int32]string{
0: "ERROR",
1: "TRUNK",
2: "BRANCH",
3: "NOEXIST",
}
var Block_EBlockStatus_value = map[string]int32{
"ERROR": 0,
"TRUNK": 1,
"BRANCH": 2,
"NOEXIST": 3,
}
var PermissionRule_name = map[int32]string{
0: "NULL",
1: "SIGN_THRESHOLD",
2: "SIGN_AKSET",
3: "SIGN_RATE",
4: "SIGN_SUM",
5: "CA_SERVER",
6: "COMMUNITY_VOTE",
}
var PermissionRule_value = map[string]int32{
"NULL": 0,
"SIGN_THRESHOLD": 1,
"SIGN_AKSET": 2,
"SIGN_RATE": 3,
"SIGN_SUM": 4,
"CA_SERVER": 5,
"COMMUNITY_VOTE": 6,
}
var QCState_name = map[int32]string{
0: "NEW_VIEW",
1: "PREPARE",
2: "PRE_COMMIT",
3: "COMMIT",
4: "DECIDE",
}
var QCState_value = map[string]int32{
"NEW_VIEW": 0,
"PREPARE": 1,
"PRE_COMMIT": 2,
"COMMIT": 3,
"DECIDE": 4,
}
var ResourceType_name = map[int32]string{
0: "CPU",
1: "MEMORY",
2: "DISK",
3: "XFEE",
}
var ResourceType_value = map[string]int32{
"CPU": 0,
"MEMORY": 1,
"DISK": 2,
"XFEE": 3,
}
var TransactionStatus_name = map[int32]string{
0: "UNDEFINE",
1: "NOEXIST",
2: "CONFIRM",
3: "FURCATION",
4: "UNCONFIRM",
5: "FAILED",
}
var TransactionStatus_value = map[string]int32{
"UNDEFINE": 0,
"NOEXIST": 1,
"CONFIRM": 2,
"FURCATION": 3,
"UNCONFIRM": 4,
"FAILED": 5,
}
var ViewOption_name = map[int32]string{
0: "NONE",
1: "LEDGER",
2: "UTXOINFO",
3: "BRANCHINFO",
4: "PEERS",
}
var ViewOption_value = map[string]int32{
"NONE": 0,
"LEDGER": 1,
"UTXOINFO": 2,
"BRANCHINFO": 3,
"PEERS": 4,
}
var XChainErrorEnum_name = map[int32]string{
0: "SUCCESS",
1: "UNKNOW_ERROR",
2: "CONNECT_REFUSE",
3: "NOT_ENOUGH_UTXO_ERROR",
4: "UTXOVM_ALREADY_UNCONFIRM_ERROR",
5: "UTXOVM_NOT_FOUND_ERROR",
6: "INPUT_OUTPUT_NOT_EQUAL_ERROR",
7: "TX_NOT_FOUND_ERROR",
8: "TX_SIGN_ERROR",
9: "BLOCKCHAIN_NOTEXIST",
10: "VALIDATE_ERROR",
11: "CANNOT_SYNC_BLOCK_ERROR",
12: "CONFIRM_BLOCK_ERROR",
13: "UTXOVM_PLAY_ERROR",
14: "WALK_ERROR",
15: "NOT_READY_ERROR",
16: "BLOCK_EXIST_ERROR",
17: "ROOT_BLOCK_EXIST_ERROR",
19: "TX_DUPLICATE_ERROR",
20: "SERVICE_REFUSED_ERROR",
21: "TXDATA_SIGN_ERROR",
25: "TX_SLE_ERROR",
26: "TX_FEE_NOT_ENOUGH_ERROR",
28: "UTXO_SIGN_ERROR",
31: "DPOS_QUERY_ERROR",
33: "RWSET_INVALID_ERROR",
34: "RWACL_INVALID_ERROR",
35: "GAS_NOT_ENOUGH_ERROR",
36: "TX_VERSION_INVALID_ERROR",
37: "COMPLIANCE_CHECK_NOT_APPROVED",
38: "ACCOUNT_CONTRACT_STATUS_ERROR",
40: "TX_VERIFICATION_ERROR",
}
var XChainErrorEnum_value = map[string]int32{
"SUCCESS": 0,
"UNKNOW_ERROR": 1,
"CONNECT_REFUSE": 2,
"NOT_ENOUGH_UTXO_ERROR": 3,
"UTXOVM_ALREADY_UNCONFIRM_ERROR": 4,
"UTXOVM_NOT_FOUND_ERROR": 5,
"INPUT_OUTPUT_NOT_EQUAL_ERROR": 6,
"TX_NOT_FOUND_ERROR": 7,
"TX_SIGN_ERROR": 8,
"BLOCKCHAIN_NOTEXIST": 9,
"VALIDATE_ERROR": 10,
"CANNOT_SYNC_BLOCK_ERROR": 11,
"CONFIRM_BLOCK_ERROR": 12,
"UTXOVM_PLAY_ERROR": 13,
"WALK_ERROR": 14,
"NOT_READY_ERROR": 15,
"BLOCK_EXIST_ERROR": 16,
"ROOT_BLOCK_EXIST_ERROR": 17,
"TX_DUPLICATE_ERROR": 19,
"SERVICE_REFUSED_ERROR": 20,
"TXDATA_SIGN_ERROR": 21,
"TX_SLE_ERROR": 25,
"TX_FEE_NOT_ENOUGH_ERROR": 26,
"UTXO_SIGN_ERROR": 28,
"DPOS_QUERY_ERROR": 31,
"RWSET_INVALID_ERROR": 33,
"RWACL_INVALID_ERROR": 34,
"GAS_NOT_ENOUGH_ERROR": 35,
"TX_VERSION_INVALID_ERROR": 36,
"COMPLIANCE_CHECK_NOT_APPROVED": 37,
"ACCOUNT_CONTRACT_STATUS_ERROR": 38,
"TX_VERIFICATION_ERROR": 40,
}
Functions ¶
func RegisterXchainServer ¶
func RegisterXchainServer(s *grpc.Server, srv XchainServer)
Types ¶
type AK2AccountRequest ¶
type AK2AccountRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AK2AccountRequest) Descriptor ¶
func (*AK2AccountRequest) Descriptor() ([]byte, []int)
func (*AK2AccountRequest) GetAddress ¶
func (m *AK2AccountRequest) GetAddress() string
func (*AK2AccountRequest) GetBcname ¶
func (m *AK2AccountRequest) GetBcname() string
func (*AK2AccountRequest) GetHeader ¶
func (m *AK2AccountRequest) GetHeader() *Header
func (*AK2AccountRequest) ProtoMessage ¶
func (*AK2AccountRequest) ProtoMessage()
func (*AK2AccountRequest) Reset ¶
func (m *AK2AccountRequest) Reset()
func (*AK2AccountRequest) String ¶
func (m *AK2AccountRequest) String() string
func (*AK2AccountRequest) XXX_DiscardUnknown ¶
func (m *AK2AccountRequest) XXX_DiscardUnknown()
func (*AK2AccountRequest) XXX_Marshal ¶
func (m *AK2AccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AK2AccountRequest) XXX_Merge ¶
func (dst *AK2AccountRequest) XXX_Merge(src proto.Message)
func (*AK2AccountRequest) XXX_Size ¶
func (m *AK2AccountRequest) XXX_Size() int
func (*AK2AccountRequest) XXX_Unmarshal ¶
func (m *AK2AccountRequest) XXX_Unmarshal(b []byte) error
type AK2AccountResponse ¶
type AK2AccountResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Account []string `protobuf:"bytes,3,rep,name=account" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AK2AccountResponse) Descriptor ¶
func (*AK2AccountResponse) Descriptor() ([]byte, []int)
func (*AK2AccountResponse) GetAccount ¶
func (m *AK2AccountResponse) GetAccount() []string
func (*AK2AccountResponse) GetBcname ¶
func (m *AK2AccountResponse) GetBcname() string
func (*AK2AccountResponse) GetHeader ¶
func (m *AK2AccountResponse) GetHeader() *Header
func (*AK2AccountResponse) ProtoMessage ¶
func (*AK2AccountResponse) ProtoMessage()
func (*AK2AccountResponse) Reset ¶
func (m *AK2AccountResponse) Reset()
func (*AK2AccountResponse) String ¶
func (m *AK2AccountResponse) String() string
func (*AK2AccountResponse) XXX_DiscardUnknown ¶
func (m *AK2AccountResponse) XXX_DiscardUnknown()
func (*AK2AccountResponse) XXX_Marshal ¶
func (m *AK2AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AK2AccountResponse) XXX_Merge ¶
func (dst *AK2AccountResponse) XXX_Merge(src proto.Message)
func (*AK2AccountResponse) XXX_Size ¶
func (m *AK2AccountResponse) XXX_Size() int
func (*AK2AccountResponse) XXX_Unmarshal ¶
func (m *AK2AccountResponse) XXX_Unmarshal(b []byte) error
type Acl ¶
type Acl struct { Pm *PermissionModel `protobuf:"bytes,1,opt,name=pm" json:"pm,omitempty"` AksWeight map[string]float64 `` /* 140-byte string literal not displayed */ AkSets *AkSets `protobuf:"bytes,3,opt,name=akSets" json:"akSets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Acl实际使用的结构
func (*Acl) Descriptor ¶
func (*Acl) GetAksWeight ¶
func (*Acl) GetPm ¶
func (m *Acl) GetPm() *PermissionModel
func (*Acl) ProtoMessage ¶
func (*Acl) ProtoMessage()
func (*Acl) XXX_DiscardUnknown ¶
func (m *Acl) XXX_DiscardUnknown()
func (*Acl) XXX_Unmarshal ¶
type AclStatus ¶
type AclStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` AccountName string `protobuf:"bytes,3,opt,name=accountName" json:"accountName,omitempty"` ContractName string `protobuf:"bytes,4,opt,name=contractName" json:"contractName,omitempty"` MethodName string `protobuf:"bytes,5,opt,name=methodName" json:"methodName,omitempty"` Confirmed bool `protobuf:"varint,6,opt,name=confirmed" json:"confirmed,omitempty"` Acl *Acl `protobuf:"bytes,7,opt,name=acl" json:"acl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询Acl
func (*AclStatus) Descriptor ¶
func (*AclStatus) GetAccountName ¶
func (*AclStatus) GetConfirmed ¶
func (*AclStatus) GetContractName ¶
func (*AclStatus) GetMethodName ¶
func (*AclStatus) ProtoMessage ¶
func (*AclStatus) ProtoMessage()
func (*AclStatus) XXX_DiscardUnknown ¶
func (m *AclStatus) XXX_DiscardUnknown()
func (*AclStatus) XXX_Marshal ¶
func (*AclStatus) XXX_Unmarshal ¶
type AddressBalanceStatus ¶
type AddressBalanceStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` Tfds []*TokenFrozenDetails `protobuf:"bytes,3,rep,name=tfds" json:"tfds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressBalanceStatus) Descriptor ¶
func (*AddressBalanceStatus) Descriptor() ([]byte, []int)
func (*AddressBalanceStatus) GetAddress ¶
func (m *AddressBalanceStatus) GetAddress() string
func (*AddressBalanceStatus) GetHeader ¶
func (m *AddressBalanceStatus) GetHeader() *Header
func (*AddressBalanceStatus) GetTfds ¶
func (m *AddressBalanceStatus) GetTfds() []*TokenFrozenDetails
func (*AddressBalanceStatus) ProtoMessage ¶
func (*AddressBalanceStatus) ProtoMessage()
func (*AddressBalanceStatus) Reset ¶
func (m *AddressBalanceStatus) Reset()
func (*AddressBalanceStatus) String ¶
func (m *AddressBalanceStatus) String() string
func (*AddressBalanceStatus) XXX_DiscardUnknown ¶
func (m *AddressBalanceStatus) XXX_DiscardUnknown()
func (*AddressBalanceStatus) XXX_Marshal ¶
func (m *AddressBalanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressBalanceStatus) XXX_Merge ¶
func (dst *AddressBalanceStatus) XXX_Merge(src proto.Message)
func (*AddressBalanceStatus) XXX_Size ¶
func (m *AddressBalanceStatus) XXX_Size() int
func (*AddressBalanceStatus) XXX_Unmarshal ¶
func (m *AddressBalanceStatus) XXX_Unmarshal(b []byte) error
type AddressContractsRequest ¶
type AddressContractsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` NeedContent bool `protobuf:"varint,4,opt,name=need_content,json=needContent" json:"need_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query address contracts request
func (*AddressContractsRequest) Descriptor ¶
func (*AddressContractsRequest) Descriptor() ([]byte, []int)
func (*AddressContractsRequest) GetAddress ¶
func (m *AddressContractsRequest) GetAddress() string
func (*AddressContractsRequest) GetBcname ¶
func (m *AddressContractsRequest) GetBcname() string
func (*AddressContractsRequest) GetHeader ¶
func (m *AddressContractsRequest) GetHeader() *Header
func (*AddressContractsRequest) GetNeedContent ¶
func (m *AddressContractsRequest) GetNeedContent() bool
func (*AddressContractsRequest) ProtoMessage ¶
func (*AddressContractsRequest) ProtoMessage()
func (*AddressContractsRequest) Reset ¶
func (m *AddressContractsRequest) Reset()
func (*AddressContractsRequest) String ¶
func (m *AddressContractsRequest) String() string
func (*AddressContractsRequest) XXX_DiscardUnknown ¶
func (m *AddressContractsRequest) XXX_DiscardUnknown()
func (*AddressContractsRequest) XXX_Marshal ¶
func (m *AddressContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressContractsRequest) XXX_Merge ¶
func (dst *AddressContractsRequest) XXX_Merge(src proto.Message)
func (*AddressContractsRequest) XXX_Size ¶
func (m *AddressContractsRequest) XXX_Size() int
func (*AddressContractsRequest) XXX_Unmarshal ¶
func (m *AddressContractsRequest) XXX_Unmarshal(b []byte) error
type AddressContractsResponse ¶
type AddressContractsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Contracts map[string]*ContractList `` /* 138-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query address contracts response
func (*AddressContractsResponse) Descriptor ¶
func (*AddressContractsResponse) Descriptor() ([]byte, []int)
func (*AddressContractsResponse) GetContracts ¶
func (m *AddressContractsResponse) GetContracts() map[string]*ContractList
func (*AddressContractsResponse) GetHeader ¶
func (m *AddressContractsResponse) GetHeader() *Header
func (*AddressContractsResponse) ProtoMessage ¶
func (*AddressContractsResponse) ProtoMessage()
func (*AddressContractsResponse) Reset ¶
func (m *AddressContractsResponse) Reset()
func (*AddressContractsResponse) String ¶
func (m *AddressContractsResponse) String() string
func (*AddressContractsResponse) XXX_DiscardUnknown ¶
func (m *AddressContractsResponse) XXX_DiscardUnknown()
func (*AddressContractsResponse) XXX_Marshal ¶
func (m *AddressContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressContractsResponse) XXX_Merge ¶
func (dst *AddressContractsResponse) XXX_Merge(src proto.Message)
func (*AddressContractsResponse) XXX_Size ¶
func (m *AddressContractsResponse) XXX_Size() int
func (*AddressContractsResponse) XXX_Unmarshal ¶
func (m *AddressContractsResponse) XXX_Unmarshal(b []byte) error
type AddressStatus ¶
type AddressStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` Bcs []*TokenDetail `protobuf:"bytes,3,rep,name=bcs" json:"bcs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressStatus) Descriptor ¶
func (*AddressStatus) Descriptor() ([]byte, []int)
func (*AddressStatus) GetAddress ¶
func (m *AddressStatus) GetAddress() string
func (*AddressStatus) GetBcs ¶
func (m *AddressStatus) GetBcs() []*TokenDetail
func (*AddressStatus) GetHeader ¶
func (m *AddressStatus) GetHeader() *Header
func (*AddressStatus) ProtoMessage ¶
func (*AddressStatus) ProtoMessage()
func (*AddressStatus) Reset ¶
func (m *AddressStatus) Reset()
func (*AddressStatus) String ¶
func (m *AddressStatus) String() string
func (*AddressStatus) XXX_DiscardUnknown ¶
func (m *AddressStatus) XXX_DiscardUnknown()
func (*AddressStatus) XXX_Marshal ¶
func (m *AddressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressStatus) XXX_Merge ¶
func (dst *AddressStatus) XXX_Merge(src proto.Message)
func (*AddressStatus) XXX_Size ¶
func (m *AddressStatus) XXX_Size() int
func (*AddressStatus) XXX_Unmarshal ¶
func (m *AddressStatus) XXX_Unmarshal(b []byte) error
type AkSet ¶
type AkSet struct { Aks []string `protobuf:"bytes,1,rep,name=aks" json:"aks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AK集的表示方法
func (*AkSet) Descriptor ¶
func (*AkSet) ProtoMessage ¶
func (*AkSet) ProtoMessage()
func (*AkSet) XXX_DiscardUnknown ¶
func (m *AkSet) XXX_DiscardUnknown()
func (*AkSet) XXX_Marshal ¶
func (*AkSet) XXX_Unmarshal ¶
type AkSets ¶
type AkSets struct { Sets map[string]*AkSet `` /* 128-byte string literal not displayed */ Expression string `protobuf:"bytes,2,opt,name=expression" json:"expression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AkSets) Descriptor ¶
func (*AkSets) GetExpression ¶
func (*AkSets) ProtoMessage ¶
func (*AkSets) ProtoMessage()
func (*AkSets) XXX_DiscardUnknown ¶
func (m *AkSets) XXX_DiscardUnknown()
func (*AkSets) XXX_Marshal ¶
func (*AkSets) XXX_Unmarshal ¶
type BCSpeeds ¶
type BCSpeeds struct { BcSpeed map[string]float64 `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BCSpeeds) Descriptor ¶
func (*BCSpeeds) GetBcSpeed ¶
func (*BCSpeeds) ProtoMessage ¶
func (*BCSpeeds) ProtoMessage()
func (*BCSpeeds) XXX_DiscardUnknown ¶
func (m *BCSpeeds) XXX_DiscardUnknown()
func (*BCSpeeds) XXX_Marshal ¶
func (*BCSpeeds) XXX_Unmarshal ¶
type BCStatus ¶
type BCStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // block name Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` // ledger metadata Meta *LedgerMeta `protobuf:"bytes,3,opt,name=meta" json:"meta,omitempty"` // The information of the longest block Block *InternalBlock `protobuf:"bytes,4,opt,name=block" json:"block,omitempty"` // Utox information UtxoMeta *UtxoMeta `protobuf:"bytes,5,opt,name=utxoMeta" json:"utxoMeta,omitempty"` // Branch info BranchBlockid []string `protobuf:"bytes,6,rep,name=branchBlockid" json:"branchBlockid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockChain status
func (*BCStatus) Descriptor ¶
func (*BCStatus) GetBlock ¶
func (m *BCStatus) GetBlock() *InternalBlock
func (*BCStatus) GetBranchBlockid ¶
func (*BCStatus) GetMeta ¶
func (m *BCStatus) GetMeta() *LedgerMeta
func (*BCStatus) GetUtxoMeta ¶
func (*BCStatus) ProtoMessage ¶
func (*BCStatus) ProtoMessage()
func (*BCStatus) XXX_DiscardUnknown ¶
func (m *BCStatus) XXX_DiscardUnknown()
func (*BCStatus) XXX_Marshal ¶
func (*BCStatus) XXX_Unmarshal ¶
type BCTipStatus ¶
type BCTipStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` IsTrunkTip bool `protobuf:"varint,2,opt,name=is_trunk_tip,json=isTrunkTip" json:"is_trunk_tip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BCTipStatus) Descriptor ¶
func (*BCTipStatus) Descriptor() ([]byte, []int)
func (*BCTipStatus) GetHeader ¶
func (m *BCTipStatus) GetHeader() *Header
func (*BCTipStatus) GetIsTrunkTip ¶
func (m *BCTipStatus) GetIsTrunkTip() bool
func (*BCTipStatus) ProtoMessage ¶
func (*BCTipStatus) ProtoMessage()
func (*BCTipStatus) Reset ¶
func (m *BCTipStatus) Reset()
func (*BCTipStatus) String ¶
func (m *BCTipStatus) String() string
func (*BCTipStatus) XXX_DiscardUnknown ¶
func (m *BCTipStatus) XXX_DiscardUnknown()
func (*BCTipStatus) XXX_Marshal ¶
func (m *BCTipStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BCTipStatus) XXX_Merge ¶
func (dst *BCTipStatus) XXX_Merge(src proto.Message)
func (*BCTipStatus) XXX_Size ¶
func (m *BCTipStatus) XXX_Size() int
func (*BCTipStatus) XXX_Unmarshal ¶
func (m *BCTipStatus) XXX_Unmarshal(b []byte) error
type BatchTxs ¶
type BatchTxs struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Txs []*TxStatus `protobuf:"bytes,2,rep,name=Txs" json:"Txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchTxs) Descriptor ¶
func (*BatchTxs) ProtoMessage ¶
func (*BatchTxs) ProtoMessage()
func (*BatchTxs) XXX_DiscardUnknown ¶
func (m *BatchTxs) XXX_DiscardUnknown()
func (*BatchTxs) XXX_Marshal ¶
func (*BatchTxs) XXX_Unmarshal ¶
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` Status Block_EBlockStatus `protobuf:"varint,4,opt,name=status,enum=pb.Block_EBlockStatus" json:"status,omitempty"` Block *InternalBlock `protobuf:"bytes,5,opt,name=block" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetBlock ¶
func (m *Block) GetBlock() *InternalBlock
func (*Block) GetBlockid ¶
func (*Block) GetStatus ¶
func (m *Block) GetStatus() Block_EBlockStatus
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockChains ¶
type BlockChains struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Blockchains []string `protobuf:"bytes,2,rep,name=blockchains" json:"blockchains,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockChains) Descriptor ¶
func (*BlockChains) Descriptor() ([]byte, []int)
func (*BlockChains) GetBlockchains ¶
func (m *BlockChains) GetBlockchains() []string
func (*BlockChains) GetHeader ¶
func (m *BlockChains) GetHeader() *Header
func (*BlockChains) ProtoMessage ¶
func (*BlockChains) ProtoMessage()
func (*BlockChains) Reset ¶
func (m *BlockChains) Reset()
func (*BlockChains) String ¶
func (m *BlockChains) String() string
func (*BlockChains) XXX_DiscardUnknown ¶
func (m *BlockChains) XXX_DiscardUnknown()
func (*BlockChains) XXX_Marshal ¶
func (m *BlockChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockChains) XXX_Merge ¶
func (dst *BlockChains) XXX_Merge(src proto.Message)
func (*BlockChains) XXX_Size ¶
func (m *BlockChains) XXX_Size() int
func (*BlockChains) XXX_Unmarshal ¶
func (m *BlockChains) XXX_Unmarshal(b []byte) error
type BlockHeight ¶
type BlockHeight struct { Header *Header `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,1,opt,name=bcname" json:"bcname,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeight) Descriptor ¶
func (*BlockHeight) Descriptor() ([]byte, []int)
func (*BlockHeight) GetBcname ¶
func (m *BlockHeight) GetBcname() string
func (*BlockHeight) GetHeader ¶
func (m *BlockHeight) GetHeader() *Header
func (*BlockHeight) GetHeight ¶
func (m *BlockHeight) GetHeight() int64
func (*BlockHeight) ProtoMessage ¶
func (*BlockHeight) ProtoMessage()
func (*BlockHeight) Reset ¶
func (m *BlockHeight) Reset()
func (*BlockHeight) String ¶
func (m *BlockHeight) String() string
func (*BlockHeight) XXX_DiscardUnknown ¶
func (m *BlockHeight) XXX_DiscardUnknown()
func (*BlockHeight) XXX_Marshal ¶
func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeight) XXX_Merge ¶
func (dst *BlockHeight) XXX_Merge(src proto.Message)
func (*BlockHeight) XXX_Size ¶
func (m *BlockHeight) XXX_Size() int
func (*BlockHeight) XXX_Unmarshal ¶
func (m *BlockHeight) XXX_Unmarshal(b []byte) error
type BlockID ¶
type BlockID struct { Header *Header `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,1,opt,name=bcname" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` // if need content NeedContent bool `protobuf:"varint,3,opt,name=need_content,json=needContent" json:"need_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetBlockid ¶
func (*BlockID) GetNeedContent ¶
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type Block_EBlockStatus ¶
type Block_EBlockStatus int32
const ( Block_ERROR Block_EBlockStatus = 0 Block_TRUNK Block_EBlockStatus = 1 Block_BRANCH Block_EBlockStatus = 2 Block_NOEXIST Block_EBlockStatus = 3 )
func (Block_EBlockStatus) EnumDescriptor ¶
func (Block_EBlockStatus) EnumDescriptor() ([]byte, []int)
func (Block_EBlockStatus) String ¶
func (x Block_EBlockStatus) String() string
type ChainedBftPhaseMessage ¶
type ChainedBftPhaseMessage struct { // Message Type: NEW_VIEW_MESSAGE or QC_MESSAGE Type QCState `protobuf:"varint,1,opt,name=Type,proto3,enum=pb.QCState" json:"Type,omitempty"` // ViewNumber the current view number ViewNumber int64 `protobuf:"varint,2,opt,name=ViewNumber,proto3" json:"ViewNumber,omitempty"` // The new proposal send to other replicas while the ProposalQC *QuorumCert `protobuf:"bytes,3,opt,name=ProposalQC,proto3" json:"ProposalQC,omitempty"` // JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE" JustifyQC *QuorumCert `protobuf:"bytes,4,opt,name=JustifyQC,proto3" json:"JustifyQC,omitempty"` // MsgDigest is the digest of the msgg MsgDigest []byte `protobuf:"bytes,5,opt,name=MsgDigest,proto3" json:"MsgDigest,omitempty"` // Signature for this msg Signature *SignInfo `protobuf:"bytes,6,opt,name=Signature,proto3" json:"Signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChainedBftPhaseMessage is the proposal message of the protocal. In Hotstuff, there are two kinds of messages, "NEW_VIEW_MESSAGE" and "QC_Message". A stable leader can skip this "NEW_VIEW_MESSAGE".
func (*ChainedBftPhaseMessage) Descriptor ¶
func (*ChainedBftPhaseMessage) Descriptor() ([]byte, []int)
func (*ChainedBftPhaseMessage) GetJustifyQC ¶
func (m *ChainedBftPhaseMessage) GetJustifyQC() *QuorumCert
func (*ChainedBftPhaseMessage) GetMsgDigest ¶
func (m *ChainedBftPhaseMessage) GetMsgDigest() []byte
func (*ChainedBftPhaseMessage) GetProposalQC ¶
func (m *ChainedBftPhaseMessage) GetProposalQC() *QuorumCert
func (*ChainedBftPhaseMessage) GetSignature ¶
func (m *ChainedBftPhaseMessage) GetSignature() *SignInfo
func (*ChainedBftPhaseMessage) GetType ¶
func (m *ChainedBftPhaseMessage) GetType() QCState
func (*ChainedBftPhaseMessage) GetViewNumber ¶
func (m *ChainedBftPhaseMessage) GetViewNumber() int64
func (*ChainedBftPhaseMessage) ProtoMessage ¶
func (*ChainedBftPhaseMessage) ProtoMessage()
func (*ChainedBftPhaseMessage) Reset ¶
func (m *ChainedBftPhaseMessage) Reset()
func (*ChainedBftPhaseMessage) String ¶
func (m *ChainedBftPhaseMessage) String() string
func (*ChainedBftPhaseMessage) XXX_DiscardUnknown ¶
func (m *ChainedBftPhaseMessage) XXX_DiscardUnknown()
func (*ChainedBftPhaseMessage) XXX_Marshal ¶
func (m *ChainedBftPhaseMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainedBftPhaseMessage) XXX_Merge ¶
func (m *ChainedBftPhaseMessage) XXX_Merge(src proto.Message)
func (*ChainedBftPhaseMessage) XXX_Size ¶
func (m *ChainedBftPhaseMessage) XXX_Size() int
func (*ChainedBftPhaseMessage) XXX_Unmarshal ¶
func (m *ChainedBftPhaseMessage) XXX_Unmarshal(b []byte) error
type ChainedBftVoteMessage ¶
type ChainedBftVoteMessage struct { // The id of this message votes for. ProposalId []byte `protobuf:"bytes,1,opt,name=ProposalId,proto3" json:"ProposalId,omitempty"` // Replica will sign the QCMessage if the QuorumCert if valid. Signature *SignInfo `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChainedBftVoteMessage is the vote message of the protocal.
func (*ChainedBftVoteMessage) Descriptor ¶
func (*ChainedBftVoteMessage) Descriptor() ([]byte, []int)
func (*ChainedBftVoteMessage) GetProposalId ¶
func (m *ChainedBftVoteMessage) GetProposalId() []byte
func (*ChainedBftVoteMessage) GetSignature ¶
func (m *ChainedBftVoteMessage) GetSignature() *SignInfo
func (*ChainedBftVoteMessage) ProtoMessage ¶
func (*ChainedBftVoteMessage) ProtoMessage()
func (*ChainedBftVoteMessage) Reset ¶
func (m *ChainedBftVoteMessage) Reset()
func (*ChainedBftVoteMessage) String ¶
func (m *ChainedBftVoteMessage) String() string
func (*ChainedBftVoteMessage) XXX_DiscardUnknown ¶
func (m *ChainedBftVoteMessage) XXX_DiscardUnknown()
func (*ChainedBftVoteMessage) XXX_Marshal ¶
func (m *ChainedBftVoteMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainedBftVoteMessage) XXX_Merge ¶
func (m *ChainedBftVoteMessage) XXX_Merge(src proto.Message)
func (*ChainedBftVoteMessage) XXX_Size ¶
func (m *ChainedBftVoteMessage) XXX_Size() int
func (*ChainedBftVoteMessage) XXX_Unmarshal ¶
func (m *ChainedBftVoteMessage) XXX_Unmarshal(b []byte) error
type CommonIn ¶
type CommonIn struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` ViewOption ViewOption `protobuf:"varint,2,opt,name=view_option,json=viewOption,enum=pb.ViewOption" json:"view_option,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommonIn) Descriptor ¶
func (*CommonIn) GetViewOption ¶
func (m *CommonIn) GetViewOption() ViewOption
func (*CommonIn) ProtoMessage ¶
func (*CommonIn) ProtoMessage()
func (*CommonIn) XXX_DiscardUnknown ¶
func (m *CommonIn) XXX_DiscardUnknown()
func (*CommonIn) XXX_Marshal ¶
func (*CommonIn) XXX_Unmarshal ¶
type CommonReply ¶
type CommonReply struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommonReply) Descriptor ¶
func (*CommonReply) Descriptor() ([]byte, []int)
func (*CommonReply) GetHeader ¶
func (m *CommonReply) GetHeader() *Header
func (*CommonReply) ProtoMessage ¶
func (*CommonReply) ProtoMessage()
func (*CommonReply) Reset ¶
func (m *CommonReply) Reset()
func (*CommonReply) String ¶
func (m *CommonReply) String() string
func (*CommonReply) XXX_DiscardUnknown ¶
func (m *CommonReply) XXX_DiscardUnknown()
func (*CommonReply) XXX_Marshal ¶
func (m *CommonReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonReply) XXX_Merge ¶
func (dst *CommonReply) XXX_Merge(src proto.Message)
func (*CommonReply) XXX_Size ¶
func (m *CommonReply) XXX_Size() int
func (*CommonReply) XXX_Unmarshal ¶
func (m *CommonReply) XXX_Unmarshal(b []byte) error
type ContractEvent ¶
type ContractEvent struct { Contract string `protobuf:"bytes,1,opt,name=contract" json:"contract,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractEvent) Descriptor ¶
func (*ContractEvent) Descriptor() ([]byte, []int)
func (*ContractEvent) GetBody ¶
func (m *ContractEvent) GetBody() []byte
func (*ContractEvent) GetContract ¶
func (m *ContractEvent) GetContract() string
func (*ContractEvent) GetName ¶
func (m *ContractEvent) GetName() string
func (*ContractEvent) ProtoMessage ¶
func (*ContractEvent) ProtoMessage()
func (*ContractEvent) Reset ¶
func (m *ContractEvent) Reset()
func (*ContractEvent) String ¶
func (m *ContractEvent) String() string
func (*ContractEvent) XXX_DiscardUnknown ¶
func (m *ContractEvent) XXX_DiscardUnknown()
func (*ContractEvent) XXX_Marshal ¶
func (m *ContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractEvent) XXX_Merge ¶
func (dst *ContractEvent) XXX_Merge(src proto.Message)
func (*ContractEvent) XXX_Size ¶
func (m *ContractEvent) XXX_Size() int
func (*ContractEvent) XXX_Unmarshal ¶
func (m *ContractEvent) XXX_Unmarshal(b []byte) error
type ContractList ¶
type ContractList struct { ContractStatus []*ContractStatus `protobuf:"bytes,1,rep,name=contract_status,json=contractStatus" json:"contract_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractList) Descriptor ¶
func (*ContractList) Descriptor() ([]byte, []int)
func (*ContractList) GetContractStatus ¶
func (m *ContractList) GetContractStatus() []*ContractStatus
func (*ContractList) ProtoMessage ¶
func (*ContractList) ProtoMessage()
func (*ContractList) Reset ¶
func (m *ContractList) Reset()
func (*ContractList) String ¶
func (m *ContractList) String() string
func (*ContractList) XXX_DiscardUnknown ¶
func (m *ContractList) XXX_DiscardUnknown()
func (*ContractList) XXX_Marshal ¶
func (m *ContractList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractList) XXX_Merge ¶
func (dst *ContractList) XXX_Merge(src proto.Message)
func (*ContractList) XXX_Size ¶
func (m *ContractList) XXX_Size() int
func (*ContractList) XXX_Unmarshal ¶
func (m *ContractList) XXX_Unmarshal(b []byte) error
type ContractResponse ¶
type ContractResponse struct { Status int32 `protobuf:"varint,1,opt,name=status" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ContractResponse is the response returnd by contract
func (*ContractResponse) Descriptor ¶
func (*ContractResponse) Descriptor() ([]byte, []int)
func (*ContractResponse) GetBody ¶
func (m *ContractResponse) GetBody() []byte
func (*ContractResponse) GetMessage ¶
func (m *ContractResponse) GetMessage() string
func (*ContractResponse) GetStatus ¶
func (m *ContractResponse) GetStatus() int32
func (*ContractResponse) ProtoMessage ¶
func (*ContractResponse) ProtoMessage()
func (*ContractResponse) Reset ¶
func (m *ContractResponse) Reset()
func (*ContractResponse) String ¶
func (m *ContractResponse) String() string
func (*ContractResponse) XXX_DiscardUnknown ¶
func (m *ContractResponse) XXX_DiscardUnknown()
func (*ContractResponse) XXX_Marshal ¶
func (m *ContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractResponse) XXX_Merge ¶
func (dst *ContractResponse) XXX_Merge(src proto.Message)
func (*ContractResponse) XXX_Size ¶
func (m *ContractResponse) XXX_Size() int
func (*ContractResponse) XXX_Unmarshal ¶
func (m *ContractResponse) XXX_Unmarshal(b []byte) error
type ContractStatData ¶
type ContractStatData struct { AccountCount int64 `protobuf:"varint,1,opt,name=accountCount" json:"accountCount,omitempty"` ContractCount int64 `protobuf:"varint,2,opt,name=contractCount" json:"contractCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractStatData) Descriptor ¶
func (*ContractStatData) Descriptor() ([]byte, []int)
func (*ContractStatData) GetAccountCount ¶
func (m *ContractStatData) GetAccountCount() int64
func (*ContractStatData) GetContractCount ¶
func (m *ContractStatData) GetContractCount() int64
func (*ContractStatData) ProtoMessage ¶
func (*ContractStatData) ProtoMessage()
func (*ContractStatData) Reset ¶
func (m *ContractStatData) Reset()
func (*ContractStatData) String ¶
func (m *ContractStatData) String() string
func (*ContractStatData) XXX_DiscardUnknown ¶
func (m *ContractStatData) XXX_DiscardUnknown()
func (*ContractStatData) XXX_Marshal ¶
func (m *ContractStatData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStatData) XXX_Merge ¶
func (dst *ContractStatData) XXX_Merge(src proto.Message)
func (*ContractStatData) XXX_Size ¶
func (m *ContractStatData) XXX_Size() int
func (*ContractStatData) XXX_Unmarshal ¶
func (m *ContractStatData) XXX_Unmarshal(b []byte) error
type ContractStatDataRequest ¶
type ContractStatDataRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractStatDataRequest) Descriptor ¶
func (*ContractStatDataRequest) Descriptor() ([]byte, []int)
func (*ContractStatDataRequest) GetBcname ¶
func (m *ContractStatDataRequest) GetBcname() string
func (*ContractStatDataRequest) GetHeader ¶
func (m *ContractStatDataRequest) GetHeader() *Header
func (*ContractStatDataRequest) ProtoMessage ¶
func (*ContractStatDataRequest) ProtoMessage()
func (*ContractStatDataRequest) Reset ¶
func (m *ContractStatDataRequest) Reset()
func (*ContractStatDataRequest) String ¶
func (m *ContractStatDataRequest) String() string
func (*ContractStatDataRequest) XXX_DiscardUnknown ¶
func (m *ContractStatDataRequest) XXX_DiscardUnknown()
func (*ContractStatDataRequest) XXX_Marshal ¶
func (m *ContractStatDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStatDataRequest) XXX_Merge ¶
func (dst *ContractStatDataRequest) XXX_Merge(src proto.Message)
func (*ContractStatDataRequest) XXX_Size ¶
func (m *ContractStatDataRequest) XXX_Size() int
func (*ContractStatDataRequest) XXX_Unmarshal ¶
func (m *ContractStatDataRequest) XXX_Unmarshal(b []byte) error
type ContractStatDataResponse ¶
type ContractStatDataResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Data *ContractStatData `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractStatDataResponse) Descriptor ¶
func (*ContractStatDataResponse) Descriptor() ([]byte, []int)
func (*ContractStatDataResponse) GetBcname ¶
func (m *ContractStatDataResponse) GetBcname() string
func (*ContractStatDataResponse) GetData ¶
func (m *ContractStatDataResponse) GetData() *ContractStatData
func (*ContractStatDataResponse) GetHeader ¶
func (m *ContractStatDataResponse) GetHeader() *Header
func (*ContractStatDataResponse) ProtoMessage ¶
func (*ContractStatDataResponse) ProtoMessage()
func (*ContractStatDataResponse) Reset ¶
func (m *ContractStatDataResponse) Reset()
func (*ContractStatDataResponse) String ¶
func (m *ContractStatDataResponse) String() string
func (*ContractStatDataResponse) XXX_DiscardUnknown ¶
func (m *ContractStatDataResponse) XXX_DiscardUnknown()
func (*ContractStatDataResponse) XXX_Marshal ¶
func (m *ContractStatDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStatDataResponse) XXX_Merge ¶
func (dst *ContractStatDataResponse) XXX_Merge(src proto.Message)
func (*ContractStatDataResponse) XXX_Size ¶
func (m *ContractStatDataResponse) XXX_Size() int
func (*ContractStatDataResponse) XXX_Unmarshal ¶
func (m *ContractStatDataResponse) XXX_Unmarshal(b []byte) error
type ContractStatus ¶
type ContractStatus struct { ContractName string `protobuf:"bytes,1,opt,name=contract_name,json=contractName" json:"contract_name,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid" json:"txid,omitempty"` Desc []byte `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` IsBanned bool `protobuf:"varint,4,opt,name=is_banned,json=isBanned" json:"is_banned,omitempty"` Timestamp int64 `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"` Runtime string `protobuf:"bytes,6,opt,name=runtime" json:"runtime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Status of a contract
func (*ContractStatus) Descriptor ¶
func (*ContractStatus) Descriptor() ([]byte, []int)
func (*ContractStatus) GetContractName ¶
func (m *ContractStatus) GetContractName() string
func (*ContractStatus) GetDesc ¶
func (m *ContractStatus) GetDesc() []byte
func (*ContractStatus) GetIsBanned ¶
func (m *ContractStatus) GetIsBanned() bool
func (*ContractStatus) GetRuntime ¶
func (m *ContractStatus) GetRuntime() string
func (*ContractStatus) GetTimestamp ¶
func (m *ContractStatus) GetTimestamp() int64
func (*ContractStatus) GetTxid ¶
func (m *ContractStatus) GetTxid() string
func (*ContractStatus) ProtoMessage ¶
func (*ContractStatus) ProtoMessage()
func (*ContractStatus) Reset ¶
func (m *ContractStatus) Reset()
func (*ContractStatus) String ¶
func (m *ContractStatus) String() string
func (*ContractStatus) XXX_DiscardUnknown ¶
func (m *ContractStatus) XXX_DiscardUnknown()
func (*ContractStatus) XXX_Marshal ¶
func (m *ContractStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStatus) XXX_Merge ¶
func (dst *ContractStatus) XXX_Merge(src proto.Message)
func (*ContractStatus) XXX_Size ¶
func (m *ContractStatus) XXX_Size() int
func (*ContractStatus) XXX_Unmarshal ¶
func (m *ContractStatus) XXX_Unmarshal(b []byte) error
type CrossChainMeta ¶
type CrossChainMeta struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` MinEndorsorNum int64 `protobuf:"varint,2,opt,name=min_endorsor_num,json=minEndorsorNum" json:"min_endorsor_num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossChainMeta) Descriptor ¶
func (*CrossChainMeta) Descriptor() ([]byte, []int)
func (*CrossChainMeta) GetMinEndorsorNum ¶
func (m *CrossChainMeta) GetMinEndorsorNum() int64
func (*CrossChainMeta) GetType ¶
func (m *CrossChainMeta) GetType() string
func (*CrossChainMeta) ProtoMessage ¶
func (*CrossChainMeta) ProtoMessage()
func (*CrossChainMeta) Reset ¶
func (m *CrossChainMeta) Reset()
func (*CrossChainMeta) String ¶
func (m *CrossChainMeta) String() string
func (*CrossChainMeta) XXX_DiscardUnknown ¶
func (m *CrossChainMeta) XXX_DiscardUnknown()
func (*CrossChainMeta) XXX_Marshal ¶
func (m *CrossChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossChainMeta) XXX_Merge ¶
func (dst *CrossChainMeta) XXX_Merge(src proto.Message)
func (*CrossChainMeta) XXX_Size ¶
func (m *CrossChainMeta) XXX_Size() int
func (*CrossChainMeta) XXX_Unmarshal ¶
func (m *CrossChainMeta) XXX_Unmarshal(b []byte) error
type CrossEndorsor ¶
type CrossEndorsor struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey" json:"pub_key,omitempty"` // ip+port Host string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossEndorsor) Descriptor ¶
func (*CrossEndorsor) Descriptor() ([]byte, []int)
func (*CrossEndorsor) GetAddress ¶
func (m *CrossEndorsor) GetAddress() string
func (*CrossEndorsor) GetHost ¶
func (m *CrossEndorsor) GetHost() string
func (*CrossEndorsor) GetPubKey ¶
func (m *CrossEndorsor) GetPubKey() string
func (*CrossEndorsor) ProtoMessage ¶
func (*CrossEndorsor) ProtoMessage()
func (*CrossEndorsor) Reset ¶
func (m *CrossEndorsor) Reset()
func (*CrossEndorsor) String ¶
func (m *CrossEndorsor) String() string
func (*CrossEndorsor) XXX_DiscardUnknown ¶
func (m *CrossEndorsor) XXX_DiscardUnknown()
func (*CrossEndorsor) XXX_Marshal ¶
func (m *CrossEndorsor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossEndorsor) XXX_Merge ¶
func (dst *CrossEndorsor) XXX_Merge(src proto.Message)
func (*CrossEndorsor) XXX_Size ¶
func (m *CrossEndorsor) XXX_Size() int
func (*CrossEndorsor) XXX_Unmarshal ¶
func (m *CrossEndorsor) XXX_Unmarshal(b []byte) error
type CrossQueryInfo ¶
type CrossQueryInfo struct { Request *CrossQueryRequest `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"` Response *CrossQueryResponse `protobuf:"bytes,2,opt,name=response" json:"response,omitempty"` Signs []*SignatureInfo `protobuf:"bytes,3,rep,name=signs" json:"signs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossQueryInfo) Descriptor ¶
func (*CrossQueryInfo) Descriptor() ([]byte, []int)
func (*CrossQueryInfo) GetRequest ¶
func (m *CrossQueryInfo) GetRequest() *CrossQueryRequest
func (*CrossQueryInfo) GetResponse ¶
func (m *CrossQueryInfo) GetResponse() *CrossQueryResponse
func (*CrossQueryInfo) GetSigns ¶
func (m *CrossQueryInfo) GetSigns() []*SignatureInfo
func (*CrossQueryInfo) ProtoMessage ¶
func (*CrossQueryInfo) ProtoMessage()
func (*CrossQueryInfo) Reset ¶
func (m *CrossQueryInfo) Reset()
func (*CrossQueryInfo) String ¶
func (m *CrossQueryInfo) String() string
func (*CrossQueryInfo) XXX_DiscardUnknown ¶
func (m *CrossQueryInfo) XXX_DiscardUnknown()
func (*CrossQueryInfo) XXX_Marshal ¶
func (m *CrossQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossQueryInfo) XXX_Merge ¶
func (dst *CrossQueryInfo) XXX_Merge(src proto.Message)
func (*CrossQueryInfo) XXX_Size ¶
func (m *CrossQueryInfo) XXX_Size() int
func (*CrossQueryInfo) XXX_Unmarshal ¶
func (m *CrossQueryInfo) XXX_Unmarshal(b []byte) error
type CrossQueryMeta ¶
type CrossQueryMeta struct { ChainMeta *CrossChainMeta `protobuf:"bytes,1,opt,name=chain_meta,json=chainMeta" json:"chain_meta,omitempty"` Endorsors []*CrossEndorsor `protobuf:"bytes,2,rep,name=endorsors" json:"endorsors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossQueryMeta) Descriptor ¶
func (*CrossQueryMeta) Descriptor() ([]byte, []int)
func (*CrossQueryMeta) GetChainMeta ¶
func (m *CrossQueryMeta) GetChainMeta() *CrossChainMeta
func (*CrossQueryMeta) GetEndorsors ¶
func (m *CrossQueryMeta) GetEndorsors() []*CrossEndorsor
func (*CrossQueryMeta) ProtoMessage ¶
func (*CrossQueryMeta) ProtoMessage()
func (*CrossQueryMeta) Reset ¶
func (m *CrossQueryMeta) Reset()
func (*CrossQueryMeta) String ¶
func (m *CrossQueryMeta) String() string
func (*CrossQueryMeta) XXX_DiscardUnknown ¶
func (m *CrossQueryMeta) XXX_DiscardUnknown()
func (*CrossQueryMeta) XXX_Marshal ¶
func (m *CrossQueryMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossQueryMeta) XXX_Merge ¶
func (dst *CrossQueryMeta) XXX_Merge(src proto.Message)
func (*CrossQueryMeta) XXX_Size ¶
func (m *CrossQueryMeta) XXX_Size() int
func (*CrossQueryMeta) XXX_Unmarshal ¶
func (m *CrossQueryMeta) XXX_Unmarshal(b []byte) error
type CrossQueryRequest ¶
type CrossQueryRequest struct { Bcname string `protobuf:"bytes,1,opt,name=bcname" json:"bcname,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` Initiator string `protobuf:"bytes,3,opt,name=initiator" json:"initiator,omitempty"` AuthRequire []string `protobuf:"bytes,4,rep,name=auth_require,json=authRequire" json:"auth_require,omitempty"` Request *InvokeRequest `protobuf:"bytes,5,opt,name=request" json:"request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossQueryRequest) Descriptor ¶
func (*CrossQueryRequest) Descriptor() ([]byte, []int)
func (*CrossQueryRequest) GetAuthRequire ¶
func (m *CrossQueryRequest) GetAuthRequire() []string
func (*CrossQueryRequest) GetBcname ¶
func (m *CrossQueryRequest) GetBcname() string
func (*CrossQueryRequest) GetInitiator ¶
func (m *CrossQueryRequest) GetInitiator() string
func (*CrossQueryRequest) GetRequest ¶
func (m *CrossQueryRequest) GetRequest() *InvokeRequest
func (*CrossQueryRequest) GetTimestamp ¶
func (m *CrossQueryRequest) GetTimestamp() int64
func (*CrossQueryRequest) ProtoMessage ¶
func (*CrossQueryRequest) ProtoMessage()
func (*CrossQueryRequest) Reset ¶
func (m *CrossQueryRequest) Reset()
func (*CrossQueryRequest) String ¶
func (m *CrossQueryRequest) String() string
func (*CrossQueryRequest) XXX_DiscardUnknown ¶
func (m *CrossQueryRequest) XXX_DiscardUnknown()
func (*CrossQueryRequest) XXX_Marshal ¶
func (m *CrossQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossQueryRequest) XXX_Merge ¶
func (dst *CrossQueryRequest) XXX_Merge(src proto.Message)
func (*CrossQueryRequest) XXX_Size ¶
func (m *CrossQueryRequest) XXX_Size() int
func (*CrossQueryRequest) XXX_Unmarshal ¶
func (m *CrossQueryRequest) XXX_Unmarshal(b []byte) error
type CrossQueryResponse ¶
type CrossQueryResponse struct { Response *ContractResponse `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CrossQueryResponse) Descriptor ¶
func (*CrossQueryResponse) Descriptor() ([]byte, []int)
func (*CrossQueryResponse) GetResponse ¶
func (m *CrossQueryResponse) GetResponse() *ContractResponse
func (*CrossQueryResponse) ProtoMessage ¶
func (*CrossQueryResponse) ProtoMessage()
func (*CrossQueryResponse) Reset ¶
func (m *CrossQueryResponse) Reset()
func (*CrossQueryResponse) String ¶
func (m *CrossQueryResponse) String() string
func (*CrossQueryResponse) XXX_DiscardUnknown ¶
func (m *CrossQueryResponse) XXX_DiscardUnknown()
func (*CrossQueryResponse) XXX_Marshal ¶
func (m *CrossQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossQueryResponse) XXX_Merge ¶
func (dst *CrossQueryResponse) XXX_Merge(src proto.Message)
func (*CrossQueryResponse) XXX_Size ¶
func (m *CrossQueryResponse) XXX_Size() int
func (*CrossQueryResponse) XXX_Unmarshal ¶
func (m *CrossQueryResponse) XXX_Unmarshal(b []byte) error
type DposCandidatesRequest ¶
type DposCandidatesRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人列表接口
func (*DposCandidatesRequest) Descriptor ¶
func (*DposCandidatesRequest) Descriptor() ([]byte, []int)
func (*DposCandidatesRequest) GetBcname ¶
func (m *DposCandidatesRequest) GetBcname() string
func (*DposCandidatesRequest) GetHeader ¶
func (m *DposCandidatesRequest) GetHeader() *Header
func (*DposCandidatesRequest) ProtoMessage ¶
func (*DposCandidatesRequest) ProtoMessage()
func (*DposCandidatesRequest) Reset ¶
func (m *DposCandidatesRequest) Reset()
func (*DposCandidatesRequest) String ¶
func (m *DposCandidatesRequest) String() string
func (*DposCandidatesRequest) XXX_DiscardUnknown ¶
func (m *DposCandidatesRequest) XXX_DiscardUnknown()
func (*DposCandidatesRequest) XXX_Marshal ¶
func (m *DposCandidatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatesRequest) XXX_Merge ¶
func (dst *DposCandidatesRequest) XXX_Merge(src proto.Message)
func (*DposCandidatesRequest) XXX_Size ¶
func (m *DposCandidatesRequest) XXX_Size() int
func (*DposCandidatesRequest) XXX_Unmarshal ¶
func (m *DposCandidatesRequest) XXX_Unmarshal(b []byte) error
type DposCandidatesResponse ¶
type DposCandidatesResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` CandidatesInfo []string `protobuf:"bytes,2,rep,name=candidatesInfo" json:"candidatesInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人列表返回
func (*DposCandidatesResponse) Descriptor ¶
func (*DposCandidatesResponse) Descriptor() ([]byte, []int)
func (*DposCandidatesResponse) GetCandidatesInfo ¶
func (m *DposCandidatesResponse) GetCandidatesInfo() []string
func (*DposCandidatesResponse) GetHeader ¶
func (m *DposCandidatesResponse) GetHeader() *Header
func (*DposCandidatesResponse) ProtoMessage ¶
func (*DposCandidatesResponse) ProtoMessage()
func (*DposCandidatesResponse) Reset ¶
func (m *DposCandidatesResponse) Reset()
func (*DposCandidatesResponse) String ¶
func (m *DposCandidatesResponse) String() string
func (*DposCandidatesResponse) XXX_DiscardUnknown ¶
func (m *DposCandidatesResponse) XXX_DiscardUnknown()
func (*DposCandidatesResponse) XXX_Marshal ¶
func (m *DposCandidatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatesResponse) XXX_Merge ¶
func (dst *DposCandidatesResponse) XXX_Merge(src proto.Message)
func (*DposCandidatesResponse) XXX_Size ¶
func (m *DposCandidatesResponse) XXX_Size() int
func (*DposCandidatesResponse) XXX_Unmarshal ¶
func (m *DposCandidatesResponse) XXX_Unmarshal(b []byte) error
type DposCheckResultsRequest ¶
type DposCheckResultsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Term int64 `protobuf:"varint,3,opt,name=term" json:"term,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询检票结果记录请求
func (*DposCheckResultsRequest) Descriptor ¶
func (*DposCheckResultsRequest) Descriptor() ([]byte, []int)
func (*DposCheckResultsRequest) GetBcname ¶
func (m *DposCheckResultsRequest) GetBcname() string
func (*DposCheckResultsRequest) GetHeader ¶
func (m *DposCheckResultsRequest) GetHeader() *Header
func (*DposCheckResultsRequest) GetTerm ¶
func (m *DposCheckResultsRequest) GetTerm() int64
func (*DposCheckResultsRequest) ProtoMessage ¶
func (*DposCheckResultsRequest) ProtoMessage()
func (*DposCheckResultsRequest) Reset ¶
func (m *DposCheckResultsRequest) Reset()
func (*DposCheckResultsRequest) String ¶
func (m *DposCheckResultsRequest) String() string
func (*DposCheckResultsRequest) XXX_DiscardUnknown ¶
func (m *DposCheckResultsRequest) XXX_DiscardUnknown()
func (*DposCheckResultsRequest) XXX_Marshal ¶
func (m *DposCheckResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCheckResultsRequest) XXX_Merge ¶
func (dst *DposCheckResultsRequest) XXX_Merge(src proto.Message)
func (*DposCheckResultsRequest) XXX_Size ¶
func (m *DposCheckResultsRequest) XXX_Size() int
func (*DposCheckResultsRequest) XXX_Unmarshal ¶
func (m *DposCheckResultsRequest) XXX_Unmarshal(b []byte) error
type DposCheckResultsResponse ¶
type DposCheckResultsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Term int64 `protobuf:"varint,2,opt,name=term" json:"term,omitempty"` CheckResult []string `protobuf:"bytes,3,rep,name=checkResult" json:"checkResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询检票结果记录返回
func (*DposCheckResultsResponse) Descriptor ¶
func (*DposCheckResultsResponse) Descriptor() ([]byte, []int)
func (*DposCheckResultsResponse) GetCheckResult ¶
func (m *DposCheckResultsResponse) GetCheckResult() []string
func (*DposCheckResultsResponse) GetHeader ¶
func (m *DposCheckResultsResponse) GetHeader() *Header
func (*DposCheckResultsResponse) GetTerm ¶
func (m *DposCheckResultsResponse) GetTerm() int64
func (*DposCheckResultsResponse) ProtoMessage ¶
func (*DposCheckResultsResponse) ProtoMessage()
func (*DposCheckResultsResponse) Reset ¶
func (m *DposCheckResultsResponse) Reset()
func (*DposCheckResultsResponse) String ¶
func (m *DposCheckResultsResponse) String() string
func (*DposCheckResultsResponse) XXX_DiscardUnknown ¶
func (m *DposCheckResultsResponse) XXX_DiscardUnknown()
func (*DposCheckResultsResponse) XXX_Marshal ¶
func (m *DposCheckResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCheckResultsResponse) XXX_Merge ¶
func (dst *DposCheckResultsResponse) XXX_Merge(src proto.Message)
func (*DposCheckResultsResponse) XXX_Size ¶
func (m *DposCheckResultsResponse) XXX_Size() int
func (*DposCheckResultsResponse) XXX_Unmarshal ¶
func (m *DposCheckResultsResponse) XXX_Unmarshal(b []byte) error
type DposNominateInfo ¶
type DposNominateInfo struct { Candidate string `protobuf:"bytes,1,opt,name=candidate" json:"candidate,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人信息
func (*DposNominateInfo) Descriptor ¶
func (*DposNominateInfo) Descriptor() ([]byte, []int)
func (*DposNominateInfo) GetCandidate ¶
func (m *DposNominateInfo) GetCandidate() string
func (*DposNominateInfo) GetTxid ¶
func (m *DposNominateInfo) GetTxid() string
func (*DposNominateInfo) ProtoMessage ¶
func (*DposNominateInfo) ProtoMessage()
func (*DposNominateInfo) Reset ¶
func (m *DposNominateInfo) Reset()
func (*DposNominateInfo) String ¶
func (m *DposNominateInfo) String() string
func (*DposNominateInfo) XXX_DiscardUnknown ¶
func (m *DposNominateInfo) XXX_DiscardUnknown()
func (*DposNominateInfo) XXX_Marshal ¶
func (m *DposNominateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateInfo) XXX_Merge ¶
func (dst *DposNominateInfo) XXX_Merge(src proto.Message)
func (*DposNominateInfo) XXX_Size ¶
func (m *DposNominateInfo) XXX_Size() int
func (*DposNominateInfo) XXX_Unmarshal ¶
func (m *DposNominateInfo) XXX_Unmarshal(b []byte) error
type DposNominateRecordsRequest ¶
type DposNominateRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
提名者提名记录请求
func (*DposNominateRecordsRequest) Descriptor ¶
func (*DposNominateRecordsRequest) Descriptor() ([]byte, []int)
func (*DposNominateRecordsRequest) GetAddress ¶
func (m *DposNominateRecordsRequest) GetAddress() string
func (*DposNominateRecordsRequest) GetBcname ¶
func (m *DposNominateRecordsRequest) GetBcname() string
func (*DposNominateRecordsRequest) GetHeader ¶
func (m *DposNominateRecordsRequest) GetHeader() *Header
func (*DposNominateRecordsRequest) ProtoMessage ¶
func (*DposNominateRecordsRequest) ProtoMessage()
func (*DposNominateRecordsRequest) Reset ¶
func (m *DposNominateRecordsRequest) Reset()
func (*DposNominateRecordsRequest) String ¶
func (m *DposNominateRecordsRequest) String() string
func (*DposNominateRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposNominateRecordsRequest) XXX_DiscardUnknown()
func (*DposNominateRecordsRequest) XXX_Marshal ¶
func (m *DposNominateRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateRecordsRequest) XXX_Merge ¶
func (dst *DposNominateRecordsRequest) XXX_Merge(src proto.Message)
func (*DposNominateRecordsRequest) XXX_Size ¶
func (m *DposNominateRecordsRequest) XXX_Size() int
func (*DposNominateRecordsRequest) XXX_Unmarshal ¶
func (m *DposNominateRecordsRequest) XXX_Unmarshal(b []byte) error
type DposNominateRecordsResponse ¶
type DposNominateRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` NominateRecords []*DposNominateInfo `protobuf:"bytes,2,rep,name=nominateRecords" json:"nominateRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
提名者提名记录返回
func (*DposNominateRecordsResponse) Descriptor ¶
func (*DposNominateRecordsResponse) Descriptor() ([]byte, []int)
func (*DposNominateRecordsResponse) GetHeader ¶
func (m *DposNominateRecordsResponse) GetHeader() *Header
func (*DposNominateRecordsResponse) GetNominateRecords ¶
func (m *DposNominateRecordsResponse) GetNominateRecords() []*DposNominateInfo
func (*DposNominateRecordsResponse) ProtoMessage ¶
func (*DposNominateRecordsResponse) ProtoMessage()
func (*DposNominateRecordsResponse) Reset ¶
func (m *DposNominateRecordsResponse) Reset()
func (*DposNominateRecordsResponse) String ¶
func (m *DposNominateRecordsResponse) String() string
func (*DposNominateRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposNominateRecordsResponse) XXX_DiscardUnknown()
func (*DposNominateRecordsResponse) XXX_Marshal ¶
func (m *DposNominateRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateRecordsResponse) XXX_Merge ¶
func (dst *DposNominateRecordsResponse) XXX_Merge(src proto.Message)
func (*DposNominateRecordsResponse) XXX_Size ¶
func (m *DposNominateRecordsResponse) XXX_Size() int
func (*DposNominateRecordsResponse) XXX_Unmarshal ¶
func (m *DposNominateRecordsResponse) XXX_Unmarshal(b []byte) error
type DposNomineeRecordsRequest ¶
type DposNomineeRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被提名记录请求
func (*DposNomineeRecordsRequest) Descriptor ¶
func (*DposNomineeRecordsRequest) Descriptor() ([]byte, []int)
func (*DposNomineeRecordsRequest) GetAddress ¶
func (m *DposNomineeRecordsRequest) GetAddress() string
func (*DposNomineeRecordsRequest) GetBcname ¶
func (m *DposNomineeRecordsRequest) GetBcname() string
func (*DposNomineeRecordsRequest) GetHeader ¶
func (m *DposNomineeRecordsRequest) GetHeader() *Header
func (*DposNomineeRecordsRequest) ProtoMessage ¶
func (*DposNomineeRecordsRequest) ProtoMessage()
func (*DposNomineeRecordsRequest) Reset ¶
func (m *DposNomineeRecordsRequest) Reset()
func (*DposNomineeRecordsRequest) String ¶
func (m *DposNomineeRecordsRequest) String() string
func (*DposNomineeRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposNomineeRecordsRequest) XXX_DiscardUnknown()
func (*DposNomineeRecordsRequest) XXX_Marshal ¶
func (m *DposNomineeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNomineeRecordsRequest) XXX_Merge ¶
func (dst *DposNomineeRecordsRequest) XXX_Merge(src proto.Message)
func (*DposNomineeRecordsRequest) XXX_Size ¶
func (m *DposNomineeRecordsRequest) XXX_Size() int
func (*DposNomineeRecordsRequest) XXX_Unmarshal ¶
func (m *DposNomineeRecordsRequest) XXX_Unmarshal(b []byte) error
type DposNomineeRecordsResponse ¶
type DposNomineeRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被提名记录返回
func (*DposNomineeRecordsResponse) Descriptor ¶
func (*DposNomineeRecordsResponse) Descriptor() ([]byte, []int)
func (*DposNomineeRecordsResponse) GetHeader ¶
func (m *DposNomineeRecordsResponse) GetHeader() *Header
func (*DposNomineeRecordsResponse) GetTxid ¶
func (m *DposNomineeRecordsResponse) GetTxid() string
func (*DposNomineeRecordsResponse) ProtoMessage ¶
func (*DposNomineeRecordsResponse) ProtoMessage()
func (*DposNomineeRecordsResponse) Reset ¶
func (m *DposNomineeRecordsResponse) Reset()
func (*DposNomineeRecordsResponse) String ¶
func (m *DposNomineeRecordsResponse) String() string
func (*DposNomineeRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposNomineeRecordsResponse) XXX_DiscardUnknown()
func (*DposNomineeRecordsResponse) XXX_Marshal ¶
func (m *DposNomineeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNomineeRecordsResponse) XXX_Merge ¶
func (dst *DposNomineeRecordsResponse) XXX_Merge(src proto.Message)
func (*DposNomineeRecordsResponse) XXX_Size ¶
func (m *DposNomineeRecordsResponse) XXX_Size() int
func (*DposNomineeRecordsResponse) XXX_Unmarshal ¶
func (m *DposNomineeRecordsResponse) XXX_Unmarshal(b []byte) error
type DposStatus ¶
type DposStatus struct { Term int64 `protobuf:"varint,1,opt,name=term" json:"term,omitempty"` BlockNum int64 `protobuf:"varint,2,opt,name=block_num,json=blockNum" json:"block_num,omitempty"` Proposer string `protobuf:"bytes,3,opt,name=proposer" json:"proposer,omitempty"` ProposerNum int64 `protobuf:"varint,4,opt,name=proposer_num,json=proposerNum" json:"proposer_num,omitempty"` CheckResult []string `protobuf:"bytes,5,rep,name=checkResult" json:"checkResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DposStatus) Descriptor ¶
func (*DposStatus) Descriptor() ([]byte, []int)
func (*DposStatus) GetBlockNum ¶
func (m *DposStatus) GetBlockNum() int64
func (*DposStatus) GetCheckResult ¶
func (m *DposStatus) GetCheckResult() []string
func (*DposStatus) GetProposer ¶
func (m *DposStatus) GetProposer() string
func (*DposStatus) GetProposerNum ¶
func (m *DposStatus) GetProposerNum() int64
func (*DposStatus) GetTerm ¶
func (m *DposStatus) GetTerm() int64
func (*DposStatus) ProtoMessage ¶
func (*DposStatus) ProtoMessage()
func (*DposStatus) Reset ¶
func (m *DposStatus) Reset()
func (*DposStatus) String ¶
func (m *DposStatus) String() string
func (*DposStatus) XXX_DiscardUnknown ¶
func (m *DposStatus) XXX_DiscardUnknown()
func (*DposStatus) XXX_Marshal ¶
func (m *DposStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatus) XXX_Merge ¶
func (dst *DposStatus) XXX_Merge(src proto.Message)
func (*DposStatus) XXX_Size ¶
func (m *DposStatus) XXX_Size() int
func (*DposStatus) XXX_Unmarshal ¶
func (m *DposStatus) XXX_Unmarshal(b []byte) error
type DposStatusRequest ¶
type DposStatusRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query dpos consensus current status request
func (*DposStatusRequest) Descriptor ¶
func (*DposStatusRequest) Descriptor() ([]byte, []int)
func (*DposStatusRequest) GetBcname ¶
func (m *DposStatusRequest) GetBcname() string
func (*DposStatusRequest) GetHeader ¶
func (m *DposStatusRequest) GetHeader() *Header
func (*DposStatusRequest) ProtoMessage ¶
func (*DposStatusRequest) ProtoMessage()
func (*DposStatusRequest) Reset ¶
func (m *DposStatusRequest) Reset()
func (*DposStatusRequest) String ¶
func (m *DposStatusRequest) String() string
func (*DposStatusRequest) XXX_DiscardUnknown ¶
func (m *DposStatusRequest) XXX_DiscardUnknown()
func (*DposStatusRequest) XXX_Marshal ¶
func (m *DposStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatusRequest) XXX_Merge ¶
func (dst *DposStatusRequest) XXX_Merge(src proto.Message)
func (*DposStatusRequest) XXX_Size ¶
func (m *DposStatusRequest) XXX_Size() int
func (*DposStatusRequest) XXX_Unmarshal ¶
func (m *DposStatusRequest) XXX_Unmarshal(b []byte) error
type DposStatusResponse ¶
type DposStatusResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Status *DposStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query dpos consensus current status reply
func (*DposStatusResponse) Descriptor ¶
func (*DposStatusResponse) Descriptor() ([]byte, []int)
func (*DposStatusResponse) GetHeader ¶
func (m *DposStatusResponse) GetHeader() *Header
func (*DposStatusResponse) GetStatus ¶
func (m *DposStatusResponse) GetStatus() *DposStatus
func (*DposStatusResponse) ProtoMessage ¶
func (*DposStatusResponse) ProtoMessage()
func (*DposStatusResponse) Reset ¶
func (m *DposStatusResponse) Reset()
func (*DposStatusResponse) String ¶
func (m *DposStatusResponse) String() string
func (*DposStatusResponse) XXX_DiscardUnknown ¶
func (m *DposStatusResponse) XXX_DiscardUnknown()
func (*DposStatusResponse) XXX_Marshal ¶
func (m *DposStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatusResponse) XXX_Merge ¶
func (dst *DposStatusResponse) XXX_Merge(src proto.Message)
func (*DposStatusResponse) XXX_Size ¶
func (m *DposStatusResponse) XXX_Size() int
func (*DposStatusResponse) XXX_Unmarshal ¶
func (m *DposStatusResponse) XXX_Unmarshal(b []byte) error
type DposVoteRecordsRequest ¶
type DposVoteRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录请求
func (*DposVoteRecordsRequest) Descriptor ¶
func (*DposVoteRecordsRequest) Descriptor() ([]byte, []int)
func (*DposVoteRecordsRequest) GetAddress ¶
func (m *DposVoteRecordsRequest) GetAddress() string
func (*DposVoteRecordsRequest) GetBcname ¶
func (m *DposVoteRecordsRequest) GetBcname() string
func (*DposVoteRecordsRequest) GetHeader ¶
func (m *DposVoteRecordsRequest) GetHeader() *Header
func (*DposVoteRecordsRequest) ProtoMessage ¶
func (*DposVoteRecordsRequest) ProtoMessage()
func (*DposVoteRecordsRequest) Reset ¶
func (m *DposVoteRecordsRequest) Reset()
func (*DposVoteRecordsRequest) String ¶
func (m *DposVoteRecordsRequest) String() string
func (*DposVoteRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposVoteRecordsRequest) XXX_DiscardUnknown()
func (*DposVoteRecordsRequest) XXX_Marshal ¶
func (m *DposVoteRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteRecordsRequest) XXX_Merge ¶
func (dst *DposVoteRecordsRequest) XXX_Merge(src proto.Message)
func (*DposVoteRecordsRequest) XXX_Size ¶
func (m *DposVoteRecordsRequest) XXX_Size() int
func (*DposVoteRecordsRequest) XXX_Unmarshal ¶
func (m *DposVoteRecordsRequest) XXX_Unmarshal(b []byte) error
type DposVoteRecordsResponse ¶
type DposVoteRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // 选民投票txid记录 VoteTxidRecords []*VoteRecord `protobuf:"bytes,2,rep,name=voteTxidRecords" json:"voteTxidRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录返回
func (*DposVoteRecordsResponse) Descriptor ¶
func (*DposVoteRecordsResponse) Descriptor() ([]byte, []int)
func (*DposVoteRecordsResponse) GetHeader ¶
func (m *DposVoteRecordsResponse) GetHeader() *Header
func (*DposVoteRecordsResponse) GetVoteTxidRecords ¶
func (m *DposVoteRecordsResponse) GetVoteTxidRecords() []*VoteRecord
func (*DposVoteRecordsResponse) ProtoMessage ¶
func (*DposVoteRecordsResponse) ProtoMessage()
func (*DposVoteRecordsResponse) Reset ¶
func (m *DposVoteRecordsResponse) Reset()
func (*DposVoteRecordsResponse) String ¶
func (m *DposVoteRecordsResponse) String() string
func (*DposVoteRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposVoteRecordsResponse) XXX_DiscardUnknown()
func (*DposVoteRecordsResponse) XXX_Marshal ¶
func (m *DposVoteRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteRecordsResponse) XXX_Merge ¶
func (dst *DposVoteRecordsResponse) XXX_Merge(src proto.Message)
func (*DposVoteRecordsResponse) XXX_Size ¶
func (m *DposVoteRecordsResponse) XXX_Size() int
func (*DposVoteRecordsResponse) XXX_Unmarshal ¶
func (m *DposVoteRecordsResponse) XXX_Unmarshal(b []byte) error
type DposVotedRecordsRequest ¶
type DposVotedRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录请求
func (*DposVotedRecordsRequest) Descriptor ¶
func (*DposVotedRecordsRequest) Descriptor() ([]byte, []int)
func (*DposVotedRecordsRequest) GetAddress ¶
func (m *DposVotedRecordsRequest) GetAddress() string
func (*DposVotedRecordsRequest) GetBcname ¶
func (m *DposVotedRecordsRequest) GetBcname() string
func (*DposVotedRecordsRequest) GetHeader ¶
func (m *DposVotedRecordsRequest) GetHeader() *Header
func (*DposVotedRecordsRequest) ProtoMessage ¶
func (*DposVotedRecordsRequest) ProtoMessage()
func (*DposVotedRecordsRequest) Reset ¶
func (m *DposVotedRecordsRequest) Reset()
func (*DposVotedRecordsRequest) String ¶
func (m *DposVotedRecordsRequest) String() string
func (*DposVotedRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposVotedRecordsRequest) XXX_DiscardUnknown()
func (*DposVotedRecordsRequest) XXX_Marshal ¶
func (m *DposVotedRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVotedRecordsRequest) XXX_Merge ¶
func (dst *DposVotedRecordsRequest) XXX_Merge(src proto.Message)
func (*DposVotedRecordsRequest) XXX_Size ¶
func (m *DposVotedRecordsRequest) XXX_Size() int
func (*DposVotedRecordsRequest) XXX_Unmarshal ¶
func (m *DposVotedRecordsRequest) XXX_Unmarshal(b []byte) error
type DposVotedRecordsResponse ¶
type DposVotedRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // 候选人被投票的txid记录 VotedTxidRecords []*VotedRecord `protobuf:"bytes,2,rep,name=votedTxidRecords" json:"votedTxidRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录返回
func (*DposVotedRecordsResponse) Descriptor ¶
func (*DposVotedRecordsResponse) Descriptor() ([]byte, []int)
func (*DposVotedRecordsResponse) GetHeader ¶
func (m *DposVotedRecordsResponse) GetHeader() *Header
func (*DposVotedRecordsResponse) GetVotedTxidRecords ¶
func (m *DposVotedRecordsResponse) GetVotedTxidRecords() []*VotedRecord
func (*DposVotedRecordsResponse) ProtoMessage ¶
func (*DposVotedRecordsResponse) ProtoMessage()
func (*DposVotedRecordsResponse) Reset ¶
func (m *DposVotedRecordsResponse) Reset()
func (*DposVotedRecordsResponse) String ¶
func (m *DposVotedRecordsResponse) String() string
func (*DposVotedRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposVotedRecordsResponse) XXX_DiscardUnknown()
func (*DposVotedRecordsResponse) XXX_Marshal ¶
func (m *DposVotedRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVotedRecordsResponse) XXX_Merge ¶
func (dst *DposVotedRecordsResponse) XXX_Merge(src proto.Message)
func (*DposVotedRecordsResponse) XXX_Size ¶
func (m *DposVotedRecordsResponse) XXX_Size() int
func (*DposVotedRecordsResponse) XXX_Unmarshal ¶
func (m *DposVotedRecordsResponse) XXX_Unmarshal(b []byte) error
type GasPrice ¶
type GasPrice struct { CpuRate int64 `protobuf:"varint,1,opt,name=cpu_rate,json=cpuRate" json:"cpu_rate,omitempty"` MemRate int64 `protobuf:"varint,2,opt,name=mem_rate,json=memRate" json:"mem_rate,omitempty"` DiskRate int64 `protobuf:"varint,3,opt,name=disk_rate,json=diskRate" json:"disk_rate,omitempty"` XfeeRate int64 `protobuf:"varint,4,opt,name=xfee_rate,json=xfeeRate" json:"xfee_rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GasPrice) Descriptor ¶
func (*GasPrice) GetCpuRate ¶
func (*GasPrice) GetDiskRate ¶
func (*GasPrice) GetMemRate ¶
func (*GasPrice) GetXfeeRate ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (*GasPrice) XXX_DiscardUnknown ¶
func (m *GasPrice) XXX_DiscardUnknown()
func (*GasPrice) XXX_Marshal ¶
func (*GasPrice) XXX_Unmarshal ¶
type GetAccountContractsRequest ¶
type GetAccountContractsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Account string `protobuf:"bytes,3,opt,name=account" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query account contracts request
func (*GetAccountContractsRequest) Descriptor ¶
func (*GetAccountContractsRequest) Descriptor() ([]byte, []int)
func (*GetAccountContractsRequest) GetAccount ¶
func (m *GetAccountContractsRequest) GetAccount() string
func (*GetAccountContractsRequest) GetBcname ¶
func (m *GetAccountContractsRequest) GetBcname() string
func (*GetAccountContractsRequest) GetHeader ¶
func (m *GetAccountContractsRequest) GetHeader() *Header
func (*GetAccountContractsRequest) ProtoMessage ¶
func (*GetAccountContractsRequest) ProtoMessage()
func (*GetAccountContractsRequest) Reset ¶
func (m *GetAccountContractsRequest) Reset()
func (*GetAccountContractsRequest) String ¶
func (m *GetAccountContractsRequest) String() string
func (*GetAccountContractsRequest) XXX_DiscardUnknown ¶
func (m *GetAccountContractsRequest) XXX_DiscardUnknown()
func (*GetAccountContractsRequest) XXX_Marshal ¶
func (m *GetAccountContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountContractsRequest) XXX_Merge ¶
func (dst *GetAccountContractsRequest) XXX_Merge(src proto.Message)
func (*GetAccountContractsRequest) XXX_Size ¶
func (m *GetAccountContractsRequest) XXX_Size() int
func (*GetAccountContractsRequest) XXX_Unmarshal ¶
func (m *GetAccountContractsRequest) XXX_Unmarshal(b []byte) error
type GetAccountContractsResponse ¶
type GetAccountContractsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` ContractsStatus []*ContractStatus `protobuf:"bytes,2,rep,name=contracts_status,json=contractsStatus" json:"contracts_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query account contracts response
func (*GetAccountContractsResponse) Descriptor ¶
func (*GetAccountContractsResponse) Descriptor() ([]byte, []int)
func (*GetAccountContractsResponse) GetContractsStatus ¶
func (m *GetAccountContractsResponse) GetContractsStatus() []*ContractStatus
func (*GetAccountContractsResponse) GetHeader ¶
func (m *GetAccountContractsResponse) GetHeader() *Header
func (*GetAccountContractsResponse) ProtoMessage ¶
func (*GetAccountContractsResponse) ProtoMessage()
func (*GetAccountContractsResponse) Reset ¶
func (m *GetAccountContractsResponse) Reset()
func (*GetAccountContractsResponse) String ¶
func (m *GetAccountContractsResponse) String() string
func (*GetAccountContractsResponse) XXX_DiscardUnknown ¶
func (m *GetAccountContractsResponse) XXX_DiscardUnknown()
func (*GetAccountContractsResponse) XXX_Marshal ¶
func (m *GetAccountContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountContractsResponse) XXX_Merge ¶
func (dst *GetAccountContractsResponse) XXX_Merge(src proto.Message)
func (*GetAccountContractsResponse) XXX_Size ¶
func (m *GetAccountContractsResponse) XXX_Size() int
func (*GetAccountContractsResponse) XXX_Unmarshal ¶
func (m *GetAccountContractsResponse) XXX_Unmarshal(b []byte) error
type HDInfo ¶
type HDInfo struct { // HDPublickey HdPublicKey []byte `protobuf:"bytes,1,opt,name=hd_public_key,json=hdPublicKey,proto3" json:"hd_public_key,omitempty"` // original_hash OriginalHash []byte `protobuf:"bytes,2,opt,name=original_hash,json=originalHash,proto3" json:"original_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HDInfo) Descriptor ¶
func (*HDInfo) GetHdPublicKey ¶
func (*HDInfo) GetOriginalHash ¶
func (*HDInfo) ProtoMessage ¶
func (*HDInfo) ProtoMessage()
func (*HDInfo) XXX_DiscardUnknown ¶
func (m *HDInfo) XXX_DiscardUnknown()
func (*HDInfo) XXX_Marshal ¶
func (*HDInfo) XXX_Unmarshal ¶
type Header ¶
type Header struct { Logid string `protobuf:"bytes,1,opt,name=logid" json:"logid,omitempty"` FromNode string `protobuf:"bytes,2,opt,name=from_node,json=fromNode" json:"from_node,omitempty"` Error XChainErrorEnum `protobuf:"varint,3,opt,name=error,enum=pb.XChainErrorEnum" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetError ¶
func (m *Header) GetError() XChainErrorEnum
func (*Header) GetFromNode ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type IdentityAuth ¶
type IdentityAuth struct { Sign []byte `protobuf:"bytes,1,opt,name=sign,proto3" json:"sign,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr" json:"addr,omitempty"` PeerID string `protobuf:"bytes,4,opt,name=peerID" json:"peerID,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identity authentication request
func (*IdentityAuth) Descriptor ¶
func (*IdentityAuth) Descriptor() ([]byte, []int)
func (*IdentityAuth) GetAddr ¶
func (m *IdentityAuth) GetAddr() string
func (*IdentityAuth) GetPeerID ¶
func (m *IdentityAuth) GetPeerID() string
func (*IdentityAuth) GetPubkey ¶
func (m *IdentityAuth) GetPubkey() []byte
func (*IdentityAuth) GetSign ¶
func (m *IdentityAuth) GetSign() []byte
func (*IdentityAuth) GetTimestamp ¶
func (m *IdentityAuth) GetTimestamp() string
func (*IdentityAuth) ProtoMessage ¶
func (*IdentityAuth) ProtoMessage()
func (*IdentityAuth) Reset ¶
func (m *IdentityAuth) Reset()
func (*IdentityAuth) String ¶
func (m *IdentityAuth) String() string
func (*IdentityAuth) XXX_DiscardUnknown ¶
func (m *IdentityAuth) XXX_DiscardUnknown()
func (*IdentityAuth) XXX_Marshal ¶
func (m *IdentityAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityAuth) XXX_Merge ¶
func (dst *IdentityAuth) XXX_Merge(src proto.Message)
func (*IdentityAuth) XXX_Size ¶
func (m *IdentityAuth) XXX_Size() int
func (*IdentityAuth) XXX_Unmarshal ¶
func (m *IdentityAuth) XXX_Unmarshal(b []byte) error
type IdentityAuths ¶
type IdentityAuths struct { Auth []*IdentityAuth `protobuf:"bytes,1,rep,name=auth" json:"auth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identity authentication requests
func (*IdentityAuths) Descriptor ¶
func (*IdentityAuths) Descriptor() ([]byte, []int)
func (*IdentityAuths) GetAuth ¶
func (m *IdentityAuths) GetAuth() []*IdentityAuth
func (*IdentityAuths) ProtoMessage ¶
func (*IdentityAuths) ProtoMessage()
func (*IdentityAuths) Reset ¶
func (m *IdentityAuths) Reset()
func (*IdentityAuths) String ¶
func (m *IdentityAuths) String() string
func (*IdentityAuths) XXX_DiscardUnknown ¶
func (m *IdentityAuths) XXX_DiscardUnknown()
func (*IdentityAuths) XXX_Marshal ¶
func (m *IdentityAuths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityAuths) XXX_Merge ¶
func (dst *IdentityAuths) XXX_Merge(src proto.Message)
func (*IdentityAuths) XXX_Size ¶
func (m *IdentityAuths) XXX_Size() int
func (*IdentityAuths) XXX_Unmarshal ¶
func (m *IdentityAuths) XXX_Unmarshal(b []byte) error
type InternalBlock ¶
type InternalBlock struct { // block version Version int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` // Random number used to avoid replay attacks Nonce int32 `protobuf:"varint,2,opt,name=nonce" json:"nonce,omitempty"` // blockid generate the hash sign of the block used by sha256 Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` // pre_hash is the parent blockid of the block PreHash []byte `protobuf:"bytes,4,opt,name=pre_hash,json=preHash,proto3" json:"pre_hash,omitempty"` // The miner id Proposer []byte `protobuf:"bytes,5,opt,name=proposer,proto3" json:"proposer,omitempty"` // The sign which miner signed: blockid + nonce + timestamp Sign []byte `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` // The pk of the miner Pubkey []byte `protobuf:"bytes,7,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // The Merkle Tree root MerkleRoot []byte `protobuf:"bytes,8,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // The height of the blockchain Height int64 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"` // Timestamp of the block Timestamp int64 `protobuf:"varint,10,opt,name=timestamp" json:"timestamp,omitempty"` // Transactions of the block, only txid stored on kv, the detail information // stored in another table Transactions []*Transaction `protobuf:"bytes,11,rep,name=transactions" json:"transactions,omitempty"` // The transaction count of the block TxCount int32 `protobuf:"varint,12,opt,name=tx_count,json=txCount" json:"tx_count,omitempty"` // 所有交易hash的merkle tree MerkleTree [][]byte `protobuf:"bytes,13,rep,name=merkle_tree,json=merkleTree,proto3" json:"merkle_tree,omitempty"` CurTerm int64 `protobuf:"varint,16,opt,name=curTerm" json:"curTerm,omitempty"` CurBlockNum int64 `protobuf:"varint,17,opt,name=curBlockNum" json:"curBlockNum,omitempty"` FailedTxs map[string]string `` /* 156-byte string literal not displayed */ TargetBits int32 `protobuf:"varint,19,opt,name=targetBits" json:"targetBits,omitempty"` // Justify used in chained-bft Justify *QuorumCert `protobuf:"bytes,20,opt,name=Justify" json:"Justify,omitempty"` // 下面的属性会动态变化 // If the block is on the trunk InTrunk bool `protobuf:"varint,14,opt,name=in_trunk,json=inTrunk" json:"in_trunk,omitempty"` // Next next block which on trunk NextHash []byte `protobuf:"bytes,15,opt,name=next_hash,json=nextHash,proto3" json:"next_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The internal block struct
func (*InternalBlock) Descriptor ¶
func (*InternalBlock) Descriptor() ([]byte, []int)
func (*InternalBlock) GetBlockid ¶
func (m *InternalBlock) GetBlockid() []byte
func (*InternalBlock) GetCurBlockNum ¶
func (m *InternalBlock) GetCurBlockNum() int64
func (*InternalBlock) GetCurTerm ¶
func (m *InternalBlock) GetCurTerm() int64
func (*InternalBlock) GetFailedTxs ¶
func (m *InternalBlock) GetFailedTxs() map[string]string
func (*InternalBlock) GetHeight ¶
func (m *InternalBlock) GetHeight() int64
func (*InternalBlock) GetInTrunk ¶
func (m *InternalBlock) GetInTrunk() bool
func (*InternalBlock) GetJustify ¶
func (m *InternalBlock) GetJustify() *QuorumCert
func (*InternalBlock) GetMerkleRoot ¶
func (m *InternalBlock) GetMerkleRoot() []byte
func (*InternalBlock) GetMerkleTree ¶
func (m *InternalBlock) GetMerkleTree() [][]byte
func (*InternalBlock) GetNextHash ¶
func (m *InternalBlock) GetNextHash() []byte
func (*InternalBlock) GetNonce ¶
func (m *InternalBlock) GetNonce() int32
func (*InternalBlock) GetPreHash ¶
func (m *InternalBlock) GetPreHash() []byte
func (*InternalBlock) GetProposer ¶
func (m *InternalBlock) GetProposer() []byte
func (*InternalBlock) GetPubkey ¶
func (m *InternalBlock) GetPubkey() []byte
func (*InternalBlock) GetSign ¶
func (m *InternalBlock) GetSign() []byte
func (*InternalBlock) GetTargetBits ¶
func (m *InternalBlock) GetTargetBits() int32
func (*InternalBlock) GetTimestamp ¶
func (m *InternalBlock) GetTimestamp() int64
func (*InternalBlock) GetTransactions ¶
func (m *InternalBlock) GetTransactions() []*Transaction
func (*InternalBlock) GetTxCount ¶
func (m *InternalBlock) GetTxCount() int32
func (*InternalBlock) GetVersion ¶
func (m *InternalBlock) GetVersion() int32
func (*InternalBlock) ProtoMessage ¶
func (*InternalBlock) ProtoMessage()
func (*InternalBlock) Reset ¶
func (m *InternalBlock) Reset()
func (*InternalBlock) String ¶
func (m *InternalBlock) String() string
func (*InternalBlock) XXX_DiscardUnknown ¶
func (m *InternalBlock) XXX_DiscardUnknown()
func (*InternalBlock) XXX_Marshal ¶
func (m *InternalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalBlock) XXX_Merge ¶
func (dst *InternalBlock) XXX_Merge(src proto.Message)
func (*InternalBlock) XXX_Size ¶
func (m *InternalBlock) XXX_Size() int
func (*InternalBlock) XXX_Unmarshal ¶
func (m *InternalBlock) XXX_Unmarshal(b []byte) error
type InvokeRPCRequest ¶
type InvokeRPCRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Requests []*InvokeRequest `protobuf:"bytes,3,rep,name=requests" json:"requests,omitempty"` Initiator string `protobuf:"bytes,4,opt,name=initiator" json:"initiator,omitempty"` AuthRequire []string `protobuf:"bytes,5,rep,name=auth_require,json=authRequire" json:"auth_require,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvokeRPCRequest) Descriptor ¶
func (*InvokeRPCRequest) Descriptor() ([]byte, []int)
func (*InvokeRPCRequest) GetAuthRequire ¶
func (m *InvokeRPCRequest) GetAuthRequire() []string
func (*InvokeRPCRequest) GetBcname ¶
func (m *InvokeRPCRequest) GetBcname() string
func (*InvokeRPCRequest) GetHeader ¶
func (m *InvokeRPCRequest) GetHeader() *Header
func (*InvokeRPCRequest) GetInitiator ¶
func (m *InvokeRPCRequest) GetInitiator() string
func (*InvokeRPCRequest) GetRequests ¶
func (m *InvokeRPCRequest) GetRequests() []*InvokeRequest
func (*InvokeRPCRequest) ProtoMessage ¶
func (*InvokeRPCRequest) ProtoMessage()
func (*InvokeRPCRequest) Reset ¶
func (m *InvokeRPCRequest) Reset()
func (*InvokeRPCRequest) String ¶
func (m *InvokeRPCRequest) String() string
func (*InvokeRPCRequest) XXX_DiscardUnknown ¶
func (m *InvokeRPCRequest) XXX_DiscardUnknown()
func (*InvokeRPCRequest) XXX_Marshal ¶
func (m *InvokeRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRPCRequest) XXX_Merge ¶
func (dst *InvokeRPCRequest) XXX_Merge(src proto.Message)
func (*InvokeRPCRequest) XXX_Size ¶
func (m *InvokeRPCRequest) XXX_Size() int
func (*InvokeRPCRequest) XXX_Unmarshal ¶
func (m *InvokeRPCRequest) XXX_Unmarshal(b []byte) error
type InvokeRPCResponse ¶
type InvokeRPCResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Response *InvokeResponse `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvokeRPCResponse) Descriptor ¶
func (*InvokeRPCResponse) Descriptor() ([]byte, []int)
func (*InvokeRPCResponse) GetBcname ¶
func (m *InvokeRPCResponse) GetBcname() string
func (*InvokeRPCResponse) GetHeader ¶
func (m *InvokeRPCResponse) GetHeader() *Header
func (*InvokeRPCResponse) GetResponse ¶
func (m *InvokeRPCResponse) GetResponse() *InvokeResponse
func (*InvokeRPCResponse) ProtoMessage ¶
func (*InvokeRPCResponse) ProtoMessage()
func (*InvokeRPCResponse) Reset ¶
func (m *InvokeRPCResponse) Reset()
func (*InvokeRPCResponse) String ¶
func (m *InvokeRPCResponse) String() string
func (*InvokeRPCResponse) XXX_DiscardUnknown ¶
func (m *InvokeRPCResponse) XXX_DiscardUnknown()
func (*InvokeRPCResponse) XXX_Marshal ¶
func (m *InvokeRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRPCResponse) XXX_Merge ¶
func (dst *InvokeRPCResponse) XXX_Merge(src proto.Message)
func (*InvokeRPCResponse) XXX_Size ¶
func (m *InvokeRPCResponse) XXX_Size() int
func (*InvokeRPCResponse) XXX_Unmarshal ¶
func (m *InvokeRPCResponse) XXX_Unmarshal(b []byte) error
type InvokeRequest ¶
type InvokeRequest struct { ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName" json:"module_name,omitempty"` ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName" json:"contract_name,omitempty"` MethodName string `protobuf:"bytes,3,opt,name=method_name,json=methodName" json:"method_name,omitempty"` Args map[string][]byte `` /* 135-byte string literal not displayed */ ResourceLimits []*ResourceLimit `protobuf:"bytes,5,rep,name=resource_limits,json=resourceLimits" json:"resource_limits,omitempty"` // amount is the amount transfer to the contract // attention: In one transaction, transfer to only one contract is allowed Amount string `protobuf:"bytes,6,opt,name=amount" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
预执行的请求结构
func (*InvokeRequest) Descriptor ¶
func (*InvokeRequest) Descriptor() ([]byte, []int)
func (*InvokeRequest) GetAmount ¶
func (m *InvokeRequest) GetAmount() string
func (*InvokeRequest) GetArgs ¶
func (m *InvokeRequest) GetArgs() map[string][]byte
func (*InvokeRequest) GetContractName ¶
func (m *InvokeRequest) GetContractName() string
func (*InvokeRequest) GetMethodName ¶
func (m *InvokeRequest) GetMethodName() string
func (*InvokeRequest) GetModuleName ¶
func (m *InvokeRequest) GetModuleName() string
func (*InvokeRequest) GetResourceLimits ¶
func (m *InvokeRequest) GetResourceLimits() []*ResourceLimit
func (*InvokeRequest) ProtoMessage ¶
func (*InvokeRequest) ProtoMessage()
func (*InvokeRequest) Reset ¶
func (m *InvokeRequest) Reset()
func (*InvokeRequest) String ¶
func (m *InvokeRequest) String() string
func (*InvokeRequest) XXX_DiscardUnknown ¶
func (m *InvokeRequest) XXX_DiscardUnknown()
func (*InvokeRequest) XXX_Marshal ¶
func (m *InvokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRequest) XXX_Merge ¶
func (dst *InvokeRequest) XXX_Merge(src proto.Message)
func (*InvokeRequest) XXX_Size ¶
func (m *InvokeRequest) XXX_Size() int
func (*InvokeRequest) XXX_Unmarshal ¶
func (m *InvokeRequest) XXX_Unmarshal(b []byte) error
type InvokeResponse ¶
type InvokeResponse struct { Inputs []*TxInputExt `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"` Outputs []*TxOutputExt `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"` Response [][]byte `protobuf:"bytes,3,rep,name=response,proto3" json:"response,omitempty"` GasUsed int64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed" json:"gas_used,omitempty"` Requests []*InvokeRequest `protobuf:"bytes,5,rep,name=requests" json:"requests,omitempty"` Responses []*ContractResponse `protobuf:"bytes,6,rep,name=responses" json:"responses,omitempty"` UtxoInputs []*TxInput `protobuf:"bytes,7,rep,name=utxoInputs" json:"utxoInputs,omitempty"` UtxoOutputs []*TxOutput `protobuf:"bytes,8,rep,name=utxoOutputs" json:"utxoOutputs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
预执行的返回结构
func (*InvokeResponse) Descriptor ¶
func (*InvokeResponse) Descriptor() ([]byte, []int)
func (*InvokeResponse) GetGasUsed ¶
func (m *InvokeResponse) GetGasUsed() int64
func (*InvokeResponse) GetInputs ¶
func (m *InvokeResponse) GetInputs() []*TxInputExt
func (*InvokeResponse) GetOutputs ¶
func (m *InvokeResponse) GetOutputs() []*TxOutputExt
func (*InvokeResponse) GetRequests ¶
func (m *InvokeResponse) GetRequests() []*InvokeRequest
func (*InvokeResponse) GetResponse ¶
func (m *InvokeResponse) GetResponse() [][]byte
func (*InvokeResponse) GetResponses ¶
func (m *InvokeResponse) GetResponses() []*ContractResponse
func (*InvokeResponse) GetUtxoInputs ¶
func (m *InvokeResponse) GetUtxoInputs() []*TxInput
func (*InvokeResponse) GetUtxoOutputs ¶
func (m *InvokeResponse) GetUtxoOutputs() []*TxOutput
func (*InvokeResponse) ProtoMessage ¶
func (*InvokeResponse) ProtoMessage()
func (*InvokeResponse) Reset ¶
func (m *InvokeResponse) Reset()
func (*InvokeResponse) String ¶
func (m *InvokeResponse) String() string
func (*InvokeResponse) XXX_DiscardUnknown ¶
func (m *InvokeResponse) XXX_DiscardUnknown()
func (*InvokeResponse) XXX_Marshal ¶
func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeResponse) XXX_Merge ¶
func (dst *InvokeResponse) XXX_Merge(src proto.Message)
func (*InvokeResponse) XXX_Size ¶
func (m *InvokeResponse) XXX_Size() int
func (*InvokeResponse) XXX_Unmarshal ¶
func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
type LedgerMeta ¶
type LedgerMeta struct { // root block id RootBlockid []byte `protobuf:"bytes,1,opt,name=root_blockid,json=rootBlockid,proto3" json:"root_blockid,omitempty"` // tip block id TipBlockid []byte `protobuf:"bytes,2,opt,name=tip_blockid,json=tipBlockid,proto3" json:"tip_blockid,omitempty"` // the height of the trunk TrunkHeight int64 `protobuf:"varint,3,opt,name=trunk_height,json=trunkHeight" json:"trunk_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Ledger metadata
func (*LedgerMeta) Descriptor ¶
func (*LedgerMeta) Descriptor() ([]byte, []int)
func (*LedgerMeta) GetRootBlockid ¶
func (m *LedgerMeta) GetRootBlockid() []byte
func (*LedgerMeta) GetTipBlockid ¶
func (m *LedgerMeta) GetTipBlockid() []byte
func (*LedgerMeta) GetTrunkHeight ¶
func (m *LedgerMeta) GetTrunkHeight() int64
func (*LedgerMeta) ProtoMessage ¶
func (*LedgerMeta) ProtoMessage()
func (*LedgerMeta) Reset ¶
func (m *LedgerMeta) Reset()
func (*LedgerMeta) String ¶
func (m *LedgerMeta) String() string
func (*LedgerMeta) XXX_DiscardUnknown ¶
func (m *LedgerMeta) XXX_DiscardUnknown()
func (*LedgerMeta) XXX_Marshal ¶
func (m *LedgerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerMeta) XXX_Merge ¶
func (dst *LedgerMeta) XXX_Merge(src proto.Message)
func (*LedgerMeta) XXX_Size ¶
func (m *LedgerMeta) XXX_Size() int
func (*LedgerMeta) XXX_Unmarshal ¶
func (m *LedgerMeta) XXX_Unmarshal(b []byte) error
type ModifyBlock ¶
type ModifyBlock struct { // txid交易被effective_txid的交易提出可修改区块链的请求 EffectiveTxid string `protobuf:"bytes,1,opt,name=effective_txid,json=effectiveTxid" json:"effective_txid,omitempty"` // 本交易是否已被修改标记 Marked bool `protobuf:"varint,2,opt,name=marked" json:"marked,omitempty"` // txid交易被修改生效的高度 EffectiveHeight int64 `protobuf:"varint,3,opt,name=effective_height,json=effectiveHeight" json:"effective_height,omitempty"` // 监管的public key PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // 监管地址对修改的交易id的签名 Sign string `protobuf:"bytes,5,opt,name=sign" json:"sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyBlock) Descriptor ¶
func (*ModifyBlock) Descriptor() ([]byte, []int)
func (*ModifyBlock) GetEffectiveHeight ¶
func (m *ModifyBlock) GetEffectiveHeight() int64
func (*ModifyBlock) GetEffectiveTxid ¶
func (m *ModifyBlock) GetEffectiveTxid() string
func (*ModifyBlock) GetMarked ¶
func (m *ModifyBlock) GetMarked() bool
func (*ModifyBlock) GetPublicKey ¶
func (m *ModifyBlock) GetPublicKey() string
func (*ModifyBlock) GetSign ¶
func (m *ModifyBlock) GetSign() string
func (*ModifyBlock) ProtoMessage ¶
func (*ModifyBlock) ProtoMessage()
func (*ModifyBlock) Reset ¶
func (m *ModifyBlock) Reset()
func (*ModifyBlock) String ¶
func (m *ModifyBlock) String() string
func (*ModifyBlock) XXX_DiscardUnknown ¶
func (m *ModifyBlock) XXX_DiscardUnknown()
func (*ModifyBlock) XXX_Marshal ¶
func (m *ModifyBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyBlock) XXX_Merge ¶
func (dst *ModifyBlock) XXX_Merge(src proto.Message)
func (*ModifyBlock) XXX_Size ¶
func (m *ModifyBlock) XXX_Size() int
func (*ModifyBlock) XXX_Unmarshal ¶
func (m *ModifyBlock) XXX_Unmarshal(b []byte) error
type NativeCodeDesc ¶
type NativeCodeDesc struct { // native code name Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // code version Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` // digest of binary Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // the previous verion PrevVersion string `protobuf:"bytes,4,opt,name=prevVersion" json:"prevVersion,omitempty"` // xuper api version XuperApiVersion int32 `protobuf:"varint,5,opt,name=xuperApiVersion" json:"xuperApiVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeDesc) Descriptor ¶
func (*NativeCodeDesc) Descriptor() ([]byte, []int)
func (*NativeCodeDesc) GetDigest ¶
func (m *NativeCodeDesc) GetDigest() []byte
func (*NativeCodeDesc) GetName ¶
func (m *NativeCodeDesc) GetName() string
func (*NativeCodeDesc) GetPrevVersion ¶
func (m *NativeCodeDesc) GetPrevVersion() string
func (*NativeCodeDesc) GetVersion ¶
func (m *NativeCodeDesc) GetVersion() string
func (*NativeCodeDesc) GetXuperApiVersion ¶
func (m *NativeCodeDesc) GetXuperApiVersion() int32
func (*NativeCodeDesc) ProtoMessage ¶
func (*NativeCodeDesc) ProtoMessage()
func (*NativeCodeDesc) Reset ¶
func (m *NativeCodeDesc) Reset()
func (*NativeCodeDesc) String ¶
func (m *NativeCodeDesc) String() string
func (*NativeCodeDesc) XXX_DiscardUnknown ¶
func (m *NativeCodeDesc) XXX_DiscardUnknown()
func (*NativeCodeDesc) XXX_Marshal ¶
func (m *NativeCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeDesc) XXX_Merge ¶
func (dst *NativeCodeDesc) XXX_Merge(src proto.Message)
func (*NativeCodeDesc) XXX_Size ¶
func (m *NativeCodeDesc) XXX_Size() int
func (*NativeCodeDesc) XXX_Unmarshal ¶
func (m *NativeCodeDesc) XXX_Unmarshal(b []byte) error
type NativeCodeStatus ¶
type NativeCodeStatus struct { Desc *NativeCodeDesc `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status" json:"status,omitempty"` Healthy bool `protobuf:"varint,3,opt,name=healthy" json:"healthy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeStatus) Descriptor ¶
func (*NativeCodeStatus) Descriptor() ([]byte, []int)
func (*NativeCodeStatus) GetDesc ¶
func (m *NativeCodeStatus) GetDesc() *NativeCodeDesc
func (*NativeCodeStatus) GetHealthy ¶
func (m *NativeCodeStatus) GetHealthy() bool
func (*NativeCodeStatus) GetStatus ¶
func (m *NativeCodeStatus) GetStatus() int32
func (*NativeCodeStatus) ProtoMessage ¶
func (*NativeCodeStatus) ProtoMessage()
func (*NativeCodeStatus) Reset ¶
func (m *NativeCodeStatus) Reset()
func (*NativeCodeStatus) String ¶
func (m *NativeCodeStatus) String() string
func (*NativeCodeStatus) XXX_DiscardUnknown ¶
func (m *NativeCodeStatus) XXX_DiscardUnknown()
func (*NativeCodeStatus) XXX_Marshal ¶
func (m *NativeCodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeStatus) XXX_Merge ¶
func (dst *NativeCodeStatus) XXX_Merge(src proto.Message)
func (*NativeCodeStatus) XXX_Size ¶
func (m *NativeCodeStatus) XXX_Size() int
func (*NativeCodeStatus) XXX_Unmarshal ¶
func (m *NativeCodeStatus) XXX_Unmarshal(b []byte) error
type PermissionModel ¶
type PermissionModel struct { Rule PermissionRule `protobuf:"varint,1,opt,name=rule,enum=pb.PermissionRule" json:"rule,omitempty"` AcceptValue float64 `protobuf:"fixed64,2,opt,name=acceptValue" json:"acceptValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PermissionModel) Descriptor ¶
func (*PermissionModel) Descriptor() ([]byte, []int)
func (*PermissionModel) GetAcceptValue ¶
func (m *PermissionModel) GetAcceptValue() float64
func (*PermissionModel) GetRule ¶
func (m *PermissionModel) GetRule() PermissionRule
func (*PermissionModel) ProtoMessage ¶
func (*PermissionModel) ProtoMessage()
func (*PermissionModel) Reset ¶
func (m *PermissionModel) Reset()
func (*PermissionModel) String ¶
func (m *PermissionModel) String() string
func (*PermissionModel) XXX_DiscardUnknown ¶
func (m *PermissionModel) XXX_DiscardUnknown()
func (*PermissionModel) XXX_Marshal ¶
func (m *PermissionModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PermissionModel) XXX_Merge ¶
func (dst *PermissionModel) XXX_Merge(src proto.Message)
func (*PermissionModel) XXX_Size ¶
func (m *PermissionModel) XXX_Size() int
func (*PermissionModel) XXX_Unmarshal ¶
func (m *PermissionModel) XXX_Unmarshal(b []byte) error
type PermissionRule ¶
type PermissionRule int32
-------- Account and Permission Section --------
const ( PermissionRule_NULL PermissionRule = 0 PermissionRule_SIGN_THRESHOLD PermissionRule = 1 PermissionRule_SIGN_AKSET PermissionRule = 2 PermissionRule_SIGN_RATE PermissionRule = 3 PermissionRule_SIGN_SUM PermissionRule = 4 PermissionRule_CA_SERVER PermissionRule = 5 PermissionRule_COMMUNITY_VOTE PermissionRule = 6 )
func (PermissionRule) EnumDescriptor ¶
func (PermissionRule) EnumDescriptor() ([]byte, []int)
func (PermissionRule) String ¶
func (x PermissionRule) String() string
type PreExecWithSelectUTXORequest ¶
type PreExecWithSelectUTXORequest struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` TotalAmount int64 `protobuf:"varint,4,opt,name=totalAmount" json:"totalAmount,omitempty"` SignInfo *SignatureInfo `protobuf:"bytes,6,opt,name=signInfo" json:"signInfo,omitempty"` NeedLock bool `protobuf:"varint,7,opt,name=needLock" json:"needLock,omitempty"` Request *InvokeRPCRequest `protobuf:"bytes,5,opt,name=request" json:"request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PreExecWithSelectUTXORequest preExec + selectUtxo for request
func (*PreExecWithSelectUTXORequest) Descriptor ¶
func (*PreExecWithSelectUTXORequest) Descriptor() ([]byte, []int)
func (*PreExecWithSelectUTXORequest) GetAddress ¶
func (m *PreExecWithSelectUTXORequest) GetAddress() string
func (*PreExecWithSelectUTXORequest) GetBcname ¶
func (m *PreExecWithSelectUTXORequest) GetBcname() string
func (*PreExecWithSelectUTXORequest) GetHeader ¶
func (m *PreExecWithSelectUTXORequest) GetHeader() *Header
func (*PreExecWithSelectUTXORequest) GetNeedLock ¶
func (m *PreExecWithSelectUTXORequest) GetNeedLock() bool
func (*PreExecWithSelectUTXORequest) GetRequest ¶
func (m *PreExecWithSelectUTXORequest) GetRequest() *InvokeRPCRequest
func (*PreExecWithSelectUTXORequest) GetSignInfo ¶
func (m *PreExecWithSelectUTXORequest) GetSignInfo() *SignatureInfo
func (*PreExecWithSelectUTXORequest) GetTotalAmount ¶
func (m *PreExecWithSelectUTXORequest) GetTotalAmount() int64
func (*PreExecWithSelectUTXORequest) ProtoMessage ¶
func (*PreExecWithSelectUTXORequest) ProtoMessage()
func (*PreExecWithSelectUTXORequest) Reset ¶
func (m *PreExecWithSelectUTXORequest) Reset()
func (*PreExecWithSelectUTXORequest) String ¶
func (m *PreExecWithSelectUTXORequest) String() string
func (*PreExecWithSelectUTXORequest) XXX_DiscardUnknown ¶
func (m *PreExecWithSelectUTXORequest) XXX_DiscardUnknown()
func (*PreExecWithSelectUTXORequest) XXX_Marshal ¶
func (m *PreExecWithSelectUTXORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PreExecWithSelectUTXORequest) XXX_Merge ¶
func (dst *PreExecWithSelectUTXORequest) XXX_Merge(src proto.Message)
func (*PreExecWithSelectUTXORequest) XXX_Size ¶
func (m *PreExecWithSelectUTXORequest) XXX_Size() int
func (*PreExecWithSelectUTXORequest) XXX_Unmarshal ¶
func (m *PreExecWithSelectUTXORequest) XXX_Unmarshal(b []byte) error
type PreExecWithSelectUTXOResponse ¶
type PreExecWithSelectUTXOResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Response *InvokeResponse `protobuf:"bytes,3,opt,name=response" json:"response,omitempty"` // for preExec & selectUTXO UtxoOutput *UtxoOutput `protobuf:"bytes,4,opt,name=utxoOutput" json:"utxoOutput,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PreExecWithSelectUTXOResponse preExec + selectUtxo for response
func (*PreExecWithSelectUTXOResponse) Descriptor ¶
func (*PreExecWithSelectUTXOResponse) Descriptor() ([]byte, []int)
func (*PreExecWithSelectUTXOResponse) GetBcname ¶
func (m *PreExecWithSelectUTXOResponse) GetBcname() string
func (*PreExecWithSelectUTXOResponse) GetHeader ¶
func (m *PreExecWithSelectUTXOResponse) GetHeader() *Header
func (*PreExecWithSelectUTXOResponse) GetResponse ¶
func (m *PreExecWithSelectUTXOResponse) GetResponse() *InvokeResponse
func (*PreExecWithSelectUTXOResponse) GetUtxoOutput ¶
func (m *PreExecWithSelectUTXOResponse) GetUtxoOutput() *UtxoOutput
func (*PreExecWithSelectUTXOResponse) ProtoMessage ¶
func (*PreExecWithSelectUTXOResponse) ProtoMessage()
func (*PreExecWithSelectUTXOResponse) Reset ¶
func (m *PreExecWithSelectUTXOResponse) Reset()
func (*PreExecWithSelectUTXOResponse) String ¶
func (m *PreExecWithSelectUTXOResponse) String() string
func (*PreExecWithSelectUTXOResponse) XXX_DiscardUnknown ¶
func (m *PreExecWithSelectUTXOResponse) XXX_DiscardUnknown()
func (*PreExecWithSelectUTXOResponse) XXX_Marshal ¶
func (m *PreExecWithSelectUTXOResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PreExecWithSelectUTXOResponse) XXX_Merge ¶
func (dst *PreExecWithSelectUTXOResponse) XXX_Merge(src proto.Message)
func (*PreExecWithSelectUTXOResponse) XXX_Size ¶
func (m *PreExecWithSelectUTXOResponse) XXX_Size() int
func (*PreExecWithSelectUTXOResponse) XXX_Unmarshal ¶
func (m *PreExecWithSelectUTXOResponse) XXX_Unmarshal(b []byte) error
type QCSignInfos ¶
type QCSignInfos struct { // QCSignInfos QCSignInfos []*SignInfo `protobuf:"bytes,1,rep,name=QCSignInfos,proto3" json:"QCSignInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QCSignInfos is the signs of the leader gathered from replicas of a specifically certType. A slice of signs is used at present. TODO @qizheng09: It will be change to Threshold-Signatures after Crypto lib support Threshold-Signatures.
func (*QCSignInfos) Descriptor ¶
func (*QCSignInfos) Descriptor() ([]byte, []int)
func (*QCSignInfos) GetQCSignInfos ¶
func (m *QCSignInfos) GetQCSignInfos() []*SignInfo
func (*QCSignInfos) ProtoMessage ¶
func (*QCSignInfos) ProtoMessage()
func (*QCSignInfos) Reset ¶
func (m *QCSignInfos) Reset()
func (*QCSignInfos) String ¶
func (m *QCSignInfos) String() string
func (*QCSignInfos) XXX_DiscardUnknown ¶
func (m *QCSignInfos) XXX_DiscardUnknown()
func (*QCSignInfos) XXX_Marshal ¶
func (m *QCSignInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QCSignInfos) XXX_Merge ¶
func (m *QCSignInfos) XXX_Merge(src proto.Message)
func (*QCSignInfos) XXX_Size ¶
func (m *QCSignInfos) XXX_Size() int
func (*QCSignInfos) XXX_Unmarshal ¶
func (m *QCSignInfos) XXX_Unmarshal(b []byte) error
type QuorumCert ¶
type QuorumCert struct { // The id of Proposal this QC certified. ProposalId []byte `protobuf:"bytes,1,opt,name=ProposalId,proto3" json:"ProposalId,omitempty"` // The msg of Proposal this QC certified. ProposalMsg []byte `protobuf:"bytes,2,opt,name=ProposalMsg,proto3" json:"ProposalMsg,omitempty"` // The current type of this QC certified. // the type contains `NEW_VIEW`, `PREPARE` Type QCState `protobuf:"varint,3,opt,name=Type,proto3,enum=pb.QCState" json:"Type,omitempty"` // The view number of this QC certified. ViewNumber int64 `protobuf:"varint,4,opt,name=ViewNumber,proto3" json:"ViewNumber,omitempty"` // SignInfos is the signs of the leader gathered from replicas // of a specifically certType. SignInfos *QCSignInfos `protobuf:"bytes,5,opt,name=SignInfos,proto3" json:"SignInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QuorumCert is a data type that combines a collection of signatures from replicas.
func (*QuorumCert) Descriptor ¶
func (*QuorumCert) Descriptor() ([]byte, []int)
func (*QuorumCert) GetProposalId ¶
func (m *QuorumCert) GetProposalId() []byte
func (*QuorumCert) GetProposalMsg ¶
func (m *QuorumCert) GetProposalMsg() []byte
func (*QuorumCert) GetSignInfos ¶
func (m *QuorumCert) GetSignInfos() *QCSignInfos
func (*QuorumCert) GetType ¶
func (m *QuorumCert) GetType() QCState
func (*QuorumCert) GetViewNumber ¶
func (m *QuorumCert) GetViewNumber() int64
func (*QuorumCert) ProtoMessage ¶
func (*QuorumCert) ProtoMessage()
func (*QuorumCert) Reset ¶
func (m *QuorumCert) Reset()
func (*QuorumCert) String ¶
func (m *QuorumCert) String() string
func (*QuorumCert) XXX_DiscardUnknown ¶
func (m *QuorumCert) XXX_DiscardUnknown()
func (*QuorumCert) XXX_Marshal ¶
func (m *QuorumCert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuorumCert) XXX_Merge ¶
func (m *QuorumCert) XXX_Merge(src proto.Message)
func (*QuorumCert) XXX_Size ¶
func (m *QuorumCert) XXX_Size() int
func (*QuorumCert) XXX_Unmarshal ¶
func (m *QuorumCert) XXX_Unmarshal(b []byte) error
type RawUrl ¶
type RawUrl struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` RawUrl string `protobuf:"bytes,2,opt,name=rawUrl" json:"rawUrl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RawUrl return the node's connect url
func (*RawUrl) Descriptor ¶
func (*RawUrl) ProtoMessage ¶
func (*RawUrl) ProtoMessage()
func (*RawUrl) XXX_DiscardUnknown ¶
func (m *RawUrl) XXX_DiscardUnknown()
func (*RawUrl) XXX_Marshal ¶
func (*RawUrl) XXX_Unmarshal ¶
type ResourceLimit ¶
type ResourceLimit struct { Type ResourceType `protobuf:"varint,1,opt,name=type,enum=pb.ResourceType" json:"type,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResourceLimit) Descriptor ¶
func (*ResourceLimit) Descriptor() ([]byte, []int)
func (*ResourceLimit) GetLimit ¶
func (m *ResourceLimit) GetLimit() int64
func (*ResourceLimit) GetType ¶
func (m *ResourceLimit) GetType() ResourceType
func (*ResourceLimit) ProtoMessage ¶
func (*ResourceLimit) ProtoMessage()
func (*ResourceLimit) Reset ¶
func (m *ResourceLimit) Reset()
func (*ResourceLimit) String ¶
func (m *ResourceLimit) String() string
func (*ResourceLimit) XXX_DiscardUnknown ¶
func (m *ResourceLimit) XXX_DiscardUnknown()
func (*ResourceLimit) XXX_Marshal ¶
func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceLimit) XXX_Merge ¶
func (dst *ResourceLimit) XXX_Merge(src proto.Message)
func (*ResourceLimit) XXX_Size ¶
func (m *ResourceLimit) XXX_Size() int
func (*ResourceLimit) XXX_Unmarshal ¶
func (m *ResourceLimit) XXX_Unmarshal(b []byte) error
type ResourceType ¶
type ResourceType int32
const ( ResourceType_CPU ResourceType = 0 ResourceType_MEMORY ResourceType = 1 ResourceType_DISK ResourceType = 2 ResourceType_XFEE ResourceType = 3 )
func (ResourceType) EnumDescriptor ¶
func (ResourceType) EnumDescriptor() ([]byte, []int)
func (ResourceType) String ¶
func (x ResourceType) String() string
type SignInfo ¶
type SignInfo struct { Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=Sign,proto3" json:"Sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SignInfo is the signature information of the
func (*SignInfo) Descriptor ¶
func (*SignInfo) GetAddress ¶
func (*SignInfo) GetPublicKey ¶
func (*SignInfo) ProtoMessage ¶
func (*SignInfo) ProtoMessage()
func (*SignInfo) XXX_DiscardUnknown ¶
func (m *SignInfo) XXX_DiscardUnknown()
func (*SignInfo) XXX_Marshal ¶
func (*SignInfo) XXX_Unmarshal ¶
type SignatureInfo ¶
type SignatureInfo struct { PublicKey string `protobuf:"bytes,1,opt,name=PublicKey" json:"PublicKey,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=Sign,proto3" json:"Sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
签名详情
func (*SignatureInfo) Descriptor ¶
func (*SignatureInfo) Descriptor() ([]byte, []int)
func (*SignatureInfo) GetPublicKey ¶
func (m *SignatureInfo) GetPublicKey() string
func (*SignatureInfo) GetSign ¶
func (m *SignatureInfo) GetSign() []byte
func (*SignatureInfo) ProtoMessage ¶
func (*SignatureInfo) ProtoMessage()
func (*SignatureInfo) Reset ¶
func (m *SignatureInfo) Reset()
func (*SignatureInfo) String ¶
func (m *SignatureInfo) String() string
func (*SignatureInfo) XXX_DiscardUnknown ¶
func (m *SignatureInfo) XXX_DiscardUnknown()
func (*SignatureInfo) XXX_Marshal ¶
func (m *SignatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignatureInfo) XXX_Merge ¶
func (dst *SignatureInfo) XXX_Merge(src proto.Message)
func (*SignatureInfo) XXX_Size ¶
func (m *SignatureInfo) XXX_Size() int
func (*SignatureInfo) XXX_Unmarshal ¶
func (m *SignatureInfo) XXX_Unmarshal(b []byte) error
type Speeds ¶
type Speeds struct { SumSpeeds map[string]float64 `` /* 140-byte string literal not displayed */ BcSpeeds map[string]*BCSpeeds `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Speeds) Descriptor ¶
func (*Speeds) GetBcSpeeds ¶
func (*Speeds) GetSumSpeeds ¶
func (*Speeds) ProtoMessage ¶
func (*Speeds) ProtoMessage()
func (*Speeds) XXX_DiscardUnknown ¶
func (m *Speeds) XXX_DiscardUnknown()
func (*Speeds) XXX_Marshal ¶
func (*Speeds) XXX_Unmarshal ¶
type SystemsStatus ¶
type SystemsStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` BcsStatus []*BCStatus `protobuf:"bytes,2,rep,name=bcs_status,json=bcsStatus" json:"bcs_status,omitempty"` Speeds *Speeds `protobuf:"bytes,3,opt,name=speeds" json:"speeds,omitempty"` PeerUrls []string `protobuf:"bytes,4,rep,name=peerUrls" json:"peerUrls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemsStatus) Descriptor ¶
func (*SystemsStatus) Descriptor() ([]byte, []int)
func (*SystemsStatus) GetBcsStatus ¶
func (m *SystemsStatus) GetBcsStatus() []*BCStatus
func (*SystemsStatus) GetHeader ¶
func (m *SystemsStatus) GetHeader() *Header
func (*SystemsStatus) GetPeerUrls ¶
func (m *SystemsStatus) GetPeerUrls() []string
func (*SystemsStatus) GetSpeeds ¶
func (m *SystemsStatus) GetSpeeds() *Speeds
func (*SystemsStatus) ProtoMessage ¶
func (*SystemsStatus) ProtoMessage()
func (*SystemsStatus) Reset ¶
func (m *SystemsStatus) Reset()
func (*SystemsStatus) String ¶
func (m *SystemsStatus) String() string
func (*SystemsStatus) XXX_DiscardUnknown ¶
func (m *SystemsStatus) XXX_DiscardUnknown()
func (*SystemsStatus) XXX_Marshal ¶
func (m *SystemsStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemsStatus) XXX_Merge ¶
func (dst *SystemsStatus) XXX_Merge(src proto.Message)
func (*SystemsStatus) XXX_Size ¶
func (m *SystemsStatus) XXX_Size() int
func (*SystemsStatus) XXX_Unmarshal ¶
func (m *SystemsStatus) XXX_Unmarshal(b []byte) error
type SystemsStatusReply ¶
type SystemsStatusReply struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` SystemsStatus *SystemsStatus `protobuf:"bytes,2,opt,name=systems_status,json=systemsStatus" json:"systems_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemsStatusReply) Descriptor ¶
func (*SystemsStatusReply) Descriptor() ([]byte, []int)
func (*SystemsStatusReply) GetHeader ¶
func (m *SystemsStatusReply) GetHeader() *Header
func (*SystemsStatusReply) GetSystemsStatus ¶
func (m *SystemsStatusReply) GetSystemsStatus() *SystemsStatus
func (*SystemsStatusReply) ProtoMessage ¶
func (*SystemsStatusReply) ProtoMessage()
func (*SystemsStatusReply) Reset ¶
func (m *SystemsStatusReply) Reset()
func (*SystemsStatusReply) String ¶
func (m *SystemsStatusReply) String() string
func (*SystemsStatusReply) XXX_DiscardUnknown ¶
func (m *SystemsStatusReply) XXX_DiscardUnknown()
func (*SystemsStatusReply) XXX_Marshal ¶
func (m *SystemsStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemsStatusReply) XXX_Merge ¶
func (dst *SystemsStatusReply) XXX_Merge(src proto.Message)
func (*SystemsStatusReply) XXX_Size ¶
func (m *SystemsStatusReply) XXX_Size() int
func (*SystemsStatusReply) XXX_Unmarshal ¶
func (m *SystemsStatusReply) XXX_Unmarshal(b []byte) error
type TokenDetail ¶
type TokenDetail struct { Bcname string `protobuf:"bytes,1,opt,name=bcname" json:"bcname,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance" json:"balance,omitempty"` Error XChainErrorEnum `protobuf:"varint,3,opt,name=error,enum=pb.XChainErrorEnum" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenDetail) Descriptor ¶
func (*TokenDetail) Descriptor() ([]byte, []int)
func (*TokenDetail) GetBalance ¶
func (m *TokenDetail) GetBalance() string
func (*TokenDetail) GetBcname ¶
func (m *TokenDetail) GetBcname() string
func (*TokenDetail) GetError ¶
func (m *TokenDetail) GetError() XChainErrorEnum
func (*TokenDetail) ProtoMessage ¶
func (*TokenDetail) ProtoMessage()
func (*TokenDetail) Reset ¶
func (m *TokenDetail) Reset()
func (*TokenDetail) String ¶
func (m *TokenDetail) String() string
func (*TokenDetail) XXX_DiscardUnknown ¶
func (m *TokenDetail) XXX_DiscardUnknown()
func (*TokenDetail) XXX_Marshal ¶
func (m *TokenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenDetail) XXX_Merge ¶
func (dst *TokenDetail) XXX_Merge(src proto.Message)
func (*TokenDetail) XXX_Size ¶
func (m *TokenDetail) XXX_Size() int
func (*TokenDetail) XXX_Unmarshal ¶
func (m *TokenDetail) XXX_Unmarshal(b []byte) error
type TokenFrozenDetail ¶
type TokenFrozenDetail struct { Balance string `protobuf:"bytes,1,opt,name=balance" json:"balance,omitempty"` IsFrozen bool `protobuf:"varint,2,opt,name=isFrozen" json:"isFrozen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenFrozenDetail) Descriptor ¶
func (*TokenFrozenDetail) Descriptor() ([]byte, []int)
func (*TokenFrozenDetail) GetBalance ¶
func (m *TokenFrozenDetail) GetBalance() string
func (*TokenFrozenDetail) GetIsFrozen ¶
func (m *TokenFrozenDetail) GetIsFrozen() bool
func (*TokenFrozenDetail) ProtoMessage ¶
func (*TokenFrozenDetail) ProtoMessage()
func (*TokenFrozenDetail) Reset ¶
func (m *TokenFrozenDetail) Reset()
func (*TokenFrozenDetail) String ¶
func (m *TokenFrozenDetail) String() string
func (*TokenFrozenDetail) XXX_DiscardUnknown ¶
func (m *TokenFrozenDetail) XXX_DiscardUnknown()
func (*TokenFrozenDetail) XXX_Marshal ¶
func (m *TokenFrozenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenFrozenDetail) XXX_Merge ¶
func (dst *TokenFrozenDetail) XXX_Merge(src proto.Message)
func (*TokenFrozenDetail) XXX_Size ¶
func (m *TokenFrozenDetail) XXX_Size() int
func (*TokenFrozenDetail) XXX_Unmarshal ¶
func (m *TokenFrozenDetail) XXX_Unmarshal(b []byte) error
type TokenFrozenDetails ¶
type TokenFrozenDetails struct { Bcname string `protobuf:"bytes,1,opt,name=bcname" json:"bcname,omitempty"` Tfd []*TokenFrozenDetail `protobuf:"bytes,2,rep,name=tfd" json:"tfd,omitempty"` Error XChainErrorEnum `protobuf:"varint,3,opt,name=error,enum=pb.XChainErrorEnum" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenFrozenDetails) Descriptor ¶
func (*TokenFrozenDetails) Descriptor() ([]byte, []int)
func (*TokenFrozenDetails) GetBcname ¶
func (m *TokenFrozenDetails) GetBcname() string
func (*TokenFrozenDetails) GetError ¶
func (m *TokenFrozenDetails) GetError() XChainErrorEnum
func (*TokenFrozenDetails) GetTfd ¶
func (m *TokenFrozenDetails) GetTfd() []*TokenFrozenDetail
func (*TokenFrozenDetails) ProtoMessage ¶
func (*TokenFrozenDetails) ProtoMessage()
func (*TokenFrozenDetails) Reset ¶
func (m *TokenFrozenDetails) Reset()
func (*TokenFrozenDetails) String ¶
func (m *TokenFrozenDetails) String() string
func (*TokenFrozenDetails) XXX_DiscardUnknown ¶
func (m *TokenFrozenDetails) XXX_DiscardUnknown()
func (*TokenFrozenDetails) XXX_Marshal ¶
func (m *TokenFrozenDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenFrozenDetails) XXX_Merge ¶
func (dst *TokenFrozenDetails) XXX_Merge(src proto.Message)
func (*TokenFrozenDetails) XXX_Size ¶
func (m *TokenFrozenDetails) XXX_Size() int
func (*TokenFrozenDetails) XXX_Unmarshal ¶
func (m *TokenFrozenDetails) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { // txid is the id of this transaction Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // the blockid the transaction belong to Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` // Transaction input list TxInputs []*TxInput `protobuf:"bytes,3,rep,name=tx_inputs,json=txInputs" json:"tx_inputs,omitempty"` // Transaction output list TxOutputs []*TxOutput `protobuf:"bytes,4,rep,name=tx_outputs,json=txOutputs" json:"tx_outputs,omitempty"` // Transaction description or system contract Desc []byte `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` // Mining rewards Coinbase bool `protobuf:"varint,7,opt,name=coinbase" json:"coinbase,omitempty"` // Random number used to avoid replay attacks Nonce string `protobuf:"bytes,8,opt,name=nonce" json:"nonce,omitempty"` // Timestamp to launch the transaction Timestamp int64 `protobuf:"varint,9,opt,name=timestamp" json:"timestamp,omitempty"` // tx format version; tx格式版本号 Version int32 `protobuf:"varint,10,opt,name=version" json:"version,omitempty"` // auto generated tx Autogen bool `protobuf:"varint,11,opt,name=autogen" json:"autogen,omitempty"` TxInputsExt []*TxInputExt `protobuf:"bytes,23,rep,name=tx_inputs_ext,json=txInputsExt" json:"tx_inputs_ext,omitempty"` TxOutputsExt []*TxOutputExt `protobuf:"bytes,24,rep,name=tx_outputs_ext,json=txOutputsExt" json:"tx_outputs_ext,omitempty"` ContractRequests []*InvokeRequest `protobuf:"bytes,25,rep,name=contract_requests,json=contractRequests" json:"contract_requests,omitempty"` // 权限系统新增字段 // 交易发起者, 可以是一个Address或者一个Account Initiator string `protobuf:"bytes,26,opt,name=initiator" json:"initiator,omitempty"` // 交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用 AuthRequire []string `protobuf:"bytes,27,rep,name=auth_require,json=authRequire" json:"auth_require,omitempty"` // 交易发起者对交易元数据签名,签名的内容包括auth_require字段 InitiatorSigns []*SignatureInfo `protobuf:"bytes,28,rep,name=initiator_signs,json=initiatorSigns" json:"initiator_signs,omitempty"` // 收集到的签名 AuthRequireSigns []*SignatureInfo `protobuf:"bytes,29,rep,name=auth_require_signs,json=authRequireSigns" json:"auth_require_signs,omitempty"` // 节点收到tx的时间戳,不参与签名 ReceivedTimestamp int64 `protobuf:"varint,30,opt,name=received_timestamp,json=receivedTimestamp" json:"received_timestamp,omitempty"` // 统一签名(支持多重签名/环签名等,与initiator_signs/auth_require_signs不同时使用) XuperSign *XuperSignature `protobuf:"bytes,31,opt,name=xuper_sign,json=xuperSign" json:"xuper_sign,omitempty"` // 可修改区块链标记 ModifyBlock *ModifyBlock `protobuf:"bytes,32,opt,name=modify_block,json=modifyBlock" json:"modify_block,omitempty"` // HD加解密相关信息 HDInfo *HDInfo `protobuf:"bytes,33,opt,name=HD_info,json=HDInfo" json:"HD_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction is the information of the transaction
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetAuthRequire ¶
func (m *Transaction) GetAuthRequire() []string
func (*Transaction) GetAuthRequireSigns ¶
func (m *Transaction) GetAuthRequireSigns() []*SignatureInfo
func (*Transaction) GetAutogen ¶
func (m *Transaction) GetAutogen() bool
func (*Transaction) GetBlockid ¶
func (m *Transaction) GetBlockid() []byte
func (*Transaction) GetCoinbase ¶
func (m *Transaction) GetCoinbase() bool
func (*Transaction) GetContractRequests ¶
func (m *Transaction) GetContractRequests() []*InvokeRequest
func (*Transaction) GetDesc ¶
func (m *Transaction) GetDesc() []byte
func (*Transaction) GetHDInfo ¶
func (m *Transaction) GetHDInfo() *HDInfo
func (*Transaction) GetInitiator ¶
func (m *Transaction) GetInitiator() string
func (*Transaction) GetInitiatorSigns ¶
func (m *Transaction) GetInitiatorSigns() []*SignatureInfo
func (*Transaction) GetModifyBlock ¶
func (m *Transaction) GetModifyBlock() *ModifyBlock
func (*Transaction) GetNonce ¶
func (m *Transaction) GetNonce() string
func (*Transaction) GetReceivedTimestamp ¶
func (m *Transaction) GetReceivedTimestamp() int64
func (*Transaction) GetTimestamp ¶
func (m *Transaction) GetTimestamp() int64
func (*Transaction) GetTxInputs ¶
func (m *Transaction) GetTxInputs() []*TxInput
func (*Transaction) GetTxInputsExt ¶
func (m *Transaction) GetTxInputsExt() []*TxInputExt
func (*Transaction) GetTxOutputs ¶
func (m *Transaction) GetTxOutputs() []*TxOutput
func (*Transaction) GetTxOutputsExt ¶
func (m *Transaction) GetTxOutputsExt() []*TxOutputExt
func (*Transaction) GetTxid ¶
func (m *Transaction) GetTxid() []byte
func (*Transaction) GetVersion ¶
func (m *Transaction) GetVersion() int32
func (*Transaction) GetXuperSign ¶
func (m *Transaction) GetXuperSign() *XuperSignature
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (dst *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionStatus ¶
type TransactionStatus int32
TransactionStatus is the status of transaction
const ( // Undefined status TransactionStatus_UNDEFINE TransactionStatus = 0 // Transaction not exist TransactionStatus_NOEXIST TransactionStatus = 1 // Transaction have been confirmed TransactionStatus_CONFIRM TransactionStatus = 2 // Transaction is on the furcation TransactionStatus_FURCATION TransactionStatus = 3 // Transaction have not been confirmed TransactionStatus_UNCONFIRM TransactionStatus = 4 // Transaction occurs error TransactionStatus_FAILED TransactionStatus = 5 )
func (TransactionStatus) EnumDescriptor ¶
func (TransactionStatus) EnumDescriptor() ([]byte, []int)
func (TransactionStatus) String ¶
func (x TransactionStatus) String() string
type TxData ¶
type TxData struct { Header *Header `protobuf:"bytes,13,opt,name=header" json:"header,omitempty"` // Transaction id Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // Block name Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` // Account which start the transaction FromAddr string `protobuf:"bytes,3,opt,name=from_addr,json=fromAddr" json:"from_addr,omitempty"` // The pk of the account which start the transaction FromPubkey string `protobuf:"bytes,4,opt,name=from_pubkey,json=fromPubkey" json:"from_pubkey,omitempty"` // The sk of the account which start the transaction FromScrkey string `protobuf:"bytes,5,opt,name=from_scrkey,json=fromScrkey" json:"from_scrkey,omitempty"` // if user don't want to provide scrkey, he should sign the txdata into // user_sign UserSign []byte `protobuf:"bytes,14,opt,name=user_sign,json=userSign,proto3" json:"user_sign,omitempty"` // The account list accept tx Account []*TxDataAccount `protobuf:"bytes,6,rep,name=account" json:"account,omitempty"` // Random number used to avoid replay attacks Nonce string `protobuf:"bytes,8,opt,name=nonce" json:"nonce,omitempty"` // Timestamp to launch the Tx Timestamp int64 `protobuf:"varint,9,opt,name=timestamp" json:"timestamp,omitempty"` Desc []byte `protobuf:"bytes,12,opt,name=desc,proto3" json:"desc,omitempty"` // tx version Version int32 `protobuf:"varint,15,opt,name=version" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxData) Descriptor ¶
func (*TxData) GetAccount ¶
func (m *TxData) GetAccount() []*TxDataAccount
func (*TxData) GetFromAddr ¶
func (*TxData) GetFromPubkey ¶
func (*TxData) GetFromScrkey ¶
func (*TxData) GetTimestamp ¶
func (*TxData) GetUserSign ¶
func (*TxData) GetVersion ¶
func (*TxData) ProtoMessage ¶
func (*TxData) ProtoMessage()
func (*TxData) XXX_DiscardUnknown ¶
func (m *TxData) XXX_DiscardUnknown()
func (*TxData) XXX_Marshal ¶
func (*TxData) XXX_Unmarshal ¶
type TxDataAccount ¶
type TxDataAccount struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount" json:"amount,omitempty"` FrozenHeight int64 `protobuf:"varint,3,opt,name=frozen_height,json=frozenHeight" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxDataAccount) Descriptor ¶
func (*TxDataAccount) Descriptor() ([]byte, []int)
func (*TxDataAccount) GetAddress ¶
func (m *TxDataAccount) GetAddress() string
func (*TxDataAccount) GetAmount ¶
func (m *TxDataAccount) GetAmount() string
func (*TxDataAccount) GetFrozenHeight ¶
func (m *TxDataAccount) GetFrozenHeight() int64
func (*TxDataAccount) ProtoMessage ¶
func (*TxDataAccount) ProtoMessage()
func (*TxDataAccount) Reset ¶
func (m *TxDataAccount) Reset()
func (*TxDataAccount) String ¶
func (m *TxDataAccount) String() string
func (*TxDataAccount) XXX_DiscardUnknown ¶
func (m *TxDataAccount) XXX_DiscardUnknown()
func (*TxDataAccount) XXX_Marshal ¶
func (m *TxDataAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDataAccount) XXX_Merge ¶
func (dst *TxDataAccount) XXX_Merge(src proto.Message)
func (*TxDataAccount) XXX_Size ¶
func (m *TxDataAccount) XXX_Size() int
func (*TxDataAccount) XXX_Unmarshal ¶
func (m *TxDataAccount) XXX_Unmarshal(b []byte) error
type TxInput ¶
type TxInput struct { // The transaction id referenced to RefTxid []byte `protobuf:"bytes,1,opt,name=ref_txid,json=refTxid,proto3" json:"ref_txid,omitempty"` // The output offset of the transaction referenced to RefOffset int32 `protobuf:"varint,2,opt,name=ref_offset,json=refOffset" json:"ref_offset,omitempty"` // The address of the launcher FromAddr []byte `protobuf:"bytes,5,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"` // The amount of the transaction Amount []byte `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` // Frozen height FrozenHeight int64 `protobuf:"varint,7,opt,name=frozen_height,json=frozenHeight" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction input
func (*TxInput) Descriptor ¶
func (*TxInput) GetFromAddr ¶
func (*TxInput) GetFrozenHeight ¶
func (*TxInput) GetRefOffset ¶
func (*TxInput) GetRefTxid ¶
func (*TxInput) ProtoMessage ¶
func (*TxInput) ProtoMessage()
func (*TxInput) XXX_DiscardUnknown ¶
func (m *TxInput) XXX_DiscardUnknown()
func (*TxInput) XXX_Marshal ¶
func (*TxInput) XXX_Unmarshal ¶
type TxInputExt ¶
type TxInputExt struct { Bucket string `protobuf:"bytes,1,opt,name=bucket" json:"bucket,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` RefTxid []byte `protobuf:"bytes,3,opt,name=ref_txid,json=refTxid,proto3" json:"ref_txid,omitempty"` RefOffset int32 `protobuf:"varint,4,opt,name=ref_offset,json=refOffset" json:"ref_offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扩展输入
func (*TxInputExt) Descriptor ¶
func (*TxInputExt) Descriptor() ([]byte, []int)
func (*TxInputExt) GetBucket ¶
func (m *TxInputExt) GetBucket() string
func (*TxInputExt) GetKey ¶
func (m *TxInputExt) GetKey() []byte
func (*TxInputExt) GetRefOffset ¶
func (m *TxInputExt) GetRefOffset() int32
func (*TxInputExt) GetRefTxid ¶
func (m *TxInputExt) GetRefTxid() []byte
func (*TxInputExt) ProtoMessage ¶
func (*TxInputExt) ProtoMessage()
func (*TxInputExt) Reset ¶
func (m *TxInputExt) Reset()
func (*TxInputExt) String ¶
func (m *TxInputExt) String() string
func (*TxInputExt) XXX_DiscardUnknown ¶
func (m *TxInputExt) XXX_DiscardUnknown()
func (*TxInputExt) XXX_Marshal ¶
func (m *TxInputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxInputExt) XXX_Merge ¶
func (dst *TxInputExt) XXX_Merge(src proto.Message)
func (*TxInputExt) XXX_Size ¶
func (m *TxInputExt) XXX_Size() int
func (*TxInputExt) XXX_Unmarshal ¶
func (m *TxInputExt) XXX_Unmarshal(b []byte) error
type TxOutput ¶
type TxOutput struct { // The amount of the transaction Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // The address of the launcher ToAddr []byte `protobuf:"bytes,2,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"` // Fronzen height FrozenHeight int64 `protobuf:"varint,4,opt,name=frozen_height,json=frozenHeight" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction output
func (*TxOutput) Descriptor ¶
func (*TxOutput) GetFrozenHeight ¶
func (*TxOutput) ProtoMessage ¶
func (*TxOutput) ProtoMessage()
func (*TxOutput) XXX_DiscardUnknown ¶
func (m *TxOutput) XXX_DiscardUnknown()
func (*TxOutput) XXX_Marshal ¶
func (*TxOutput) XXX_Unmarshal ¶
type TxOutputExt ¶
type TxOutputExt struct { Bucket string `protobuf:"bytes,1,opt,name=bucket" json:"bucket,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扩展输出
func (*TxOutputExt) Descriptor ¶
func (*TxOutputExt) Descriptor() ([]byte, []int)
func (*TxOutputExt) GetBucket ¶
func (m *TxOutputExt) GetBucket() string
func (*TxOutputExt) GetKey ¶
func (m *TxOutputExt) GetKey() []byte
func (*TxOutputExt) GetValue ¶
func (m *TxOutputExt) GetValue() []byte
func (*TxOutputExt) ProtoMessage ¶
func (*TxOutputExt) ProtoMessage()
func (*TxOutputExt) Reset ¶
func (m *TxOutputExt) Reset()
func (*TxOutputExt) String ¶
func (m *TxOutputExt) String() string
func (*TxOutputExt) XXX_DiscardUnknown ¶
func (m *TxOutputExt) XXX_DiscardUnknown()
func (*TxOutputExt) XXX_Marshal ¶
func (m *TxOutputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxOutputExt) XXX_Merge ¶
func (dst *TxOutputExt) XXX_Merge(src proto.Message)
func (*TxOutputExt) XXX_Size ¶
func (m *TxOutputExt) XXX_Size() int
func (*TxOutputExt) XXX_Unmarshal ¶
func (m *TxOutputExt) XXX_Unmarshal(b []byte) error
type TxStatus ¶
type TxStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` Status TransactionStatus `protobuf:"varint,4,opt,name=status,enum=pb.TransactionStatus" json:"status,omitempty"` Distance int64 `protobuf:"varint,5,opt,name=distance" json:"distance,omitempty"` Tx *Transaction `protobuf:"bytes,7,opt,name=tx" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxStatus) Descriptor ¶
func (*TxStatus) GetDistance ¶
func (*TxStatus) GetStatus ¶
func (m *TxStatus) GetStatus() TransactionStatus
func (*TxStatus) GetTx ¶
func (m *TxStatus) GetTx() *Transaction
func (*TxStatus) ProtoMessage ¶
func (*TxStatus) ProtoMessage()
func (*TxStatus) XXX_DiscardUnknown ¶
func (m *TxStatus) XXX_DiscardUnknown()
func (*TxStatus) XXX_Marshal ¶
func (*TxStatus) XXX_Unmarshal ¶
type Utxo ¶
type Utxo struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` ToAddr []byte `protobuf:"bytes,2,opt,name=toAddr,proto3" json:"toAddr,omitempty"` ToPubkey []byte `protobuf:"bytes,3,opt,name=toPubkey,proto3" json:"toPubkey,omitempty"` RefTxid []byte `protobuf:"bytes,4,opt,name=refTxid,proto3" json:"refTxid,omitempty"` RefOffset int32 `protobuf:"varint,5,opt,name=refOffset" json:"refOffset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Utxo) Descriptor ¶
func (*Utxo) GetRefOffset ¶
func (*Utxo) GetRefTxid ¶
func (*Utxo) GetToPubkey ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) XXX_DiscardUnknown ¶
func (m *Utxo) XXX_DiscardUnknown()
func (*Utxo) XXX_Unmarshal ¶
type UtxoInput ¶
type UtxoInput struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // which bcname to select Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` // address to select Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` // publickey of the address Publickey string `protobuf:"bytes,4,opt,name=publickey" json:"publickey,omitempty"` // totalNeed refer the total need utxos to select TotalNeed string `protobuf:"bytes,5,opt,name=totalNeed" json:"totalNeed,omitempty"` // userSign of input UserSign []byte `protobuf:"bytes,7,opt,name=userSign,proto3" json:"userSign,omitempty"` // need lock NeedLock bool `protobuf:"varint,8,opt,name=needLock" json:"needLock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UtxoInput query info to query utxos
func (*UtxoInput) Descriptor ¶
func (*UtxoInput) GetAddress ¶
func (*UtxoInput) GetNeedLock ¶
func (*UtxoInput) GetPublickey ¶
func (*UtxoInput) GetTotalNeed ¶
func (*UtxoInput) GetUserSign ¶
func (*UtxoInput) ProtoMessage ¶
func (*UtxoInput) ProtoMessage()
func (*UtxoInput) XXX_DiscardUnknown ¶
func (m *UtxoInput) XXX_DiscardUnknown()
func (*UtxoInput) XXX_Marshal ¶
func (*UtxoInput) XXX_Unmarshal ¶
type UtxoKey ¶
type UtxoKey struct { RefTxid string `protobuf:"bytes,1,opt,name=refTxid" json:"refTxid,omitempty"` Offset string `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UtxoKey) Descriptor ¶
func (*UtxoKey) GetRefTxid ¶
func (*UtxoKey) ProtoMessage ¶
func (*UtxoKey) ProtoMessage()
func (*UtxoKey) XXX_DiscardUnknown ¶
func (m *UtxoKey) XXX_DiscardUnknown()
func (*UtxoKey) XXX_Marshal ¶
func (*UtxoKey) XXX_Unmarshal ¶
type UtxoMeta ¶
type UtxoMeta struct { LatestBlockid []byte `protobuf:"bytes,1,opt,name=latest_blockid,json=latestBlockid,proto3" json:"latest_blockid,omitempty"` LockKeyList []string `protobuf:"bytes,2,rep,name=lock_key_list,json=lockKeyList" json:"lock_key_list,omitempty"` UtxoTotal string `protobuf:"bytes,3,opt,name=utxo_total,json=utxoTotal" json:"utxo_total,omitempty"` AvgDelay int64 `protobuf:"varint,4,opt,name=avgDelay" json:"avgDelay,omitempty"` UnconfirmTxAmount int64 `protobuf:"varint,5,opt,name=unconfirmTxAmount" json:"unconfirmTxAmount,omitempty"` MaxBlockSize int64 `protobuf:"varint,6,opt,name=max_block_size,json=maxBlockSize" json:"max_block_size,omitempty"` ReservedContracts []*InvokeRequest `protobuf:"bytes,7,rep,name=reserved_contracts,json=reservedContracts" json:"reserved_contracts,omitempty"` ForbiddenContract *InvokeRequest `protobuf:"bytes,8,opt,name=forbidden_contract,json=forbiddenContract" json:"forbidden_contract,omitempty"` NewAccountResourceAmount int64 `` /* 131-byte string literal not displayed */ IrreversibleBlockHeight int64 `protobuf:"varint,10,opt,name=irreversibleBlockHeight" json:"irreversibleBlockHeight,omitempty"` IrreversibleSlideWindow int64 `protobuf:"varint,11,opt,name=irreversibleSlideWindow" json:"irreversibleSlideWindow,omitempty"` GasPrice *GasPrice `protobuf:"bytes,12,opt,name=gasPrice" json:"gasPrice,omitempty"` GroupChainContract *InvokeRequest `protobuf:"bytes,13,opt,name=group_chain_contract,json=groupChainContract" json:"group_chain_contract,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Utxo metadata
func (*UtxoMeta) Descriptor ¶
func (*UtxoMeta) GetAvgDelay ¶
func (*UtxoMeta) GetForbiddenContract ¶
func (m *UtxoMeta) GetForbiddenContract() *InvokeRequest
func (*UtxoMeta) GetGasPrice ¶
func (*UtxoMeta) GetGroupChainContract ¶
func (m *UtxoMeta) GetGroupChainContract() *InvokeRequest
func (*UtxoMeta) GetIrreversibleBlockHeight ¶
func (*UtxoMeta) GetIrreversibleSlideWindow ¶
func (*UtxoMeta) GetLatestBlockid ¶
func (*UtxoMeta) GetLockKeyList ¶
func (*UtxoMeta) GetMaxBlockSize ¶
func (*UtxoMeta) GetNewAccountResourceAmount ¶
func (*UtxoMeta) GetReservedContracts ¶
func (m *UtxoMeta) GetReservedContracts() []*InvokeRequest
func (*UtxoMeta) GetUnconfirmTxAmount ¶
func (*UtxoMeta) GetUtxoTotal ¶
func (*UtxoMeta) ProtoMessage ¶
func (*UtxoMeta) ProtoMessage()
func (*UtxoMeta) XXX_DiscardUnknown ¶
func (m *UtxoMeta) XXX_DiscardUnknown()
func (*UtxoMeta) XXX_Marshal ¶
func (*UtxoMeta) XXX_Unmarshal ¶
type UtxoOutput ¶
type UtxoOutput struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // outSign return the output // bytes outSign = 2; // utxo list UtxoList []*Utxo `protobuf:"bytes,2,rep,name=utxoList" json:"utxoList,omitempty"` // total selected amount TotalSelected string `protobuf:"bytes,3,opt,name=totalSelected" json:"totalSelected,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UtxoOutput query results
func (*UtxoOutput) Descriptor ¶
func (*UtxoOutput) Descriptor() ([]byte, []int)
func (*UtxoOutput) GetHeader ¶
func (m *UtxoOutput) GetHeader() *Header
func (*UtxoOutput) GetTotalSelected ¶
func (m *UtxoOutput) GetTotalSelected() string
func (*UtxoOutput) GetUtxoList ¶
func (m *UtxoOutput) GetUtxoList() []*Utxo
func (*UtxoOutput) ProtoMessage ¶
func (*UtxoOutput) ProtoMessage()
func (*UtxoOutput) Reset ¶
func (m *UtxoOutput) Reset()
func (*UtxoOutput) String ¶
func (m *UtxoOutput) String() string
func (*UtxoOutput) XXX_DiscardUnknown ¶
func (m *UtxoOutput) XXX_DiscardUnknown()
func (*UtxoOutput) XXX_Marshal ¶
func (m *UtxoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UtxoOutput) XXX_Merge ¶
func (dst *UtxoOutput) XXX_Merge(src proto.Message)
func (*UtxoOutput) XXX_Size ¶
func (m *UtxoOutput) XXX_Size() int
func (*UtxoOutput) XXX_Unmarshal ¶
func (m *UtxoOutput) XXX_Unmarshal(b []byte) error
type UtxoRecord ¶
type UtxoRecord struct { UtxoCount string `protobuf:"bytes,1,opt,name=utxoCount" json:"utxoCount,omitempty"` UtxoAmount string `protobuf:"bytes,2,opt,name=utxoAmount" json:"utxoAmount,omitempty"` Item []*UtxoKey `protobuf:"bytes,3,rep,name=item" json:"item,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UtxoRecord) Descriptor ¶
func (*UtxoRecord) Descriptor() ([]byte, []int)
func (*UtxoRecord) GetItem ¶
func (m *UtxoRecord) GetItem() []*UtxoKey
func (*UtxoRecord) GetUtxoAmount ¶
func (m *UtxoRecord) GetUtxoAmount() string
func (*UtxoRecord) GetUtxoCount ¶
func (m *UtxoRecord) GetUtxoCount() string
func (*UtxoRecord) ProtoMessage ¶
func (*UtxoRecord) ProtoMessage()
func (*UtxoRecord) Reset ¶
func (m *UtxoRecord) Reset()
func (*UtxoRecord) String ¶
func (m *UtxoRecord) String() string
func (*UtxoRecord) XXX_DiscardUnknown ¶
func (m *UtxoRecord) XXX_DiscardUnknown()
func (*UtxoRecord) XXX_Marshal ¶
func (m *UtxoRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UtxoRecord) XXX_Merge ¶
func (dst *UtxoRecord) XXX_Merge(src proto.Message)
func (*UtxoRecord) XXX_Size ¶
func (m *UtxoRecord) XXX_Size() int
func (*UtxoRecord) XXX_Unmarshal ¶
func (m *UtxoRecord) XXX_Unmarshal(b []byte) error
type UtxoRecordDetail ¶
type UtxoRecordDetail struct { Header *Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname" json:"bcname,omitempty"` AccountName string `protobuf:"bytes,3,opt,name=accountName" json:"accountName,omitempty"` OpenUtxoRecord *UtxoRecord `protobuf:"bytes,4,opt,name=openUtxoRecord" json:"openUtxoRecord,omitempty"` LockedUtxoRecord *UtxoRecord `protobuf:"bytes,5,opt,name=lockedUtxoRecord" json:"lockedUtxoRecord,omitempty"` FrozenUtxoRecord *UtxoRecord `protobuf:"bytes,6,opt,name=frozenUtxoRecord" json:"frozenUtxoRecord,omitempty"` DisplayCount int64 `protobuf:"varint,7,opt,name=displayCount" json:"displayCount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UtxoRecordDetail) Descriptor ¶
func (*UtxoRecordDetail) Descriptor() ([]byte, []int)
func (*UtxoRecordDetail) GetAccountName ¶
func (m *UtxoRecordDetail) GetAccountName() string
func (*UtxoRecordDetail) GetBcname ¶
func (m *UtxoRecordDetail) GetBcname() string
func (*UtxoRecordDetail) GetDisplayCount ¶
func (m *UtxoRecordDetail) GetDisplayCount() int64
func (*UtxoRecordDetail) GetFrozenUtxoRecord ¶
func (m *UtxoRecordDetail) GetFrozenUtxoRecord() *UtxoRecord
func (*UtxoRecordDetail) GetHeader ¶
func (m *UtxoRecordDetail) GetHeader() *Header
func (*UtxoRecordDetail) GetLockedUtxoRecord ¶
func (m *UtxoRecordDetail) GetLockedUtxoRecord() *UtxoRecord
func (*UtxoRecordDetail) GetOpenUtxoRecord ¶
func (m *UtxoRecordDetail) GetOpenUtxoRecord() *UtxoRecord
func (*UtxoRecordDetail) ProtoMessage ¶
func (*UtxoRecordDetail) ProtoMessage()
func (*UtxoRecordDetail) Reset ¶
func (m *UtxoRecordDetail) Reset()
func (*UtxoRecordDetail) String ¶
func (m *UtxoRecordDetail) String() string
func (*UtxoRecordDetail) XXX_DiscardUnknown ¶
func (m *UtxoRecordDetail) XXX_DiscardUnknown()
func (*UtxoRecordDetail) XXX_Marshal ¶
func (m *UtxoRecordDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UtxoRecordDetail) XXX_Merge ¶
func (dst *UtxoRecordDetail) XXX_Merge(src proto.Message)
func (*UtxoRecordDetail) XXX_Size ¶
func (m *UtxoRecordDetail) XXX_Size() int
func (*UtxoRecordDetail) XXX_Unmarshal ¶
func (m *UtxoRecordDetail) XXX_Unmarshal(b []byte) error
type ViewOption ¶
type ViewOption int32
View option to be choosed (only used in status filter currently)
const ( // Without any flag: Default ViewOption_NONE ViewOption = 0 // Ledger flag: Get Ledger Info ViewOption_LEDGER ViewOption = 1 // Utxo flag: Get UTXO Info ViewOption_UTXOINFO ViewOption = 2 // Branch flag: Get BranchId Info ViewOption_BRANCHINFO ViewOption = 3 // Peers flag: Get Peers Info ViewOption_PEERS ViewOption = 4 )
func (ViewOption) EnumDescriptor ¶
func (ViewOption) EnumDescriptor() ([]byte, []int)
func (ViewOption) String ¶
func (x ViewOption) String() string
type VoteRecord ¶
type VoteRecord struct { Candidate string `protobuf:"bytes,1,opt,name=candidate" json:"candidate,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录
func (*VoteRecord) Descriptor ¶
func (*VoteRecord) Descriptor() ([]byte, []int)
func (*VoteRecord) GetCandidate ¶
func (m *VoteRecord) GetCandidate() string
func (*VoteRecord) GetTxid ¶
func (m *VoteRecord) GetTxid() string
func (*VoteRecord) ProtoMessage ¶
func (*VoteRecord) ProtoMessage()
func (*VoteRecord) Reset ¶
func (m *VoteRecord) Reset()
func (*VoteRecord) String ¶
func (m *VoteRecord) String() string
func (*VoteRecord) XXX_DiscardUnknown ¶
func (m *VoteRecord) XXX_DiscardUnknown()
func (*VoteRecord) XXX_Marshal ¶
func (m *VoteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteRecord) XXX_Merge ¶
func (dst *VoteRecord) XXX_Merge(src proto.Message)
func (*VoteRecord) XXX_Size ¶
func (m *VoteRecord) XXX_Size() int
func (*VoteRecord) XXX_Unmarshal ¶
func (m *VoteRecord) XXX_Unmarshal(b []byte) error
type VotedRecord ¶
type VotedRecord struct { Voter string `protobuf:"bytes,1,opt,name=voter" json:"voter,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录
func (*VotedRecord) Descriptor ¶
func (*VotedRecord) Descriptor() ([]byte, []int)
func (*VotedRecord) GetTxid ¶
func (m *VotedRecord) GetTxid() string
func (*VotedRecord) GetVoter ¶
func (m *VotedRecord) GetVoter() string
func (*VotedRecord) ProtoMessage ¶
func (*VotedRecord) ProtoMessage()
func (*VotedRecord) Reset ¶
func (m *VotedRecord) Reset()
func (*VotedRecord) String ¶
func (m *VotedRecord) String() string
func (*VotedRecord) XXX_DiscardUnknown ¶
func (m *VotedRecord) XXX_DiscardUnknown()
func (*VotedRecord) XXX_Marshal ¶
func (m *VotedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VotedRecord) XXX_Merge ¶
func (dst *VotedRecord) XXX_Merge(src proto.Message)
func (*VotedRecord) XXX_Size ¶
func (m *VotedRecord) XXX_Size() int
func (*VotedRecord) XXX_Unmarshal ¶
func (m *VotedRecord) XXX_Unmarshal(b []byte) error
type WasmCodeDesc ¶
type WasmCodeDesc struct { Runtime string `protobuf:"bytes,1,opt,name=runtime" json:"runtime,omitempty"` Compiler string `protobuf:"bytes,2,opt,name=compiler" json:"compiler,omitempty"` Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` VmCompiler string `protobuf:"bytes,4,opt,name=vm_compiler,json=vmCompiler" json:"vm_compiler,omitempty"` ContractType string `protobuf:"bytes,5,opt,name=contract_type,json=contractType" json:"contract_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WasmCodeDesc) Descriptor ¶
func (*WasmCodeDesc) Descriptor() ([]byte, []int)
func (*WasmCodeDesc) GetCompiler ¶
func (m *WasmCodeDesc) GetCompiler() string
func (*WasmCodeDesc) GetContractType ¶
func (m *WasmCodeDesc) GetContractType() string
func (*WasmCodeDesc) GetDigest ¶
func (m *WasmCodeDesc) GetDigest() []byte
func (*WasmCodeDesc) GetRuntime ¶
func (m *WasmCodeDesc) GetRuntime() string
func (*WasmCodeDesc) GetVmCompiler ¶
func (m *WasmCodeDesc) GetVmCompiler() string
func (*WasmCodeDesc) ProtoMessage ¶
func (*WasmCodeDesc) ProtoMessage()
func (*WasmCodeDesc) Reset ¶
func (m *WasmCodeDesc) Reset()
func (*WasmCodeDesc) String ¶
func (m *WasmCodeDesc) String() string
func (*WasmCodeDesc) XXX_DiscardUnknown ¶
func (m *WasmCodeDesc) XXX_DiscardUnknown()
func (*WasmCodeDesc) XXX_Marshal ¶
func (m *WasmCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WasmCodeDesc) XXX_Merge ¶
func (dst *WasmCodeDesc) XXX_Merge(src proto.Message)
func (*WasmCodeDesc) XXX_Size ¶
func (m *WasmCodeDesc) XXX_Size() int
func (*WasmCodeDesc) XXX_Unmarshal ¶
func (m *WasmCodeDesc) XXX_Unmarshal(b []byte) error
type XChainErrorEnum ¶
type XChainErrorEnum int32
const ( XChainErrorEnum_SUCCESS XChainErrorEnum = 0 XChainErrorEnum_UNKNOW_ERROR XChainErrorEnum = 1 XChainErrorEnum_CONNECT_REFUSE XChainErrorEnum = 2 XChainErrorEnum_NOT_ENOUGH_UTXO_ERROR XChainErrorEnum = 3 XChainErrorEnum_UTXOVM_ALREADY_UNCONFIRM_ERROR XChainErrorEnum = 4 XChainErrorEnum_UTXOVM_NOT_FOUND_ERROR XChainErrorEnum = 5 XChainErrorEnum_INPUT_OUTPUT_NOT_EQUAL_ERROR XChainErrorEnum = 6 XChainErrorEnum_TX_NOT_FOUND_ERROR XChainErrorEnum = 7 XChainErrorEnum_TX_SIGN_ERROR XChainErrorEnum = 8 XChainErrorEnum_BLOCKCHAIN_NOTEXIST XChainErrorEnum = 9 XChainErrorEnum_VALIDATE_ERROR XChainErrorEnum = 10 XChainErrorEnum_CANNOT_SYNC_BLOCK_ERROR XChainErrorEnum = 11 XChainErrorEnum_CONFIRM_BLOCK_ERROR XChainErrorEnum = 12 XChainErrorEnum_UTXOVM_PLAY_ERROR XChainErrorEnum = 13 XChainErrorEnum_WALK_ERROR XChainErrorEnum = 14 XChainErrorEnum_NOT_READY_ERROR XChainErrorEnum = 15 XChainErrorEnum_BLOCK_EXIST_ERROR XChainErrorEnum = 16 XChainErrorEnum_ROOT_BLOCK_EXIST_ERROR XChainErrorEnum = 17 XChainErrorEnum_TX_DUPLICATE_ERROR XChainErrorEnum = 19 XChainErrorEnum_SERVICE_REFUSED_ERROR XChainErrorEnum = 20 XChainErrorEnum_TXDATA_SIGN_ERROR XChainErrorEnum = 21 XChainErrorEnum_TX_SLE_ERROR XChainErrorEnum = 25 XChainErrorEnum_TX_FEE_NOT_ENOUGH_ERROR XChainErrorEnum = 26 XChainErrorEnum_UTXO_SIGN_ERROR XChainErrorEnum = 28 XChainErrorEnum_DPOS_QUERY_ERROR XChainErrorEnum = 31 XChainErrorEnum_RWSET_INVALID_ERROR XChainErrorEnum = 33 XChainErrorEnum_RWACL_INVALID_ERROR XChainErrorEnum = 34 XChainErrorEnum_GAS_NOT_ENOUGH_ERROR XChainErrorEnum = 35 XChainErrorEnum_TX_VERSION_INVALID_ERROR XChainErrorEnum = 36 XChainErrorEnum_COMPLIANCE_CHECK_NOT_APPROVED XChainErrorEnum = 37 XChainErrorEnum_ACCOUNT_CONTRACT_STATUS_ERROR XChainErrorEnum = 38 XChainErrorEnum_TX_VERIFICATION_ERROR XChainErrorEnum = 40 )
func (XChainErrorEnum) EnumDescriptor ¶
func (XChainErrorEnum) EnumDescriptor() ([]byte, []int)
func (XChainErrorEnum) String ¶
func (x XChainErrorEnum) String() string
type XchainClient ¶
type XchainClient interface { // SelectUTXOBySize merge many utxos into a few of utxos SelectUTXOBySize(ctx context.Context, in *UtxoInput, opts ...grpc.CallOption) (*UtxoOutput, error) // PostTx post Transaction to a node PostTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*CommonReply, error) QueryACL(ctx context.Context, in *AclStatus, opts ...grpc.CallOption) (*AclStatus, error) QueryUtxoRecord(ctx context.Context, in *UtxoRecordDetail, opts ...grpc.CallOption) (*UtxoRecordDetail, error) QueryContractStatData(ctx context.Context, in *ContractStatDataRequest, opts ...grpc.CallOption) (*ContractStatDataResponse, error) GetAccountContracts(ctx context.Context, in *GetAccountContractsRequest, opts ...grpc.CallOption) (*GetAccountContractsResponse, error) // QueryTx query Transaction by TxStatus, // Bcname and Txid are required for this QueryTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*TxStatus, error) // GetBalance get balance of an address, // Address is required for this GetBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error) // GetFrozenBalance get two kinds of balance // 1. Still be frozen of an address // 2. Available now of an address // Address is required for this GetBalanceDetail(ctx context.Context, in *AddressBalanceStatus, opts ...grpc.CallOption) (*AddressBalanceStatus, error) // GetFrozenBalance get balance that still be frozen of an address, // Address is required for this GetFrozenBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error) // GetBlock get block by blockid and return if the block in trunk or in branch GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*Block, error) // GetBlockByHeight get block by height and return if the block in trunk or in // branch GetBlockByHeight(ctx context.Context, in *BlockHeight, opts ...grpc.CallOption) (*Block, error) GetBlockChainStatus(ctx context.Context, in *BCStatus, opts ...grpc.CallOption) (*BCStatus, error) // Get blockchains query blockchains GetBlockChains(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*BlockChains, error) // GetSystemStatus query system status GetSystemStatus(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*SystemsStatusReply, error) // GetNetURL return net url GetNetURL(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*RawUrl, error) // 新的Select utxos接口, 不需要签名,可以支持选择账户的utxo SelectUTXO(ctx context.Context, in *UtxoInput, opts ...grpc.CallOption) (*UtxoOutput, error) // PreExecWithSelectUTXO preExec & selectUtxo PreExecWithSelectUTXO(ctx context.Context, in *PreExecWithSelectUTXORequest, opts ...grpc.CallOption) (*PreExecWithSelectUTXOResponse, error) // DposCandidates get all candidates of the tdpos consensus DposCandidates(ctx context.Context, in *DposCandidatesRequest, opts ...grpc.CallOption) (*DposCandidatesResponse, error) // DposNominateRecords get all records nominated by an user DposNominateRecords(ctx context.Context, in *DposNominateRecordsRequest, opts ...grpc.CallOption) (*DposNominateRecordsResponse, error) // DposNomineeRecords get nominated record of a candidate DposNomineeRecords(ctx context.Context, in *DposNomineeRecordsRequest, opts ...grpc.CallOption) (*DposNomineeRecordsResponse, error) // DposVoteRecords get all vote records voted by an user DposVoteRecords(ctx context.Context, in *DposVoteRecordsRequest, opts ...grpc.CallOption) (*DposVoteRecordsResponse, error) // DposVotedRecords get all vote records of a candidate DposVotedRecords(ctx context.Context, in *DposVotedRecordsRequest, opts ...grpc.CallOption) (*DposVotedRecordsResponse, error) // DposCheckResults get check results of a specific term DposCheckResults(ctx context.Context, in *DposCheckResultsRequest, opts ...grpc.CallOption) (*DposCheckResultsResponse, error) // DposStatus get dpos status DposStatus(ctx context.Context, in *DposStatusRequest, opts ...grpc.CallOption) (*DposStatusResponse, error) // GetAccountByAK get account sets contain a specific address GetAccountByAK(ctx context.Context, in *AK2AccountRequest, opts ...grpc.CallOption) (*AK2AccountResponse, error) // GetAddressContracts get contracts of accounts contain a specific address GetAddressContracts(ctx context.Context, in *AddressContractsRequest, opts ...grpc.CallOption) (*AddressContractsResponse, error) // 预执行合约 PreExec(ctx context.Context, in *InvokeRPCRequest, opts ...grpc.CallOption) (*InvokeRPCResponse, error) }
func NewXchainClient ¶
func NewXchainClient(cc *grpc.ClientConn) XchainClient
type XchainServer ¶
type XchainServer interface { // SelectUTXOBySize merge many utxos into a few of utxos SelectUTXOBySize(context.Context, *UtxoInput) (*UtxoOutput, error) // PostTx post Transaction to a node PostTx(context.Context, *TxStatus) (*CommonReply, error) QueryACL(context.Context, *AclStatus) (*AclStatus, error) QueryUtxoRecord(context.Context, *UtxoRecordDetail) (*UtxoRecordDetail, error) QueryContractStatData(context.Context, *ContractStatDataRequest) (*ContractStatDataResponse, error) GetAccountContracts(context.Context, *GetAccountContractsRequest) (*GetAccountContractsResponse, error) // QueryTx query Transaction by TxStatus, // Bcname and Txid are required for this QueryTx(context.Context, *TxStatus) (*TxStatus, error) // GetBalance get balance of an address, // Address is required for this GetBalance(context.Context, *AddressStatus) (*AddressStatus, error) // GetFrozenBalance get two kinds of balance // 1. Still be frozen of an address // 2. Available now of an address // Address is required for this GetBalanceDetail(context.Context, *AddressBalanceStatus) (*AddressBalanceStatus, error) // GetFrozenBalance get balance that still be frozen of an address, // Address is required for this GetFrozenBalance(context.Context, *AddressStatus) (*AddressStatus, error) // GetBlock get block by blockid and return if the block in trunk or in branch GetBlock(context.Context, *BlockID) (*Block, error) // GetBlockByHeight get block by height and return if the block in trunk or in // branch GetBlockByHeight(context.Context, *BlockHeight) (*Block, error) GetBlockChainStatus(context.Context, *BCStatus) (*BCStatus, error) // Get blockchains query blockchains GetBlockChains(context.Context, *CommonIn) (*BlockChains, error) // GetSystemStatus query system status GetSystemStatus(context.Context, *CommonIn) (*SystemsStatusReply, error) // GetNetURL return net url GetNetURL(context.Context, *CommonIn) (*RawUrl, error) // 新的Select utxos接口, 不需要签名,可以支持选择账户的utxo SelectUTXO(context.Context, *UtxoInput) (*UtxoOutput, error) // PreExecWithSelectUTXO preExec & selectUtxo PreExecWithSelectUTXO(context.Context, *PreExecWithSelectUTXORequest) (*PreExecWithSelectUTXOResponse, error) // DposCandidates get all candidates of the tdpos consensus DposCandidates(context.Context, *DposCandidatesRequest) (*DposCandidatesResponse, error) // DposNominateRecords get all records nominated by an user DposNominateRecords(context.Context, *DposNominateRecordsRequest) (*DposNominateRecordsResponse, error) // DposNomineeRecords get nominated record of a candidate DposNomineeRecords(context.Context, *DposNomineeRecordsRequest) (*DposNomineeRecordsResponse, error) // DposVoteRecords get all vote records voted by an user DposVoteRecords(context.Context, *DposVoteRecordsRequest) (*DposVoteRecordsResponse, error) // DposVotedRecords get all vote records of a candidate DposVotedRecords(context.Context, *DposVotedRecordsRequest) (*DposVotedRecordsResponse, error) // DposCheckResults get check results of a specific term DposCheckResults(context.Context, *DposCheckResultsRequest) (*DposCheckResultsResponse, error) // DposStatus get dpos status DposStatus(context.Context, *DposStatusRequest) (*DposStatusResponse, error) // GetAccountByAK get account sets contain a specific address GetAccountByAK(context.Context, *AK2AccountRequest) (*AK2AccountResponse, error) // GetAddressContracts get contracts of accounts contain a specific address GetAddressContracts(context.Context, *AddressContractsRequest) (*AddressContractsResponse, error) // 预执行合约 PreExec(context.Context, *InvokeRPCRequest) (*InvokeRPCResponse, error) }
type XuperSignature ¶
type XuperSignature struct { PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Unified Xuper Signature
func (*XuperSignature) Descriptor ¶
func (*XuperSignature) Descriptor() ([]byte, []int)
func (*XuperSignature) GetPublicKeys ¶
func (m *XuperSignature) GetPublicKeys() [][]byte
func (*XuperSignature) GetSignature ¶
func (m *XuperSignature) GetSignature() []byte
func (*XuperSignature) ProtoMessage ¶
func (*XuperSignature) ProtoMessage()
func (*XuperSignature) Reset ¶
func (m *XuperSignature) Reset()
func (*XuperSignature) String ¶
func (m *XuperSignature) String() string
func (*XuperSignature) XXX_DiscardUnknown ¶
func (m *XuperSignature) XXX_DiscardUnknown()
func (*XuperSignature) XXX_Marshal ¶
func (m *XuperSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*XuperSignature) XXX_Merge ¶
func (dst *XuperSignature) XXX_Merge(src proto.Message)
func (*XuperSignature) XXX_Size ¶
func (m *XuperSignature) XXX_Size() int
func (*XuperSignature) XXX_Unmarshal ¶
func (m *XuperSignature) XXX_Unmarshal(b []byte) error