Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func InitEIP155Signer(chainId *big.Int)
- func RegisterAppchainPluginServer(s *grpc.Server, srv AppchainPluginServer)
- func RegisterChainBrokerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterChainBrokerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainBrokerClient) error
- func RegisterChainBrokerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterChainBrokerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainBrokerServer) error
- func RegisterChainBrokerServer(s *grpc.Server, srv ChainBrokerServer)
- type AccessListTx
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (m *Address) Marshal() (dAtA []byte, err error)
- func (m *Address) MarshalTo(dAtA []byte) (int, error)
- func (m *Address) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) Size() (n int)
- func (m *Address) String() string
- func (m *Address) Unmarshal(dAtA []byte) error
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type AppchainPluginClient
- type AppchainPluginServer
- type AppchainPlugin_GetIBTPClient
- type AppchainPlugin_GetIBTPServer
- type Arg
- func (*Arg) Descriptor() ([]byte, []int)
- func (m *Arg) GetIsArray() bool
- func (m *Arg) GetType() Arg_Type
- func (m *Arg) GetValue() []byte
- func (m *Arg) Marshal() (dAtA []byte, err error)
- func (m *Arg) MarshalTo(dAtA []byte) (int, error)
- func (m *Arg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Arg) ProtoMessage()
- func (m *Arg) Reset()
- func (m *Arg) Size() (n int)
- func (m *Arg) String() string
- func (m *Arg) Unmarshal(dAtA []byte) error
- func (m *Arg) XXX_DiscardUnknown()
- func (m *Arg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Arg) XXX_Merge(src proto.Message)
- func (m *Arg) XXX_Size() int
- func (m *Arg) XXX_Unmarshal(b []byte) error
- type Arg_Type
- type AssetExchangeInfo
- func (*AssetExchangeInfo) Descriptor() ([]byte, []int)
- func (m *AssetExchangeInfo) GetAssetOnDst() uint64
- func (m *AssetExchangeInfo) GetAssetOnSrc() uint64
- func (m *AssetExchangeInfo) GetId() string
- func (m *AssetExchangeInfo) GetReceiverOnDst() string
- func (m *AssetExchangeInfo) GetReceiverOnSrc() string
- func (m *AssetExchangeInfo) GetSenderOnDst() string
- func (m *AssetExchangeInfo) GetSenderOnSrc() string
- func (m *AssetExchangeInfo) Marshal() (dAtA []byte, err error)
- func (m *AssetExchangeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetExchangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetExchangeInfo) ProtoMessage()
- func (m *AssetExchangeInfo) Reset()
- func (m *AssetExchangeInfo) Size() (n int)
- func (m *AssetExchangeInfo) String() string
- func (m *AssetExchangeInfo) Unmarshal(dAtA []byte) error
- func (m *AssetExchangeInfo) XXX_DiscardUnknown()
- func (m *AssetExchangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetExchangeInfo) XXX_Merge(src proto.Message)
- func (m *AssetExchangeInfo) XXX_Size() int
- func (m *AssetExchangeInfo) XXX_Unmarshal(b []byte) error
- type AssetExchangeStatus
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBlockHeader() *BlockHeader
- func (m *Block) GetExtra() []byte
- func (m *Block) GetSignature() []byte
- func (m *Block) Hash() *types.Hash
- func (m *Block) Height() uint64
- func (m *Block) Marshal() (dAtA []byte, err error)
- func (m *Block) MarshalTo(dAtA []byte) (int, error)
- func (m *Block) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) Size() (n int)
- func (m *Block) String() string
- func (m *Block) Unmarshal(dAtA []byte) error
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetNumber() uint64
- func (m *BlockHeader) GetTimestamp() int64
- func (m *BlockHeader) GetVersion() []byte
- func (m *BlockHeader) Hash() *types.Hash
- func (m *BlockHeader) Marshal() (dAtA []byte, err error)
- func (m *BlockHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) Size() (n int)
- func (m *BlockHeader) String() string
- func (m *BlockHeader) Unmarshal(dAtA []byte) error
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BxhTransaction
- func (m *BxhTransaction) Account() string
- func (*BxhTransaction) Descriptor() ([]byte, []int)
- func (m *BxhTransaction) GetAmount() uint64
- func (m *BxhTransaction) GetChainID() *big.Int
- func (m *BxhTransaction) GetCrosschainExtra() (*CrosschainTransactionExtra, error)
- func (m *BxhTransaction) GetExtra() []byte
- func (m *BxhTransaction) GetFrom() *types.Address
- func (m *BxhTransaction) GetGas() uint64
- func (m *BxhTransaction) GetGasPrice() *big.Int
- func (m *BxhTransaction) GetHash() *types.Hash
- func (m *BxhTransaction) GetIBTP() *IBTP
- func (m *BxhTransaction) GetNonce() uint64
- func (m *BxhTransaction) GetPayload() []byte
- func (m *BxhTransaction) GetRawSignature() (v, r, s *big.Int)
- func (m *BxhTransaction) GetSignHash() *types.Hash
- func (m *BxhTransaction) GetSignature() []byte
- func (m *BxhTransaction) GetTimeStamp() int64
- func (m *BxhTransaction) GetTimestamp() int64
- func (m *BxhTransaction) GetTo() *types.Address
- func (m *BxhTransaction) GetType() byte
- func (m *BxhTransaction) GetVersion() []byte
- func (m *BxhTransaction) Hash() *types.Hash
- func (m *BxhTransaction) IsIBTP() bool
- func (m *BxhTransaction) Marshal() (dAtA []byte, err error)
- func (m *BxhTransaction) MarshalTo(dAtA []byte) (int, error)
- func (m *BxhTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BxhTransaction) MarshalWithFlag() ([]byte, error)
- func (*BxhTransaction) ProtoMessage()
- func (m *BxhTransaction) Reset()
- func (m *BxhTransaction) Sign(key crypto.PrivateKey) error
- func (m *BxhTransaction) SignHash() *types.Hash
- func (m *BxhTransaction) Size() (n int)
- func (m *BxhTransaction) SizeWithFlag() int
- func (m *BxhTransaction) String() string
- func (m *BxhTransaction) Unmarshal(dAtA []byte) error
- func (m *BxhTransaction) VerifySignature() error
- func (m *BxhTransaction) XXX_DiscardUnknown()
- func (m *BxhTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BxhTransaction) XXX_Merge(src proto.Message)
- func (m *BxhTransaction) XXX_Size() int
- func (m *BxhTransaction) XXX_Unmarshal(b []byte) error
- type CallArgs
- type ChainBrokerClient
- type ChainBrokerServer
- type ChainBroker_GetBlockHeaderClient
- type ChainBroker_GetBlockHeaderServer
- type ChainBroker_GetInterchainTxWrappersClient
- type ChainBroker_GetInterchainTxWrappersServer
- type ChainBroker_SubscribeClient
- type ChainBroker_SubscribeServer
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)
- func (m *ChainMeta) GetHeight() uint64
- func (m *ChainMeta) GetInterchainTxCount() uint64
- func (m *ChainMeta) Marshal() (dAtA []byte, err error)
- func (m *ChainMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainMeta) ProtoMessage()
- func (m *ChainMeta) Reset()
- func (m *ChainMeta) Size() (n int)
- func (m *ChainMeta) String() string
- func (m *ChainMeta) Unmarshal(dAtA []byte) error
- func (m *ChainMeta) XXX_DiscardUnknown()
- func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMeta) XXX_Merge(src proto.Message)
- func (m *ChainMeta) XXX_Size() int
- func (m *ChainMeta) XXX_Unmarshal(b []byte) error
- type CheckPierResponse
- func (*CheckPierResponse) Descriptor() ([]byte, []int)
- func (m *CheckPierResponse) GetAddress() string
- func (m *CheckPierResponse) GetStatus() CheckPierResponse_Status
- func (m *CheckPierResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckPierResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckPierResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckPierResponse) ProtoMessage()
- func (m *CheckPierResponse) Reset()
- func (m *CheckPierResponse) Size() (n int)
- func (m *CheckPierResponse) String() string
- func (m *CheckPierResponse) Unmarshal(dAtA []byte) error
- func (m *CheckPierResponse) XXX_DiscardUnknown()
- func (m *CheckPierResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckPierResponse) XXX_Merge(src proto.Message)
- func (m *CheckPierResponse) XXX_Size() int
- func (m *CheckPierResponse) XXX_Unmarshal(b []byte) error
- type CheckPierResponse_Status
- type CommitEvent
- func (*CommitEvent) Descriptor() ([]byte, []int)
- func (m *CommitEvent) GetBlock() *Block
- func (m *CommitEvent) GetLocalList() []bool
- func (m *CommitEvent) Marshal() (dAtA []byte, err error)
- func (m *CommitEvent) MarshalTo(dAtA []byte) (int, error)
- func (*CommitEvent) ProtoMessage()
- func (m *CommitEvent) Reset()
- func (m *CommitEvent) Size() (n int)
- func (m *CommitEvent) String() string
- func (m *CommitEvent) Unmarshal(dAtA []byte) error
- func (m *CommitEvent) XXX_DiscardUnknown()
- func (m *CommitEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitEvent) XXX_Merge(src proto.Message)
- func (m *CommitEvent) XXX_Size() int
- func (m *CommitEvent) XXX_Unmarshal(b []byte) error
- type Content
- func (*Content) Descriptor() ([]byte, []int)
- func (m *Content) GetArgs() [][]byte
- func (m *Content) GetArgsCb() [][]byte
- func (m *Content) GetArgsRb() [][]byte
- func (m *Content) GetCallback() string
- func (m *Content) GetDstContractId() string
- func (m *Content) GetFunc() string
- func (m *Content) GetRollback() string
- func (m *Content) GetSrcContractId() string
- func (m *Content) Marshal() (dAtA []byte, err error)
- func (m *Content) MarshalTo(dAtA []byte) (int, error)
- func (m *Content) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Content) ProtoMessage()
- func (m *Content) Reset()
- func (m *Content) Size() (n int)
- func (m *Content) String() string
- func (m *Content) Unmarshal(dAtA []byte) error
- func (m *Content) XXX_DiscardUnknown()
- func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Content) XXX_Merge(src proto.Message)
- func (m *Content) XXX_Size() int
- func (m *Content) XXX_Unmarshal(b []byte) error
- type CrosschainTransactionExtra
- func (*CrosschainTransactionExtra) Descriptor() ([]byte, []int)
- func (m *CrosschainTransactionExtra) GetIndex() uint64
- func (m *CrosschainTransactionExtra) GetRet() []byte
- func (m *CrosschainTransactionExtra) GetStatus() bool
- func (m *CrosschainTransactionExtra) Marshal() (dAtA []byte, err error)
- func (m *CrosschainTransactionExtra) MarshalTo(dAtA []byte) (int, error)
- func (m *CrosschainTransactionExtra) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CrosschainTransactionExtra) ProtoMessage()
- func (m *CrosschainTransactionExtra) Reset()
- func (m *CrosschainTransactionExtra) Size() (n int)
- func (m *CrosschainTransactionExtra) String() string
- func (m *CrosschainTransactionExtra) Unmarshal(dAtA []byte) error
- func (m *CrosschainTransactionExtra) XXX_DiscardUnknown()
- func (m *CrosschainTransactionExtra) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CrosschainTransactionExtra) XXX_Merge(src proto.Message)
- func (m *CrosschainTransactionExtra) XXX_Size() int
- func (m *CrosschainTransactionExtra) XXX_Unmarshal(b []byte) error
- type DelVPNodeRequest
- func (*DelVPNodeRequest) Descriptor() ([]byte, []int)
- func (m *DelVPNodeRequest) GetPid() string
- func (m *DelVPNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *DelVPNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DelVPNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelVPNodeRequest) ProtoMessage()
- func (m *DelVPNodeRequest) Reset()
- func (m *DelVPNodeRequest) Size() (n int)
- func (m *DelVPNodeRequest) String() string
- func (m *DelVPNodeRequest) Unmarshal(dAtA []byte) error
- func (m *DelVPNodeRequest) XXX_DiscardUnknown()
- func (m *DelVPNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelVPNodeRequest) XXX_Merge(src proto.Message)
- func (m *DelVPNodeRequest) XXX_Size() int
- func (m *DelVPNodeRequest) XXX_Unmarshal(b []byte) error
- type EIP155Signer
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EthTransaction
- func (e *EthTransaction) AccessList() types2.AccessList
- func (tx *EthTransaction) DecodeRLP(s *rlp.Stream) error
- func (tx *EthTransaction) EncodeRLP(w io.Writer) error
- func (e *EthTransaction) FromCallArgs(callArgs CallArgs)
- func (e *EthTransaction) GetAmount() uint64
- func (e *EthTransaction) GetChainID() *big.Int
- func (e *EthTransaction) GetExtra() []byte
- func (e *EthTransaction) GetFrom() *types.Address
- func (e *EthTransaction) GetGas() uint64
- func (e *EthTransaction) GetGasPrice() *big.Int
- func (e *EthTransaction) GetHash() *types.Hash
- func (e *EthTransaction) GetIBTP() *IBTP
- func (e *EthTransaction) GetNonce() uint64
- func (e *EthTransaction) GetPayload() []byte
- func (e *EthTransaction) GetRawSignature() (v, r, s *big.Int)
- func (e *EthTransaction) GetSignHash() *types.Hash
- func (e *EthTransaction) GetSignature() []byte
- func (e *EthTransaction) GetTimeStamp() int64
- func (e *EthTransaction) GetTo() *types.Address
- func (e *EthTransaction) GetType() byte
- func (e *EthTransaction) GetVersion() []byte
- func (e *EthTransaction) IsIBTP() bool
- func (tx *EthTransaction) MarshalBinary() ([]byte, error)
- func (e *EthTransaction) MarshalTo(buf []byte) (int, error)
- func (e *EthTransaction) MarshalWithFlag() ([]byte, error)
- func (e *EthTransaction) Protected() bool
- func (e *EthTransaction) Size() int
- func (e *EthTransaction) SizeWithFlag() int
- func (e *EthTransaction) Unmarshal(buf []byte) error
- func (tx *EthTransaction) UnmarshalBinary(b []byte) error
- func (e *EthTransaction) VerifySignature() error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetData() []byte
- func (m *Event) GetInterchain() bool
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EvmLog
- func (*EvmLog) Descriptor() ([]byte, []int)
- func (m *EvmLog) GetBlockNumber() uint64
- func (m *EvmLog) GetData() []byte
- func (m *EvmLog) GetIndex() uint64
- func (m *EvmLog) GetRemoved() bool
- func (m *EvmLog) GetTxIndex() uint64
- func (m *EvmLog) Marshal() (dAtA []byte, err error)
- func (l EvmLog) MarshalJSON() ([]byte, error)
- func (m *EvmLog) MarshalTo(dAtA []byte) (int, error)
- func (m *EvmLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EvmLog) ProtoMessage()
- func (m *EvmLog) Reset()
- func (m *EvmLog) Size() (n int)
- func (m *EvmLog) String() string
- func (m *EvmLog) Unmarshal(dAtA []byte) error
- func (m *EvmLog) XXX_DiscardUnknown()
- func (m *EvmLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvmLog) XXX_Merge(src proto.Message)
- func (m *EvmLog) XXX_Size() int
- func (m *EvmLog) XXX_Unmarshal(b []byte) error
- type GetBlockHeaderRequest
- func (*GetBlockHeaderRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHeaderRequest) GetBegin() uint64
- func (m *GetBlockHeaderRequest) GetEnd() uint64
- func (m *GetBlockHeaderRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeaderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockHeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockHeaderRequest) ProtoMessage()
- func (m *GetBlockHeaderRequest) Reset()
- func (m *GetBlockHeaderRequest) Size() (n int)
- func (m *GetBlockHeaderRequest) String() string
- func (m *GetBlockHeaderRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeaderRequest) XXX_DiscardUnknown()
- func (m *GetBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeaderRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHeaderRequest) XXX_Size() int
- func (m *GetBlockHeaderRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHeadersRequest
- func (*GetBlockHeadersRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHeadersRequest) GetEnd() uint64
- func (m *GetBlockHeadersRequest) GetStart() uint64
- func (m *GetBlockHeadersRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeadersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockHeadersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockHeadersRequest) ProtoMessage()
- func (m *GetBlockHeadersRequest) Reset()
- func (m *GetBlockHeadersRequest) Size() (n int)
- func (m *GetBlockHeadersRequest) String() string
- func (m *GetBlockHeadersRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeadersRequest) XXX_DiscardUnknown()
- func (m *GetBlockHeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeadersRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHeadersRequest) XXX_Size() int
- func (m *GetBlockHeadersRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHeadersResponse
- func (*GetBlockHeadersResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHeadersResponse) GetBlockHeaders() []*BlockHeader
- func (m *GetBlockHeadersResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeadersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockHeadersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockHeadersResponse) ProtoMessage()
- func (m *GetBlockHeadersResponse) Reset()
- func (m *GetBlockHeadersResponse) Size() (n int)
- func (m *GetBlockHeadersResponse) String() string
- func (m *GetBlockHeadersResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeadersResponse) XXX_DiscardUnknown()
- func (m *GetBlockHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeadersResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHeadersResponse) XXX_Size() int
- func (m *GetBlockHeadersResponse) XXX_Unmarshal(b []byte) error
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockRequest) GetType() GetBlockRequest_Type
- func (m *GetBlockRequest) GetValue() string
- func (m *GetBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockRequest) ProtoMessage()
- func (m *GetBlockRequest) Reset()
- func (m *GetBlockRequest) Size() (n int)
- func (m *GetBlockRequest) String() string
- func (m *GetBlockRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockRequest) XXX_DiscardUnknown()
- func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockRequest) XXX_Size() int
- func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
- type GetBlockRequest_Type
- type GetBlocksRequest
- func (*GetBlocksRequest) Descriptor() ([]byte, []int)
- func (m *GetBlocksRequest) GetEnd() uint64
- func (m *GetBlocksRequest) GetStart() uint64
- func (m *GetBlocksRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlocksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlocksRequest) ProtoMessage()
- func (m *GetBlocksRequest) Reset()
- func (m *GetBlocksRequest) Size() (n int)
- func (m *GetBlocksRequest) String() string
- func (m *GetBlocksRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlocksRequest) XXX_DiscardUnknown()
- func (m *GetBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlocksRequest) XXX_Merge(src proto.Message)
- func (m *GetBlocksRequest) XXX_Size() int
- func (m *GetBlocksRequest) XXX_Unmarshal(b []byte) error
- type GetBlocksResponse
- func (*GetBlocksResponse) Descriptor() ([]byte, []int)
- func (m *GetBlocksResponse) GetBlocks() []*Block
- func (m *GetBlocksResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlocksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlocksResponse) ProtoMessage()
- func (m *GetBlocksResponse) Reset()
- func (m *GetBlocksResponse) Size() (n int)
- func (m *GetBlocksResponse) String() string
- func (m *GetBlocksResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlocksResponse) XXX_DiscardUnknown()
- func (m *GetBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlocksResponse) XXX_Merge(src proto.Message)
- func (m *GetBlocksResponse) XXX_Size() int
- func (m *GetBlocksResponse) XXX_Unmarshal(b []byte) error
- type GetInMessageRequest
- func (*GetInMessageRequest) Descriptor() ([]byte, []int)
- func (m *GetInMessageRequest) GetFrom() string
- func (m *GetInMessageRequest) GetIdx() uint64
- func (m *GetInMessageRequest) Marshal() (dAtA []byte, err error)
- func (m *GetInMessageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetInMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetInMessageRequest) ProtoMessage()
- func (m *GetInMessageRequest) Reset()
- func (m *GetInMessageRequest) Size() (n int)
- func (m *GetInMessageRequest) String() string
- func (m *GetInMessageRequest) Unmarshal(dAtA []byte) error
- func (m *GetInMessageRequest) XXX_DiscardUnknown()
- func (m *GetInMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInMessageRequest) XXX_Merge(src proto.Message)
- func (m *GetInMessageRequest) XXX_Size() int
- func (m *GetInMessageRequest) XXX_Unmarshal(b []byte) error
- type GetInMessageResponse
- func (*GetInMessageResponse) Descriptor() ([]byte, []int)
- func (m *GetInMessageResponse) GetResult() [][]byte
- func (m *GetInMessageResponse) Marshal() (dAtA []byte, err error)
- func (m *GetInMessageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetInMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetInMessageResponse) ProtoMessage()
- func (m *GetInMessageResponse) Reset()
- func (m *GetInMessageResponse) Size() (n int)
- func (m *GetInMessageResponse) String() string
- func (m *GetInMessageResponse) Unmarshal(dAtA []byte) error
- func (m *GetInMessageResponse) XXX_DiscardUnknown()
- func (m *GetInMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInMessageResponse) XXX_Merge(src proto.Message)
- func (m *GetInMessageResponse) XXX_Size() int
- func (m *GetInMessageResponse) XXX_Unmarshal(b []byte) error
- type GetInterchainTxWrappersRequest
- func (*GetInterchainTxWrappersRequest) Descriptor() ([]byte, []int)
- func (m *GetInterchainTxWrappersRequest) GetBegin() uint64
- func (m *GetInterchainTxWrappersRequest) GetEnd() uint64
- func (m *GetInterchainTxWrappersRequest) GetPid() string
- func (m *GetInterchainTxWrappersRequest) Marshal() (dAtA []byte, err error)
- func (m *GetInterchainTxWrappersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetInterchainTxWrappersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetInterchainTxWrappersRequest) ProtoMessage()
- func (m *GetInterchainTxWrappersRequest) Reset()
- func (m *GetInterchainTxWrappersRequest) Size() (n int)
- func (m *GetInterchainTxWrappersRequest) String() string
- func (m *GetInterchainTxWrappersRequest) Unmarshal(dAtA []byte) error
- func (m *GetInterchainTxWrappersRequest) XXX_DiscardUnknown()
- func (m *GetInterchainTxWrappersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInterchainTxWrappersRequest) XXX_Merge(src proto.Message)
- func (m *GetInterchainTxWrappersRequest) XXX_Size() int
- func (m *GetInterchainTxWrappersRequest) XXX_Unmarshal(b []byte) error
- type GetMetaResponse
- func (*GetMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetMetaResponse) GetMeta() map[string]uint64
- func (m *GetMetaResponse) Marshal() (dAtA []byte, err error)
- func (m *GetMetaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetMetaResponse) ProtoMessage()
- func (m *GetMetaResponse) Reset()
- func (m *GetMetaResponse) Size() (n int)
- func (m *GetMetaResponse) String() string
- func (m *GetMetaResponse) Unmarshal(dAtA []byte) error
- func (m *GetMetaResponse) XXX_DiscardUnknown()
- func (m *GetMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetMetaResponse) XXX_Size() int
- func (m *GetMetaResponse) XXX_Unmarshal(b []byte) error
- type GetMultiSignsRequest
- func (*GetMultiSignsRequest) Descriptor() ([]byte, []int)
- func (m *GetMultiSignsRequest) GetContent() string
- func (m *GetMultiSignsRequest) GetType() GetMultiSignsRequest_Type
- func (m *GetMultiSignsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetMultiSignsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetMultiSignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetMultiSignsRequest) ProtoMessage()
- func (m *GetMultiSignsRequest) Reset()
- func (m *GetMultiSignsRequest) Size() (n int)
- func (m *GetMultiSignsRequest) String() string
- func (m *GetMultiSignsRequest) Unmarshal(dAtA []byte) error
- func (m *GetMultiSignsRequest) XXX_DiscardUnknown()
- func (m *GetMultiSignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultiSignsRequest) XXX_Merge(src proto.Message)
- func (m *GetMultiSignsRequest) XXX_Size() int
- func (m *GetMultiSignsRequest) XXX_Unmarshal(b []byte) error
- type GetMultiSignsRequest_Type
- type GetOutMessageRequest
- func (*GetOutMessageRequest) Descriptor() ([]byte, []int)
- func (m *GetOutMessageRequest) GetIdx() uint64
- func (m *GetOutMessageRequest) GetTo() string
- func (m *GetOutMessageRequest) Marshal() (dAtA []byte, err error)
- func (m *GetOutMessageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetOutMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetOutMessageRequest) ProtoMessage()
- func (m *GetOutMessageRequest) Reset()
- func (m *GetOutMessageRequest) Size() (n int)
- func (m *GetOutMessageRequest) String() string
- func (m *GetOutMessageRequest) Unmarshal(dAtA []byte) error
- func (m *GetOutMessageRequest) XXX_DiscardUnknown()
- func (m *GetOutMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetOutMessageRequest) XXX_Merge(src proto.Message)
- func (m *GetOutMessageRequest) XXX_Size() int
- func (m *GetOutMessageRequest) XXX_Unmarshal(b []byte) error
- type GetTPSRequest
- func (*GetTPSRequest) Descriptor() ([]byte, []int)
- func (m *GetTPSRequest) GetBegin() uint64
- func (m *GetTPSRequest) GetEnd() uint64
- func (m *GetTPSRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTPSRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTPSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTPSRequest) ProtoMessage()
- func (m *GetTPSRequest) Reset()
- func (m *GetTPSRequest) Size() (n int)
- func (m *GetTPSRequest) String() string
- func (m *GetTPSRequest) Unmarshal(dAtA []byte) error
- func (m *GetTPSRequest) XXX_DiscardUnknown()
- func (m *GetTPSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTPSRequest) XXX_Merge(src proto.Message)
- func (m *GetTPSRequest) XXX_Size() int
- func (m *GetTPSRequest) XXX_Unmarshal(b []byte) error
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionResponse) GetTx() *BxhTransaction
- func (m *GetTransactionResponse) GetTxMeta() *TransactionMeta
- func (m *GetTransactionResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTransactionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTransactionResponse) ProtoMessage()
- func (m *GetTransactionResponse) Reset()
- func (m *GetTransactionResponse) Size() (n int)
- func (m *GetTransactionResponse) String() string
- func (m *GetTransactionResponse) Unmarshal(dAtA []byte) error
- func (m *GetTransactionResponse) XXX_DiscardUnknown()
- func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
- func (m *GetTransactionResponse) XXX_Size() int
- func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
- type HeartBeatRespones
- func (*HeartBeatRespones) Descriptor() ([]byte, []int)
- func (m *HeartBeatRespones) GetStatus() HeartBeatRespones_Status
- func (m *HeartBeatRespones) Marshal() (dAtA []byte, err error)
- func (m *HeartBeatRespones) MarshalTo(dAtA []byte) (int, error)
- func (m *HeartBeatRespones) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HeartBeatRespones) ProtoMessage()
- func (m *HeartBeatRespones) Reset()
- func (m *HeartBeatRespones) Size() (n int)
- func (m *HeartBeatRespones) String() string
- func (m *HeartBeatRespones) Unmarshal(dAtA []byte) error
- func (m *HeartBeatRespones) XXX_DiscardUnknown()
- func (m *HeartBeatRespones) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeartBeatRespones) XXX_Merge(src proto.Message)
- func (m *HeartBeatRespones) XXX_Size() int
- func (m *HeartBeatRespones) XXX_Unmarshal(b []byte) error
- type HeartBeatRespones_Status
- type IBTP
- func (m *IBTP) Category() IBTP_Category
- func (*IBTP) Descriptor() ([]byte, []int)
- func (m *IBTP) GetExtra() []byte
- func (m *IBTP) GetFrom() string
- func (m *IBTP) GetGroup() *StringUint64Map
- func (m *IBTP) GetIndex() uint64
- func (m *IBTP) GetPayload() []byte
- func (m *IBTP) GetProof() []byte
- func (m *IBTP) GetTimestamp() int64
- func (m *IBTP) GetTo() string
- func (m *IBTP) GetType() IBTP_Type
- func (m *IBTP) GetVersion() string
- func (m *IBTP) Hash() *types.Hash
- func (m *IBTP) ID() string
- func (m *IBTP) Marshal() (dAtA []byte, err error)
- func (m *IBTP) MarshalTo(dAtA []byte) (int, error)
- func (m *IBTP) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IBTP) ProtoMessage()
- func (m *IBTP) Reset()
- func (m *IBTP) Size() (n int)
- func (m *IBTP) String() string
- func (m *IBTP) Unmarshal(dAtA []byte) error
- func (m *IBTP) XXX_DiscardUnknown()
- func (m *IBTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IBTP) XXX_Merge(src proto.Message)
- func (m *IBTP) XXX_Size() int
- func (m *IBTP) XXX_Unmarshal(b []byte) error
- type IBTP_Category
- type IBTP_Type
- type IBTPs
- func (*IBTPs) Descriptor() ([]byte, []int)
- func (m *IBTPs) GetIbtps() []*IBTP
- func (m *IBTPs) Marshal() (dAtA []byte, err error)
- func (m *IBTPs) MarshalTo(dAtA []byte) (int, error)
- func (m *IBTPs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IBTPs) ProtoMessage()
- func (m *IBTPs) Reset()
- func (m *IBTPs) Size() (n int)
- func (m *IBTPs) String() string
- func (m *IBTPs) Unmarshal(dAtA []byte) error
- func (m *IBTPs) XXX_DiscardUnknown()
- func (m *IBTPs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IBTPs) XXX_Merge(src proto.Message)
- func (m *IBTPs) XXX_Size() int
- func (m *IBTPs) XXX_Unmarshal(b []byte) error
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)
- func (m *InitializeRequest) GetConfigPath() string
- func (m *InitializeRequest) GetExtra() []byte
- func (m *InitializeRequest) GetPierId() string
- func (m *InitializeRequest) Marshal() (dAtA []byte, err error)
- func (m *InitializeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *InitializeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InitializeRequest) ProtoMessage()
- func (m *InitializeRequest) Reset()
- func (m *InitializeRequest) Size() (n int)
- func (m *InitializeRequest) String() string
- func (m *InitializeRequest) Unmarshal(dAtA []byte) error
- func (m *InitializeRequest) XXX_DiscardUnknown()
- func (m *InitializeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitializeRequest) XXX_Merge(src proto.Message)
- func (m *InitializeRequest) XXX_Size() int
- func (m *InitializeRequest) XXX_Unmarshal(b []byte) error
- type Interchain
- type InterchainMeta
- type InterchainMetaS
- func (*InterchainMetaS) Descriptor() ([]byte, []int)
- func (m *InterchainMetaS) GetCounter() *StringUint64SliceMap
- func (m *InterchainMetaS) Marshal() (dAtA []byte, err error)
- func (m *InterchainMetaS) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainMetaS) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InterchainMetaS) ProtoMessage()
- func (m *InterchainMetaS) Reset()
- func (m *InterchainMetaS) Size() (n int)
- func (m *InterchainMetaS) String() string
- func (m *InterchainMetaS) Unmarshal(dAtA []byte) error
- func (m *InterchainMetaS) XXX_DiscardUnknown()
- func (m *InterchainMetaS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainMetaS) XXX_Merge(src proto.Message)
- func (m *InterchainMetaS) XXX_Size() int
- func (m *InterchainMetaS) XXX_Unmarshal(b []byte) error
- type InterchainS
- func (*InterchainS) Descriptor() ([]byte, []int)
- func (m *InterchainS) GetID() string
- func (m *InterchainS) GetInterchainCounter() *StringUint64Map
- func (m *InterchainS) GetReceiptCounter() *StringUint64Map
- func (m *InterchainS) GetSourceReceiptCounter() *StringUint64Map
- func (m *InterchainS) Marshal() (dAtA []byte, err error)
- func (m *InterchainS) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainS) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InterchainS) ProtoMessage()
- func (m *InterchainS) Reset()
- func (m *InterchainS) Size() (n int)
- func (m *InterchainS) String() string
- func (m *InterchainS) Unmarshal(dAtA []byte) error
- func (m *InterchainS) XXX_DiscardUnknown()
- func (m *InterchainS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainS) XXX_Merge(src proto.Message)
- func (m *InterchainS) XXX_Size() int
- func (m *InterchainS) XXX_Unmarshal(b []byte) error
- type InterchainTxWrapper
- func (*InterchainTxWrapper) Descriptor() ([]byte, []int)
- func (m *InterchainTxWrapper) GetHeight() uint64
- func (m *InterchainTxWrapper) GetTransactions() []*BxhTransaction
- func (m *InterchainTxWrapper) Marshal() (dAtA []byte, err error)
- func (m *InterchainTxWrapper) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainTxWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InterchainTxWrapper) ProtoMessage()
- func (m *InterchainTxWrapper) Reset()
- func (m *InterchainTxWrapper) Size() (n int)
- func (m *InterchainTxWrapper) String() string
- func (m *InterchainTxWrapper) Unmarshal(dAtA []byte) error
- func (m *InterchainTxWrapper) XXX_DiscardUnknown()
- func (m *InterchainTxWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainTxWrapper) XXX_Merge(src proto.Message)
- func (m *InterchainTxWrapper) XXX_Size() int
- func (m *InterchainTxWrapper) XXX_Unmarshal(b []byte) error
- type InterchainTxWrappers
- func (*InterchainTxWrappers) Descriptor() ([]byte, []int)
- func (m *InterchainTxWrappers) GetInterchainTxWrappers() []*InterchainTxWrapper
- func (m *InterchainTxWrappers) Marshal() (dAtA []byte, err error)
- func (m *InterchainTxWrappers) MarshalTo(dAtA []byte) (int, error)
- func (m *InterchainTxWrappers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InterchainTxWrappers) ProtoMessage()
- func (m *InterchainTxWrappers) Reset()
- func (m *InterchainTxWrappers) Size() (n int)
- func (m *InterchainTxWrappers) String() string
- func (m *InterchainTxWrappers) Unmarshal(dAtA []byte) error
- func (m *InterchainTxWrappers) XXX_DiscardUnknown()
- func (m *InterchainTxWrappers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterchainTxWrappers) XXX_Merge(src proto.Message)
- func (m *InterchainTxWrappers) XXX_Size() int
- func (m *InterchainTxWrappers) XXX_Unmarshal(b []byte) error
- type InvokePayload
- func (*InvokePayload) Descriptor() ([]byte, []int)
- func (m *InvokePayload) GetArgs() []*Arg
- func (m *InvokePayload) GetMethod() string
- func (m *InvokePayload) Marshal() (dAtA []byte, err error)
- func (m *InvokePayload) MarshalTo(dAtA []byte) (int, error)
- func (m *InvokePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InvokePayload) ProtoMessage()
- func (m *InvokePayload) Reset()
- func (m *InvokePayload) Size() (n int)
- func (m *InvokePayload) String() string
- func (m *InvokePayload) Unmarshal(dAtA []byte) error
- func (m *InvokePayload) XXX_DiscardUnknown()
- func (m *InvokePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokePayload) XXX_Merge(src proto.Message)
- func (m *InvokePayload) XXX_Size() int
- func (m *InvokePayload) XXX_Unmarshal(b []byte) error
- type LegacyTx
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetData() []byte
- func (m *Message) GetType() Message_Type
- func (m *Message) GetVersion() []byte
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Type
- type NameResponse
- func (*NameResponse) Descriptor() ([]byte, []int)
- func (m *NameResponse) GetName() string
- func (m *NameResponse) Marshal() (dAtA []byte, err error)
- func (m *NameResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NameResponse) ProtoMessage()
- func (m *NameResponse) Reset()
- func (m *NameResponse) Size() (n int)
- func (m *NameResponse) String() string
- func (m *NameResponse) Unmarshal(dAtA []byte) error
- func (m *NameResponse) XXX_DiscardUnknown()
- func (m *NameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NameResponse) XXX_Merge(src proto.Message)
- func (m *NameResponse) XXX_Size() int
- func (m *NameResponse) XXX_Unmarshal(b []byte) error
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetContent() []byte
- func (m *Payload) GetEncrypted() bool
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (m *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type PierInfo
- func (*PierInfo) Descriptor() ([]byte, []int)
- func (m *PierInfo) GetAddress() string
- func (m *PierInfo) GetIndex() string
- func (m *PierInfo) GetTimeout() int64
- func (m *PierInfo) Marshal() (dAtA []byte, err error)
- func (m *PierInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PierInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PierInfo) ProtoMessage()
- func (m *PierInfo) Reset()
- func (m *PierInfo) Size() (n int)
- func (m *PierInfo) String() string
- func (m *PierInfo) Unmarshal(dAtA []byte) error
- func (m *PierInfo) XXX_DiscardUnknown()
- func (m *PierInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PierInfo) XXX_Merge(src proto.Message)
- func (m *PierInfo) XXX_Size() int
- func (m *PierInfo) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetEvents() []*Event
- func (m *Receipt) GetEvmLogs() []*EvmLog
- func (m *Receipt) GetGasUsed() uint64
- func (m *Receipt) GetRet() []byte
- func (m *Receipt) GetStatus() Receipt_Status
- func (m *Receipt) GetVersion() []byte
- func (m *Receipt) Hash() *types.Hash
- func (m *Receipt) IsSuccess() bool
- func (m *Receipt) Marshal() (dAtA []byte, err error)
- func (m *Receipt) MarshalTo(dAtA []byte) (int, error)
- func (m *Receipt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) Size() (n int)
- func (m *Receipt) String() string
- func (m *Receipt) Unmarshal(dAtA []byte) error
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type Receipt_Status
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*Receipt
- func (m *Receipts) Marshal() (dAtA []byte, err error)
- func (m *Receipts) MarshalTo(dAtA []byte) (int, error)
- func (m *Receipts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Receipts) ProtoMessage()
- func (m *Receipts) Reset()
- func (m *Receipts) Size() (n int)
- func (m *Receipts) String() string
- func (m *Receipts) Unmarshal(dAtA []byte) error
- func (m *Receipts) XXX_DiscardUnknown()
- func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetType() Request_Type
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (m *Request) Unmarshal(dAtA []byte) error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Request_Type
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetData() []byte
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SignResponse
- func (*SignResponse) Descriptor() ([]byte, []int)
- func (m *SignResponse) GetSign() map[string][]byte
- func (m *SignResponse) Marshal() (dAtA []byte, err error)
- func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignResponse) ProtoMessage()
- func (m *SignResponse) Reset()
- func (m *SignResponse) Size() (n int)
- func (m *SignResponse) String() string
- func (m *SignResponse) Unmarshal(dAtA []byte) error
- func (m *SignResponse) XXX_DiscardUnknown()
- func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignResponse) XXX_Merge(src proto.Message)
- func (m *SignResponse) XXX_Size() int
- func (m *SignResponse) XXX_Unmarshal(b []byte) error
- type StringUint64Map
- func (*StringUint64Map) Descriptor() ([]byte, []int)
- func (m *StringUint64Map) GetKeys() []string
- func (m *StringUint64Map) GetVals() []uint64
- func (m *StringUint64Map) Marshal() (dAtA []byte, err error)
- func (m *StringUint64Map) MarshalTo(dAtA []byte) (int, error)
- func (m *StringUint64Map) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StringUint64Map) ProtoMessage()
- func (m *StringUint64Map) Reset()
- func (m *StringUint64Map) Size() (n int)
- func (m *StringUint64Map) String() string
- func (m *StringUint64Map) Unmarshal(dAtA []byte) error
- func (m *StringUint64Map) XXX_DiscardUnknown()
- func (m *StringUint64Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringUint64Map) XXX_Merge(src proto.Message)
- func (m *StringUint64Map) XXX_Size() int
- func (m *StringUint64Map) XXX_Unmarshal(b []byte) error
- type StringUint64SliceMap
- func (*StringUint64SliceMap) Descriptor() ([]byte, []int)
- func (m *StringUint64SliceMap) GetKeys() []string
- func (m *StringUint64SliceMap) GetVals() []*Uint64Slice
- func (m *StringUint64SliceMap) Marshal() (dAtA []byte, err error)
- func (m *StringUint64SliceMap) MarshalTo(dAtA []byte) (int, error)
- func (m *StringUint64SliceMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StringUint64SliceMap) ProtoMessage()
- func (m *StringUint64SliceMap) Reset()
- func (m *StringUint64SliceMap) Size() (n int)
- func (m *StringUint64SliceMap) String() string
- func (m *StringUint64SliceMap) Unmarshal(dAtA []byte) error
- func (m *StringUint64SliceMap) XXX_DiscardUnknown()
- func (m *StringUint64SliceMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringUint64SliceMap) XXX_Merge(src proto.Message)
- func (m *StringUint64SliceMap) XXX_Size() int
- func (m *StringUint64SliceMap) XXX_Unmarshal(b []byte) error
- type SubmitIBTPResponse
- func (*SubmitIBTPResponse) Descriptor() ([]byte, []int)
- func (m *SubmitIBTPResponse) GetMessage() string
- func (m *SubmitIBTPResponse) GetResult() *IBTP
- func (m *SubmitIBTPResponse) GetStatus() bool
- func (m *SubmitIBTPResponse) Marshal() (dAtA []byte, err error)
- func (m *SubmitIBTPResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitIBTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubmitIBTPResponse) ProtoMessage()
- func (m *SubmitIBTPResponse) Reset()
- func (m *SubmitIBTPResponse) Size() (n int)
- func (m *SubmitIBTPResponse) String() string
- func (m *SubmitIBTPResponse) Unmarshal(dAtA []byte) error
- func (m *SubmitIBTPResponse) XXX_DiscardUnknown()
- func (m *SubmitIBTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitIBTPResponse) XXX_Merge(src proto.Message)
- func (m *SubmitIBTPResponse) XXX_Size() int
- func (m *SubmitIBTPResponse) XXX_Unmarshal(b []byte) error
- type SubscriptionRequest
- func (*SubscriptionRequest) Descriptor() ([]byte, []int)
- func (m *SubscriptionRequest) GetExtra() []byte
- func (m *SubscriptionRequest) GetType() SubscriptionRequest_Type
- func (m *SubscriptionRequest) Marshal() (dAtA []byte, err error)
- func (m *SubscriptionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubscriptionRequest) ProtoMessage()
- func (m *SubscriptionRequest) Reset()
- func (m *SubscriptionRequest) Size() (n int)
- func (m *SubscriptionRequest) String() string
- func (m *SubscriptionRequest) Unmarshal(dAtA []byte) error
- func (m *SubscriptionRequest) XXX_DiscardUnknown()
- func (m *SubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscriptionRequest) XXX_Merge(src proto.Message)
- func (m *SubscriptionRequest) XXX_Size() int
- func (m *SubscriptionRequest) XXX_Unmarshal(b []byte) error
- type SubscriptionRequest_Type
- type Transaction
- type TransactionData
- func (*TransactionData) Descriptor() ([]byte, []int)
- func (m *TransactionData) GetAmount() uint64
- func (m *TransactionData) GetExtra() []byte
- func (m *TransactionData) GetPayload() []byte
- func (m *TransactionData) GetType() TransactionData_Type
- func (m *TransactionData) GetVmType() TransactionData_VMType
- func (m *TransactionData) Marshal() (dAtA []byte, err error)
- func (m *TransactionData) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionData) ProtoMessage()
- func (m *TransactionData) Reset()
- func (m *TransactionData) Size() (n int)
- func (m *TransactionData) String() string
- func (m *TransactionData) Unmarshal(dAtA []byte) error
- func (m *TransactionData) XXX_DiscardUnknown()
- func (m *TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionData) XXX_Merge(src proto.Message)
- func (m *TransactionData) XXX_Size() int
- func (m *TransactionData) XXX_Unmarshal(b []byte) error
- type TransactionData_Type
- type TransactionData_VMType
- type TransactionHashMsg
- func (*TransactionHashMsg) Descriptor() ([]byte, []int)
- func (m *TransactionHashMsg) GetTxHash() string
- func (m *TransactionHashMsg) Marshal() (dAtA []byte, err error)
- func (m *TransactionHashMsg) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionHashMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionHashMsg) ProtoMessage()
- func (m *TransactionHashMsg) Reset()
- func (m *TransactionHashMsg) Size() (n int)
- func (m *TransactionHashMsg) String() string
- func (m *TransactionHashMsg) Unmarshal(dAtA []byte) error
- func (m *TransactionHashMsg) XXX_DiscardUnknown()
- func (m *TransactionHashMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionHashMsg) XXX_Merge(src proto.Message)
- func (m *TransactionHashMsg) XXX_Size() int
- func (m *TransactionHashMsg) XXX_Unmarshal(b []byte) error
- type TransactionMeta
- func (*TransactionMeta) Descriptor() ([]byte, []int)
- func (m *TransactionMeta) GetBlockHash() []byte
- func (m *TransactionMeta) GetBlockHeight() uint64
- func (m *TransactionMeta) GetIndex() uint64
- func (m *TransactionMeta) Marshal() (dAtA []byte, err error)
- func (m *TransactionMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionMeta) ProtoMessage()
- func (m *TransactionMeta) Reset()
- func (m *TransactionMeta) Size() (n int)
- func (m *TransactionMeta) String() string
- func (m *TransactionMeta) Unmarshal(dAtA []byte) error
- func (m *TransactionMeta) XXX_DiscardUnknown()
- func (m *TransactionMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionMeta) XXX_Merge(src proto.Message)
- func (m *TransactionMeta) XXX_Size() int
- func (m *TransactionMeta) XXX_Unmarshal(b []byte) error
- type TransactionSlice
- func (*TransactionSlice) Descriptor() ([]byte, []int)
- func (m *TransactionSlice) GetHeight() uint64
- func (m *TransactionSlice) GetTxs() []*BxhTransaction
- func (m *TransactionSlice) Marshal() (dAtA []byte, err error)
- func (m *TransactionSlice) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionSlice) ProtoMessage()
- func (m *TransactionSlice) Reset()
- func (m *TransactionSlice) Size() (n int)
- func (m *TransactionSlice) String() string
- func (m *TransactionSlice) Unmarshal(dAtA []byte) error
- func (m *TransactionSlice) XXX_DiscardUnknown()
- func (m *TransactionSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionSlice) XXX_Merge(src proto.Message)
- func (m *TransactionSlice) XXX_Size() int
- func (m *TransactionSlice) XXX_Unmarshal(b []byte) error
- type TransactionStatus
- type TransactionTracingMeta
- func (*TransactionTracingMeta) Descriptor() ([]byte, []int)
- func (m *TransactionTracingMeta) GetConfirmHash() []byte
- func (m *TransactionTracingMeta) GetReceiptHash() []byte
- func (m *TransactionTracingMeta) Marshal() (dAtA []byte, err error)
- func (m *TransactionTracingMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionTracingMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionTracingMeta) ProtoMessage()
- func (m *TransactionTracingMeta) Reset()
- func (m *TransactionTracingMeta) Size() (n int)
- func (m *TransactionTracingMeta) String() string
- func (m *TransactionTracingMeta) Unmarshal(dAtA []byte) error
- func (m *TransactionTracingMeta) XXX_DiscardUnknown()
- func (m *TransactionTracingMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionTracingMeta) XXX_Merge(src proto.Message)
- func (m *TransactionTracingMeta) XXX_Size() int
- func (m *TransactionTracingMeta) XXX_Unmarshal(b []byte) error
- type Transactions
- type TxData
- type TypeResponse
- func (*TypeResponse) Descriptor() ([]byte, []int)
- func (m *TypeResponse) GetType() string
- func (m *TypeResponse) Marshal() (dAtA []byte, err error)
- func (m *TypeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TypeResponse) ProtoMessage()
- func (m *TypeResponse) Reset()
- func (m *TypeResponse) Size() (n int)
- func (m *TypeResponse) String() string
- func (m *TypeResponse) Unmarshal(dAtA []byte) error
- func (m *TypeResponse) XXX_DiscardUnknown()
- func (m *TypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TypeResponse) XXX_Merge(src proto.Message)
- func (m *TypeResponse) XXX_Size() int
- func (m *TypeResponse) XXX_Unmarshal(b []byte) error
- type Uint64Slice
- func (*Uint64Slice) Descriptor() ([]byte, []int)
- func (m *Uint64Slice) GetSlice() []uint64
- func (m *Uint64Slice) Marshal() (dAtA []byte, err error)
- func (m *Uint64Slice) MarshalTo(dAtA []byte) (int, error)
- func (m *Uint64Slice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Uint64Slice) ProtoMessage()
- func (m *Uint64Slice) Reset()
- func (m *Uint64Slice) Size() (n int)
- func (m *Uint64Slice) String() string
- func (m *Uint64Slice) Unmarshal(dAtA []byte) error
- func (m *Uint64Slice) XXX_DiscardUnknown()
- func (m *Uint64Slice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Uint64Slice) XXX_Merge(src proto.Message)
- func (m *Uint64Slice) XXX_Size() int
- func (m *Uint64Slice) XXX_Unmarshal(b []byte) error
- type UnimplementedAppchainPluginServer
- func (*UnimplementedAppchainPluginServer) CommitCallback(ctx context.Context, req *IBTP) (*Empty, error)
- func (*UnimplementedAppchainPluginServer) GetCallbackMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
- func (*UnimplementedAppchainPluginServer) GetIBTP(req *Empty, srv AppchainPlugin_GetIBTPServer) error
- func (*UnimplementedAppchainPluginServer) GetInMessage(ctx context.Context, req *GetInMessageRequest) (*GetInMessageResponse, error)
- func (*UnimplementedAppchainPluginServer) GetInMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
- func (*UnimplementedAppchainPluginServer) GetOutMessage(ctx context.Context, req *GetOutMessageRequest) (*IBTP, error)
- func (*UnimplementedAppchainPluginServer) GetOutMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
- func (*UnimplementedAppchainPluginServer) GetReceipt(ctx context.Context, req *IBTP) (*IBTP, error)
- func (*UnimplementedAppchainPluginServer) Initialize(ctx context.Context, req *InitializeRequest) (*Empty, error)
- func (*UnimplementedAppchainPluginServer) Name(ctx context.Context, req *Empty) (*NameResponse, error)
- func (*UnimplementedAppchainPluginServer) Start(ctx context.Context, req *Empty) (*Empty, error)
- func (*UnimplementedAppchainPluginServer) Stop(ctx context.Context, req *Empty) (*Empty, error)
- func (*UnimplementedAppchainPluginServer) SubmitIBTP(ctx context.Context, req *IBTP) (*SubmitIBTPResponse, error)
- func (*UnimplementedAppchainPluginServer) Type(ctx context.Context, req *Empty) (*TypeResponse, error)
- type UnimplementedChainBrokerServer
- func (*UnimplementedChainBrokerServer) CheckMasterPier(ctx context.Context, req *Address) (*Response, error)
- func (*UnimplementedChainBrokerServer) DelVPNode(ctx context.Context, req *DelVPNodeRequest) (*Response, error)
- func (*UnimplementedChainBrokerServer) GetAccountBalance(ctx context.Context, req *Address) (*Response, error)
- func (*UnimplementedChainBrokerServer) GetBlock(ctx context.Context, req *GetBlockRequest) (*Block, error)
- func (*UnimplementedChainBrokerServer) GetBlockHeader(req *GetBlockHeaderRequest, srv ChainBroker_GetBlockHeaderServer) error
- func (*UnimplementedChainBrokerServer) GetBlockHeaders(ctx context.Context, req *GetBlockHeadersRequest) (*GetBlockHeadersResponse, error)
- func (*UnimplementedChainBrokerServer) GetBlocks(ctx context.Context, req *GetBlocksRequest) (*GetBlocksResponse, error)
- func (*UnimplementedChainBrokerServer) GetChainMeta(ctx context.Context, req *Request) (*ChainMeta, error)
- func (*UnimplementedChainBrokerServer) GetInfo(ctx context.Context, req *Request) (*Response, error)
- func (*UnimplementedChainBrokerServer) GetInterchainTxWrappers(req *GetInterchainTxWrappersRequest, ...) error
- func (*UnimplementedChainBrokerServer) GetMultiSigns(ctx context.Context, req *GetMultiSignsRequest) (*SignResponse, error)
- func (*UnimplementedChainBrokerServer) GetPendingNonceByAccount(ctx context.Context, req *Address) (*Response, error)
- func (*UnimplementedChainBrokerServer) GetReceipt(ctx context.Context, req *TransactionHashMsg) (*Receipt, error)
- func (*UnimplementedChainBrokerServer) GetTPS(ctx context.Context, req *GetTPSRequest) (*Response, error)
- func (*UnimplementedChainBrokerServer) GetTransaction(ctx context.Context, req *TransactionHashMsg) (*GetTransactionResponse, error)
- func (*UnimplementedChainBrokerServer) HeartBeat(ctx context.Context, req *PierInfo) (*Response, error)
- func (*UnimplementedChainBrokerServer) SendTransaction(ctx context.Context, req *BxhTransaction) (*TransactionHashMsg, error)
- func (*UnimplementedChainBrokerServer) SendView(ctx context.Context, req *BxhTransaction) (*Receipt, error)
- func (*UnimplementedChainBrokerServer) SetMasterPier(ctx context.Context, req *PierInfo) (*Response, error)
- func (*UnimplementedChainBrokerServer) Subscribe(req *SubscriptionRequest, srv ChainBroker_SubscribeServer) error
- type VpInfo
- func (*VpInfo) Descriptor() ([]byte, []int)
- func (m *VpInfo) GetAccount() string
- func (m *VpInfo) GetHosts() []string
- func (m *VpInfo) GetId() uint64
- func (m *VpInfo) GetPid() string
- func (m *VpInfo) Marshal() (dAtA []byte, err error)
- func (m *VpInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VpInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VpInfo) ProtoMessage()
- func (m *VpInfo) Reset()
- func (m *VpInfo) Size() (n int)
- func (m *VpInfo) String() string
- func (m *VpInfo) Unmarshal(dAtA []byte) error
- func (m *VpInfo) XXX_DiscardUnknown()
- func (m *VpInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VpInfo) XXX_Merge(src proto.Message)
- func (m *VpInfo) XXX_Size() int
- func (m *VpInfo) XXX_Unmarshal(b []byte) error
Constants ¶
const BxhTxType = 2
Variables ¶
var ( ErrInvalidLengthArg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupArg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBasic = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBasic = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBasic = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBlock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBlock = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBlock = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBroker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBroker = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBroker = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBxhTransaction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBxhTransaction = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBxhTransaction = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthChain = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChain = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChain = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthCommit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommit = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthIbtp = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIbtp = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIbtp = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthInterchainMeta = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInterchainMeta = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupInterchainMeta = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthNetwork = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNetwork = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupNetwork = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPlugin = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthReceipt = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowReceipt = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupReceipt = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthVpInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVpInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVpInfo = fmt.Errorf("proto: unexpected end of group") )
var Arg_Type_name = map[int32]string{
0: "I32",
1: "I64",
2: "U32",
3: "U64",
4: "F32",
5: "F64",
6: "String",
7: "Bytes",
8: "Bool",
}
var Arg_Type_value = map[string]int32{
"I32": 0,
"I64": 1,
"U32": 2,
"U64": 3,
"F32": 4,
"F64": 5,
"String": 6,
"Bytes": 7,
"Bool": 8,
}
var AssetExchangeStatus_name = map[int32]string{
0: "INIT",
1: "REDEEM",
2: "REFUND",
}
var AssetExchangeStatus_value = map[string]int32{
"INIT": 0,
"REDEEM": 1,
"REFUND": 2,
}
var CheckPierResponse_Status_name = map[int32]string{
0: "ERROR_MASTER",
1: "HAS_MASTER",
2: "NO_MASTER",
}
var CheckPierResponse_Status_value = map[string]int32{
"ERROR_MASTER": 0,
"HAS_MASTER": 1,
"NO_MASTER": 2,
}
var GetBlockRequest_Type_name = map[int32]string{
0: "HEIGHT",
1: "HASH",
}
var GetBlockRequest_Type_value = map[string]int32{
"HEIGHT": 0,
"HASH": 1,
}
var GetMultiSignsRequest_Type_name = map[int32]string{
0: "ASSET_EXCHANGE",
1: "IBTP",
2: "BLOCK_HEADER",
}
var GetMultiSignsRequest_Type_value = map[string]int32{
"ASSET_EXCHANGE": 0,
"IBTP": 1,
"BLOCK_HEADER": 2,
}
var HeartBeatRespones_Status_name = map[int32]string{
0: "ALIVE",
1: "DEAD",
}
var HeartBeatRespones_Status_value = map[string]int32{
"ALIVE": 0,
"DEAD": 1,
}
var IBTP_Category_name = map[int32]string{
0: "REQUEST",
1: "RESPONSE",
2: "UNKNOWN",
}
var IBTP_Category_value = map[string]int32{
"REQUEST": 0,
"RESPONSE": 1,
"UNKNOWN": 2,
}
var IBTP_Type_name = map[int32]string{
0: "INTERCHAIN",
1: "RECEIPT_SUCCESS",
2: "RECEIPT_FAILURE",
3: "ASSET_EXCHANGE_INIT",
4: "ASSET_EXCHANGE_REDEEM",
5: "ASSET_EXCHANGE_REFUND",
6: "ASSET_EXCHANGE_RECEIPT",
}
var IBTP_Type_value = map[string]int32{
"INTERCHAIN": 0,
"RECEIPT_SUCCESS": 1,
"RECEIPT_FAILURE": 2,
"ASSET_EXCHANGE_INIT": 3,
"ASSET_EXCHANGE_REDEEM": 4,
"ASSET_EXCHANGE_REFUND": 5,
"ASSET_EXCHANGE_RECEIPT": 6,
}
var Message_Type_name = map[int32]string{
0: "GET_BLOCK",
1: "GET_BLOCK_ACK",
2: "CONSENSUS",
3: "FETCH_CERT",
4: "FETCH_CERT_ACK",
5: "FETCH_BLOCK_SIGN",
6: "FETCH_BLOCK_SIGN_ACK",
7: "FETCH_IBTP_SIGN",
8: "FETCH_IBTP_SIGN_ACK",
9: "FETCH_ASSET_EXCHANEG_SIGN",
10: "FETCH_ASSET_EXCHANGE_SIGN_ACK",
11: "GET_ADDRESS",
12: "GET_ADDRESS_ACK",
13: "GET_BLOCK_HEADERS",
14: "GET_BLOCK_HEADERS_ACK",
15: "GET_BLOCKS",
16: "GET_BLOCKS_ACK",
17: "CHECK_MASTER_PIER",
18: "CHECK_MASTER_PIER_ACK",
}
var Message_Type_value = map[string]int32{
"GET_BLOCK": 0,
"GET_BLOCK_ACK": 1,
"CONSENSUS": 2,
"FETCH_CERT": 3,
"FETCH_CERT_ACK": 4,
"FETCH_BLOCK_SIGN": 5,
"FETCH_BLOCK_SIGN_ACK": 6,
"FETCH_IBTP_SIGN": 7,
"FETCH_IBTP_SIGN_ACK": 8,
"FETCH_ASSET_EXCHANEG_SIGN": 9,
"FETCH_ASSET_EXCHANGE_SIGN_ACK": 10,
"GET_ADDRESS": 11,
"GET_ADDRESS_ACK": 12,
"GET_BLOCK_HEADERS": 13,
"GET_BLOCK_HEADERS_ACK": 14,
"GET_BLOCKS": 15,
"GET_BLOCKS_ACK": 16,
"CHECK_MASTER_PIER": 17,
"CHECK_MASTER_PIER_ACK": 18,
}
var Receipt_Status_name = map[int32]string{
0: "SUCCESS",
1: "FAILED",
}
var Receipt_Status_value = map[string]int32{
"SUCCESS": 0,
"FAILED": 1,
}
var Request_Type_name = map[int32]string{
0: "CHAIN_STATUS",
1: "NETWORK",
2: "VALIDATORS",
}
var Request_Type_value = map[string]int32{
"CHAIN_STATUS": 0,
"NETWORK": 1,
"VALIDATORS": 2,
}
var SubscriptionRequest_Type_name = map[int32]string{
0: "BLOCK",
1: "EVENT",
2: "INTERCHAIN_TX",
3: "BLOCK_HEADER",
4: "INTERCHAIN_TX_WRAPPER",
5: "UNION_INTERCHAIN_TX_WRAPPER",
}
var SubscriptionRequest_Type_value = map[string]int32{
"BLOCK": 0,
"EVENT": 1,
"INTERCHAIN_TX": 2,
"BLOCK_HEADER": 3,
"INTERCHAIN_TX_WRAPPER": 4,
"UNION_INTERCHAIN_TX_WRAPPER": 5,
}
var TransactionData_Type_name = map[int32]string{
0: "NORMAL",
1: "INVOKE",
2: "UPDATE",
3: "FREEZE",
4: "UNFREEZE",
}
var TransactionData_Type_value = map[string]int32{
"NORMAL": 0,
"INVOKE": 1,
"UPDATE": 2,
"FREEZE": 3,
"UNFREEZE": 4,
}
var TransactionData_VMType_name = map[int32]string{
0: "BVM",
1: "XVM",
}
var TransactionData_VMType_value = map[string]int32{
"BVM": 0,
"XVM": 1,
}
var TransactionStatus_name = map[int32]string{
0: "BEGIN",
1: "SUCCESS",
2: "FAILURE",
}
var TransactionStatus_value = map[string]int32{
"BEGIN": 0,
"SUCCESS": 1,
"FAILURE": 2,
}
Functions ¶
func InitEIP155Signer ¶ added in v1.2.0
func RegisterAppchainPluginServer ¶
func RegisterAppchainPluginServer(s *grpc.Server, srv AppchainPluginServer)
func RegisterChainBrokerHandler ¶
func RegisterChainBrokerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterChainBrokerHandler registers the http handlers for service ChainBroker to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterChainBrokerHandlerClient ¶
func RegisterChainBrokerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainBrokerClient) error
RegisterChainBrokerHandlerClient registers the http handlers for service ChainBroker to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChainBrokerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChainBrokerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChainBrokerClient" to call the correct interceptors.
func RegisterChainBrokerHandlerFromEndpoint ¶
func RegisterChainBrokerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterChainBrokerHandlerFromEndpoint is same as RegisterChainBrokerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterChainBrokerHandlerServer ¶
func RegisterChainBrokerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainBrokerServer) error
RegisterChainBrokerHandlerServer registers the http handlers for service ChainBroker to "mux". UnaryRPC :call ChainBrokerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChainBrokerHandlerFromEndpoint instead.
func RegisterChainBrokerServer ¶
func RegisterChainBrokerServer(s *grpc.Server, srv ChainBrokerServer)
Types ¶
type AccessListTx ¶ added in v1.2.0
type AccessListTx struct { ChainID *big.Int // destination chain ID Nonce uint64 // nonce of sender account GasPrice *big.Int // wei per gas Gas uint64 // gas limit To *common.Address `rlp:"nil"` // nil means contract creation Value *big.Int // wei amount Data []byte // contract invocation input data AccessList types2.AccessList // EIP-2930 access list V, R, S *big.Int // signature values }
AccessListTx is the data of EIP-2930 access list transactions.
type Address ¶
type Address struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) MarshalToSizedBuffer ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type AppchainPluginClient ¶
type AppchainPluginClient interface { Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*Empty, error) Start(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) GetIBTP(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AppchainPlugin_GetIBTPClient, error) SubmitIBTP(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*SubmitIBTPResponse, error) GetOutMessage(ctx context.Context, in *GetOutMessageRequest, opts ...grpc.CallOption) (*IBTP, error) GetInMessage(ctx context.Context, in *GetInMessageRequest, opts ...grpc.CallOption) (*GetInMessageResponse, error) GetInMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error) GetOutMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error) GetCallbackMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error) CommitCallback(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*Empty, error) GetReceipt(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*IBTP, error) Name(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NameResponse, error) Type(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TypeResponse, error) }
AppchainPluginClient is the client API for AppchainPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAppchainPluginClient ¶
func NewAppchainPluginClient(cc *grpc.ClientConn) AppchainPluginClient
type AppchainPluginServer ¶
type AppchainPluginServer interface { Initialize(context.Context, *InitializeRequest) (*Empty, error) Start(context.Context, *Empty) (*Empty, error) Stop(context.Context, *Empty) (*Empty, error) GetIBTP(*Empty, AppchainPlugin_GetIBTPServer) error SubmitIBTP(context.Context, *IBTP) (*SubmitIBTPResponse, error) GetOutMessage(context.Context, *GetOutMessageRequest) (*IBTP, error) GetInMessage(context.Context, *GetInMessageRequest) (*GetInMessageResponse, error) GetInMeta(context.Context, *Empty) (*GetMetaResponse, error) GetOutMeta(context.Context, *Empty) (*GetMetaResponse, error) GetCallbackMeta(context.Context, *Empty) (*GetMetaResponse, error) CommitCallback(context.Context, *IBTP) (*Empty, error) GetReceipt(context.Context, *IBTP) (*IBTP, error) Name(context.Context, *Empty) (*NameResponse, error) Type(context.Context, *Empty) (*TypeResponse, error) }
AppchainPluginServer is the server API for AppchainPlugin service.
type AppchainPlugin_GetIBTPClient ¶
type AppchainPlugin_GetIBTPClient interface { Recv() (*IBTP, error) grpc.ClientStream }
type AppchainPlugin_GetIBTPServer ¶
type AppchainPlugin_GetIBTPServer interface { Send(*IBTP) error grpc.ServerStream }
type Arg ¶
type Arg struct { Type Arg_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Arg_Type" json:"type,omitempty"` IsArray bool `protobuf:"varint,2,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` }
func (*Arg) Descriptor ¶
func (*Arg) GetIsArray ¶
func (*Arg) ProtoMessage ¶
func (*Arg) ProtoMessage()
func (*Arg) XXX_DiscardUnknown ¶
func (m *Arg) XXX_DiscardUnknown()
func (*Arg) XXX_Unmarshal ¶
type AssetExchangeInfo ¶
type AssetExchangeInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SenderOnSrc string `protobuf:"bytes,2,opt,name=sender_on_src,json=senderOnSrc,proto3" json:"sender_on_src,omitempty"` ReceiverOnSrc string `protobuf:"bytes,3,opt,name=receiver_on_src,json=receiverOnSrc,proto3" json:"receiver_on_src,omitempty"` AssetOnSrc uint64 `protobuf:"varint,4,opt,name=asset_on_src,json=assetOnSrc,proto3" json:"asset_on_src,omitempty"` SenderOnDst string `protobuf:"bytes,5,opt,name=sender_on_dst,json=senderOnDst,proto3" json:"sender_on_dst,omitempty"` ReceiverOnDst string `protobuf:"bytes,6,opt,name=receiver_on_dst,json=receiverOnDst,proto3" json:"receiver_on_dst,omitempty"` AssetOnDst uint64 `protobuf:"varint,7,opt,name=asset_on_dst,json=assetOnDst,proto3" json:"asset_on_dst,omitempty"` }
func (*AssetExchangeInfo) Descriptor ¶
func (*AssetExchangeInfo) Descriptor() ([]byte, []int)
func (*AssetExchangeInfo) GetAssetOnDst ¶
func (m *AssetExchangeInfo) GetAssetOnDst() uint64
func (*AssetExchangeInfo) GetAssetOnSrc ¶
func (m *AssetExchangeInfo) GetAssetOnSrc() uint64
func (*AssetExchangeInfo) GetId ¶
func (m *AssetExchangeInfo) GetId() string
func (*AssetExchangeInfo) GetReceiverOnDst ¶
func (m *AssetExchangeInfo) GetReceiverOnDst() string
func (*AssetExchangeInfo) GetReceiverOnSrc ¶
func (m *AssetExchangeInfo) GetReceiverOnSrc() string
func (*AssetExchangeInfo) GetSenderOnDst ¶
func (m *AssetExchangeInfo) GetSenderOnDst() string
func (*AssetExchangeInfo) GetSenderOnSrc ¶
func (m *AssetExchangeInfo) GetSenderOnSrc() string
func (*AssetExchangeInfo) Marshal ¶
func (m *AssetExchangeInfo) Marshal() (dAtA []byte, err error)
func (*AssetExchangeInfo) MarshalTo ¶
func (m *AssetExchangeInfo) MarshalTo(dAtA []byte) (int, error)
func (*AssetExchangeInfo) MarshalToSizedBuffer ¶
func (m *AssetExchangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetExchangeInfo) ProtoMessage ¶
func (*AssetExchangeInfo) ProtoMessage()
func (*AssetExchangeInfo) Reset ¶
func (m *AssetExchangeInfo) Reset()
func (*AssetExchangeInfo) Size ¶
func (m *AssetExchangeInfo) Size() (n int)
func (*AssetExchangeInfo) String ¶
func (m *AssetExchangeInfo) String() string
func (*AssetExchangeInfo) Unmarshal ¶
func (m *AssetExchangeInfo) Unmarshal(dAtA []byte) error
func (*AssetExchangeInfo) XXX_DiscardUnknown ¶
func (m *AssetExchangeInfo) XXX_DiscardUnknown()
func (*AssetExchangeInfo) XXX_Marshal ¶
func (m *AssetExchangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetExchangeInfo) XXX_Merge ¶
func (m *AssetExchangeInfo) XXX_Merge(src proto.Message)
func (*AssetExchangeInfo) XXX_Size ¶
func (m *AssetExchangeInfo) XXX_Size() int
func (*AssetExchangeInfo) XXX_Unmarshal ¶
func (m *AssetExchangeInfo) XXX_Unmarshal(b []byte) error
type AssetExchangeStatus ¶
type AssetExchangeStatus int32
const ( AssetExchangeStatus_INIT AssetExchangeStatus = 0 AssetExchangeStatus_REDEEM AssetExchangeStatus = 1 AssetExchangeStatus_REFUND AssetExchangeStatus = 2 )
func (AssetExchangeStatus) EnumDescriptor ¶
func (AssetExchangeStatus) EnumDescriptor() ([]byte, []int)
func (AssetExchangeStatus) String ¶
func (x AssetExchangeStatus) String() string
type Block ¶
type Block struct { BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` Transactions *Transactions `protobuf:"bytes,2,opt,name=transactions,proto3,customtype=Transactions" json:"transactions,omitempty"` BlockHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */ Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Extra []byte `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` }
func (*Block) Descriptor ¶
func (*Block) GetBlockHeader ¶
func (m *Block) GetBlockHeader() *BlockHeader
func (*Block) GetSignature ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockHeader ¶
type BlockHeader struct { Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` StateRoot *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */ TxRoot *github_com_meshplus_bitxhub_kit_types.Hash `` /* 133-byte string literal not displayed */ ReceiptRoot *github_com_meshplus_bitxhub_kit_types.Hash `` /* 148-byte string literal not displayed */ ParentHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 145-byte string literal not displayed */ Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Version []byte `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` Bloom *github_com_meshplus_bitxhub_kit_types.Bloom `protobuf:"bytes,8,opt,name=Bloom,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Bloom" json:"Bloom,omitempty"` }
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetNumber ¶
func (m *BlockHeader) GetNumber() uint64
func (*BlockHeader) GetTimestamp ¶
func (m *BlockHeader) GetTimestamp() int64
func (*BlockHeader) GetVersion ¶
func (m *BlockHeader) GetVersion() []byte
func (*BlockHeader) Hash ¶ added in v1.2.0
func (m *BlockHeader) Hash() *types.Hash
func (*BlockHeader) Marshal ¶
func (m *BlockHeader) Marshal() (dAtA []byte, err error)
func (*BlockHeader) MarshalToSizedBuffer ¶
func (m *BlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) Size ¶
func (m *BlockHeader) Size() (n int)
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) Unmarshal ¶
func (m *BlockHeader) Unmarshal(dAtA []byte) error
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (m *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BxhTransaction ¶ added in v1.2.0
type BxhTransaction struct { Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` From *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,2,opt,name=from,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"from,omitempty"` To *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,3,opt,name=to,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"to,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TransactionHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 160-byte string literal not displayed */ Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` IBTP *IBTP `protobuf:"bytes,7,opt,name=IBTP,proto3" json:"IBTP,omitempty"` Nonce uint64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` Amount uint64 `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"` Signature []byte `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` Extra []byte `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"` }
func (*BxhTransaction) Account ¶ added in v1.2.0
func (m *BxhTransaction) Account() string
func (*BxhTransaction) Descriptor ¶ added in v1.2.0
func (*BxhTransaction) Descriptor() ([]byte, []int)
func (*BxhTransaction) GetAmount ¶ added in v1.2.0
func (m *BxhTransaction) GetAmount() uint64
func (*BxhTransaction) GetChainID ¶ added in v1.2.0
func (m *BxhTransaction) GetChainID() *big.Int
func (*BxhTransaction) GetCrosschainExtra ¶ added in v1.2.0
func (m *BxhTransaction) GetCrosschainExtra() (*CrosschainTransactionExtra, error)
func (*BxhTransaction) GetExtra ¶ added in v1.2.0
func (m *BxhTransaction) GetExtra() []byte
func (*BxhTransaction) GetFrom ¶ added in v1.2.0
func (m *BxhTransaction) GetFrom() *types.Address
func (*BxhTransaction) GetGas ¶ added in v1.2.0
func (m *BxhTransaction) GetGas() uint64
func (*BxhTransaction) GetGasPrice ¶ added in v1.2.0
func (m *BxhTransaction) GetGasPrice() *big.Int
func (*BxhTransaction) GetHash ¶ added in v1.2.0
func (m *BxhTransaction) GetHash() *types.Hash
func (*BxhTransaction) GetIBTP ¶ added in v1.2.0
func (m *BxhTransaction) GetIBTP() *IBTP
func (*BxhTransaction) GetNonce ¶ added in v1.2.0
func (m *BxhTransaction) GetNonce() uint64
func (*BxhTransaction) GetPayload ¶ added in v1.2.0
func (m *BxhTransaction) GetPayload() []byte
func (*BxhTransaction) GetRawSignature ¶ added in v1.2.0
func (m *BxhTransaction) GetRawSignature() (v, r, s *big.Int)
RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*BxhTransaction) GetSignHash ¶ added in v1.2.0
func (m *BxhTransaction) GetSignHash() *types.Hash
func (*BxhTransaction) GetSignature ¶ added in v1.2.0
func (m *BxhTransaction) GetSignature() []byte
func (*BxhTransaction) GetTimeStamp ¶ added in v1.2.0
func (m *BxhTransaction) GetTimeStamp() int64
func (*BxhTransaction) GetTimestamp ¶ added in v1.2.0
func (m *BxhTransaction) GetTimestamp() int64
func (*BxhTransaction) GetTo ¶ added in v1.2.0
func (m *BxhTransaction) GetTo() *types.Address
func (*BxhTransaction) GetType ¶ added in v1.2.0
func (m *BxhTransaction) GetType() byte
RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*BxhTransaction) GetVersion ¶ added in v1.2.0
func (m *BxhTransaction) GetVersion() []byte
func (*BxhTransaction) Hash ¶ added in v1.2.0
func (m *BxhTransaction) Hash() *types.Hash
func (*BxhTransaction) IsIBTP ¶ added in v1.2.0
func (m *BxhTransaction) IsIBTP() bool
func (*BxhTransaction) Marshal ¶ added in v1.2.0
func (m *BxhTransaction) Marshal() (dAtA []byte, err error)
func (*BxhTransaction) MarshalTo ¶ added in v1.2.0
func (m *BxhTransaction) MarshalTo(dAtA []byte) (int, error)
func (*BxhTransaction) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *BxhTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BxhTransaction) MarshalWithFlag ¶ added in v1.2.0
func (m *BxhTransaction) MarshalWithFlag() ([]byte, error)
func (*BxhTransaction) ProtoMessage ¶ added in v1.2.0
func (*BxhTransaction) ProtoMessage()
func (*BxhTransaction) Reset ¶ added in v1.2.0
func (m *BxhTransaction) Reset()
func (*BxhTransaction) Sign ¶ added in v1.2.0
func (m *BxhTransaction) Sign(key crypto.PrivateKey) error
func (*BxhTransaction) SignHash ¶ added in v1.2.0
func (m *BxhTransaction) SignHash() *types.Hash
func (*BxhTransaction) Size ¶ added in v1.2.0
func (m *BxhTransaction) Size() (n int)
func (*BxhTransaction) SizeWithFlag ¶ added in v1.2.0
func (m *BxhTransaction) SizeWithFlag() int
func (*BxhTransaction) String ¶ added in v1.2.0
func (m *BxhTransaction) String() string
func (*BxhTransaction) Unmarshal ¶ added in v1.2.0
func (m *BxhTransaction) Unmarshal(dAtA []byte) error
func (*BxhTransaction) VerifySignature ¶ added in v1.2.0
func (m *BxhTransaction) VerifySignature() error
func (*BxhTransaction) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *BxhTransaction) XXX_DiscardUnknown()
func (*BxhTransaction) XXX_Marshal ¶ added in v1.2.0
func (m *BxhTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BxhTransaction) XXX_Merge ¶ added in v1.2.0
func (m *BxhTransaction) XXX_Merge(src proto.Message)
func (*BxhTransaction) XXX_Size ¶ added in v1.2.0
func (m *BxhTransaction) XXX_Size() int
func (*BxhTransaction) XXX_Unmarshal ¶ added in v1.2.0
func (m *BxhTransaction) XXX_Unmarshal(b []byte) error
type CallArgs ¶ added in v1.2.0
type CallArgs struct { From *common.Address `json:"from"` To *common.Address `json:"to"` Gas *hexutil.Uint64 `json:"gas"` GasPrice *hexutil.Big `json:"gasPrice"` Value *hexutil.Big `json:"value"` Data *hexutil.Bytes `json:"data"` AccessList *types2.AccessList `json:"accessList"` }
CallArgs represents the arguments for a call.
type ChainBrokerClient ¶
type ChainBrokerClient interface { Subscribe(ctx context.Context, in *SubscriptionRequest, opts ...grpc.CallOption) (ChainBroker_SubscribeClient, error) GetBlockHeader(ctx context.Context, in *GetBlockHeaderRequest, opts ...grpc.CallOption) (ChainBroker_GetBlockHeaderClient, error) GetInterchainTxWrappers(ctx context.Context, in *GetInterchainTxWrappersRequest, opts ...grpc.CallOption) (ChainBroker_GetInterchainTxWrappersClient, error) SendTransaction(ctx context.Context, in *BxhTransaction, opts ...grpc.CallOption) (*TransactionHashMsg, error) SendView(ctx context.Context, in *BxhTransaction, opts ...grpc.CallOption) (*Receipt, error) GetTransaction(ctx context.Context, in *TransactionHashMsg, opts ...grpc.CallOption) (*GetTransactionResponse, error) GetReceipt(ctx context.Context, in *TransactionHashMsg, opts ...grpc.CallOption) (*Receipt, error) GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*Block, error) GetBlocks(ctx context.Context, in *GetBlocksRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error) GetBlockHeaders(ctx context.Context, in *GetBlockHeadersRequest, opts ...grpc.CallOption) (*GetBlockHeadersResponse, error) GetChainMeta(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ChainMeta, error) GetInfo(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) GetAccountBalance(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error) GetMultiSigns(ctx context.Context, in *GetMultiSignsRequest, opts ...grpc.CallOption) (*SignResponse, error) GetTPS(ctx context.Context, in *GetTPSRequest, opts ...grpc.CallOption) (*Response, error) GetPendingNonceByAccount(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error) DelVPNode(ctx context.Context, in *DelVPNodeRequest, opts ...grpc.CallOption) (*Response, error) CheckMasterPier(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error) SetMasterPier(ctx context.Context, in *PierInfo, opts ...grpc.CallOption) (*Response, error) HeartBeat(ctx context.Context, in *PierInfo, opts ...grpc.CallOption) (*Response, error) }
ChainBrokerClient is the client API for ChainBroker service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChainBrokerClient ¶
func NewChainBrokerClient(cc *grpc.ClientConn) ChainBrokerClient
type ChainBrokerServer ¶
type ChainBrokerServer interface { Subscribe(*SubscriptionRequest, ChainBroker_SubscribeServer) error GetBlockHeader(*GetBlockHeaderRequest, ChainBroker_GetBlockHeaderServer) error GetInterchainTxWrappers(*GetInterchainTxWrappersRequest, ChainBroker_GetInterchainTxWrappersServer) error SendTransaction(context.Context, *BxhTransaction) (*TransactionHashMsg, error) SendView(context.Context, *BxhTransaction) (*Receipt, error) GetTransaction(context.Context, *TransactionHashMsg) (*GetTransactionResponse, error) GetReceipt(context.Context, *TransactionHashMsg) (*Receipt, error) GetBlock(context.Context, *GetBlockRequest) (*Block, error) GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error) GetBlockHeaders(context.Context, *GetBlockHeadersRequest) (*GetBlockHeadersResponse, error) GetChainMeta(context.Context, *Request) (*ChainMeta, error) GetInfo(context.Context, *Request) (*Response, error) GetAccountBalance(context.Context, *Address) (*Response, error) GetMultiSigns(context.Context, *GetMultiSignsRequest) (*SignResponse, error) GetTPS(context.Context, *GetTPSRequest) (*Response, error) GetPendingNonceByAccount(context.Context, *Address) (*Response, error) DelVPNode(context.Context, *DelVPNodeRequest) (*Response, error) CheckMasterPier(context.Context, *Address) (*Response, error) SetMasterPier(context.Context, *PierInfo) (*Response, error) HeartBeat(context.Context, *PierInfo) (*Response, error) }
ChainBrokerServer is the server API for ChainBroker service.
type ChainBroker_GetBlockHeaderClient ¶
type ChainBroker_GetBlockHeaderClient interface { Recv() (*BlockHeader, error) grpc.ClientStream }
type ChainBroker_GetBlockHeaderServer ¶
type ChainBroker_GetBlockHeaderServer interface { Send(*BlockHeader) error grpc.ServerStream }
type ChainBroker_GetInterchainTxWrappersClient ¶
type ChainBroker_GetInterchainTxWrappersClient interface { Recv() (*InterchainTxWrappers, error) grpc.ClientStream }
type ChainBroker_GetInterchainTxWrappersServer ¶
type ChainBroker_GetInterchainTxWrappersServer interface { Send(*InterchainTxWrappers) error grpc.ServerStream }
type ChainBroker_SubscribeClient ¶
type ChainBroker_SubscribeClient interface { Recv() (*Response, error) grpc.ClientStream }
type ChainBroker_SubscribeServer ¶
type ChainBroker_SubscribeServer interface { Send(*Response) error grpc.ServerStream }
type ChainMeta ¶
type ChainMeta struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */ InterchainTxCount uint64 `protobuf:"varint,3,opt,name=interchain_tx_count,json=interchainTxCount,proto3" json:"interchain_tx_count,omitempty"` }
func (*ChainMeta) Descriptor ¶
func (*ChainMeta) GetInterchainTxCount ¶
func (*ChainMeta) MarshalToSizedBuffer ¶
func (*ChainMeta) ProtoMessage ¶
func (*ChainMeta) ProtoMessage()
func (*ChainMeta) XXX_DiscardUnknown ¶
func (m *ChainMeta) XXX_DiscardUnknown()
func (*ChainMeta) XXX_Marshal ¶
func (*ChainMeta) XXX_Unmarshal ¶
type CheckPierResponse ¶ added in v1.2.0
type CheckPierResponse struct { Status CheckPierResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=pb.CheckPierResponse_Status" json:"status,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
func (*CheckPierResponse) Descriptor ¶ added in v1.2.0
func (*CheckPierResponse) Descriptor() ([]byte, []int)
func (*CheckPierResponse) GetAddress ¶ added in v1.2.0
func (m *CheckPierResponse) GetAddress() string
func (*CheckPierResponse) GetStatus ¶ added in v1.2.0
func (m *CheckPierResponse) GetStatus() CheckPierResponse_Status
func (*CheckPierResponse) Marshal ¶ added in v1.2.0
func (m *CheckPierResponse) Marshal() (dAtA []byte, err error)
func (*CheckPierResponse) MarshalTo ¶ added in v1.2.0
func (m *CheckPierResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckPierResponse) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *CheckPierResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckPierResponse) ProtoMessage ¶ added in v1.2.0
func (*CheckPierResponse) ProtoMessage()
func (*CheckPierResponse) Reset ¶ added in v1.2.0
func (m *CheckPierResponse) Reset()
func (*CheckPierResponse) Size ¶ added in v1.2.0
func (m *CheckPierResponse) Size() (n int)
func (*CheckPierResponse) String ¶ added in v1.2.0
func (m *CheckPierResponse) String() string
func (*CheckPierResponse) Unmarshal ¶ added in v1.2.0
func (m *CheckPierResponse) Unmarshal(dAtA []byte) error
func (*CheckPierResponse) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *CheckPierResponse) XXX_DiscardUnknown()
func (*CheckPierResponse) XXX_Marshal ¶ added in v1.2.0
func (m *CheckPierResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckPierResponse) XXX_Merge ¶ added in v1.2.0
func (m *CheckPierResponse) XXX_Merge(src proto.Message)
func (*CheckPierResponse) XXX_Size ¶ added in v1.2.0
func (m *CheckPierResponse) XXX_Size() int
func (*CheckPierResponse) XXX_Unmarshal ¶ added in v1.2.0
func (m *CheckPierResponse) XXX_Unmarshal(b []byte) error
type CheckPierResponse_Status ¶ added in v1.2.0
type CheckPierResponse_Status int32
const ( CheckPierResponse_ERROR_MASTER CheckPierResponse_Status = 0 CheckPierResponse_HAS_MASTER CheckPierResponse_Status = 1 CheckPierResponse_NO_MASTER CheckPierResponse_Status = 2 )
func (CheckPierResponse_Status) EnumDescriptor ¶ added in v1.2.0
func (CheckPierResponse_Status) EnumDescriptor() ([]byte, []int)
func (CheckPierResponse_Status) String ¶ added in v1.2.0
func (x CheckPierResponse_Status) String() string
type CommitEvent ¶ added in v1.2.0
type CommitEvent struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` LocalList []bool `protobuf:"varint,2,rep,packed,name=local_list,json=localList,proto3" json:"local_list,omitempty"` }
func (*CommitEvent) Descriptor ¶ added in v1.2.0
func (*CommitEvent) Descriptor() ([]byte, []int)
func (*CommitEvent) GetBlock ¶ added in v1.2.0
func (m *CommitEvent) GetBlock() *Block
func (*CommitEvent) GetLocalList ¶ added in v1.2.0
func (m *CommitEvent) GetLocalList() []bool
func (*CommitEvent) Marshal ¶ added in v1.2.0
func (m *CommitEvent) Marshal() (dAtA []byte, err error)
func (*CommitEvent) MarshalTo ¶ added in v1.2.0
func (m *CommitEvent) MarshalTo(dAtA []byte) (int, error)
func (*CommitEvent) ProtoMessage ¶ added in v1.2.0
func (*CommitEvent) ProtoMessage()
func (*CommitEvent) Reset ¶ added in v1.2.0
func (m *CommitEvent) Reset()
func (*CommitEvent) Size ¶ added in v1.2.0
func (m *CommitEvent) Size() (n int)
func (*CommitEvent) String ¶ added in v1.2.0
func (m *CommitEvent) String() string
func (*CommitEvent) Unmarshal ¶ added in v1.2.0
func (m *CommitEvent) Unmarshal(dAtA []byte) error
func (*CommitEvent) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *CommitEvent) XXX_DiscardUnknown()
func (*CommitEvent) XXX_Marshal ¶ added in v1.2.0
func (m *CommitEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitEvent) XXX_Merge ¶ added in v1.2.0
func (m *CommitEvent) XXX_Merge(src proto.Message)
func (*CommitEvent) XXX_Size ¶ added in v1.2.0
func (m *CommitEvent) XXX_Size() int
func (*CommitEvent) XXX_Unmarshal ¶ added in v1.2.0
func (m *CommitEvent) XXX_Unmarshal(b []byte) error
type Content ¶
type Content struct { SrcContractId string `protobuf:"bytes,1,opt,name=src_contract_id,json=srcContractId,proto3" json:"src_contract_id,omitempty"` DstContractId string `protobuf:"bytes,2,opt,name=dst_contract_id,json=dstContractId,proto3" json:"dst_contract_id,omitempty"` Func string `protobuf:"bytes,3,opt,name=func,proto3" json:"func,omitempty"` Args [][]byte `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` Callback string `protobuf:"bytes,5,opt,name=callback,proto3" json:"callback,omitempty"` ArgsCb [][]byte `protobuf:"bytes,6,rep,name=argsCb,proto3" json:"argsCb,omitempty"` Rollback string `protobuf:"bytes,7,opt,name=rollback,proto3" json:"rollback,omitempty"` ArgsRb [][]byte `protobuf:"bytes,8,rep,name=argsRb,proto3" json:"argsRb,omitempty"` }
func (*Content) Descriptor ¶
func (*Content) GetCallback ¶
func (*Content) GetDstContractId ¶
func (*Content) GetRollback ¶ added in v1.2.0
func (*Content) GetSrcContractId ¶
func (*Content) MarshalToSizedBuffer ¶
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) XXX_DiscardUnknown ¶
func (m *Content) XXX_DiscardUnknown()
func (*Content) XXX_Marshal ¶
func (*Content) XXX_Unmarshal ¶
type CrosschainTransactionExtra ¶
type CrosschainTransactionExtra struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` }
func (*CrosschainTransactionExtra) Descriptor ¶
func (*CrosschainTransactionExtra) Descriptor() ([]byte, []int)
func (*CrosschainTransactionExtra) GetIndex ¶
func (m *CrosschainTransactionExtra) GetIndex() uint64
func (*CrosschainTransactionExtra) GetRet ¶
func (m *CrosschainTransactionExtra) GetRet() []byte
func (*CrosschainTransactionExtra) GetStatus ¶
func (m *CrosschainTransactionExtra) GetStatus() bool
func (*CrosschainTransactionExtra) Marshal ¶
func (m *CrosschainTransactionExtra) Marshal() (dAtA []byte, err error)
func (*CrosschainTransactionExtra) MarshalTo ¶
func (m *CrosschainTransactionExtra) MarshalTo(dAtA []byte) (int, error)
func (*CrosschainTransactionExtra) MarshalToSizedBuffer ¶
func (m *CrosschainTransactionExtra) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CrosschainTransactionExtra) ProtoMessage ¶
func (*CrosschainTransactionExtra) ProtoMessage()
func (*CrosschainTransactionExtra) Reset ¶
func (m *CrosschainTransactionExtra) Reset()
func (*CrosschainTransactionExtra) Size ¶
func (m *CrosschainTransactionExtra) Size() (n int)
func (*CrosschainTransactionExtra) String ¶
func (m *CrosschainTransactionExtra) String() string
func (*CrosschainTransactionExtra) Unmarshal ¶
func (m *CrosschainTransactionExtra) Unmarshal(dAtA []byte) error
func (*CrosschainTransactionExtra) XXX_DiscardUnknown ¶
func (m *CrosschainTransactionExtra) XXX_DiscardUnknown()
func (*CrosschainTransactionExtra) XXX_Marshal ¶
func (m *CrosschainTransactionExtra) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrosschainTransactionExtra) XXX_Merge ¶
func (m *CrosschainTransactionExtra) XXX_Merge(src proto.Message)
func (*CrosschainTransactionExtra) XXX_Size ¶
func (m *CrosschainTransactionExtra) XXX_Size() int
func (*CrosschainTransactionExtra) XXX_Unmarshal ¶
func (m *CrosschainTransactionExtra) XXX_Unmarshal(b []byte) error
type DelVPNodeRequest ¶ added in v1.2.0
type DelVPNodeRequest struct {
Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (*DelVPNodeRequest) Descriptor ¶ added in v1.2.0
func (*DelVPNodeRequest) Descriptor() ([]byte, []int)
func (*DelVPNodeRequest) GetPid ¶ added in v1.2.0
func (m *DelVPNodeRequest) GetPid() string
func (*DelVPNodeRequest) Marshal ¶ added in v1.2.0
func (m *DelVPNodeRequest) Marshal() (dAtA []byte, err error)
func (*DelVPNodeRequest) MarshalTo ¶ added in v1.2.0
func (m *DelVPNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*DelVPNodeRequest) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *DelVPNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelVPNodeRequest) ProtoMessage ¶ added in v1.2.0
func (*DelVPNodeRequest) ProtoMessage()
func (*DelVPNodeRequest) Reset ¶ added in v1.2.0
func (m *DelVPNodeRequest) Reset()
func (*DelVPNodeRequest) Size ¶ added in v1.2.0
func (m *DelVPNodeRequest) Size() (n int)
func (*DelVPNodeRequest) String ¶ added in v1.2.0
func (m *DelVPNodeRequest) String() string
func (*DelVPNodeRequest) Unmarshal ¶ added in v1.2.0
func (m *DelVPNodeRequest) Unmarshal(dAtA []byte) error
func (*DelVPNodeRequest) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *DelVPNodeRequest) XXX_DiscardUnknown()
func (*DelVPNodeRequest) XXX_Marshal ¶ added in v1.2.0
func (m *DelVPNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelVPNodeRequest) XXX_Merge ¶ added in v1.2.0
func (m *DelVPNodeRequest) XXX_Merge(src proto.Message)
func (*DelVPNodeRequest) XXX_Size ¶ added in v1.2.0
func (m *DelVPNodeRequest) XXX_Size() int
func (*DelVPNodeRequest) XXX_Unmarshal ¶ added in v1.2.0
func (m *DelVPNodeRequest) XXX_Unmarshal(b []byte) error
type EIP155Signer ¶ added in v1.2.0
type EIP155Signer struct {
// contains filtered or unexported fields
}
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type EthTransaction ¶ added in v1.2.0
type EthTransaction struct {
// contains filtered or unexported fields
}
Transaction is an Ethereum transaction.
func (*EthTransaction) AccessList ¶ added in v1.2.0
func (e *EthTransaction) AccessList() types2.AccessList
AccessList returns the access list of the transaction.
func (*EthTransaction) DecodeRLP ¶ added in v1.2.0
func (tx *EthTransaction) DecodeRLP(s *rlp.Stream) error
DecodeRLP implements rlp.Decoder
func (*EthTransaction) EncodeRLP ¶ added in v1.2.0
func (tx *EthTransaction) EncodeRLP(w io.Writer) error
EncodeRLP implements rlp.Encoder
func (*EthTransaction) FromCallArgs ¶ added in v1.2.0
func (e *EthTransaction) FromCallArgs(callArgs CallArgs)
func (*EthTransaction) GetAmount ¶ added in v1.2.0
func (e *EthTransaction) GetAmount() uint64
func (*EthTransaction) GetChainID ¶ added in v1.2.0
func (e *EthTransaction) GetChainID() *big.Int
func (*EthTransaction) GetExtra ¶ added in v1.2.0
func (e *EthTransaction) GetExtra() []byte
func (*EthTransaction) GetFrom ¶ added in v1.2.0
func (e *EthTransaction) GetFrom() *types.Address
func (*EthTransaction) GetGas ¶ added in v1.2.0
func (e *EthTransaction) GetGas() uint64
func (*EthTransaction) GetGasPrice ¶ added in v1.2.0
func (e *EthTransaction) GetGasPrice() *big.Int
func (*EthTransaction) GetHash ¶ added in v1.2.0
func (e *EthTransaction) GetHash() *types.Hash
func (*EthTransaction) GetIBTP ¶ added in v1.2.0
func (e *EthTransaction) GetIBTP() *IBTP
func (*EthTransaction) GetNonce ¶ added in v1.2.0
func (e *EthTransaction) GetNonce() uint64
func (*EthTransaction) GetPayload ¶ added in v1.2.0
func (e *EthTransaction) GetPayload() []byte
func (*EthTransaction) GetRawSignature ¶ added in v1.2.0
func (e *EthTransaction) GetRawSignature() (v, r, s *big.Int)
RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*EthTransaction) GetSignHash ¶ added in v1.2.0
func (e *EthTransaction) GetSignHash() *types.Hash
func (*EthTransaction) GetSignature ¶ added in v1.2.0
func (e *EthTransaction) GetSignature() []byte
func (*EthTransaction) GetTimeStamp ¶ added in v1.2.0
func (e *EthTransaction) GetTimeStamp() int64
func (*EthTransaction) GetTo ¶ added in v1.2.0
func (e *EthTransaction) GetTo() *types.Address
func (*EthTransaction) GetType ¶ added in v1.2.0
func (e *EthTransaction) GetType() byte
Type returns the transaction type.
func (*EthTransaction) GetVersion ¶ added in v1.2.0
func (e *EthTransaction) GetVersion() []byte
func (*EthTransaction) IsIBTP ¶ added in v1.2.0
func (e *EthTransaction) IsIBTP() bool
func (*EthTransaction) MarshalBinary ¶ added in v1.2.0
func (tx *EthTransaction) MarshalBinary() ([]byte, error)
MarshalBinary returns the canonical encoding of the transaction. For legacy transactions, it returns the RLP encoding. For EIP-2718 typed transactions, it returns the type and payload.
func (*EthTransaction) MarshalTo ¶ added in v1.2.0
func (e *EthTransaction) MarshalTo(buf []byte) (int, error)
func (*EthTransaction) MarshalWithFlag ¶ added in v1.2.0
func (e *EthTransaction) MarshalWithFlag() ([]byte, error)
func (*EthTransaction) Protected ¶ added in v1.2.0
func (e *EthTransaction) Protected() bool
Protected says whether the transaction is replay-protected.
func (*EthTransaction) Size ¶ added in v1.2.0
func (e *EthTransaction) Size() int
func (*EthTransaction) SizeWithFlag ¶ added in v1.2.0
func (e *EthTransaction) SizeWithFlag() int
func (*EthTransaction) Unmarshal ¶ added in v1.2.0
func (e *EthTransaction) Unmarshal(buf []byte) error
func (*EthTransaction) UnmarshalBinary ¶ added in v1.2.0
func (tx *EthTransaction) UnmarshalBinary(b []byte) error
UnmarshalBinary decodes the canonical encoding of transactions. It supports legacy RLP transactions and EIP2718 typed transactions.
func (*EthTransaction) VerifySignature ¶ added in v1.2.0
func (e *EthTransaction) VerifySignature() error
type Event ¶
type Event struct { // Transaction Hash TxHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 133-byte string literal not displayed */ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // The interchain flag used by interchain contract Interchain bool `protobuf:"varint,3,opt,name=interchain,proto3" json:"interchain,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) GetInterchain ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EvmLog ¶ added in v1.2.0
type EvmLog struct { Address *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,1,opt,name=address,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"address,omitempty"` Topics []github_com_meshplus_bitxhub_kit_types.Hash `protobuf:"bytes,2,rep,name=topics,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` TxHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 133-byte string literal not displayed */ TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` BlockHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */ Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` }
func (*EvmLog) Descriptor ¶ added in v1.2.0
func (*EvmLog) GetBlockNumber ¶ added in v1.2.0
func (*EvmLog) GetRemoved ¶ added in v1.2.0
func (*EvmLog) GetTxIndex ¶ added in v1.2.0
func (EvmLog) MarshalJSON ¶ added in v1.2.0
MarshalJSON marshals as JSON.
func (*EvmLog) MarshalToSizedBuffer ¶ added in v1.2.0
func (*EvmLog) ProtoMessage ¶ added in v1.2.0
func (*EvmLog) ProtoMessage()
func (*EvmLog) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *EvmLog) XXX_DiscardUnknown()
func (*EvmLog) XXX_Marshal ¶ added in v1.2.0
func (*EvmLog) XXX_Unmarshal ¶ added in v1.2.0
type GetBlockHeaderRequest ¶
type GetBlockHeaderRequest struct { Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` }
func (*GetBlockHeaderRequest) Descriptor ¶
func (*GetBlockHeaderRequest) Descriptor() ([]byte, []int)
func (*GetBlockHeaderRequest) GetBegin ¶
func (m *GetBlockHeaderRequest) GetBegin() uint64
func (*GetBlockHeaderRequest) GetEnd ¶
func (m *GetBlockHeaderRequest) GetEnd() uint64
func (*GetBlockHeaderRequest) Marshal ¶
func (m *GetBlockHeaderRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockHeaderRequest) MarshalTo ¶
func (m *GetBlockHeaderRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeaderRequest) MarshalToSizedBuffer ¶
func (m *GetBlockHeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockHeaderRequest) ProtoMessage ¶
func (*GetBlockHeaderRequest) ProtoMessage()
func (*GetBlockHeaderRequest) Reset ¶
func (m *GetBlockHeaderRequest) Reset()
func (*GetBlockHeaderRequest) Size ¶
func (m *GetBlockHeaderRequest) Size() (n int)
func (*GetBlockHeaderRequest) String ¶
func (m *GetBlockHeaderRequest) String() string
func (*GetBlockHeaderRequest) Unmarshal ¶
func (m *GetBlockHeaderRequest) Unmarshal(dAtA []byte) error
func (*GetBlockHeaderRequest) XXX_DiscardUnknown ¶
func (m *GetBlockHeaderRequest) XXX_DiscardUnknown()
func (*GetBlockHeaderRequest) XXX_Marshal ¶
func (m *GetBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeaderRequest) XXX_Merge ¶
func (m *GetBlockHeaderRequest) XXX_Merge(src proto.Message)
func (*GetBlockHeaderRequest) XXX_Size ¶
func (m *GetBlockHeaderRequest) XXX_Size() int
func (*GetBlockHeaderRequest) XXX_Unmarshal ¶
func (m *GetBlockHeaderRequest) XXX_Unmarshal(b []byte) error
type GetBlockHeadersRequest ¶ added in v1.2.0
type GetBlockHeadersRequest struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` }
func (*GetBlockHeadersRequest) Descriptor ¶ added in v1.2.0
func (*GetBlockHeadersRequest) Descriptor() ([]byte, []int)
func (*GetBlockHeadersRequest) GetEnd ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) GetEnd() uint64
func (*GetBlockHeadersRequest) GetStart ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) GetStart() uint64
func (*GetBlockHeadersRequest) Marshal ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockHeadersRequest) MarshalTo ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeadersRequest) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockHeadersRequest) ProtoMessage ¶ added in v1.2.0
func (*GetBlockHeadersRequest) ProtoMessage()
func (*GetBlockHeadersRequest) Reset ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) Reset()
func (*GetBlockHeadersRequest) Size ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) Size() (n int)
func (*GetBlockHeadersRequest) String ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) String() string
func (*GetBlockHeadersRequest) Unmarshal ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) Unmarshal(dAtA []byte) error
func (*GetBlockHeadersRequest) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) XXX_DiscardUnknown()
func (*GetBlockHeadersRequest) XXX_Marshal ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeadersRequest) XXX_Merge ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) XXX_Merge(src proto.Message)
func (*GetBlockHeadersRequest) XXX_Size ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) XXX_Size() int
func (*GetBlockHeadersRequest) XXX_Unmarshal ¶ added in v1.2.0
func (m *GetBlockHeadersRequest) XXX_Unmarshal(b []byte) error
type GetBlockHeadersResponse ¶ added in v1.2.0
type GetBlockHeadersResponse struct {
BlockHeaders []*BlockHeader `protobuf:"bytes,1,rep,name=blockHeaders,proto3" json:"blockHeaders,omitempty"`
}
func (*GetBlockHeadersResponse) Descriptor ¶ added in v1.2.0
func (*GetBlockHeadersResponse) Descriptor() ([]byte, []int)
func (*GetBlockHeadersResponse) GetBlockHeaders ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) GetBlockHeaders() []*BlockHeader
func (*GetBlockHeadersResponse) Marshal ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockHeadersResponse) MarshalTo ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeadersResponse) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockHeadersResponse) ProtoMessage ¶ added in v1.2.0
func (*GetBlockHeadersResponse) ProtoMessage()
func (*GetBlockHeadersResponse) Reset ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) Reset()
func (*GetBlockHeadersResponse) Size ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) Size() (n int)
func (*GetBlockHeadersResponse) String ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) String() string
func (*GetBlockHeadersResponse) Unmarshal ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) Unmarshal(dAtA []byte) error
func (*GetBlockHeadersResponse) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) XXX_DiscardUnknown()
func (*GetBlockHeadersResponse) XXX_Marshal ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeadersResponse) XXX_Merge ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) XXX_Merge(src proto.Message)
func (*GetBlockHeadersResponse) XXX_Size ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) XXX_Size() int
func (*GetBlockHeadersResponse) XXX_Unmarshal ¶ added in v1.2.0
func (m *GetBlockHeadersResponse) XXX_Unmarshal(b []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct { Type GetBlockRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.GetBlockRequest_Type" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*GetBlockRequest) Descriptor ¶
func (*GetBlockRequest) Descriptor() ([]byte, []int)
func (*GetBlockRequest) GetType ¶
func (m *GetBlockRequest) GetType() GetBlockRequest_Type
func (*GetBlockRequest) GetValue ¶
func (m *GetBlockRequest) GetValue() string
func (*GetBlockRequest) Marshal ¶
func (m *GetBlockRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockRequest) MarshalToSizedBuffer ¶
func (m *GetBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) Reset ¶
func (m *GetBlockRequest) Reset()
func (*GetBlockRequest) Size ¶
func (m *GetBlockRequest) Size() (n int)
func (*GetBlockRequest) String ¶
func (m *GetBlockRequest) String() string
func (*GetBlockRequest) Unmarshal ¶
func (m *GetBlockRequest) Unmarshal(dAtA []byte) error
func (*GetBlockRequest) XXX_DiscardUnknown ¶
func (m *GetBlockRequest) XXX_DiscardUnknown()
func (*GetBlockRequest) XXX_Marshal ¶
func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockRequest) XXX_Merge ¶
func (m *GetBlockRequest) XXX_Merge(src proto.Message)
func (*GetBlockRequest) XXX_Size ¶
func (m *GetBlockRequest) XXX_Size() int
func (*GetBlockRequest) XXX_Unmarshal ¶
func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
type GetBlockRequest_Type ¶
type GetBlockRequest_Type int32
const ( GetBlockRequest_HEIGHT GetBlockRequest_Type = 0 GetBlockRequest_HASH GetBlockRequest_Type = 1 )
func (GetBlockRequest_Type) EnumDescriptor ¶
func (GetBlockRequest_Type) EnumDescriptor() ([]byte, []int)
func (GetBlockRequest_Type) String ¶
func (x GetBlockRequest_Type) String() string
type GetBlocksRequest ¶
type GetBlocksRequest struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` }
func (*GetBlocksRequest) Descriptor ¶
func (*GetBlocksRequest) Descriptor() ([]byte, []int)
func (*GetBlocksRequest) GetEnd ¶
func (m *GetBlocksRequest) GetEnd() uint64
func (*GetBlocksRequest) GetStart ¶
func (m *GetBlocksRequest) GetStart() uint64
func (*GetBlocksRequest) Marshal ¶
func (m *GetBlocksRequest) Marshal() (dAtA []byte, err error)
func (*GetBlocksRequest) MarshalToSizedBuffer ¶
func (m *GetBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlocksRequest) ProtoMessage ¶
func (*GetBlocksRequest) ProtoMessage()
func (*GetBlocksRequest) Reset ¶
func (m *GetBlocksRequest) Reset()
func (*GetBlocksRequest) Size ¶
func (m *GetBlocksRequest) Size() (n int)
func (*GetBlocksRequest) String ¶
func (m *GetBlocksRequest) String() string
func (*GetBlocksRequest) Unmarshal ¶
func (m *GetBlocksRequest) Unmarshal(dAtA []byte) error
func (*GetBlocksRequest) XXX_DiscardUnknown ¶
func (m *GetBlocksRequest) XXX_DiscardUnknown()
func (*GetBlocksRequest) XXX_Marshal ¶
func (m *GetBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlocksRequest) XXX_Merge ¶
func (m *GetBlocksRequest) XXX_Merge(src proto.Message)
func (*GetBlocksRequest) XXX_Size ¶
func (m *GetBlocksRequest) XXX_Size() int
func (*GetBlocksRequest) XXX_Unmarshal ¶
func (m *GetBlocksRequest) XXX_Unmarshal(b []byte) error
type GetBlocksResponse ¶
type GetBlocksResponse struct {
Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
}
func (*GetBlocksResponse) Descriptor ¶
func (*GetBlocksResponse) Descriptor() ([]byte, []int)
func (*GetBlocksResponse) GetBlocks ¶
func (m *GetBlocksResponse) GetBlocks() []*Block
func (*GetBlocksResponse) Marshal ¶
func (m *GetBlocksResponse) Marshal() (dAtA []byte, err error)
func (*GetBlocksResponse) MarshalTo ¶
func (m *GetBlocksResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlocksResponse) MarshalToSizedBuffer ¶
func (m *GetBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlocksResponse) ProtoMessage ¶
func (*GetBlocksResponse) ProtoMessage()
func (*GetBlocksResponse) Reset ¶
func (m *GetBlocksResponse) Reset()
func (*GetBlocksResponse) Size ¶
func (m *GetBlocksResponse) Size() (n int)
func (*GetBlocksResponse) String ¶
func (m *GetBlocksResponse) String() string
func (*GetBlocksResponse) Unmarshal ¶
func (m *GetBlocksResponse) Unmarshal(dAtA []byte) error
func (*GetBlocksResponse) XXX_DiscardUnknown ¶
func (m *GetBlocksResponse) XXX_DiscardUnknown()
func (*GetBlocksResponse) XXX_Marshal ¶
func (m *GetBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlocksResponse) XXX_Merge ¶
func (m *GetBlocksResponse) XXX_Merge(src proto.Message)
func (*GetBlocksResponse) XXX_Size ¶
func (m *GetBlocksResponse) XXX_Size() int
func (*GetBlocksResponse) XXX_Unmarshal ¶
func (m *GetBlocksResponse) XXX_Unmarshal(b []byte) error
type GetInMessageRequest ¶
type GetInMessageRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Idx uint64 `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"` }
func (*GetInMessageRequest) Descriptor ¶
func (*GetInMessageRequest) Descriptor() ([]byte, []int)
func (*GetInMessageRequest) GetFrom ¶
func (m *GetInMessageRequest) GetFrom() string
func (*GetInMessageRequest) GetIdx ¶
func (m *GetInMessageRequest) GetIdx() uint64
func (*GetInMessageRequest) Marshal ¶
func (m *GetInMessageRequest) Marshal() (dAtA []byte, err error)
func (*GetInMessageRequest) MarshalTo ¶
func (m *GetInMessageRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetInMessageRequest) MarshalToSizedBuffer ¶
func (m *GetInMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetInMessageRequest) ProtoMessage ¶
func (*GetInMessageRequest) ProtoMessage()
func (*GetInMessageRequest) Reset ¶
func (m *GetInMessageRequest) Reset()
func (*GetInMessageRequest) Size ¶
func (m *GetInMessageRequest) Size() (n int)
func (*GetInMessageRequest) String ¶
func (m *GetInMessageRequest) String() string
func (*GetInMessageRequest) Unmarshal ¶
func (m *GetInMessageRequest) Unmarshal(dAtA []byte) error
func (*GetInMessageRequest) XXX_DiscardUnknown ¶
func (m *GetInMessageRequest) XXX_DiscardUnknown()
func (*GetInMessageRequest) XXX_Marshal ¶
func (m *GetInMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInMessageRequest) XXX_Merge ¶
func (m *GetInMessageRequest) XXX_Merge(src proto.Message)
func (*GetInMessageRequest) XXX_Size ¶
func (m *GetInMessageRequest) XXX_Size() int
func (*GetInMessageRequest) XXX_Unmarshal ¶
func (m *GetInMessageRequest) XXX_Unmarshal(b []byte) error
type GetInMessageResponse ¶
type GetInMessageResponse struct {
Result [][]byte `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
}
func (*GetInMessageResponse) Descriptor ¶
func (*GetInMessageResponse) Descriptor() ([]byte, []int)
func (*GetInMessageResponse) GetResult ¶
func (m *GetInMessageResponse) GetResult() [][]byte
func (*GetInMessageResponse) Marshal ¶
func (m *GetInMessageResponse) Marshal() (dAtA []byte, err error)
func (*GetInMessageResponse) MarshalTo ¶
func (m *GetInMessageResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetInMessageResponse) MarshalToSizedBuffer ¶
func (m *GetInMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetInMessageResponse) ProtoMessage ¶
func (*GetInMessageResponse) ProtoMessage()
func (*GetInMessageResponse) Reset ¶
func (m *GetInMessageResponse) Reset()
func (*GetInMessageResponse) Size ¶
func (m *GetInMessageResponse) Size() (n int)
func (*GetInMessageResponse) String ¶
func (m *GetInMessageResponse) String() string
func (*GetInMessageResponse) Unmarshal ¶
func (m *GetInMessageResponse) Unmarshal(dAtA []byte) error
func (*GetInMessageResponse) XXX_DiscardUnknown ¶
func (m *GetInMessageResponse) XXX_DiscardUnknown()
func (*GetInMessageResponse) XXX_Marshal ¶
func (m *GetInMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInMessageResponse) XXX_Merge ¶
func (m *GetInMessageResponse) XXX_Merge(src proto.Message)
func (*GetInMessageResponse) XXX_Size ¶
func (m *GetInMessageResponse) XXX_Size() int
func (*GetInMessageResponse) XXX_Unmarshal ¶
func (m *GetInMessageResponse) XXX_Unmarshal(b []byte) error
type GetInterchainTxWrappersRequest ¶
type GetInterchainTxWrappersRequest struct { Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"` }
func (*GetInterchainTxWrappersRequest) Descriptor ¶
func (*GetInterchainTxWrappersRequest) Descriptor() ([]byte, []int)
func (*GetInterchainTxWrappersRequest) GetBegin ¶
func (m *GetInterchainTxWrappersRequest) GetBegin() uint64
func (*GetInterchainTxWrappersRequest) GetEnd ¶
func (m *GetInterchainTxWrappersRequest) GetEnd() uint64
func (*GetInterchainTxWrappersRequest) GetPid ¶
func (m *GetInterchainTxWrappersRequest) GetPid() string
func (*GetInterchainTxWrappersRequest) Marshal ¶
func (m *GetInterchainTxWrappersRequest) Marshal() (dAtA []byte, err error)
func (*GetInterchainTxWrappersRequest) MarshalTo ¶
func (m *GetInterchainTxWrappersRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetInterchainTxWrappersRequest) MarshalToSizedBuffer ¶
func (m *GetInterchainTxWrappersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetInterchainTxWrappersRequest) ProtoMessage ¶
func (*GetInterchainTxWrappersRequest) ProtoMessage()
func (*GetInterchainTxWrappersRequest) Reset ¶
func (m *GetInterchainTxWrappersRequest) Reset()
func (*GetInterchainTxWrappersRequest) Size ¶
func (m *GetInterchainTxWrappersRequest) Size() (n int)
func (*GetInterchainTxWrappersRequest) String ¶
func (m *GetInterchainTxWrappersRequest) String() string
func (*GetInterchainTxWrappersRequest) Unmarshal ¶
func (m *GetInterchainTxWrappersRequest) Unmarshal(dAtA []byte) error
func (*GetInterchainTxWrappersRequest) XXX_DiscardUnknown ¶
func (m *GetInterchainTxWrappersRequest) XXX_DiscardUnknown()
func (*GetInterchainTxWrappersRequest) XXX_Marshal ¶
func (m *GetInterchainTxWrappersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInterchainTxWrappersRequest) XXX_Merge ¶
func (m *GetInterchainTxWrappersRequest) XXX_Merge(src proto.Message)
func (*GetInterchainTxWrappersRequest) XXX_Size ¶
func (m *GetInterchainTxWrappersRequest) XXX_Size() int
func (*GetInterchainTxWrappersRequest) XXX_Unmarshal ¶
func (m *GetInterchainTxWrappersRequest) XXX_Unmarshal(b []byte) error
type GetMetaResponse ¶
type GetMetaResponse struct {
Meta map[string]uint64 `` /* 150-byte string literal not displayed */
}
func (*GetMetaResponse) Descriptor ¶
func (*GetMetaResponse) Descriptor() ([]byte, []int)
func (*GetMetaResponse) GetMeta ¶
func (m *GetMetaResponse) GetMeta() map[string]uint64
func (*GetMetaResponse) Marshal ¶
func (m *GetMetaResponse) Marshal() (dAtA []byte, err error)
func (*GetMetaResponse) MarshalToSizedBuffer ¶
func (m *GetMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetMetaResponse) ProtoMessage ¶
func (*GetMetaResponse) ProtoMessage()
func (*GetMetaResponse) Reset ¶
func (m *GetMetaResponse) Reset()
func (*GetMetaResponse) Size ¶
func (m *GetMetaResponse) Size() (n int)
func (*GetMetaResponse) String ¶
func (m *GetMetaResponse) String() string
func (*GetMetaResponse) Unmarshal ¶
func (m *GetMetaResponse) Unmarshal(dAtA []byte) error
func (*GetMetaResponse) XXX_DiscardUnknown ¶
func (m *GetMetaResponse) XXX_DiscardUnknown()
func (*GetMetaResponse) XXX_Marshal ¶
func (m *GetMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMetaResponse) XXX_Merge ¶
func (m *GetMetaResponse) XXX_Merge(src proto.Message)
func (*GetMetaResponse) XXX_Size ¶
func (m *GetMetaResponse) XXX_Size() int
func (*GetMetaResponse) XXX_Unmarshal ¶
func (m *GetMetaResponse) XXX_Unmarshal(b []byte) error
type GetMultiSignsRequest ¶
type GetMultiSignsRequest struct { Type GetMultiSignsRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.GetMultiSignsRequest_Type" json:"type,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` }
func (*GetMultiSignsRequest) Descriptor ¶
func (*GetMultiSignsRequest) Descriptor() ([]byte, []int)
func (*GetMultiSignsRequest) GetContent ¶
func (m *GetMultiSignsRequest) GetContent() string
func (*GetMultiSignsRequest) GetType ¶
func (m *GetMultiSignsRequest) GetType() GetMultiSignsRequest_Type
func (*GetMultiSignsRequest) Marshal ¶
func (m *GetMultiSignsRequest) Marshal() (dAtA []byte, err error)
func (*GetMultiSignsRequest) MarshalTo ¶
func (m *GetMultiSignsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetMultiSignsRequest) MarshalToSizedBuffer ¶
func (m *GetMultiSignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetMultiSignsRequest) ProtoMessage ¶
func (*GetMultiSignsRequest) ProtoMessage()
func (*GetMultiSignsRequest) Reset ¶
func (m *GetMultiSignsRequest) Reset()
func (*GetMultiSignsRequest) Size ¶
func (m *GetMultiSignsRequest) Size() (n int)
func (*GetMultiSignsRequest) String ¶
func (m *GetMultiSignsRequest) String() string
func (*GetMultiSignsRequest) Unmarshal ¶
func (m *GetMultiSignsRequest) Unmarshal(dAtA []byte) error
func (*GetMultiSignsRequest) XXX_DiscardUnknown ¶
func (m *GetMultiSignsRequest) XXX_DiscardUnknown()
func (*GetMultiSignsRequest) XXX_Marshal ¶
func (m *GetMultiSignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultiSignsRequest) XXX_Merge ¶
func (m *GetMultiSignsRequest) XXX_Merge(src proto.Message)
func (*GetMultiSignsRequest) XXX_Size ¶
func (m *GetMultiSignsRequest) XXX_Size() int
func (*GetMultiSignsRequest) XXX_Unmarshal ¶
func (m *GetMultiSignsRequest) XXX_Unmarshal(b []byte) error
type GetMultiSignsRequest_Type ¶
type GetMultiSignsRequest_Type int32
const ( GetMultiSignsRequest_ASSET_EXCHANGE GetMultiSignsRequest_Type = 0 GetMultiSignsRequest_IBTP GetMultiSignsRequest_Type = 1 GetMultiSignsRequest_BLOCK_HEADER GetMultiSignsRequest_Type = 2 )
func (GetMultiSignsRequest_Type) EnumDescriptor ¶
func (GetMultiSignsRequest_Type) EnumDescriptor() ([]byte, []int)
func (GetMultiSignsRequest_Type) String ¶
func (x GetMultiSignsRequest_Type) String() string
type GetOutMessageRequest ¶
type GetOutMessageRequest struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Idx uint64 `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"` }
func (*GetOutMessageRequest) Descriptor ¶
func (*GetOutMessageRequest) Descriptor() ([]byte, []int)
func (*GetOutMessageRequest) GetIdx ¶
func (m *GetOutMessageRequest) GetIdx() uint64
func (*GetOutMessageRequest) GetTo ¶
func (m *GetOutMessageRequest) GetTo() string
func (*GetOutMessageRequest) Marshal ¶
func (m *GetOutMessageRequest) Marshal() (dAtA []byte, err error)
func (*GetOutMessageRequest) MarshalTo ¶
func (m *GetOutMessageRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetOutMessageRequest) MarshalToSizedBuffer ¶
func (m *GetOutMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetOutMessageRequest) ProtoMessage ¶
func (*GetOutMessageRequest) ProtoMessage()
func (*GetOutMessageRequest) Reset ¶
func (m *GetOutMessageRequest) Reset()
func (*GetOutMessageRequest) Size ¶
func (m *GetOutMessageRequest) Size() (n int)
func (*GetOutMessageRequest) String ¶
func (m *GetOutMessageRequest) String() string
func (*GetOutMessageRequest) Unmarshal ¶
func (m *GetOutMessageRequest) Unmarshal(dAtA []byte) error
func (*GetOutMessageRequest) XXX_DiscardUnknown ¶
func (m *GetOutMessageRequest) XXX_DiscardUnknown()
func (*GetOutMessageRequest) XXX_Marshal ¶
func (m *GetOutMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOutMessageRequest) XXX_Merge ¶
func (m *GetOutMessageRequest) XXX_Merge(src proto.Message)
func (*GetOutMessageRequest) XXX_Size ¶
func (m *GetOutMessageRequest) XXX_Size() int
func (*GetOutMessageRequest) XXX_Unmarshal ¶
func (m *GetOutMessageRequest) XXX_Unmarshal(b []byte) error
type GetTPSRequest ¶
type GetTPSRequest struct { Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` }
func (*GetTPSRequest) Descriptor ¶
func (*GetTPSRequest) Descriptor() ([]byte, []int)
func (*GetTPSRequest) GetBegin ¶
func (m *GetTPSRequest) GetBegin() uint64
func (*GetTPSRequest) GetEnd ¶
func (m *GetTPSRequest) GetEnd() uint64
func (*GetTPSRequest) Marshal ¶
func (m *GetTPSRequest) Marshal() (dAtA []byte, err error)
func (*GetTPSRequest) MarshalToSizedBuffer ¶
func (m *GetTPSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTPSRequest) ProtoMessage ¶
func (*GetTPSRequest) ProtoMessage()
func (*GetTPSRequest) Reset ¶
func (m *GetTPSRequest) Reset()
func (*GetTPSRequest) Size ¶
func (m *GetTPSRequest) Size() (n int)
func (*GetTPSRequest) String ¶
func (m *GetTPSRequest) String() string
func (*GetTPSRequest) Unmarshal ¶
func (m *GetTPSRequest) Unmarshal(dAtA []byte) error
func (*GetTPSRequest) XXX_DiscardUnknown ¶
func (m *GetTPSRequest) XXX_DiscardUnknown()
func (*GetTPSRequest) XXX_Marshal ¶
func (m *GetTPSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTPSRequest) XXX_Merge ¶
func (m *GetTPSRequest) XXX_Merge(src proto.Message)
func (*GetTPSRequest) XXX_Size ¶
func (m *GetTPSRequest) XXX_Size() int
func (*GetTPSRequest) XXX_Unmarshal ¶
func (m *GetTPSRequest) XXX_Unmarshal(b []byte) error
type GetTransactionResponse ¶
type GetTransactionResponse struct { Tx *BxhTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` TxMeta *TransactionMeta `protobuf:"bytes,2,opt,name=tx_meta,json=txMeta,proto3" json:"tx_meta,omitempty"` }
func (*GetTransactionResponse) Descriptor ¶
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
func (*GetTransactionResponse) GetTx ¶
func (m *GetTransactionResponse) GetTx() *BxhTransaction
func (*GetTransactionResponse) GetTxMeta ¶
func (m *GetTransactionResponse) GetTxMeta() *TransactionMeta
func (*GetTransactionResponse) Marshal ¶
func (m *GetTransactionResponse) Marshal() (dAtA []byte, err error)
func (*GetTransactionResponse) MarshalTo ¶
func (m *GetTransactionResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetTransactionResponse) MarshalToSizedBuffer ¶
func (m *GetTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) Reset ¶
func (m *GetTransactionResponse) Reset()
func (*GetTransactionResponse) Size ¶
func (m *GetTransactionResponse) Size() (n int)
func (*GetTransactionResponse) String ¶
func (m *GetTransactionResponse) String() string
func (*GetTransactionResponse) Unmarshal ¶
func (m *GetTransactionResponse) Unmarshal(dAtA []byte) error
func (*GetTransactionResponse) XXX_DiscardUnknown ¶
func (m *GetTransactionResponse) XXX_DiscardUnknown()
func (*GetTransactionResponse) XXX_Marshal ¶
func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionResponse) XXX_Merge ¶
func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
func (*GetTransactionResponse) XXX_Size ¶
func (m *GetTransactionResponse) XXX_Size() int
func (*GetTransactionResponse) XXX_Unmarshal ¶
func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
type HeartBeatRespones ¶ added in v1.2.0
type HeartBeatRespones struct {
Status HeartBeatRespones_Status `protobuf:"varint,1,opt,name=status,proto3,enum=pb.HeartBeatRespones_Status" json:"status,omitempty"`
}
func (*HeartBeatRespones) Descriptor ¶ added in v1.2.0
func (*HeartBeatRespones) Descriptor() ([]byte, []int)
func (*HeartBeatRespones) GetStatus ¶ added in v1.2.0
func (m *HeartBeatRespones) GetStatus() HeartBeatRespones_Status
func (*HeartBeatRespones) Marshal ¶ added in v1.2.0
func (m *HeartBeatRespones) Marshal() (dAtA []byte, err error)
func (*HeartBeatRespones) MarshalTo ¶ added in v1.2.0
func (m *HeartBeatRespones) MarshalTo(dAtA []byte) (int, error)
func (*HeartBeatRespones) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *HeartBeatRespones) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HeartBeatRespones) ProtoMessage ¶ added in v1.2.0
func (*HeartBeatRespones) ProtoMessage()
func (*HeartBeatRespones) Reset ¶ added in v1.2.0
func (m *HeartBeatRespones) Reset()
func (*HeartBeatRespones) Size ¶ added in v1.2.0
func (m *HeartBeatRespones) Size() (n int)
func (*HeartBeatRespones) String ¶ added in v1.2.0
func (m *HeartBeatRespones) String() string
func (*HeartBeatRespones) Unmarshal ¶ added in v1.2.0
func (m *HeartBeatRespones) Unmarshal(dAtA []byte) error
func (*HeartBeatRespones) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *HeartBeatRespones) XXX_DiscardUnknown()
func (*HeartBeatRespones) XXX_Marshal ¶ added in v1.2.0
func (m *HeartBeatRespones) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeartBeatRespones) XXX_Merge ¶ added in v1.2.0
func (m *HeartBeatRespones) XXX_Merge(src proto.Message)
func (*HeartBeatRespones) XXX_Size ¶ added in v1.2.0
func (m *HeartBeatRespones) XXX_Size() int
func (*HeartBeatRespones) XXX_Unmarshal ¶ added in v1.2.0
func (m *HeartBeatRespones) XXX_Unmarshal(b []byte) error
type HeartBeatRespones_Status ¶ added in v1.2.0
type HeartBeatRespones_Status int32
const ( HeartBeatRespones_ALIVE HeartBeatRespones_Status = 0 HeartBeatRespones_DEAD HeartBeatRespones_Status = 1 )
func (HeartBeatRespones_Status) EnumDescriptor ¶ added in v1.2.0
func (HeartBeatRespones_Status) EnumDescriptor() ([]byte, []int)
func (HeartBeatRespones_Status) String ¶ added in v1.2.0
func (x HeartBeatRespones_Status) String() string
type IBTP ¶
type IBTP struct { // ID of sending chain From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // ID of receiving chain To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // Index of inter-chain transaction Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // inter-chain transaction type Type IBTP_Type `protobuf:"varint,4,opt,name=type,proto3,enum=pb.IBTP_Type" json:"type,omitempty"` // Timestamp of inter-chain events Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Proof of inter-chain transactions Proof []byte `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"` // Encoded content used by inter-chain Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // info about other txs in the same group Group *StringUint64Map `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` // Message version Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` // Self-defined fields used by app-chain Extra []byte `protobuf:"bytes,10,opt,name=extra,proto3" json:"extra,omitempty"` }
Inter-blockchain Transfer Protocol
func (*IBTP) Category ¶
func (m *IBTP) Category() IBTP_Category
func (*IBTP) Descriptor ¶
func (*IBTP) GetGroup ¶
func (m *IBTP) GetGroup() *StringUint64Map
func (*IBTP) GetPayload ¶
func (*IBTP) GetTimestamp ¶
func (*IBTP) GetVersion ¶
func (*IBTP) ProtoMessage ¶
func (*IBTP) ProtoMessage()
func (*IBTP) XXX_DiscardUnknown ¶
func (m *IBTP) XXX_DiscardUnknown()
func (*IBTP) XXX_Unmarshal ¶
type IBTP_Category ¶
type IBTP_Category int32
const ( IBTP_REQUEST IBTP_Category = 0 IBTP_RESPONSE IBTP_Category = 1 IBTP_UNKNOWN IBTP_Category = 2 )
func (IBTP_Category) EnumDescriptor ¶
func (IBTP_Category) EnumDescriptor() ([]byte, []int)
func (IBTP_Category) String ¶
func (x IBTP_Category) String() string
type IBTPs ¶
type IBTPs struct {
Ibtps []*IBTP `protobuf:"bytes,1,rep,name=ibtps,proto3" json:"ibtps,omitempty"`
}
func (*IBTPs) Descriptor ¶
func (*IBTPs) ProtoMessage ¶
func (*IBTPs) ProtoMessage()
func (*IBTPs) XXX_DiscardUnknown ¶
func (m *IBTPs) XXX_DiscardUnknown()
func (*IBTPs) XXX_Marshal ¶
func (*IBTPs) XXX_Unmarshal ¶
type InitializeRequest ¶
type InitializeRequest struct { ConfigPath string `protobuf:"bytes,1,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` PierId string `protobuf:"bytes,2,opt,name=pier_id,json=pierId,proto3" json:"pier_id,omitempty"` Extra []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"` }
func (*InitializeRequest) Descriptor ¶
func (*InitializeRequest) Descriptor() ([]byte, []int)
func (*InitializeRequest) GetConfigPath ¶
func (m *InitializeRequest) GetConfigPath() string
func (*InitializeRequest) GetExtra ¶
func (m *InitializeRequest) GetExtra() []byte
func (*InitializeRequest) GetPierId ¶
func (m *InitializeRequest) GetPierId() string
func (*InitializeRequest) Marshal ¶
func (m *InitializeRequest) Marshal() (dAtA []byte, err error)
func (*InitializeRequest) MarshalTo ¶
func (m *InitializeRequest) MarshalTo(dAtA []byte) (int, error)
func (*InitializeRequest) MarshalToSizedBuffer ¶
func (m *InitializeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) Reset ¶
func (m *InitializeRequest) Reset()
func (*InitializeRequest) Size ¶
func (m *InitializeRequest) Size() (n int)
func (*InitializeRequest) String ¶
func (m *InitializeRequest) String() string
func (*InitializeRequest) Unmarshal ¶
func (m *InitializeRequest) Unmarshal(dAtA []byte) error
func (*InitializeRequest) XXX_DiscardUnknown ¶
func (m *InitializeRequest) XXX_DiscardUnknown()
func (*InitializeRequest) XXX_Marshal ¶
func (m *InitializeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitializeRequest) XXX_Merge ¶
func (m *InitializeRequest) XXX_Merge(src proto.Message)
func (*InitializeRequest) XXX_Size ¶
func (m *InitializeRequest) XXX_Size() int
func (*InitializeRequest) XXX_Unmarshal ¶
func (m *InitializeRequest) XXX_Unmarshal(b []byte) error
type Interchain ¶
type Interchain struct { ID string InterchainCounter map[string]uint64 ReceiptCounter map[string]uint64 SourceReceiptCounter map[string]uint64 }
func (*Interchain) Marshal ¶
func (m *Interchain) Marshal() ([]byte, error)
func (*Interchain) Unmarshal ¶
func (m *Interchain) Unmarshal(data []byte) error
type InterchainMeta ¶
type InterchainMeta struct { Counter map[string]*Uint64Slice L2Roots []types.Hash }
func (*InterchainMeta) Marshal ¶
func (m *InterchainMeta) Marshal() ([]byte, error)
func (*InterchainMeta) Unmarshal ¶
func (m *InterchainMeta) Unmarshal(data []byte) error
type InterchainMetaS ¶ added in v1.2.0
type InterchainMetaS struct { Counter *StringUint64SliceMap `protobuf:"bytes,1,opt,name=counter,proto3" json:"counter,omitempty"` L2Roots []github_com_meshplus_bitxhub_kit_types.Hash `protobuf:"bytes,2,rep,name=l2Roots,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"l2Roots,omitempty"` }
func (*InterchainMetaS) Descriptor ¶ added in v1.2.0
func (*InterchainMetaS) Descriptor() ([]byte, []int)
func (*InterchainMetaS) GetCounter ¶ added in v1.2.0
func (m *InterchainMetaS) GetCounter() *StringUint64SliceMap
func (*InterchainMetaS) Marshal ¶ added in v1.2.0
func (m *InterchainMetaS) Marshal() (dAtA []byte, err error)
func (*InterchainMetaS) MarshalTo ¶ added in v1.2.0
func (m *InterchainMetaS) MarshalTo(dAtA []byte) (int, error)
func (*InterchainMetaS) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *InterchainMetaS) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InterchainMetaS) ProtoMessage ¶ added in v1.2.0
func (*InterchainMetaS) ProtoMessage()
func (*InterchainMetaS) Reset ¶ added in v1.2.0
func (m *InterchainMetaS) Reset()
func (*InterchainMetaS) Size ¶ added in v1.2.0
func (m *InterchainMetaS) Size() (n int)
func (*InterchainMetaS) String ¶ added in v1.2.0
func (m *InterchainMetaS) String() string
func (*InterchainMetaS) Unmarshal ¶ added in v1.2.0
func (m *InterchainMetaS) Unmarshal(dAtA []byte) error
func (*InterchainMetaS) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *InterchainMetaS) XXX_DiscardUnknown()
func (*InterchainMetaS) XXX_Marshal ¶ added in v1.2.0
func (m *InterchainMetaS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterchainMetaS) XXX_Merge ¶ added in v1.2.0
func (m *InterchainMetaS) XXX_Merge(src proto.Message)
func (*InterchainMetaS) XXX_Size ¶ added in v1.2.0
func (m *InterchainMetaS) XXX_Size() int
func (*InterchainMetaS) XXX_Unmarshal ¶ added in v1.2.0
func (m *InterchainMetaS) XXX_Unmarshal(b []byte) error
type InterchainS ¶ added in v1.2.0
type InterchainS struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` InterchainCounter *StringUint64Map `protobuf:"bytes,2,opt,name=InterchainCounter,proto3" json:"InterchainCounter,omitempty"` ReceiptCounter *StringUint64Map `protobuf:"bytes,3,opt,name=ReceiptCounter,proto3" json:"ReceiptCounter,omitempty"` SourceReceiptCounter *StringUint64Map `protobuf:"bytes,4,opt,name=SourceReceiptCounter,proto3" json:"SourceReceiptCounter,omitempty"` }
func (*InterchainS) Descriptor ¶ added in v1.2.0
func (*InterchainS) Descriptor() ([]byte, []int)
func (*InterchainS) GetID ¶ added in v1.2.0
func (m *InterchainS) GetID() string
func (*InterchainS) GetInterchainCounter ¶ added in v1.2.0
func (m *InterchainS) GetInterchainCounter() *StringUint64Map
func (*InterchainS) GetReceiptCounter ¶ added in v1.2.0
func (m *InterchainS) GetReceiptCounter() *StringUint64Map
func (*InterchainS) GetSourceReceiptCounter ¶ added in v1.2.0
func (m *InterchainS) GetSourceReceiptCounter() *StringUint64Map
func (*InterchainS) Marshal ¶ added in v1.2.0
func (m *InterchainS) Marshal() (dAtA []byte, err error)
func (*InterchainS) MarshalTo ¶ added in v1.2.0
func (m *InterchainS) MarshalTo(dAtA []byte) (int, error)
func (*InterchainS) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *InterchainS) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InterchainS) ProtoMessage ¶ added in v1.2.0
func (*InterchainS) ProtoMessage()
func (*InterchainS) Reset ¶ added in v1.2.0
func (m *InterchainS) Reset()
func (*InterchainS) Size ¶ added in v1.2.0
func (m *InterchainS) Size() (n int)
func (*InterchainS) String ¶ added in v1.2.0
func (m *InterchainS) String() string
func (*InterchainS) Unmarshal ¶ added in v1.2.0
func (m *InterchainS) Unmarshal(dAtA []byte) error
func (*InterchainS) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *InterchainS) XXX_DiscardUnknown()
func (*InterchainS) XXX_Marshal ¶ added in v1.2.0
func (m *InterchainS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterchainS) XXX_Merge ¶ added in v1.2.0
func (m *InterchainS) XXX_Merge(src proto.Message)
func (*InterchainS) XXX_Size ¶ added in v1.2.0
func (m *InterchainS) XXX_Size() int
func (*InterchainS) XXX_Unmarshal ¶ added in v1.2.0
func (m *InterchainS) XXX_Unmarshal(b []byte) error
type InterchainTxWrapper ¶
type InterchainTxWrapper struct { L2Roots []github_com_meshplus_bitxhub_kit_types.Hash `protobuf:"bytes,1,rep,name=l2Roots,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"l2Roots,omitempty"` TransactionHashes []github_com_meshplus_bitxhub_kit_types.Hash `` /* 166-byte string literal not displayed */ Transactions []*BxhTransaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` }
func (*InterchainTxWrapper) Descriptor ¶
func (*InterchainTxWrapper) Descriptor() ([]byte, []int)
func (*InterchainTxWrapper) GetHeight ¶
func (m *InterchainTxWrapper) GetHeight() uint64
func (*InterchainTxWrapper) GetTransactions ¶
func (m *InterchainTxWrapper) GetTransactions() []*BxhTransaction
func (*InterchainTxWrapper) Marshal ¶
func (m *InterchainTxWrapper) Marshal() (dAtA []byte, err error)
func (*InterchainTxWrapper) MarshalTo ¶
func (m *InterchainTxWrapper) MarshalTo(dAtA []byte) (int, error)
func (*InterchainTxWrapper) MarshalToSizedBuffer ¶
func (m *InterchainTxWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InterchainTxWrapper) ProtoMessage ¶
func (*InterchainTxWrapper) ProtoMessage()
func (*InterchainTxWrapper) Reset ¶
func (m *InterchainTxWrapper) Reset()
func (*InterchainTxWrapper) Size ¶
func (m *InterchainTxWrapper) Size() (n int)
func (*InterchainTxWrapper) String ¶
func (m *InterchainTxWrapper) String() string
func (*InterchainTxWrapper) Unmarshal ¶
func (m *InterchainTxWrapper) Unmarshal(dAtA []byte) error
func (*InterchainTxWrapper) XXX_DiscardUnknown ¶
func (m *InterchainTxWrapper) XXX_DiscardUnknown()
func (*InterchainTxWrapper) XXX_Marshal ¶
func (m *InterchainTxWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterchainTxWrapper) XXX_Merge ¶
func (m *InterchainTxWrapper) XXX_Merge(src proto.Message)
func (*InterchainTxWrapper) XXX_Size ¶
func (m *InterchainTxWrapper) XXX_Size() int
func (*InterchainTxWrapper) XXX_Unmarshal ¶
func (m *InterchainTxWrapper) XXX_Unmarshal(b []byte) error
type InterchainTxWrappers ¶
type InterchainTxWrappers struct {
InterchainTxWrappers []*InterchainTxWrapper `protobuf:"bytes,1,rep,name=interchainTxWrappers,proto3" json:"interchainTxWrappers,omitempty"`
}
func (*InterchainTxWrappers) Descriptor ¶
func (*InterchainTxWrappers) Descriptor() ([]byte, []int)
func (*InterchainTxWrappers) GetInterchainTxWrappers ¶
func (m *InterchainTxWrappers) GetInterchainTxWrappers() []*InterchainTxWrapper
func (*InterchainTxWrappers) Marshal ¶
func (m *InterchainTxWrappers) Marshal() (dAtA []byte, err error)
func (*InterchainTxWrappers) MarshalTo ¶
func (m *InterchainTxWrappers) MarshalTo(dAtA []byte) (int, error)
func (*InterchainTxWrappers) MarshalToSizedBuffer ¶
func (m *InterchainTxWrappers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InterchainTxWrappers) ProtoMessage ¶
func (*InterchainTxWrappers) ProtoMessage()
func (*InterchainTxWrappers) Reset ¶
func (m *InterchainTxWrappers) Reset()
func (*InterchainTxWrappers) Size ¶
func (m *InterchainTxWrappers) Size() (n int)
func (*InterchainTxWrappers) String ¶
func (m *InterchainTxWrappers) String() string
func (*InterchainTxWrappers) Unmarshal ¶
func (m *InterchainTxWrappers) Unmarshal(dAtA []byte) error
func (*InterchainTxWrappers) XXX_DiscardUnknown ¶
func (m *InterchainTxWrappers) XXX_DiscardUnknown()
func (*InterchainTxWrappers) XXX_Marshal ¶
func (m *InterchainTxWrappers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterchainTxWrappers) XXX_Merge ¶
func (m *InterchainTxWrappers) XXX_Merge(src proto.Message)
func (*InterchainTxWrappers) XXX_Size ¶
func (m *InterchainTxWrappers) XXX_Size() int
func (*InterchainTxWrappers) XXX_Unmarshal ¶
func (m *InterchainTxWrappers) XXX_Unmarshal(b []byte) error
type InvokePayload ¶
type InvokePayload struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Args []*Arg `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` }
func (*InvokePayload) Descriptor ¶
func (*InvokePayload) Descriptor() ([]byte, []int)
func (*InvokePayload) GetArgs ¶
func (m *InvokePayload) GetArgs() []*Arg
func (*InvokePayload) GetMethod ¶
func (m *InvokePayload) GetMethod() string
func (*InvokePayload) Marshal ¶
func (m *InvokePayload) Marshal() (dAtA []byte, err error)
func (*InvokePayload) MarshalToSizedBuffer ¶
func (m *InvokePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InvokePayload) ProtoMessage ¶
func (*InvokePayload) ProtoMessage()
func (*InvokePayload) Reset ¶
func (m *InvokePayload) Reset()
func (*InvokePayload) Size ¶
func (m *InvokePayload) Size() (n int)
func (*InvokePayload) String ¶
func (m *InvokePayload) String() string
func (*InvokePayload) Unmarshal ¶
func (m *InvokePayload) Unmarshal(dAtA []byte) error
func (*InvokePayload) XXX_DiscardUnknown ¶
func (m *InvokePayload) XXX_DiscardUnknown()
func (*InvokePayload) XXX_Marshal ¶
func (m *InvokePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokePayload) XXX_Merge ¶
func (m *InvokePayload) XXX_Merge(src proto.Message)
func (*InvokePayload) XXX_Size ¶
func (m *InvokePayload) XXX_Size() int
func (*InvokePayload) XXX_Unmarshal ¶
func (m *InvokePayload) XXX_Unmarshal(b []byte) error
type LegacyTx ¶ added in v1.2.0
type LegacyTx struct { Nonce uint64 // nonce of sender account GasPrice *big.Int // wei per gas Gas uint64 // gas limit To *common.Address `rlp:"nil"` // nil means contract creation Value *big.Int // wei amount Data []byte // contract invocation input data V, R, S *big.Int // signature values }
LegacyTx is the transaction data of regular Ethereum transactions.
type Message ¶
type Message struct { Type Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Message_Type" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` Version []byte `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"` }
func (*Message) Descriptor ¶
func (*Message) GetType ¶
func (m *Message) GetType() Message_Type
func (*Message) GetVersion ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type Message_Type ¶
type Message_Type int32
const ( Message_GET_BLOCK Message_Type = 0 Message_GET_BLOCK_ACK Message_Type = 1 Message_CONSENSUS Message_Type = 2 Message_FETCH_CERT Message_Type = 3 Message_FETCH_CERT_ACK Message_Type = 4 Message_FETCH_BLOCK_SIGN Message_Type = 5 Message_FETCH_BLOCK_SIGN_ACK Message_Type = 6 Message_FETCH_IBTP_SIGN Message_Type = 7 Message_FETCH_IBTP_SIGN_ACK Message_Type = 8 Message_FETCH_ASSET_EXCHANEG_SIGN Message_Type = 9 Message_FETCH_ASSET_EXCHANGE_SIGN_ACK Message_Type = 10 Message_GET_ADDRESS Message_Type = 11 Message_GET_ADDRESS_ACK Message_Type = 12 Message_GET_BLOCK_HEADERS Message_Type = 13 Message_GET_BLOCK_HEADERS_ACK Message_Type = 14 Message_GET_BLOCKS Message_Type = 15 Message_GET_BLOCKS_ACK Message_Type = 16 Message_CHECK_MASTER_PIER Message_Type = 17 Message_CHECK_MASTER_PIER_ACK Message_Type = 18 )
func (Message_Type) EnumDescriptor ¶
func (Message_Type) EnumDescriptor() ([]byte, []int)
func (Message_Type) String ¶
func (x Message_Type) String() string
type NameResponse ¶
type NameResponse struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*NameResponse) Descriptor ¶
func (*NameResponse) Descriptor() ([]byte, []int)
func (*NameResponse) GetName ¶
func (m *NameResponse) GetName() string
func (*NameResponse) Marshal ¶
func (m *NameResponse) Marshal() (dAtA []byte, err error)
func (*NameResponse) MarshalToSizedBuffer ¶
func (m *NameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NameResponse) ProtoMessage ¶
func (*NameResponse) ProtoMessage()
func (*NameResponse) Reset ¶
func (m *NameResponse) Reset()
func (*NameResponse) Size ¶
func (m *NameResponse) Size() (n int)
func (*NameResponse) String ¶
func (m *NameResponse) String() string
func (*NameResponse) Unmarshal ¶
func (m *NameResponse) Unmarshal(dAtA []byte) error
func (*NameResponse) XXX_DiscardUnknown ¶
func (m *NameResponse) XXX_DiscardUnknown()
func (*NameResponse) XXX_Marshal ¶
func (m *NameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NameResponse) XXX_Merge ¶
func (m *NameResponse) XXX_Merge(src proto.Message)
func (*NameResponse) XXX_Size ¶
func (m *NameResponse) XXX_Size() int
func (*NameResponse) XXX_Unmarshal ¶
func (m *NameResponse) XXX_Unmarshal(b []byte) error
type Payload ¶
type Payload struct { Encrypted bool `protobuf:"varint,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` }
func (*Payload) Descriptor ¶
func (*Payload) GetContent ¶
func (*Payload) GetEncrypted ¶
func (*Payload) MarshalToSizedBuffer ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type PierInfo ¶ added in v1.2.0
type PierInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func (*PierInfo) Descriptor ¶ added in v1.2.0
func (*PierInfo) GetAddress ¶ added in v1.2.0
func (*PierInfo) GetTimeout ¶ added in v1.2.0
func (*PierInfo) MarshalToSizedBuffer ¶ added in v1.2.0
func (*PierInfo) ProtoMessage ¶ added in v1.2.0
func (*PierInfo) ProtoMessage()
func (*PierInfo) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *PierInfo) XXX_DiscardUnknown()
func (*PierInfo) XXX_Marshal ¶ added in v1.2.0
func (*PierInfo) XXX_Unmarshal ¶ added in v1.2.0
type Receipt ¶
type Receipt struct { Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` TxHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 133-byte string literal not displayed */ Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` Status Receipt_Status `protobuf:"varint,4,opt,name=status,proto3,enum=pb.Receipt_Status" json:"status,omitempty"` Events []*Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` EvmLogs []*EvmLog `protobuf:"bytes,7,rep,name=evm_logs,json=evmLogs,proto3" json:"evm_logs,omitempty"` Bloom *github_com_meshplus_bitxhub_kit_types.Bloom `protobuf:"bytes,8,opt,name=bloom,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Bloom" json:"bloom,omitempty"` ContractAddress *github_com_meshplus_bitxhub_kit_types.Address `` /* 163-byte string literal not displayed */ }
func (*Receipt) Descriptor ¶
func (*Receipt) GetEvmLogs ¶ added in v1.2.0
func (*Receipt) GetGasUsed ¶ added in v1.2.0
func (*Receipt) GetStatus ¶
func (m *Receipt) GetStatus() Receipt_Status
func (*Receipt) GetVersion ¶
func (*Receipt) MarshalToSizedBuffer ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type Receipt_Status ¶
type Receipt_Status int32
const ( Receipt_SUCCESS Receipt_Status = 0 Receipt_FAILED Receipt_Status = 1 )
func (Receipt_Status) EnumDescriptor ¶
func (Receipt_Status) EnumDescriptor() ([]byte, []int)
func (Receipt_Status) String ¶
func (x Receipt_Status) String() string
type Receipts ¶
type Receipts struct {
Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"`
}
func (*Receipts) Descriptor ¶
func (*Receipts) GetReceipts ¶
func (*Receipts) MarshalToSizedBuffer ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶
func (*Receipts) XXX_Unmarshal ¶
type Request ¶
type Request struct {
Type Request_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Request_Type" json:"type,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) GetType ¶
func (m *Request) GetType() Request_Type
func (*Request) MarshalToSizedBuffer ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Request_Type ¶
type Request_Type int32
const ( Request_CHAIN_STATUS Request_Type = 0 Request_NETWORK Request_Type = 1 Request_VALIDATORS Request_Type = 2 )
func (Request_Type) EnumDescriptor ¶
func (Request_Type) EnumDescriptor() ([]byte, []int)
func (Request_Type) String ¶
func (x Request_Type) String() string
type Response ¶
type Response struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) MarshalToSizedBuffer ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type SignResponse ¶
func (*SignResponse) Descriptor ¶
func (*SignResponse) Descriptor() ([]byte, []int)
func (*SignResponse) GetSign ¶
func (m *SignResponse) GetSign() map[string][]byte
func (*SignResponse) Marshal ¶
func (m *SignResponse) Marshal() (dAtA []byte, err error)
func (*SignResponse) MarshalToSizedBuffer ¶
func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) Reset ¶
func (m *SignResponse) Reset()
func (*SignResponse) Size ¶
func (m *SignResponse) Size() (n int)
func (*SignResponse) String ¶
func (m *SignResponse) String() string
func (*SignResponse) Unmarshal ¶
func (m *SignResponse) Unmarshal(dAtA []byte) error
func (*SignResponse) XXX_DiscardUnknown ¶
func (m *SignResponse) XXX_DiscardUnknown()
func (*SignResponse) XXX_Marshal ¶
func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignResponse) XXX_Merge ¶
func (m *SignResponse) XXX_Merge(src proto.Message)
func (*SignResponse) XXX_Size ¶
func (m *SignResponse) XXX_Size() int
func (*SignResponse) XXX_Unmarshal ¶
func (m *SignResponse) XXX_Unmarshal(b []byte) error
type StringUint64Map ¶ added in v1.2.0
type StringUint64Map struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Vals []uint64 `protobuf:"varint,2,rep,packed,name=vals,proto3" json:"vals,omitempty"` }
func (*StringUint64Map) Descriptor ¶ added in v1.2.0
func (*StringUint64Map) Descriptor() ([]byte, []int)
func (*StringUint64Map) GetKeys ¶ added in v1.2.0
func (m *StringUint64Map) GetKeys() []string
func (*StringUint64Map) GetVals ¶ added in v1.2.0
func (m *StringUint64Map) GetVals() []uint64
func (*StringUint64Map) Marshal ¶ added in v1.2.0
func (m *StringUint64Map) Marshal() (dAtA []byte, err error)
func (*StringUint64Map) MarshalTo ¶ added in v1.2.0
func (m *StringUint64Map) MarshalTo(dAtA []byte) (int, error)
func (*StringUint64Map) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *StringUint64Map) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringUint64Map) ProtoMessage ¶ added in v1.2.0
func (*StringUint64Map) ProtoMessage()
func (*StringUint64Map) Reset ¶ added in v1.2.0
func (m *StringUint64Map) Reset()
func (*StringUint64Map) Size ¶ added in v1.2.0
func (m *StringUint64Map) Size() (n int)
func (*StringUint64Map) String ¶ added in v1.2.0
func (m *StringUint64Map) String() string
func (*StringUint64Map) Unmarshal ¶ added in v1.2.0
func (m *StringUint64Map) Unmarshal(dAtA []byte) error
func (*StringUint64Map) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *StringUint64Map) XXX_DiscardUnknown()
func (*StringUint64Map) XXX_Marshal ¶ added in v1.2.0
func (m *StringUint64Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringUint64Map) XXX_Merge ¶ added in v1.2.0
func (m *StringUint64Map) XXX_Merge(src proto.Message)
func (*StringUint64Map) XXX_Size ¶ added in v1.2.0
func (m *StringUint64Map) XXX_Size() int
func (*StringUint64Map) XXX_Unmarshal ¶ added in v1.2.0
func (m *StringUint64Map) XXX_Unmarshal(b []byte) error
type StringUint64SliceMap ¶ added in v1.2.0
type StringUint64SliceMap struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Vals []*Uint64Slice `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"` }
func (*StringUint64SliceMap) Descriptor ¶ added in v1.2.0
func (*StringUint64SliceMap) Descriptor() ([]byte, []int)
func (*StringUint64SliceMap) GetKeys ¶ added in v1.2.0
func (m *StringUint64SliceMap) GetKeys() []string
func (*StringUint64SliceMap) GetVals ¶ added in v1.2.0
func (m *StringUint64SliceMap) GetVals() []*Uint64Slice
func (*StringUint64SliceMap) Marshal ¶ added in v1.2.0
func (m *StringUint64SliceMap) Marshal() (dAtA []byte, err error)
func (*StringUint64SliceMap) MarshalTo ¶ added in v1.2.0
func (m *StringUint64SliceMap) MarshalTo(dAtA []byte) (int, error)
func (*StringUint64SliceMap) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *StringUint64SliceMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringUint64SliceMap) ProtoMessage ¶ added in v1.2.0
func (*StringUint64SliceMap) ProtoMessage()
func (*StringUint64SliceMap) Reset ¶ added in v1.2.0
func (m *StringUint64SliceMap) Reset()
func (*StringUint64SliceMap) Size ¶ added in v1.2.0
func (m *StringUint64SliceMap) Size() (n int)
func (*StringUint64SliceMap) String ¶ added in v1.2.0
func (m *StringUint64SliceMap) String() string
func (*StringUint64SliceMap) Unmarshal ¶ added in v1.2.0
func (m *StringUint64SliceMap) Unmarshal(dAtA []byte) error
func (*StringUint64SliceMap) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *StringUint64SliceMap) XXX_DiscardUnknown()
func (*StringUint64SliceMap) XXX_Marshal ¶ added in v1.2.0
func (m *StringUint64SliceMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringUint64SliceMap) XXX_Merge ¶ added in v1.2.0
func (m *StringUint64SliceMap) XXX_Merge(src proto.Message)
func (*StringUint64SliceMap) XXX_Size ¶ added in v1.2.0
func (m *StringUint64SliceMap) XXX_Size() int
func (*StringUint64SliceMap) XXX_Unmarshal ¶ added in v1.2.0
func (m *StringUint64SliceMap) XXX_Unmarshal(b []byte) error
type SubmitIBTPResponse ¶
type SubmitIBTPResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Result *IBTP `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` }
func (*SubmitIBTPResponse) Descriptor ¶
func (*SubmitIBTPResponse) Descriptor() ([]byte, []int)
func (*SubmitIBTPResponse) GetMessage ¶
func (m *SubmitIBTPResponse) GetMessage() string
func (*SubmitIBTPResponse) GetResult ¶
func (m *SubmitIBTPResponse) GetResult() *IBTP
func (*SubmitIBTPResponse) GetStatus ¶
func (m *SubmitIBTPResponse) GetStatus() bool
func (*SubmitIBTPResponse) Marshal ¶
func (m *SubmitIBTPResponse) Marshal() (dAtA []byte, err error)
func (*SubmitIBTPResponse) MarshalTo ¶
func (m *SubmitIBTPResponse) MarshalTo(dAtA []byte) (int, error)
func (*SubmitIBTPResponse) MarshalToSizedBuffer ¶
func (m *SubmitIBTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubmitIBTPResponse) ProtoMessage ¶
func (*SubmitIBTPResponse) ProtoMessage()
func (*SubmitIBTPResponse) Reset ¶
func (m *SubmitIBTPResponse) Reset()
func (*SubmitIBTPResponse) Size ¶
func (m *SubmitIBTPResponse) Size() (n int)
func (*SubmitIBTPResponse) String ¶
func (m *SubmitIBTPResponse) String() string
func (*SubmitIBTPResponse) Unmarshal ¶
func (m *SubmitIBTPResponse) Unmarshal(dAtA []byte) error
func (*SubmitIBTPResponse) XXX_DiscardUnknown ¶
func (m *SubmitIBTPResponse) XXX_DiscardUnknown()
func (*SubmitIBTPResponse) XXX_Marshal ¶
func (m *SubmitIBTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitIBTPResponse) XXX_Merge ¶
func (m *SubmitIBTPResponse) XXX_Merge(src proto.Message)
func (*SubmitIBTPResponse) XXX_Size ¶
func (m *SubmitIBTPResponse) XXX_Size() int
func (*SubmitIBTPResponse) XXX_Unmarshal ¶
func (m *SubmitIBTPResponse) XXX_Unmarshal(b []byte) error
type SubscriptionRequest ¶
type SubscriptionRequest struct { Type SubscriptionRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.SubscriptionRequest_Type" json:"type,omitempty"` Extra []byte `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"` }
func (*SubscriptionRequest) Descriptor ¶
func (*SubscriptionRequest) Descriptor() ([]byte, []int)
func (*SubscriptionRequest) GetExtra ¶
func (m *SubscriptionRequest) GetExtra() []byte
func (*SubscriptionRequest) GetType ¶
func (m *SubscriptionRequest) GetType() SubscriptionRequest_Type
func (*SubscriptionRequest) Marshal ¶
func (m *SubscriptionRequest) Marshal() (dAtA []byte, err error)
func (*SubscriptionRequest) MarshalTo ¶
func (m *SubscriptionRequest) MarshalTo(dAtA []byte) (int, error)
func (*SubscriptionRequest) MarshalToSizedBuffer ¶
func (m *SubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubscriptionRequest) ProtoMessage ¶
func (*SubscriptionRequest) ProtoMessage()
func (*SubscriptionRequest) Reset ¶
func (m *SubscriptionRequest) Reset()
func (*SubscriptionRequest) Size ¶
func (m *SubscriptionRequest) Size() (n int)
func (*SubscriptionRequest) String ¶
func (m *SubscriptionRequest) String() string
func (*SubscriptionRequest) Unmarshal ¶
func (m *SubscriptionRequest) Unmarshal(dAtA []byte) error
func (*SubscriptionRequest) XXX_DiscardUnknown ¶
func (m *SubscriptionRequest) XXX_DiscardUnknown()
func (*SubscriptionRequest) XXX_Marshal ¶
func (m *SubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscriptionRequest) XXX_Merge ¶
func (m *SubscriptionRequest) XXX_Merge(src proto.Message)
func (*SubscriptionRequest) XXX_Size ¶
func (m *SubscriptionRequest) XXX_Size() int
func (*SubscriptionRequest) XXX_Unmarshal ¶
func (m *SubscriptionRequest) XXX_Unmarshal(b []byte) error
type SubscriptionRequest_Type ¶
type SubscriptionRequest_Type int32
const ( SubscriptionRequest_BLOCK SubscriptionRequest_Type = 0 SubscriptionRequest_EVENT SubscriptionRequest_Type = 1 SubscriptionRequest_INTERCHAIN_TX SubscriptionRequest_Type = 2 SubscriptionRequest_BLOCK_HEADER SubscriptionRequest_Type = 3 SubscriptionRequest_INTERCHAIN_TX_WRAPPER SubscriptionRequest_Type = 4 SubscriptionRequest_UNION_INTERCHAIN_TX_WRAPPER SubscriptionRequest_Type = 5 )
func (SubscriptionRequest_Type) EnumDescriptor ¶
func (SubscriptionRequest_Type) EnumDescriptor() ([]byte, []int)
func (SubscriptionRequest_Type) String ¶
func (x SubscriptionRequest_Type) String() string
type Transaction ¶
type Transaction interface { GetVersion() []byte GetFrom() *types.Address GetTo() *types.Address GetPayload() []byte GetNonce() uint64 GetAmount() uint64 GetTimeStamp() int64 GetHash() *types.Hash GetIBTP() *IBTP GetExtra() []byte GetGas() uint64 GetGasPrice() *big.Int GetChainID() *big.Int GetSignature() []byte GetRawSignature() (*big.Int, *big.Int, *big.Int) GetSignHash() *types.Hash GetType() byte IsIBTP() bool MarshalWithFlag() ([]byte, error) Size() int SizeWithFlag() int MarshalTo([]byte) (int, error) Unmarshal([]byte) error VerifySignature() error }
func UnmarshalTx ¶ added in v1.2.0
func UnmarshalTx(data []byte) (Transaction, error)
type TransactionData ¶
type TransactionData struct { Type TransactionData_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionData_Type" json:"type,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` VmType TransactionData_VMType `protobuf:"varint,3,opt,name=vm_type,json=vmType,proto3,enum=pb.TransactionData_VMType" json:"vm_type,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` Extra []byte `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` }
func (*TransactionData) Descriptor ¶
func (*TransactionData) Descriptor() ([]byte, []int)
func (*TransactionData) GetAmount ¶
func (m *TransactionData) GetAmount() uint64
func (*TransactionData) GetExtra ¶
func (m *TransactionData) GetExtra() []byte
func (*TransactionData) GetPayload ¶
func (m *TransactionData) GetPayload() []byte
func (*TransactionData) GetType ¶
func (m *TransactionData) GetType() TransactionData_Type
func (*TransactionData) GetVmType ¶
func (m *TransactionData) GetVmType() TransactionData_VMType
func (*TransactionData) Marshal ¶
func (m *TransactionData) Marshal() (dAtA []byte, err error)
func (*TransactionData) MarshalToSizedBuffer ¶
func (m *TransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionData) ProtoMessage ¶
func (*TransactionData) ProtoMessage()
func (*TransactionData) Reset ¶
func (m *TransactionData) Reset()
func (*TransactionData) Size ¶
func (m *TransactionData) Size() (n int)
func (*TransactionData) String ¶
func (m *TransactionData) String() string
func (*TransactionData) Unmarshal ¶
func (m *TransactionData) Unmarshal(dAtA []byte) error
func (*TransactionData) XXX_DiscardUnknown ¶
func (m *TransactionData) XXX_DiscardUnknown()
func (*TransactionData) XXX_Marshal ¶
func (m *TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionData) XXX_Merge ¶
func (m *TransactionData) XXX_Merge(src proto.Message)
func (*TransactionData) XXX_Size ¶
func (m *TransactionData) XXX_Size() int
func (*TransactionData) XXX_Unmarshal ¶
func (m *TransactionData) XXX_Unmarshal(b []byte) error
type TransactionData_Type ¶
type TransactionData_Type int32
const ( TransactionData_NORMAL TransactionData_Type = 0 TransactionData_INVOKE TransactionData_Type = 1 TransactionData_UPDATE TransactionData_Type = 2 TransactionData_FREEZE TransactionData_Type = 3 TransactionData_UNFREEZE TransactionData_Type = 4 )
func (TransactionData_Type) EnumDescriptor ¶
func (TransactionData_Type) EnumDescriptor() ([]byte, []int)
func (TransactionData_Type) String ¶
func (x TransactionData_Type) String() string
type TransactionData_VMType ¶
type TransactionData_VMType int32
const ( TransactionData_BVM TransactionData_VMType = 0 TransactionData_XVM TransactionData_VMType = 1 )
func (TransactionData_VMType) EnumDescriptor ¶
func (TransactionData_VMType) EnumDescriptor() ([]byte, []int)
func (TransactionData_VMType) String ¶
func (x TransactionData_VMType) String() string
type TransactionHashMsg ¶
type TransactionHashMsg struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}
func (*TransactionHashMsg) Descriptor ¶
func (*TransactionHashMsg) Descriptor() ([]byte, []int)
func (*TransactionHashMsg) GetTxHash ¶
func (m *TransactionHashMsg) GetTxHash() string
func (*TransactionHashMsg) Marshal ¶
func (m *TransactionHashMsg) Marshal() (dAtA []byte, err error)
func (*TransactionHashMsg) MarshalTo ¶
func (m *TransactionHashMsg) MarshalTo(dAtA []byte) (int, error)
func (*TransactionHashMsg) MarshalToSizedBuffer ¶
func (m *TransactionHashMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionHashMsg) ProtoMessage ¶
func (*TransactionHashMsg) ProtoMessage()
func (*TransactionHashMsg) Reset ¶
func (m *TransactionHashMsg) Reset()
func (*TransactionHashMsg) Size ¶
func (m *TransactionHashMsg) Size() (n int)
func (*TransactionHashMsg) String ¶
func (m *TransactionHashMsg) String() string
func (*TransactionHashMsg) Unmarshal ¶
func (m *TransactionHashMsg) Unmarshal(dAtA []byte) error
func (*TransactionHashMsg) XXX_DiscardUnknown ¶
func (m *TransactionHashMsg) XXX_DiscardUnknown()
func (*TransactionHashMsg) XXX_Marshal ¶
func (m *TransactionHashMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionHashMsg) XXX_Merge ¶
func (m *TransactionHashMsg) XXX_Merge(src proto.Message)
func (*TransactionHashMsg) XXX_Size ¶
func (m *TransactionHashMsg) XXX_Size() int
func (*TransactionHashMsg) XXX_Unmarshal ¶
func (m *TransactionHashMsg) XXX_Unmarshal(b []byte) error
type TransactionMeta ¶
type TransactionMeta struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` }
func (*TransactionMeta) Descriptor ¶
func (*TransactionMeta) Descriptor() ([]byte, []int)
func (*TransactionMeta) GetBlockHash ¶
func (m *TransactionMeta) GetBlockHash() []byte
func (*TransactionMeta) GetBlockHeight ¶
func (m *TransactionMeta) GetBlockHeight() uint64
func (*TransactionMeta) GetIndex ¶
func (m *TransactionMeta) GetIndex() uint64
func (*TransactionMeta) Marshal ¶
func (m *TransactionMeta) Marshal() (dAtA []byte, err error)
func (*TransactionMeta) MarshalToSizedBuffer ¶
func (m *TransactionMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionMeta) ProtoMessage ¶
func (*TransactionMeta) ProtoMessage()
func (*TransactionMeta) Reset ¶
func (m *TransactionMeta) Reset()
func (*TransactionMeta) Size ¶
func (m *TransactionMeta) Size() (n int)
func (*TransactionMeta) String ¶
func (m *TransactionMeta) String() string
func (*TransactionMeta) Unmarshal ¶
func (m *TransactionMeta) Unmarshal(dAtA []byte) error
func (*TransactionMeta) XXX_DiscardUnknown ¶
func (m *TransactionMeta) XXX_DiscardUnknown()
func (*TransactionMeta) XXX_Marshal ¶
func (m *TransactionMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionMeta) XXX_Merge ¶
func (m *TransactionMeta) XXX_Merge(src proto.Message)
func (*TransactionMeta) XXX_Size ¶
func (m *TransactionMeta) XXX_Size() int
func (*TransactionMeta) XXX_Unmarshal ¶
func (m *TransactionMeta) XXX_Unmarshal(b []byte) error
type TransactionSlice ¶
type TransactionSlice struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Txs []*BxhTransaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` }
func (*TransactionSlice) Descriptor ¶
func (*TransactionSlice) Descriptor() ([]byte, []int)
func (*TransactionSlice) GetHeight ¶
func (m *TransactionSlice) GetHeight() uint64
func (*TransactionSlice) GetTxs ¶
func (m *TransactionSlice) GetTxs() []*BxhTransaction
func (*TransactionSlice) Marshal ¶
func (m *TransactionSlice) Marshal() (dAtA []byte, err error)
func (*TransactionSlice) MarshalToSizedBuffer ¶
func (m *TransactionSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionSlice) ProtoMessage ¶
func (*TransactionSlice) ProtoMessage()
func (*TransactionSlice) Reset ¶
func (m *TransactionSlice) Reset()
func (*TransactionSlice) Size ¶
func (m *TransactionSlice) Size() (n int)
func (*TransactionSlice) String ¶
func (m *TransactionSlice) String() string
func (*TransactionSlice) Unmarshal ¶
func (m *TransactionSlice) Unmarshal(dAtA []byte) error
func (*TransactionSlice) XXX_DiscardUnknown ¶
func (m *TransactionSlice) XXX_DiscardUnknown()
func (*TransactionSlice) XXX_Marshal ¶
func (m *TransactionSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionSlice) XXX_Merge ¶
func (m *TransactionSlice) XXX_Merge(src proto.Message)
func (*TransactionSlice) XXX_Size ¶
func (m *TransactionSlice) XXX_Size() int
func (*TransactionSlice) XXX_Unmarshal ¶
func (m *TransactionSlice) XXX_Unmarshal(b []byte) error
type TransactionStatus ¶
type TransactionStatus int32
const ( TransactionStatus_BEGIN TransactionStatus = 0 TransactionStatus_SUCCESS TransactionStatus = 1 TransactionStatus_FAILURE TransactionStatus = 2 )
func (TransactionStatus) EnumDescriptor ¶
func (TransactionStatus) EnumDescriptor() ([]byte, []int)
func (TransactionStatus) String ¶
func (x TransactionStatus) String() string
type TransactionTracingMeta ¶
type TransactionTracingMeta struct { ReceiptHash []byte `protobuf:"bytes,1,opt,name=receipt_hash,json=receiptHash,proto3" json:"receipt_hash,omitempty"` ConfirmHash []byte `protobuf:"bytes,2,opt,name=confirm_hash,json=confirmHash,proto3" json:"confirm_hash,omitempty"` }
func (*TransactionTracingMeta) Descriptor ¶
func (*TransactionTracingMeta) Descriptor() ([]byte, []int)
func (*TransactionTracingMeta) GetConfirmHash ¶
func (m *TransactionTracingMeta) GetConfirmHash() []byte
func (*TransactionTracingMeta) GetReceiptHash ¶
func (m *TransactionTracingMeta) GetReceiptHash() []byte
func (*TransactionTracingMeta) Marshal ¶
func (m *TransactionTracingMeta) Marshal() (dAtA []byte, err error)
func (*TransactionTracingMeta) MarshalTo ¶
func (m *TransactionTracingMeta) MarshalTo(dAtA []byte) (int, error)
func (*TransactionTracingMeta) MarshalToSizedBuffer ¶
func (m *TransactionTracingMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionTracingMeta) ProtoMessage ¶
func (*TransactionTracingMeta) ProtoMessage()
func (*TransactionTracingMeta) Reset ¶
func (m *TransactionTracingMeta) Reset()
func (*TransactionTracingMeta) Size ¶
func (m *TransactionTracingMeta) Size() (n int)
func (*TransactionTracingMeta) String ¶
func (m *TransactionTracingMeta) String() string
func (*TransactionTracingMeta) Unmarshal ¶
func (m *TransactionTracingMeta) Unmarshal(dAtA []byte) error
func (*TransactionTracingMeta) XXX_DiscardUnknown ¶
func (m *TransactionTracingMeta) XXX_DiscardUnknown()
func (*TransactionTracingMeta) XXX_Marshal ¶
func (m *TransactionTracingMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionTracingMeta) XXX_Merge ¶
func (m *TransactionTracingMeta) XXX_Merge(src proto.Message)
func (*TransactionTracingMeta) XXX_Size ¶
func (m *TransactionTracingMeta) XXX_Size() int
func (*TransactionTracingMeta) XXX_Unmarshal ¶
func (m *TransactionTracingMeta) XXX_Unmarshal(b []byte) error
type Transactions ¶
type Transactions struct {
Transactions []Transaction
}
func (*Transactions) Marshal ¶
func (txs *Transactions) Marshal() ([]byte, error)
func (*Transactions) Size ¶
func (txs *Transactions) Size() int
func (*Transactions) Unmarshal ¶
func (txs *Transactions) Unmarshal(data []byte) error
type TxData ¶ added in v1.2.0
type TxData interface {
// contains filtered or unexported methods
}
TxData is the underlying data of a transaction.
This is implemented by LegacyTx and AccessListTx.
type TypeResponse ¶
type TypeResponse struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
}
func (*TypeResponse) Descriptor ¶
func (*TypeResponse) Descriptor() ([]byte, []int)
func (*TypeResponse) GetType ¶
func (m *TypeResponse) GetType() string
func (*TypeResponse) Marshal ¶
func (m *TypeResponse) Marshal() (dAtA []byte, err error)
func (*TypeResponse) MarshalToSizedBuffer ¶
func (m *TypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TypeResponse) ProtoMessage ¶
func (*TypeResponse) ProtoMessage()
func (*TypeResponse) Reset ¶
func (m *TypeResponse) Reset()
func (*TypeResponse) Size ¶
func (m *TypeResponse) Size() (n int)
func (*TypeResponse) String ¶
func (m *TypeResponse) String() string
func (*TypeResponse) Unmarshal ¶
func (m *TypeResponse) Unmarshal(dAtA []byte) error
func (*TypeResponse) XXX_DiscardUnknown ¶
func (m *TypeResponse) XXX_DiscardUnknown()
func (*TypeResponse) XXX_Marshal ¶
func (m *TypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TypeResponse) XXX_Merge ¶
func (m *TypeResponse) XXX_Merge(src proto.Message)
func (*TypeResponse) XXX_Size ¶
func (m *TypeResponse) XXX_Size() int
func (*TypeResponse) XXX_Unmarshal ¶
func (m *TypeResponse) XXX_Unmarshal(b []byte) error
type Uint64Slice ¶
type Uint64Slice struct {
Slice []uint64 `protobuf:"varint,1,rep,packed,name=slice,proto3" json:"slice,omitempty"`
}
func (*Uint64Slice) Descriptor ¶
func (*Uint64Slice) Descriptor() ([]byte, []int)
func (*Uint64Slice) GetSlice ¶
func (m *Uint64Slice) GetSlice() []uint64
func (*Uint64Slice) Marshal ¶
func (m *Uint64Slice) Marshal() (dAtA []byte, err error)
func (*Uint64Slice) MarshalToSizedBuffer ¶
func (m *Uint64Slice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Uint64Slice) ProtoMessage ¶
func (*Uint64Slice) ProtoMessage()
func (*Uint64Slice) Reset ¶
func (m *Uint64Slice) Reset()
func (*Uint64Slice) Size ¶
func (m *Uint64Slice) Size() (n int)
func (*Uint64Slice) String ¶
func (m *Uint64Slice) String() string
func (*Uint64Slice) Unmarshal ¶
func (m *Uint64Slice) Unmarshal(dAtA []byte) error
func (*Uint64Slice) XXX_DiscardUnknown ¶
func (m *Uint64Slice) XXX_DiscardUnknown()
func (*Uint64Slice) XXX_Marshal ¶
func (m *Uint64Slice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Uint64Slice) XXX_Merge ¶
func (m *Uint64Slice) XXX_Merge(src proto.Message)
func (*Uint64Slice) XXX_Size ¶
func (m *Uint64Slice) XXX_Size() int
func (*Uint64Slice) XXX_Unmarshal ¶
func (m *Uint64Slice) XXX_Unmarshal(b []byte) error
type UnimplementedAppchainPluginServer ¶
type UnimplementedAppchainPluginServer struct { }
UnimplementedAppchainPluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedAppchainPluginServer) CommitCallback ¶
func (*UnimplementedAppchainPluginServer) GetCallbackMeta ¶
func (*UnimplementedAppchainPluginServer) GetCallbackMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
func (*UnimplementedAppchainPluginServer) GetIBTP ¶
func (*UnimplementedAppchainPluginServer) GetIBTP(req *Empty, srv AppchainPlugin_GetIBTPServer) error
func (*UnimplementedAppchainPluginServer) GetInMessage ¶
func (*UnimplementedAppchainPluginServer) GetInMessage(ctx context.Context, req *GetInMessageRequest) (*GetInMessageResponse, error)
func (*UnimplementedAppchainPluginServer) GetInMeta ¶
func (*UnimplementedAppchainPluginServer) GetInMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
func (*UnimplementedAppchainPluginServer) GetOutMessage ¶
func (*UnimplementedAppchainPluginServer) GetOutMessage(ctx context.Context, req *GetOutMessageRequest) (*IBTP, error)
func (*UnimplementedAppchainPluginServer) GetOutMeta ¶
func (*UnimplementedAppchainPluginServer) GetOutMeta(ctx context.Context, req *Empty) (*GetMetaResponse, error)
func (*UnimplementedAppchainPluginServer) GetReceipt ¶ added in v1.2.0
func (*UnimplementedAppchainPluginServer) Initialize ¶
func (*UnimplementedAppchainPluginServer) Initialize(ctx context.Context, req *InitializeRequest) (*Empty, error)
func (*UnimplementedAppchainPluginServer) Name ¶
func (*UnimplementedAppchainPluginServer) Name(ctx context.Context, req *Empty) (*NameResponse, error)
func (*UnimplementedAppchainPluginServer) SubmitIBTP ¶
func (*UnimplementedAppchainPluginServer) SubmitIBTP(ctx context.Context, req *IBTP) (*SubmitIBTPResponse, error)
func (*UnimplementedAppchainPluginServer) Type ¶
func (*UnimplementedAppchainPluginServer) Type(ctx context.Context, req *Empty) (*TypeResponse, error)
type UnimplementedChainBrokerServer ¶
type UnimplementedChainBrokerServer struct { }
UnimplementedChainBrokerServer can be embedded to have forward compatible implementations.
func (*UnimplementedChainBrokerServer) CheckMasterPier ¶ added in v1.2.0
func (*UnimplementedChainBrokerServer) DelVPNode ¶ added in v1.2.0
func (*UnimplementedChainBrokerServer) DelVPNode(ctx context.Context, req *DelVPNodeRequest) (*Response, error)
func (*UnimplementedChainBrokerServer) GetAccountBalance ¶
func (*UnimplementedChainBrokerServer) GetBlock ¶
func (*UnimplementedChainBrokerServer) GetBlock(ctx context.Context, req *GetBlockRequest) (*Block, error)
func (*UnimplementedChainBrokerServer) GetBlockHeader ¶
func (*UnimplementedChainBrokerServer) GetBlockHeader(req *GetBlockHeaderRequest, srv ChainBroker_GetBlockHeaderServer) error
func (*UnimplementedChainBrokerServer) GetBlockHeaders ¶ added in v1.2.0
func (*UnimplementedChainBrokerServer) GetBlockHeaders(ctx context.Context, req *GetBlockHeadersRequest) (*GetBlockHeadersResponse, error)
func (*UnimplementedChainBrokerServer) GetBlocks ¶
func (*UnimplementedChainBrokerServer) GetBlocks(ctx context.Context, req *GetBlocksRequest) (*GetBlocksResponse, error)
func (*UnimplementedChainBrokerServer) GetChainMeta ¶
func (*UnimplementedChainBrokerServer) GetInterchainTxWrappers ¶
func (*UnimplementedChainBrokerServer) GetInterchainTxWrappers(req *GetInterchainTxWrappersRequest, srv ChainBroker_GetInterchainTxWrappersServer) error
func (*UnimplementedChainBrokerServer) GetMultiSigns ¶
func (*UnimplementedChainBrokerServer) GetMultiSigns(ctx context.Context, req *GetMultiSignsRequest) (*SignResponse, error)
func (*UnimplementedChainBrokerServer) GetPendingNonceByAccount ¶
func (*UnimplementedChainBrokerServer) GetReceipt ¶
func (*UnimplementedChainBrokerServer) GetReceipt(ctx context.Context, req *TransactionHashMsg) (*Receipt, error)
func (*UnimplementedChainBrokerServer) GetTPS ¶
func (*UnimplementedChainBrokerServer) GetTPS(ctx context.Context, req *GetTPSRequest) (*Response, error)
func (*UnimplementedChainBrokerServer) GetTransaction ¶
func (*UnimplementedChainBrokerServer) GetTransaction(ctx context.Context, req *TransactionHashMsg) (*GetTransactionResponse, error)
func (*UnimplementedChainBrokerServer) SendTransaction ¶
func (*UnimplementedChainBrokerServer) SendTransaction(ctx context.Context, req *BxhTransaction) (*TransactionHashMsg, error)
func (*UnimplementedChainBrokerServer) SendView ¶
func (*UnimplementedChainBrokerServer) SendView(ctx context.Context, req *BxhTransaction) (*Receipt, error)
func (*UnimplementedChainBrokerServer) SetMasterPier ¶ added in v1.2.0
func (*UnimplementedChainBrokerServer) Subscribe ¶
func (*UnimplementedChainBrokerServer) Subscribe(req *SubscriptionRequest, srv ChainBroker_SubscribeServer) error
type VpInfo ¶ added in v1.2.0
type VpInfo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Pid string `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"` }
func (*VpInfo) Descriptor ¶ added in v1.2.0
func (*VpInfo) GetAccount ¶ added in v1.2.0
func (*VpInfo) MarshalToSizedBuffer ¶ added in v1.2.0
func (*VpInfo) ProtoMessage ¶ added in v1.2.0
func (*VpInfo) ProtoMessage()
func (*VpInfo) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *VpInfo) XXX_DiscardUnknown()
func (*VpInfo) XXX_Marshal ¶ added in v1.2.0
func (*VpInfo) XXX_Unmarshal ¶ added in v1.2.0
Source Files ¶
- arg.go
- arg.pb.go
- basic.pb.go
- block.go
- block.pb.go
- broker.pb.go
- broker.pb.gw.go
- bxh_transaction.go
- bxh_transaction.pb.go
- chain.pb.go
- commit.pb.go
- eth_transaction.go
- evm_log.go
- ibtp.go
- ibtp.pb.go
- interchain_meta.pb.go
- network.pb.go
- plugin.pb.go
- receipt.go
- receipt.pb.go
- transaction.go
- vp_info.pb.go
- wrapper.go