Documentation
¶
Overview ¶
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterContorlCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterContorlCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContorlCommandClient) error
- func RegisterContorlCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterContorlCommandServer(s *grpc.Server, srv ContorlCommandServer)
- func RegisterDatabaseCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDatabaseCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DatabaseCommandClient) error
- func RegisterDatabaseCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDatabaseCommandServer(s *grpc.Server, srv DatabaseCommandServer)
- func RegisterFaucetHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFaucetHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FaucetClient) error
- func RegisterFaucetHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFaucetServer(s *grpc.Server, srv FaucetServer)
- func RegisterTransactionCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTransactionCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionCommandClient) error
- func RegisterTransactionCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTransactionCommandServer(s *grpc.Server, srv TransactionCommandServer)
- func RegisterWebApiHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWebApiHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebApiClient) error
- func RegisterWebApiHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWebApiServer(s *grpc.Server, srv WebApiServer)
- type AddNodeRequest
- func (*AddNodeRequest) Descriptor() ([]byte, []int)
- func (m *AddNodeRequest) GetNode() string
- func (m *AddNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *AddNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AddNodeRequest) ProtoMessage()
- func (m *AddNodeRequest) Reset()
- func (m *AddNodeRequest) Size() (n int)
- func (m *AddNodeRequest) String() string
- func (m *AddNodeRequest) Unmarshal(dAtA []byte) error
- func (m *AddNodeRequest) XXX_DiscardUnknown()
- func (m *AddNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddNodeRequest) XXX_Merge(src proto.Message)
- func (m *AddNodeRequest) XXX_Size() int
- func (m *AddNodeRequest) XXX_Unmarshal(b []byte) error
- type BaseResponse
- func (*BaseResponse) Descriptor() ([]byte, []int)
- func (m *BaseResponse) GetCode() int32
- func (m *BaseResponse) GetMessage() string
- func (m *BaseResponse) Marshal() (dAtA []byte, err error)
- func (m *BaseResponse) MarshalTo(dAtA []byte) (int, error)
- func (*BaseResponse) ProtoMessage()
- func (m *BaseResponse) Reset()
- func (m *BaseResponse) Size() (n int)
- func (m *BaseResponse) String() string
- func (m *BaseResponse) Unmarshal(dAtA []byte) error
- func (m *BaseResponse) XXX_DiscardUnknown()
- func (m *BaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseResponse) XXX_Merge(src proto.Message)
- func (m *BaseResponse) XXX_Size() int
- func (m *BaseResponse) XXX_Unmarshal(b []byte) error
- type BlockDetail
- func (*BlockDetail) Descriptor() ([]byte, []int)
- func (m *BlockDetail) GetCoinBase() string
- func (m *BlockDetail) GetConfirmed() bool
- func (m *BlockDetail) GetHash() string
- func (m *BlockDetail) GetHeight() uint32
- func (m *BlockDetail) GetPrevBlockHash() string
- func (m *BlockDetail) GetSignature() string
- func (m *BlockDetail) GetSize_() uint32
- func (m *BlockDetail) GetTimeStamp() int64
- func (m *BlockDetail) GetTxs() []*TxDetail
- func (m *BlockDetail) GetVersion() int32
- func (m *BlockDetail) Marshal() (dAtA []byte, err error)
- func (m *BlockDetail) MarshalTo(dAtA []byte) (int, error)
- func (*BlockDetail) ProtoMessage()
- func (m *BlockDetail) Reset()
- func (m *BlockDetail) Size() (n int)
- func (m *BlockDetail) String() string
- func (m *BlockDetail) Unmarshal(dAtA []byte) error
- func (m *BlockDetail) XXX_DiscardUnknown()
- func (m *BlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockDetail) XXX_Merge(src proto.Message)
- func (m *BlockDetail) XXX_Size() int
- func (m *BlockDetail) XXX_Unmarshal(b []byte) error
- type CallReq
- func (*CallReq) Descriptor() ([]byte, []int)
- func (m *CallReq) GetData() string
- func (m *CallReq) GetFrom() string
- func (m *CallReq) GetHeight() uint32
- func (m *CallReq) GetTimeout() uint32
- func (m *CallReq) GetTo() string
- func (m *CallReq) Marshal() (dAtA []byte, err error)
- func (m *CallReq) MarshalTo(dAtA []byte) (int, error)
- func (*CallReq) ProtoMessage()
- func (m *CallReq) Reset()
- func (m *CallReq) Size() (n int)
- func (m *CallReq) String() string
- func (m *CallReq) Unmarshal(dAtA []byte) error
- func (m *CallReq) XXX_DiscardUnknown()
- func (m *CallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallReq) XXX_Merge(src proto.Message)
- func (m *CallReq) XXX_Size() int
- func (m *CallReq) XXX_Unmarshal(b []byte) error
- type CallResp
- func (*CallResp) Descriptor() ([]byte, []int)
- func (m *CallResp) GetCode() int32
- func (m *CallResp) GetMessage() string
- func (m *CallResp) GetOutput() string
- func (m *CallResp) Marshal() (dAtA []byte, err error)
- func (m *CallResp) MarshalTo(dAtA []byte) (int, error)
- func (*CallResp) ProtoMessage()
- func (m *CallResp) Reset()
- func (m *CallResp) Size() (n int)
- func (m *CallResp) String() string
- func (m *CallResp) Unmarshal(dAtA []byte) error
- func (m *CallResp) XXX_DiscardUnknown()
- func (m *CallResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CallResp) XXX_Merge(src proto.Message)
- func (m *CallResp) XXX_Size() int
- func (m *CallResp) XXX_Unmarshal(b []byte) error
- type ClaimReq
- func (*ClaimReq) Descriptor() ([]byte, []int)
- func (m *ClaimReq) GetAddr() string
- func (m *ClaimReq) GetAmount() uint64
- func (m *ClaimReq) Marshal() (dAtA []byte, err error)
- func (m *ClaimReq) MarshalTo(dAtA []byte) (int, error)
- func (*ClaimReq) ProtoMessage()
- func (m *ClaimReq) Reset()
- func (m *ClaimReq) Size() (n int)
- func (m *ClaimReq) String() string
- func (m *ClaimReq) Unmarshal(dAtA []byte) error
- func (m *ClaimReq) XXX_DiscardUnknown()
- func (m *ClaimReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimReq) XXX_Merge(src proto.Message)
- func (m *ClaimReq) XXX_Size() int
- func (m *ClaimReq) XXX_Unmarshal(b []byte) error
- type ClaimResp
- func (*ClaimResp) Descriptor() ([]byte, []int)
- func (m *ClaimResp) GetCode() int32
- func (m *ClaimResp) GetHash() string
- func (m *ClaimResp) GetMessage() string
- func (m *ClaimResp) Marshal() (dAtA []byte, err error)
- func (m *ClaimResp) MarshalTo(dAtA []byte) (int, error)
- func (*ClaimResp) ProtoMessage()
- func (m *ClaimResp) Reset()
- func (m *ClaimResp) Size() (n int)
- func (m *ClaimResp) String() string
- func (m *ClaimResp) Unmarshal(dAtA []byte) error
- func (m *ClaimResp) XXX_DiscardUnknown()
- func (m *ClaimResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimResp) XXX_Merge(src proto.Message)
- func (m *ClaimResp) XXX_Size() int
- func (m *ClaimResp) XXX_Unmarshal(b []byte) error
- type ContorlCommandClient
- type ContorlCommandServer
- type ContractInfo
- func (*ContractInfo) Descriptor() ([]byte, []int)
- func (m *ContractInfo) GetData() string
- func (m *ContractInfo) GetFailed() bool
- func (m *ContractInfo) GetFee() uint32
- func (m *ContractInfo) GetGasLimit() uint64
- func (m *ContractInfo) GetGasPrice() uint64
- func (m *ContractInfo) GetGasUsed() uint64
- func (m *ContractInfo) GetNonce() uint64
- func (m *ContractInfo) Marshal() (dAtA []byte, err error)
- func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ContractInfo) ProtoMessage()
- func (m *ContractInfo) Reset()
- func (m *ContractInfo) Size() (n int)
- func (m *ContractInfo) String() string
- func (m *ContractInfo) Unmarshal(dAtA []byte) error
- func (m *ContractInfo) XXX_DiscardUnknown()
- func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfo) XXX_Merge(src proto.Message)
- func (m *ContractInfo) XXX_Size() int
- func (m *ContractInfo) XXX_Unmarshal(b []byte) error
- type DatabaseCommandClient
- type DatabaseCommandServer
- type DebugLevelRequest
- func (*DebugLevelRequest) Descriptor() ([]byte, []int)
- func (m *DebugLevelRequest) GetLevel() string
- func (m *DebugLevelRequest) Marshal() (dAtA []byte, err error)
- func (m *DebugLevelRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DebugLevelRequest) ProtoMessage()
- func (m *DebugLevelRequest) Reset()
- func (m *DebugLevelRequest) Size() (n int)
- func (m *DebugLevelRequest) String() string
- func (m *DebugLevelRequest) Unmarshal(dAtA []byte) error
- func (m *DebugLevelRequest) XXX_DiscardUnknown()
- func (m *DebugLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DebugLevelRequest) XXX_Merge(src proto.Message)
- func (m *DebugLevelRequest) XXX_Size() int
- func (m *DebugLevelRequest) XXX_Unmarshal(b []byte) error
- type FaucetClient
- type FaucetServer
- type FetchUtxosReq
- func (*FetchUtxosReq) Descriptor() ([]byte, []int)
- func (m *FetchUtxosReq) GetAddr() string
- func (m *FetchUtxosReq) GetAmount() uint64
- func (m *FetchUtxosReq) GetTokenHash() string
- func (m *FetchUtxosReq) GetTokenIndex() uint32
- func (m *FetchUtxosReq) Marshal() (dAtA []byte, err error)
- func (m *FetchUtxosReq) MarshalTo(dAtA []byte) (int, error)
- func (*FetchUtxosReq) ProtoMessage()
- func (m *FetchUtxosReq) Reset()
- func (m *FetchUtxosReq) Size() (n int)
- func (m *FetchUtxosReq) String() string
- func (m *FetchUtxosReq) Unmarshal(dAtA []byte) error
- func (m *FetchUtxosReq) XXX_DiscardUnknown()
- func (m *FetchUtxosReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FetchUtxosReq) XXX_Merge(src proto.Message)
- func (m *FetchUtxosReq) XXX_Size() int
- func (m *FetchUtxosReq) XXX_Unmarshal(b []byte) error
- type FetchUtxosResp
- func (*FetchUtxosResp) Descriptor() ([]byte, []int)
- func (m *FetchUtxosResp) GetCode() int32
- func (m *FetchUtxosResp) GetMessage() string
- func (m *FetchUtxosResp) GetUtxos() []*Utxo
- func (m *FetchUtxosResp) Marshal() (dAtA []byte, err error)
- func (m *FetchUtxosResp) MarshalTo(dAtA []byte) (int, error)
- func (*FetchUtxosResp) ProtoMessage()
- func (m *FetchUtxosResp) Reset()
- func (m *FetchUtxosResp) Size() (n int)
- func (m *FetchUtxosResp) String() string
- func (m *FetchUtxosResp) Unmarshal(dAtA []byte) error
- func (m *FetchUtxosResp) XXX_DiscardUnknown()
- func (m *FetchUtxosResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FetchUtxosResp) XXX_Merge(src proto.Message)
- func (m *FetchUtxosResp) XXX_Size() int
- func (m *FetchUtxosResp) XXX_Unmarshal(b []byte) error
- type GetBalanceReq
- func (*GetBalanceReq) Descriptor() ([]byte, []int)
- func (m *GetBalanceReq) GetAddrs() []string
- func (m *GetBalanceReq) Marshal() (dAtA []byte, err error)
- func (m *GetBalanceReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetBalanceReq) ProtoMessage()
- func (m *GetBalanceReq) Reset()
- func (m *GetBalanceReq) Size() (n int)
- func (m *GetBalanceReq) String() string
- func (m *GetBalanceReq) Unmarshal(dAtA []byte) error
- func (m *GetBalanceReq) XXX_DiscardUnknown()
- func (m *GetBalanceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceReq) XXX_Merge(src proto.Message)
- func (m *GetBalanceReq) XXX_Size() int
- func (m *GetBalanceReq) XXX_Unmarshal(b []byte) error
- type GetBalanceResp
- func (*GetBalanceResp) Descriptor() ([]byte, []int)
- func (m *GetBalanceResp) GetBalances() []uint64
- func (m *GetBalanceResp) GetCode() int32
- func (m *GetBalanceResp) GetMessage() string
- func (m *GetBalanceResp) Marshal() (dAtA []byte, err error)
- func (m *GetBalanceResp) MarshalTo(dAtA []byte) (int, error)
- func (*GetBalanceResp) ProtoMessage()
- func (m *GetBalanceResp) Reset()
- func (m *GetBalanceResp) Size() (n int)
- func (m *GetBalanceResp) String() string
- func (m *GetBalanceResp) Unmarshal(dAtA []byte) error
- func (m *GetBalanceResp) XXX_DiscardUnknown()
- func (m *GetBalanceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceResp) XXX_Merge(src proto.Message)
- func (m *GetBalanceResp) XXX_Size() int
- func (m *GetBalanceResp) XXX_Unmarshal(b []byte) error
- type GetBlockHashRequest
- func (*GetBlockHashRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHashRequest) GetHeight() uint32
- func (m *GetBlockHashRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHashRequest) ProtoMessage()
- func (m *GetBlockHashRequest) Reset()
- func (m *GetBlockHashRequest) Size() (n int)
- func (m *GetBlockHashRequest) String() string
- func (m *GetBlockHashRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockHashRequest) XXX_DiscardUnknown()
- func (m *GetBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHashRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHashRequest) XXX_Size() int
- func (m *GetBlockHashRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHashResponse
- func (*GetBlockHashResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHashResponse) GetCode() int32
- func (m *GetBlockHashResponse) GetHash() string
- func (m *GetBlockHashResponse) GetMessage() string
- func (m *GetBlockHashResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHashResponse) ProtoMessage()
- func (m *GetBlockHashResponse) Reset()
- func (m *GetBlockHashResponse) Size() (n int)
- func (m *GetBlockHashResponse) String() string
- func (m *GetBlockHashResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockHashResponse) XXX_DiscardUnknown()
- func (m *GetBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHashResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHashResponse) XXX_Size() int
- func (m *GetBlockHashResponse) XXX_Unmarshal(b []byte) error
- type GetBlockHeaderResponse
- func (*GetBlockHeaderResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHeaderResponse) GetCode() int32
- func (m *GetBlockHeaderResponse) GetHeader() *pb.BlockHeader
- func (m *GetBlockHeaderResponse) GetMessage() string
- func (m *GetBlockHeaderResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeaderResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHeaderResponse) ProtoMessage()
- func (m *GetBlockHeaderResponse) Reset()
- func (m *GetBlockHeaderResponse) Size() (n int)
- func (m *GetBlockHeaderResponse) String() string
- func (m *GetBlockHeaderResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeaderResponse) XXX_DiscardUnknown()
- func (m *GetBlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeaderResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHeaderResponse) XXX_Size() int
- func (m *GetBlockHeaderResponse) XXX_Unmarshal(b []byte) error
- type GetBlockHeightRequest
- func (*GetBlockHeightRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHeightRequest) ProtoMessage()
- func (m *GetBlockHeightRequest) Reset()
- func (m *GetBlockHeightRequest) Size() (n int)
- func (m *GetBlockHeightRequest) String() string
- func (m *GetBlockHeightRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeightRequest) XXX_DiscardUnknown()
- func (m *GetBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeightRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHeightRequest) XXX_Size() int
- func (m *GetBlockHeightRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHeightResponse
- func (*GetBlockHeightResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHeightResponse) GetCode() int32
- func (m *GetBlockHeightResponse) GetHeight() uint32
- func (m *GetBlockHeightResponse) GetMessage() string
- func (m *GetBlockHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockHeightResponse) ProtoMessage()
- func (m *GetBlockHeightResponse) Reset()
- func (m *GetBlockHeightResponse) Size() (n int)
- func (m *GetBlockHeightResponse) String() string
- func (m *GetBlockHeightResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockHeightResponse) XXX_DiscardUnknown()
- func (m *GetBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeightResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHeightResponse) XXX_Size() int
- func (m *GetBlockHeightResponse) XXX_Unmarshal(b []byte) error
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockRequest) GetBlockHash() string
- func (m *GetBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockRequest) MarshalTo(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 GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockResponse) GetBlock() *pb.Block
- func (m *GetBlockResponse) GetCode() int32
- func (m *GetBlockResponse) GetMessage() string
- func (m *GetBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockResponse) ProtoMessage()
- func (m *GetBlockResponse) Reset()
- func (m *GetBlockResponse) Size() (n int)
- func (m *GetBlockResponse) String() string
- func (m *GetBlockResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockResponse) XXX_DiscardUnknown()
- func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockResponse) XXX_Size() int
- func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
- type GetDatabaseKeysRequest
- func (*GetDatabaseKeysRequest) Descriptor() ([]byte, []int)
- func (m *GetDatabaseKeysRequest) GetLimit() int32
- func (m *GetDatabaseKeysRequest) GetPrefix() string
- func (m *GetDatabaseKeysRequest) GetSkip() int32
- func (m *GetDatabaseKeysRequest) GetTable() string
- func (m *GetDatabaseKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *GetDatabaseKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetDatabaseKeysRequest) ProtoMessage()
- func (m *GetDatabaseKeysRequest) Reset()
- func (m *GetDatabaseKeysRequest) Size() (n int)
- func (m *GetDatabaseKeysRequest) String() string
- func (m *GetDatabaseKeysRequest) Unmarshal(dAtA []byte) error
- func (m *GetDatabaseKeysRequest) XXX_DiscardUnknown()
- func (m *GetDatabaseKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseKeysRequest) XXX_Merge(src proto.Message)
- func (m *GetDatabaseKeysRequest) XXX_Size() int
- func (m *GetDatabaseKeysRequest) XXX_Unmarshal(b []byte) error
- type GetDatabaseKeysResponse
- func (*GetDatabaseKeysResponse) Descriptor() ([]byte, []int)
- func (m *GetDatabaseKeysResponse) GetCode() int32
- func (m *GetDatabaseKeysResponse) GetKeys() []string
- func (m *GetDatabaseKeysResponse) GetMessage() string
- func (m *GetDatabaseKeysResponse) GetSkip() int32
- func (m *GetDatabaseKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *GetDatabaseKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetDatabaseKeysResponse) ProtoMessage()
- func (m *GetDatabaseKeysResponse) Reset()
- func (m *GetDatabaseKeysResponse) Size() (n int)
- func (m *GetDatabaseKeysResponse) String() string
- func (m *GetDatabaseKeysResponse) Unmarshal(dAtA []byte) error
- func (m *GetDatabaseKeysResponse) XXX_DiscardUnknown()
- func (m *GetDatabaseKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseKeysResponse) XXX_Merge(src proto.Message)
- func (m *GetDatabaseKeysResponse) XXX_Size() int
- func (m *GetDatabaseKeysResponse) XXX_Unmarshal(b []byte) error
- type GetDatabaseValueRequest
- func (*GetDatabaseValueRequest) Descriptor() ([]byte, []int)
- func (m *GetDatabaseValueRequest) GetKey() string
- func (m *GetDatabaseValueRequest) GetTable() string
- func (m *GetDatabaseValueRequest) Marshal() (dAtA []byte, err error)
- func (m *GetDatabaseValueRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetDatabaseValueRequest) ProtoMessage()
- func (m *GetDatabaseValueRequest) Reset()
- func (m *GetDatabaseValueRequest) Size() (n int)
- func (m *GetDatabaseValueRequest) String() string
- func (m *GetDatabaseValueRequest) Unmarshal(dAtA []byte) error
- func (m *GetDatabaseValueRequest) XXX_DiscardUnknown()
- func (m *GetDatabaseValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseValueRequest) XXX_Merge(src proto.Message)
- func (m *GetDatabaseValueRequest) XXX_Size() int
- func (m *GetDatabaseValueRequest) XXX_Unmarshal(b []byte) error
- type GetDatabaseValueResponse
- func (*GetDatabaseValueResponse) Descriptor() ([]byte, []int)
- func (m *GetDatabaseValueResponse) GetCode() int32
- func (m *GetDatabaseValueResponse) GetMessage() string
- func (m *GetDatabaseValueResponse) GetValue() []byte
- func (m *GetDatabaseValueResponse) Marshal() (dAtA []byte, err error)
- func (m *GetDatabaseValueResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetDatabaseValueResponse) ProtoMessage()
- func (m *GetDatabaseValueResponse) Reset()
- func (m *GetDatabaseValueResponse) Size() (n int)
- func (m *GetDatabaseValueResponse) String() string
- func (m *GetDatabaseValueResponse) Unmarshal(dAtA []byte) error
- func (m *GetDatabaseValueResponse) XXX_DiscardUnknown()
- func (m *GetDatabaseValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseValueResponse) XXX_Merge(src proto.Message)
- func (m *GetDatabaseValueResponse) XXX_Size() int
- func (m *GetDatabaseValueResponse) XXX_Unmarshal(b []byte) error
- type GetFeePriceRequest
- func (*GetFeePriceRequest) Descriptor() ([]byte, []int)
- func (m *GetFeePriceRequest) Marshal() (dAtA []byte, err error)
- func (m *GetFeePriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetFeePriceRequest) ProtoMessage()
- func (m *GetFeePriceRequest) Reset()
- func (m *GetFeePriceRequest) Size() (n int)
- func (m *GetFeePriceRequest) String() string
- func (m *GetFeePriceRequest) Unmarshal(dAtA []byte) error
- func (m *GetFeePriceRequest) XXX_DiscardUnknown()
- func (m *GetFeePriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeePriceRequest) XXX_Merge(src proto.Message)
- func (m *GetFeePriceRequest) XXX_Size() int
- func (m *GetFeePriceRequest) XXX_Unmarshal(b []byte) error
- type GetFeePriceResponse
- func (*GetFeePriceResponse) Descriptor() ([]byte, []int)
- func (m *GetFeePriceResponse) GetBoxPerByte() uint64
- func (m *GetFeePriceResponse) Marshal() (dAtA []byte, err error)
- func (m *GetFeePriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetFeePriceResponse) ProtoMessage()
- func (m *GetFeePriceResponse) Reset()
- func (m *GetFeePriceResponse) Size() (n int)
- func (m *GetFeePriceResponse) String() string
- func (m *GetFeePriceResponse) Unmarshal(dAtA []byte) error
- func (m *GetFeePriceResponse) XXX_DiscardUnknown()
- func (m *GetFeePriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeePriceResponse) XXX_Merge(src proto.Message)
- func (m *GetFeePriceResponse) XXX_Size() int
- func (m *GetFeePriceResponse) XXX_Unmarshal(b []byte) error
- type GetNetworkIDRequest
- func (*GetNetworkIDRequest) Descriptor() ([]byte, []int)
- func (m *GetNetworkIDRequest) Marshal() (dAtA []byte, err error)
- func (m *GetNetworkIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetNetworkIDRequest) ProtoMessage()
- func (m *GetNetworkIDRequest) Reset()
- func (m *GetNetworkIDRequest) Size() (n int)
- func (m *GetNetworkIDRequest) String() string
- func (m *GetNetworkIDRequest) Unmarshal(dAtA []byte) error
- func (m *GetNetworkIDRequest) XXX_DiscardUnknown()
- func (m *GetNetworkIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNetworkIDRequest) XXX_Merge(src proto.Message)
- func (m *GetNetworkIDRequest) XXX_Size() int
- func (m *GetNetworkIDRequest) XXX_Unmarshal(b []byte) error
- type GetNetworkIDResponse
- func (*GetNetworkIDResponse) Descriptor() ([]byte, []int)
- func (m *GetNetworkIDResponse) GetId() uint32
- func (m *GetNetworkIDResponse) GetLiteral() string
- func (m *GetNetworkIDResponse) Marshal() (dAtA []byte, err error)
- func (m *GetNetworkIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetNetworkIDResponse) ProtoMessage()
- func (m *GetNetworkIDResponse) Reset()
- func (m *GetNetworkIDResponse) Size() (n int)
- func (m *GetNetworkIDResponse) String() string
- func (m *GetNetworkIDResponse) Unmarshal(dAtA []byte) error
- func (m *GetNetworkIDResponse) XXX_DiscardUnknown()
- func (m *GetNetworkIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNetworkIDResponse) XXX_Merge(src proto.Message)
- func (m *GetNetworkIDResponse) XXX_Size() int
- func (m *GetNetworkIDResponse) XXX_Unmarshal(b []byte) error
- type GetNodeInfoRequest
- func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetNodeInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *GetNodeInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetNodeInfoRequest) ProtoMessage()
- func (m *GetNodeInfoRequest) Reset()
- func (m *GetNodeInfoRequest) Size() (n int)
- func (m *GetNodeInfoRequest) String() string
- func (m *GetNodeInfoRequest) Unmarshal(dAtA []byte) error
- func (m *GetNodeInfoRequest) XXX_DiscardUnknown()
- func (m *GetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetNodeInfoRequest) XXX_Size() int
- func (m *GetNodeInfoRequest) XXX_Unmarshal(b []byte) error
- type GetNodeInfoResponse
- func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetNodeInfoResponse) GetNodes() []*Node
- func (m *GetNodeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *GetNodeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetNodeInfoResponse) ProtoMessage()
- func (m *GetNodeInfoResponse) Reset()
- func (m *GetNodeInfoResponse) Size() (n int)
- func (m *GetNodeInfoResponse) String() string
- func (m *GetNodeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *GetNodeInfoResponse) XXX_DiscardUnknown()
- func (m *GetNodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetNodeInfoResponse) XXX_Size() int
- func (m *GetNodeInfoResponse) XXX_Unmarshal(b []byte) error
- type GetRawTransactionRequest
- func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)
- func (m *GetRawTransactionRequest) GetHash() []byte
- func (m *GetRawTransactionRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRawTransactionRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetRawTransactionRequest) ProtoMessage()
- func (m *GetRawTransactionRequest) Reset()
- func (m *GetRawTransactionRequest) Size() (n int)
- func (m *GetRawTransactionRequest) String() string
- func (m *GetRawTransactionRequest) Unmarshal(dAtA []byte) error
- func (m *GetRawTransactionRequest) XXX_DiscardUnknown()
- func (m *GetRawTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawTransactionRequest) XXX_Merge(src proto.Message)
- func (m *GetRawTransactionRequest) XXX_Size() int
- func (m *GetRawTransactionRequest) XXX_Unmarshal(b []byte) error
- type GetRawTransactionResponse
- func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetRawTransactionResponse) GetTx() *pb.Transaction
- func (m *GetRawTransactionResponse) Marshal() (dAtA []byte, err error)
- func (m *GetRawTransactionResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetRawTransactionResponse) ProtoMessage()
- func (m *GetRawTransactionResponse) Reset()
- func (m *GetRawTransactionResponse) Size() (n int)
- func (m *GetRawTransactionResponse) String() string
- func (m *GetRawTransactionResponse) Unmarshal(dAtA []byte) error
- func (m *GetRawTransactionResponse) XXX_DiscardUnknown()
- func (m *GetRawTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawTransactionResponse) XXX_Merge(src proto.Message)
- func (m *GetRawTransactionResponse) XXX_Size() int
- func (m *GetRawTransactionResponse) XXX_Unmarshal(b []byte) error
- type GetTokenBalanceReq
- func (*GetTokenBalanceReq) Descriptor() ([]byte, []int)
- func (m *GetTokenBalanceReq) GetAddrs() []string
- func (m *GetTokenBalanceReq) GetTokenHash() string
- func (m *GetTokenBalanceReq) GetTokenIndex() uint32
- func (m *GetTokenBalanceReq) Marshal() (dAtA []byte, err error)
- func (m *GetTokenBalanceReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetTokenBalanceReq) ProtoMessage()
- func (m *GetTokenBalanceReq) Reset()
- func (m *GetTokenBalanceReq) Size() (n int)
- func (m *GetTokenBalanceReq) String() string
- func (m *GetTokenBalanceReq) Unmarshal(dAtA []byte) error
- func (m *GetTokenBalanceReq) XXX_DiscardUnknown()
- func (m *GetTokenBalanceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenBalanceReq) XXX_Merge(src proto.Message)
- func (m *GetTokenBalanceReq) XXX_Size() int
- func (m *GetTokenBalanceReq) XXX_Unmarshal(b []byte) error
- type ListenBlocksReq
- func (*ListenBlocksReq) Descriptor() ([]byte, []int)
- func (m *ListenBlocksReq) Marshal() (dAtA []byte, err error)
- func (m *ListenBlocksReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListenBlocksReq) ProtoMessage()
- func (m *ListenBlocksReq) Reset()
- func (m *ListenBlocksReq) Size() (n int)
- func (m *ListenBlocksReq) String() string
- func (m *ListenBlocksReq) Unmarshal(dAtA []byte) error
- func (m *ListenBlocksReq) XXX_DiscardUnknown()
- func (m *ListenBlocksReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenBlocksReq) XXX_Merge(src proto.Message)
- func (m *ListenBlocksReq) XXX_Size() int
- func (m *ListenBlocksReq) XXX_Unmarshal(b []byte) error
- type Logs
- func (*Logs) Descriptor() ([]byte, []int)
- func (m *Logs) GetCode() int32
- func (m *Logs) GetLogs() []*Logs_LogDetail
- func (m *Logs) GetMessage() string
- func (m *Logs) Marshal() (dAtA []byte, err error)
- func (m *Logs) MarshalTo(dAtA []byte) (int, error)
- func (*Logs) ProtoMessage()
- func (m *Logs) Reset()
- func (m *Logs) Size() (n int)
- func (m *Logs) String() string
- func (m *Logs) Unmarshal(dAtA []byte) error
- func (m *Logs) XXX_DiscardUnknown()
- func (m *Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Logs) XXX_Merge(src proto.Message)
- func (m *Logs) XXX_Size() int
- func (m *Logs) XXX_Unmarshal(b []byte) error
- type LogsReq
- func (*LogsReq) Descriptor() ([]byte, []int)
- func (m *LogsReq) GetAddresses() []string
- func (m *LogsReq) GetFrom() uint32
- func (m *LogsReq) GetHash() string
- func (m *LogsReq) GetTo() uint32
- func (m *LogsReq) GetTopics() []*LogsReqTopiclist
- func (m *LogsReq) Marshal() (dAtA []byte, err error)
- func (m *LogsReq) MarshalTo(dAtA []byte) (int, error)
- func (*LogsReq) ProtoMessage()
- func (m *LogsReq) Reset()
- func (m *LogsReq) Size() (n int)
- func (m *LogsReq) String() string
- func (m *LogsReq) Unmarshal(dAtA []byte) error
- func (m *LogsReq) XXX_DiscardUnknown()
- func (m *LogsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogsReq) XXX_Merge(src proto.Message)
- func (m *LogsReq) XXX_Size() int
- func (m *LogsReq) XXX_Unmarshal(b []byte) error
- type LogsReqTopiclist
- func (*LogsReqTopiclist) Descriptor() ([]byte, []int)
- func (m *LogsReqTopiclist) GetTopics() []string
- func (m *LogsReqTopiclist) Marshal() (dAtA []byte, err error)
- func (m *LogsReqTopiclist) MarshalTo(dAtA []byte) (int, error)
- func (*LogsReqTopiclist) ProtoMessage()
- func (m *LogsReqTopiclist) Reset()
- func (m *LogsReqTopiclist) Size() (n int)
- func (m *LogsReqTopiclist) String() string
- func (m *LogsReqTopiclist) Unmarshal(dAtA []byte) error
- func (m *LogsReqTopiclist) XXX_DiscardUnknown()
- func (m *LogsReqTopiclist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogsReqTopiclist) XXX_Merge(src proto.Message)
- func (m *LogsReqTopiclist) XXX_Size() int
- func (m *LogsReqTopiclist) XXX_Unmarshal(b []byte) error
- type Logs_LogDetail
- func (*Logs_LogDetail) Descriptor() ([]byte, []int)
- func (m *Logs_LogDetail) GetAddress() []byte
- func (m *Logs_LogDetail) GetBlockHash() []byte
- func (m *Logs_LogDetail) GetBlockNumber() uint64
- func (m *Logs_LogDetail) GetData() []byte
- func (m *Logs_LogDetail) GetIndex() uint32
- func (m *Logs_LogDetail) GetRemoved() bool
- func (m *Logs_LogDetail) GetTopics() [][]byte
- func (m *Logs_LogDetail) GetTxHash() []byte
- func (m *Logs_LogDetail) GetTxIndex() uint32
- func (m *Logs_LogDetail) Marshal() (dAtA []byte, err error)
- func (m *Logs_LogDetail) MarshalTo(dAtA []byte) (int, error)
- func (*Logs_LogDetail) ProtoMessage()
- func (m *Logs_LogDetail) Reset()
- func (m *Logs_LogDetail) Size() (n int)
- func (m *Logs_LogDetail) String() string
- func (m *Logs_LogDetail) Unmarshal(dAtA []byte) error
- func (m *Logs_LogDetail) XXX_DiscardUnknown()
- func (m *Logs_LogDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Logs_LogDetail) XXX_Merge(src proto.Message)
- func (m *Logs_LogDetail) XXX_Size() int
- func (m *Logs_LogDetail) XXX_Unmarshal(b []byte) error
- type MakeCombineTx
- func (*MakeCombineTx) Descriptor() ([]byte, []int)
- func (m *MakeCombineTx) GetAddr() string
- func (m *MakeCombineTx) GetGasPrice() uint64
- func (m *MakeCombineTx) GetTokenHash() string
- func (m *MakeCombineTx) GetTokenIndex() uint32
- func (m *MakeCombineTx) Marshal() (dAtA []byte, err error)
- func (m *MakeCombineTx) MarshalTo(dAtA []byte) (int, error)
- func (*MakeCombineTx) ProtoMessage()
- func (m *MakeCombineTx) Reset()
- func (m *MakeCombineTx) Size() (n int)
- func (m *MakeCombineTx) String() string
- func (m *MakeCombineTx) Unmarshal(dAtA []byte) error
- func (m *MakeCombineTx) XXX_DiscardUnknown()
- func (m *MakeCombineTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeCombineTx) XXX_Merge(src proto.Message)
- func (m *MakeCombineTx) XXX_Size() int
- func (m *MakeCombineTx) XXX_Unmarshal(b []byte) error
- type MakeContractTxReq
- func (*MakeContractTxReq) Descriptor() ([]byte, []int)
- func (m *MakeContractTxReq) GetAmount() uint64
- func (m *MakeContractTxReq) GetData() string
- func (m *MakeContractTxReq) GetFrom() string
- func (m *MakeContractTxReq) GetGasLimit() uint64
- func (m *MakeContractTxReq) GetGasPrice() uint64
- func (m *MakeContractTxReq) GetIsDeploy() bool
- func (m *MakeContractTxReq) GetNonce() uint64
- func (m *MakeContractTxReq) GetTo() string
- func (m *MakeContractTxReq) Marshal() (dAtA []byte, err error)
- func (m *MakeContractTxReq) MarshalTo(dAtA []byte) (int, error)
- func (*MakeContractTxReq) ProtoMessage()
- func (m *MakeContractTxReq) Reset()
- func (m *MakeContractTxReq) Size() (n int)
- func (m *MakeContractTxReq) String() string
- func (m *MakeContractTxReq) Unmarshal(dAtA []byte) error
- func (m *MakeContractTxReq) XXX_DiscardUnknown()
- func (m *MakeContractTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeContractTxReq) XXX_Merge(src proto.Message)
- func (m *MakeContractTxReq) XXX_Size() int
- func (m *MakeContractTxReq) XXX_Unmarshal(b []byte) error
- type MakeContractTxResp
- func (*MakeContractTxResp) Descriptor() ([]byte, []int)
- func (m *MakeContractTxResp) GetCode() int32
- func (m *MakeContractTxResp) GetContractAddr() string
- func (m *MakeContractTxResp) GetMessage() string
- func (m *MakeContractTxResp) GetRawMsgs() [][]byte
- func (m *MakeContractTxResp) GetTx() *pb.Transaction
- func (m *MakeContractTxResp) Marshal() (dAtA []byte, err error)
- func (m *MakeContractTxResp) MarshalTo(dAtA []byte) (int, error)
- func (*MakeContractTxResp) ProtoMessage()
- func (m *MakeContractTxResp) Reset()
- func (m *MakeContractTxResp) Size() (n int)
- func (m *MakeContractTxResp) String() string
- func (m *MakeContractTxResp) Unmarshal(dAtA []byte) error
- func (m *MakeContractTxResp) XXX_DiscardUnknown()
- func (m *MakeContractTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeContractTxResp) XXX_Merge(src proto.Message)
- func (m *MakeContractTxResp) XXX_Size() int
- func (m *MakeContractTxResp) XXX_Unmarshal(b []byte) error
- type MakeSplitAddrTxReq
- func (*MakeSplitAddrTxReq) Descriptor() ([]byte, []int)
- func (m *MakeSplitAddrTxReq) GetAddrs() []string
- func (m *MakeSplitAddrTxReq) GetFrom() string
- func (m *MakeSplitAddrTxReq) GetGasPrice() uint64
- func (m *MakeSplitAddrTxReq) GetWeights() []uint64
- func (m *MakeSplitAddrTxReq) Marshal() (dAtA []byte, err error)
- func (m *MakeSplitAddrTxReq) MarshalTo(dAtA []byte) (int, error)
- func (*MakeSplitAddrTxReq) ProtoMessage()
- func (m *MakeSplitAddrTxReq) Reset()
- func (m *MakeSplitAddrTxReq) Size() (n int)
- func (m *MakeSplitAddrTxReq) String() string
- func (m *MakeSplitAddrTxReq) Unmarshal(dAtA []byte) error
- func (m *MakeSplitAddrTxReq) XXX_DiscardUnknown()
- func (m *MakeSplitAddrTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeSplitAddrTxReq) XXX_Merge(src proto.Message)
- func (m *MakeSplitAddrTxReq) XXX_Size() int
- func (m *MakeSplitAddrTxReq) XXX_Unmarshal(b []byte) error
- type MakeTokenIssueTxReq
- func (*MakeTokenIssueTxReq) Descriptor() ([]byte, []int)
- func (m *MakeTokenIssueTxReq) GetGasPrice() uint64
- func (m *MakeTokenIssueTxReq) GetIssuer() string
- func (m *MakeTokenIssueTxReq) GetOwner() string
- func (m *MakeTokenIssueTxReq) GetTag() *TokenTag
- func (m *MakeTokenIssueTxReq) Marshal() (dAtA []byte, err error)
- func (m *MakeTokenIssueTxReq) MarshalTo(dAtA []byte) (int, error)
- func (*MakeTokenIssueTxReq) ProtoMessage()
- func (m *MakeTokenIssueTxReq) Reset()
- func (m *MakeTokenIssueTxReq) Size() (n int)
- func (m *MakeTokenIssueTxReq) String() string
- func (m *MakeTokenIssueTxReq) Unmarshal(dAtA []byte) error
- func (m *MakeTokenIssueTxReq) XXX_DiscardUnknown()
- func (m *MakeTokenIssueTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeTokenIssueTxReq) XXX_Merge(src proto.Message)
- func (m *MakeTokenIssueTxReq) XXX_Size() int
- func (m *MakeTokenIssueTxReq) XXX_Unmarshal(b []byte) error
- type MakeTokenIssueTxResp
- func (*MakeTokenIssueTxResp) Descriptor() ([]byte, []int)
- func (m *MakeTokenIssueTxResp) GetCode() int32
- func (m *MakeTokenIssueTxResp) GetIssueOutIndex() uint32
- func (m *MakeTokenIssueTxResp) GetMessage() string
- func (m *MakeTokenIssueTxResp) GetRawMsgs() [][]byte
- func (m *MakeTokenIssueTxResp) GetTx() *pb.Transaction
- func (m *MakeTokenIssueTxResp) Marshal() (dAtA []byte, err error)
- func (m *MakeTokenIssueTxResp) MarshalTo(dAtA []byte) (int, error)
- func (*MakeTokenIssueTxResp) ProtoMessage()
- func (m *MakeTokenIssueTxResp) Reset()
- func (m *MakeTokenIssueTxResp) Size() (n int)
- func (m *MakeTokenIssueTxResp) String() string
- func (m *MakeTokenIssueTxResp) Unmarshal(dAtA []byte) error
- func (m *MakeTokenIssueTxResp) XXX_DiscardUnknown()
- func (m *MakeTokenIssueTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeTokenIssueTxResp) XXX_Merge(src proto.Message)
- func (m *MakeTokenIssueTxResp) XXX_Size() int
- func (m *MakeTokenIssueTxResp) XXX_Unmarshal(b []byte) error
- type MakeTokenTransferTxReq
- func (*MakeTokenTransferTxReq) Descriptor() ([]byte, []int)
- func (m *MakeTokenTransferTxReq) GetAmounts() []uint64
- func (m *MakeTokenTransferTxReq) GetFrom() string
- func (m *MakeTokenTransferTxReq) GetGasPrice() uint64
- func (m *MakeTokenTransferTxReq) GetTo() []string
- func (m *MakeTokenTransferTxReq) GetTokenHash() string
- func (m *MakeTokenTransferTxReq) GetTokenIndex() uint32
- func (m *MakeTokenTransferTxReq) Marshal() (dAtA []byte, err error)
- func (m *MakeTokenTransferTxReq) MarshalTo(dAtA []byte) (int, error)
- func (*MakeTokenTransferTxReq) ProtoMessage()
- func (m *MakeTokenTransferTxReq) Reset()
- func (m *MakeTokenTransferTxReq) Size() (n int)
- func (m *MakeTokenTransferTxReq) String() string
- func (m *MakeTokenTransferTxReq) Unmarshal(dAtA []byte) error
- func (m *MakeTokenTransferTxReq) XXX_DiscardUnknown()
- func (m *MakeTokenTransferTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeTokenTransferTxReq) XXX_Merge(src proto.Message)
- func (m *MakeTokenTransferTxReq) XXX_Size() int
- func (m *MakeTokenTransferTxReq) XXX_Unmarshal(b []byte) error
- type MakeTxReq
- func (*MakeTxReq) Descriptor() ([]byte, []int)
- func (m *MakeTxReq) GetAmounts() []uint64
- func (m *MakeTxReq) GetFrom() string
- func (m *MakeTxReq) GetGasPrice() uint64
- func (m *MakeTxReq) GetTo() []string
- func (m *MakeTxReq) Marshal() (dAtA []byte, err error)
- func (m *MakeTxReq) MarshalTo(dAtA []byte) (int, error)
- func (*MakeTxReq) ProtoMessage()
- func (m *MakeTxReq) Reset()
- func (m *MakeTxReq) Size() (n int)
- func (m *MakeTxReq) String() string
- func (m *MakeTxReq) Unmarshal(dAtA []byte) error
- func (m *MakeTxReq) XXX_DiscardUnknown()
- func (m *MakeTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeTxReq) XXX_Merge(src proto.Message)
- func (m *MakeTxReq) XXX_Size() int
- func (m *MakeTxReq) XXX_Unmarshal(b []byte) error
- type MakeTxResp
- func (*MakeTxResp) Descriptor() ([]byte, []int)
- func (m *MakeTxResp) GetCode() int32
- func (m *MakeTxResp) GetMessage() string
- func (m *MakeTxResp) GetRawMsgs() [][]byte
- func (m *MakeTxResp) GetTx() *pb.Transaction
- func (m *MakeTxResp) Marshal() (dAtA []byte, err error)
- func (m *MakeTxResp) MarshalTo(dAtA []byte) (int, error)
- func (*MakeTxResp) ProtoMessage()
- func (m *MakeTxResp) Reset()
- func (m *MakeTxResp) Size() (n int)
- func (m *MakeTxResp) String() string
- func (m *MakeTxResp) Unmarshal(dAtA []byte) error
- func (m *MakeTxResp) XXX_DiscardUnknown()
- func (m *MakeTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MakeTxResp) XXX_Merge(src proto.Message)
- func (m *MakeTxResp) XXX_Size() int
- func (m *MakeTxResp) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAddrs() []string
- func (m *Node) GetId() string
- func (m *Node) GetTtl() string
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NonceReq
- func (*NonceReq) Descriptor() ([]byte, []int)
- func (m *NonceReq) GetAddr() string
- func (m *NonceReq) Marshal() (dAtA []byte, err error)
- func (m *NonceReq) MarshalTo(dAtA []byte) (int, error)
- func (*NonceReq) ProtoMessage()
- func (m *NonceReq) Reset()
- func (m *NonceReq) Size() (n int)
- func (m *NonceReq) String() string
- func (m *NonceReq) Unmarshal(dAtA []byte) error
- func (m *NonceReq) XXX_DiscardUnknown()
- func (m *NonceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NonceReq) XXX_Merge(src proto.Message)
- func (m *NonceReq) XXX_Size() int
- func (m *NonceReq) XXX_Unmarshal(b []byte) error
- type NonceResp
- func (*NonceResp) Descriptor() ([]byte, []int)
- func (m *NonceResp) GetCode() int32
- func (m *NonceResp) GetMessage() string
- func (m *NonceResp) GetNonce() uint64
- func (m *NonceResp) Marshal() (dAtA []byte, err error)
- func (m *NonceResp) MarshalTo(dAtA []byte) (int, error)
- func (*NonceResp) ProtoMessage()
- func (m *NonceResp) Reset()
- func (m *NonceResp) Size() (n int)
- func (m *NonceResp) String() string
- func (m *NonceResp) Unmarshal(dAtA []byte) error
- func (m *NonceResp) XXX_DiscardUnknown()
- func (m *NonceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NonceResp) XXX_Merge(src proto.Message)
- func (m *NonceResp) XXX_Size() int
- func (m *NonceResp) XXX_Unmarshal(b []byte) error
- type SendRawTransactionReq
- func (*SendRawTransactionReq) Descriptor() ([]byte, []int)
- func (m *SendRawTransactionReq) GetTx() string
- func (m *SendRawTransactionReq) Marshal() (dAtA []byte, err error)
- func (m *SendRawTransactionReq) MarshalTo(dAtA []byte) (int, error)
- func (*SendRawTransactionReq) ProtoMessage()
- func (m *SendRawTransactionReq) Reset()
- func (m *SendRawTransactionReq) Size() (n int)
- func (m *SendRawTransactionReq) String() string
- func (m *SendRawTransactionReq) Unmarshal(dAtA []byte) error
- func (m *SendRawTransactionReq) XXX_DiscardUnknown()
- func (m *SendRawTransactionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendRawTransactionReq) XXX_Merge(src proto.Message)
- func (m *SendRawTransactionReq) XXX_Size() int
- func (m *SendRawTransactionReq) XXX_Unmarshal(b []byte) error
- type SendTransactionReq
- func (*SendTransactionReq) Descriptor() ([]byte, []int)
- func (m *SendTransactionReq) GetTx() *pb.Transaction
- func (m *SendTransactionReq) Marshal() (dAtA []byte, err error)
- func (m *SendTransactionReq) MarshalTo(dAtA []byte) (int, error)
- func (*SendTransactionReq) ProtoMessage()
- func (m *SendTransactionReq) Reset()
- func (m *SendTransactionReq) Size() (n int)
- func (m *SendTransactionReq) String() string
- func (m *SendTransactionReq) Unmarshal(dAtA []byte) error
- func (m *SendTransactionReq) XXX_DiscardUnknown()
- func (m *SendTransactionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTransactionReq) XXX_Merge(src proto.Message)
- func (m *SendTransactionReq) XXX_Size() int
- func (m *SendTransactionReq) XXX_Unmarshal(b []byte) error
- type SendTransactionResp
- func (*SendTransactionResp) Descriptor() ([]byte, []int)
- func (m *SendTransactionResp) GetCode() int32
- func (m *SendTransactionResp) GetHash() string
- func (m *SendTransactionResp) GetMessage() string
- func (m *SendTransactionResp) Marshal() (dAtA []byte, err error)
- func (m *SendTransactionResp) MarshalTo(dAtA []byte) (int, error)
- func (*SendTransactionResp) ProtoMessage()
- func (m *SendTransactionResp) Reset()
- func (m *SendTransactionResp) Size() (n int)
- func (m *SendTransactionResp) String() string
- func (m *SendTransactionResp) Unmarshal(dAtA []byte) error
- func (m *SendTransactionResp) XXX_DiscardUnknown()
- func (m *SendTransactionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTransactionResp) XXX_Merge(src proto.Message)
- func (m *SendTransactionResp) XXX_Size() int
- func (m *SendTransactionResp) XXX_Unmarshal(b []byte) error
- type SplitContractInfo
- func (*SplitContractInfo) Descriptor() ([]byte, []int)
- func (m *SplitContractInfo) GetAddrs() []string
- func (m *SplitContractInfo) GetWeights() []uint64
- func (m *SplitContractInfo) Marshal() (dAtA []byte, err error)
- func (m *SplitContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (*SplitContractInfo) ProtoMessage()
- func (m *SplitContractInfo) Reset()
- func (m *SplitContractInfo) Size() (n int)
- func (m *SplitContractInfo) String() string
- func (m *SplitContractInfo) Unmarshal(dAtA []byte) error
- func (m *SplitContractInfo) XXX_DiscardUnknown()
- func (m *SplitContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitContractInfo) XXX_Merge(src proto.Message)
- func (m *SplitContractInfo) XXX_Size() int
- func (m *SplitContractInfo) XXX_Unmarshal(b []byte) error
- type TokenIssueInfo
- func (*TokenIssueInfo) Descriptor() ([]byte, []int)
- func (m *TokenIssueInfo) GetTokenTag() *TokenTag
- func (m *TokenIssueInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenIssueInfo) MarshalTo(dAtA []byte) (int, error)
- func (*TokenIssueInfo) ProtoMessage()
- func (m *TokenIssueInfo) Reset()
- func (m *TokenIssueInfo) Size() (n int)
- func (m *TokenIssueInfo) String() string
- func (m *TokenIssueInfo) Unmarshal(dAtA []byte) error
- func (m *TokenIssueInfo) XXX_DiscardUnknown()
- func (m *TokenIssueInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenIssueInfo) XXX_Merge(src proto.Message)
- func (m *TokenIssueInfo) XXX_Size() int
- func (m *TokenIssueInfo) XXX_Unmarshal(b []byte) error
- type TokenTag
- func (*TokenTag) Descriptor() ([]byte, []int)
- func (m *TokenTag) GetDecimal() uint32
- func (m *TokenTag) GetName() string
- func (m *TokenTag) GetSupply() uint64
- func (m *TokenTag) GetSymbol() string
- func (m *TokenTag) Marshal() (dAtA []byte, err error)
- func (m *TokenTag) MarshalTo(dAtA []byte) (int, error)
- func (*TokenTag) ProtoMessage()
- func (m *TokenTag) Reset()
- func (m *TokenTag) Size() (n int)
- func (m *TokenTag) String() string
- func (m *TokenTag) Unmarshal(dAtA []byte) error
- func (m *TokenTag) XXX_DiscardUnknown()
- func (m *TokenTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenTag) XXX_Merge(src proto.Message)
- func (m *TokenTag) XXX_Size() int
- func (m *TokenTag) XXX_Unmarshal(b []byte) error
- type TokenTransferInfo
- func (*TokenTransferInfo) Descriptor() ([]byte, []int)
- func (m *TokenTransferInfo) GetTokenId() string
- func (m *TokenTransferInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenTransferInfo) MarshalTo(dAtA []byte) (int, error)
- func (*TokenTransferInfo) ProtoMessage()
- func (m *TokenTransferInfo) Reset()
- func (m *TokenTransferInfo) Size() (n int)
- func (m *TokenTransferInfo) String() string
- func (m *TokenTransferInfo) Unmarshal(dAtA []byte) error
- func (m *TokenTransferInfo) XXX_DiscardUnknown()
- func (m *TokenTransferInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenTransferInfo) XXX_Merge(src proto.Message)
- func (m *TokenTransferInfo) XXX_Size() int
- func (m *TokenTransferInfo) XXX_Unmarshal(b []byte) error
- type TransactionCommandClient
- type TransactionCommandServer
- type TxDetail
- func (*TxDetail) Descriptor() ([]byte, []int)
- func (m *TxDetail) GetHash() string
- func (m *TxDetail) GetVin() []*TxInDetail
- func (m *TxDetail) GetVout() []*TxOutDetail
- func (m *TxDetail) Marshal() (dAtA []byte, err error)
- func (m *TxDetail) MarshalTo(dAtA []byte) (int, error)
- func (*TxDetail) ProtoMessage()
- func (m *TxDetail) Reset()
- func (m *TxDetail) Size() (n int)
- func (m *TxDetail) String() string
- func (m *TxDetail) Unmarshal(dAtA []byte) error
- func (m *TxDetail) XXX_DiscardUnknown()
- func (m *TxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDetail) XXX_Merge(src proto.Message)
- func (m *TxDetail) XXX_Size() int
- func (m *TxDetail) XXX_Unmarshal(b []byte) error
- type TxInDetail
- func (*TxInDetail) Descriptor() ([]byte, []int)
- func (m *TxInDetail) GetPrevOutDetail() *TxOutDetail
- func (m *TxInDetail) GetPrevOutPoint() string
- func (m *TxInDetail) GetScriptSig() string
- func (m *TxInDetail) GetSequence() uint32
- func (m *TxInDetail) Marshal() (dAtA []byte, err error)
- func (m *TxInDetail) MarshalTo(dAtA []byte) (int, error)
- func (*TxInDetail) ProtoMessage()
- func (m *TxInDetail) Reset()
- func (m *TxInDetail) Size() (n int)
- func (m *TxInDetail) String() string
- func (m *TxInDetail) Unmarshal(dAtA []byte) error
- func (m *TxInDetail) XXX_DiscardUnknown()
- func (m *TxInDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInDetail) XXX_Merge(src proto.Message)
- func (m *TxInDetail) XXX_Size() int
- func (m *TxInDetail) XXX_Unmarshal(b []byte) error
- type TxOutDetail
- func (*TxOutDetail) Descriptor() ([]byte, []int)
- func (m *TxOutDetail) GetAddr() string
- func (m *TxOutDetail) GetAppendix() isTxOutDetail_Appendix
- func (m *TxOutDetail) GetContractInfo() *ContractInfo
- func (m *TxOutDetail) GetScriptDisasm() string
- func (m *TxOutDetail) GetScriptPubKey() string
- func (m *TxOutDetail) GetSplitContractInfo() *SplitContractInfo
- func (m *TxOutDetail) GetTokenIssueInfo() *TokenIssueInfo
- func (m *TxOutDetail) GetTokenTransferInfo() *TokenTransferInfo
- func (m *TxOutDetail) GetType() TxOutDetail_TxOutType
- func (m *TxOutDetail) GetValue() uint64
- func (m *TxOutDetail) Marshal() (dAtA []byte, err error)
- func (m *TxOutDetail) MarshalTo(dAtA []byte) (int, error)
- func (*TxOutDetail) ProtoMessage()
- func (m *TxOutDetail) Reset()
- func (m *TxOutDetail) Size() (n int)
- func (m *TxOutDetail) String() string
- func (m *TxOutDetail) Unmarshal(dAtA []byte) error
- func (m *TxOutDetail) XXX_DiscardUnknown()
- func (m *TxOutDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutDetail) XXX_Merge(src proto.Message)
- func (*TxOutDetail) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *TxOutDetail) XXX_Size() int
- func (m *TxOutDetail) XXX_Unmarshal(b []byte) error
- type TxOutDetail_ContractInfo
- type TxOutDetail_SplitContractInfo
- type TxOutDetail_TokenIssueInfo
- type TxOutDetail_TokenTransferInfo
- type TxOutDetail_TxOutType
- type TxStatus
- type UpdateNetworkIDRequest
- func (*UpdateNetworkIDRequest) Descriptor() ([]byte, []int)
- func (m *UpdateNetworkIDRequest) GetId() uint32
- func (m *UpdateNetworkIDRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateNetworkIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateNetworkIDRequest) ProtoMessage()
- func (m *UpdateNetworkIDRequest) Reset()
- func (m *UpdateNetworkIDRequest) Size() (n int)
- func (m *UpdateNetworkIDRequest) String() string
- func (m *UpdateNetworkIDRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateNetworkIDRequest) XXX_DiscardUnknown()
- func (m *UpdateNetworkIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateNetworkIDRequest) XXX_Merge(src proto.Message)
- func (m *UpdateNetworkIDRequest) XXX_Size() int
- func (m *UpdateNetworkIDRequest) XXX_Unmarshal(b []byte) error
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)
- func (m *Utxo) GetBlockHeight() uint32
- func (m *Utxo) GetIsCoinbase() bool
- func (m *Utxo) GetIsSpent() bool
- func (m *Utxo) GetOutPoint() *pb.OutPoint
- func (m *Utxo) GetTxOut() *pb.TxOut
- func (m *Utxo) Marshal() (dAtA []byte, err error)
- func (m *Utxo) MarshalTo(dAtA []byte) (int, error)
- func (*Utxo) ProtoMessage()
- func (m *Utxo) Reset()
- func (m *Utxo) Size() (n int)
- func (m *Utxo) String() string
- func (m *Utxo) Unmarshal(dAtA []byte) error
- func (m *Utxo) XXX_DiscardUnknown()
- func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Utxo) XXX_Merge(src proto.Message)
- func (m *Utxo) XXX_Size() int
- func (m *Utxo) XXX_Unmarshal(b []byte) error
- type ViewBlockDetailReq
- func (*ViewBlockDetailReq) Descriptor() ([]byte, []int)
- func (m *ViewBlockDetailReq) GetHash() string
- func (m *ViewBlockDetailReq) Marshal() (dAtA []byte, err error)
- func (m *ViewBlockDetailReq) MarshalTo(dAtA []byte) (int, error)
- func (*ViewBlockDetailReq) ProtoMessage()
- func (m *ViewBlockDetailReq) Reset()
- func (m *ViewBlockDetailReq) Size() (n int)
- func (m *ViewBlockDetailReq) String() string
- func (m *ViewBlockDetailReq) Unmarshal(dAtA []byte) error
- func (m *ViewBlockDetailReq) XXX_DiscardUnknown()
- func (m *ViewBlockDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewBlockDetailReq) XXX_Merge(src proto.Message)
- func (m *ViewBlockDetailReq) XXX_Size() int
- func (m *ViewBlockDetailReq) XXX_Unmarshal(b []byte) error
- type ViewBlockDetailResp
- func (*ViewBlockDetailResp) Descriptor() ([]byte, []int)
- func (m *ViewBlockDetailResp) GetCode() int32
- func (m *ViewBlockDetailResp) GetDetail() *BlockDetail
- func (m *ViewBlockDetailResp) GetMessage() string
- func (m *ViewBlockDetailResp) Marshal() (dAtA []byte, err error)
- func (m *ViewBlockDetailResp) MarshalTo(dAtA []byte) (int, error)
- func (*ViewBlockDetailResp) ProtoMessage()
- func (m *ViewBlockDetailResp) Reset()
- func (m *ViewBlockDetailResp) Size() (n int)
- func (m *ViewBlockDetailResp) String() string
- func (m *ViewBlockDetailResp) Unmarshal(dAtA []byte) error
- func (m *ViewBlockDetailResp) XXX_DiscardUnknown()
- func (m *ViewBlockDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewBlockDetailResp) XXX_Merge(src proto.Message)
- func (m *ViewBlockDetailResp) XXX_Size() int
- func (m *ViewBlockDetailResp) XXX_Unmarshal(b []byte) error
- type ViewTxDetailReq
- func (*ViewTxDetailReq) Descriptor() ([]byte, []int)
- func (m *ViewTxDetailReq) GetHash() string
- func (m *ViewTxDetailReq) GetSpreadSplit() bool
- func (m *ViewTxDetailReq) Marshal() (dAtA []byte, err error)
- func (m *ViewTxDetailReq) MarshalTo(dAtA []byte) (int, error)
- func (*ViewTxDetailReq) ProtoMessage()
- func (m *ViewTxDetailReq) Reset()
- func (m *ViewTxDetailReq) Size() (n int)
- func (m *ViewTxDetailReq) String() string
- func (m *ViewTxDetailReq) Unmarshal(dAtA []byte) error
- func (m *ViewTxDetailReq) XXX_DiscardUnknown()
- func (m *ViewTxDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewTxDetailReq) XXX_Merge(src proto.Message)
- func (m *ViewTxDetailReq) XXX_Size() int
- func (m *ViewTxDetailReq) XXX_Unmarshal(b []byte) error
- type ViewTxDetailResp
- func (*ViewTxDetailResp) Descriptor() ([]byte, []int)
- func (m *ViewTxDetailResp) GetBlockHeight() uint32
- func (m *ViewTxDetailResp) GetBlockTime() int64
- func (m *ViewTxDetailResp) GetCode() int32
- func (m *ViewTxDetailResp) GetDetail() *TxDetail
- func (m *ViewTxDetailResp) GetMessage() string
- func (m *ViewTxDetailResp) GetStatus() TxStatus
- func (m *ViewTxDetailResp) GetVersion() int32
- func (m *ViewTxDetailResp) Marshal() (dAtA []byte, err error)
- func (m *ViewTxDetailResp) MarshalTo(dAtA []byte) (int, error)
- func (*ViewTxDetailResp) ProtoMessage()
- func (m *ViewTxDetailResp) Reset()
- func (m *ViewTxDetailResp) Size() (n int)
- func (m *ViewTxDetailResp) String() string
- func (m *ViewTxDetailResp) Unmarshal(dAtA []byte) error
- func (m *ViewTxDetailResp) XXX_DiscardUnknown()
- func (m *ViewTxDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewTxDetailResp) XXX_Merge(src proto.Message)
- func (m *ViewTxDetailResp) XXX_Size() int
- func (m *ViewTxDetailResp) XXX_Unmarshal(b []byte) error
- type WebApiClient
- type WebApiServer
- type WebApi_ListenAndReadNewBlockClient
- type WebApi_ListenAndReadNewBlockServer
- type WebApi_ListenAndReadNewLogClient
- type WebApi_ListenAndReadNewLogServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthControl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowControl = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthDb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDb = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthFaucet = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFaucet = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTransaction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTransaction = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthWeb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWeb = fmt.Errorf("proto: integer overflow") )
var TxOutDetail_TxOutType_name = map[int32]string{
0: "unknown",
1: "pay_to_pubkey_hash",
2: "pay_to_pubkey_hash_cltv",
3: "token_issue",
4: "token_transfer",
5: "new_split_addr",
6: "pay_to_script_hash",
7: "contract_create",
8: "contract_call",
}
var TxOutDetail_TxOutType_value = map[string]int32{
"unknown": 0,
"pay_to_pubkey_hash": 1,
"pay_to_pubkey_hash_cltv": 2,
"token_issue": 3,
"token_transfer": 4,
"new_split_addr": 5,
"pay_to_script_hash": 6,
"contract_create": 7,
"contract_call": 8,
}
var TxStatus_name = map[int32]string{
0: "unknown",
1: "pending",
2: "onchain",
3: "confirmed",
}
var TxStatus_value = map[string]int32{
"unknown": 0,
"pending": 1,
"onchain": 2,
"confirmed": 3,
}
Functions ¶
func RegisterContorlCommandHandler ¶
func RegisterContorlCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterContorlCommandHandler registers the http handlers for service ContorlCommand to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterContorlCommandHandlerClient ¶
func RegisterContorlCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContorlCommandClient) error
RegisterContorlCommandHandlerClient registers the http handlers for service ContorlCommand to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ContorlCommandClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ContorlCommandClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ContorlCommandClient" to call the correct interceptors.
func RegisterContorlCommandHandlerFromEndpoint ¶
func RegisterContorlCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterContorlCommandHandlerFromEndpoint is same as RegisterContorlCommandHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterContorlCommandServer ¶
func RegisterContorlCommandServer(s *grpc.Server, srv ContorlCommandServer)
func RegisterDatabaseCommandHandler ¶
func RegisterDatabaseCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDatabaseCommandHandler registers the http handlers for service DatabaseCommand to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDatabaseCommandHandlerClient ¶
func RegisterDatabaseCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DatabaseCommandClient) error
RegisterDatabaseCommandHandlerClient registers the http handlers for service DatabaseCommand to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DatabaseCommandClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DatabaseCommandClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DatabaseCommandClient" to call the correct interceptors.
func RegisterDatabaseCommandHandlerFromEndpoint ¶
func RegisterDatabaseCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDatabaseCommandHandlerFromEndpoint is same as RegisterDatabaseCommandHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDatabaseCommandServer ¶
func RegisterDatabaseCommandServer(s *grpc.Server, srv DatabaseCommandServer)
func RegisterFaucetHandler ¶ added in v0.3.0
RegisterFaucetHandler registers the http handlers for service Faucet to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFaucetHandlerClient ¶ added in v0.3.0
func RegisterFaucetHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FaucetClient) error
RegisterFaucetHandlerClient registers the http handlers for service Faucet to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FaucetClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FaucetClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FaucetClient" to call the correct interceptors.
func RegisterFaucetHandlerFromEndpoint ¶ added in v0.3.0
func RegisterFaucetHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFaucetHandlerFromEndpoint is same as RegisterFaucetHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFaucetServer ¶ added in v0.3.0
func RegisterFaucetServer(s *grpc.Server, srv FaucetServer)
func RegisterTransactionCommandHandler ¶
func RegisterTransactionCommandHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTransactionCommandHandler registers the http handlers for service TransactionCommand to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTransactionCommandHandlerClient ¶
func RegisterTransactionCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionCommandClient) error
RegisterTransactionCommandHandlerClient registers the http handlers for service TransactionCommand to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransactionCommandClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransactionCommandClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TransactionCommandClient" to call the correct interceptors.
func RegisterTransactionCommandHandlerFromEndpoint ¶
func RegisterTransactionCommandHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTransactionCommandHandlerFromEndpoint is same as RegisterTransactionCommandHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTransactionCommandServer ¶
func RegisterTransactionCommandServer(s *grpc.Server, srv TransactionCommandServer)
func RegisterWebApiHandler ¶ added in v0.3.0
RegisterWebApiHandler registers the http handlers for service WebApi to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWebApiHandlerClient ¶ added in v0.3.0
func RegisterWebApiHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebApiClient) error
RegisterWebApiHandlerClient registers the http handlers for service WebApi to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WebApiClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WebApiClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WebApiClient" to call the correct interceptors.
func RegisterWebApiHandlerFromEndpoint ¶ added in v0.3.0
func RegisterWebApiHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWebApiHandlerFromEndpoint is same as RegisterWebApiHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWebApiServer ¶ added in v0.3.0
func RegisterWebApiServer(s *grpc.Server, srv WebApiServer)
Types ¶
type AddNodeRequest ¶ added in v0.3.0
type AddNodeRequest struct {
Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
}
func (*AddNodeRequest) Descriptor ¶ added in v0.3.0
func (*AddNodeRequest) Descriptor() ([]byte, []int)
func (*AddNodeRequest) GetNode ¶ added in v0.3.0
func (m *AddNodeRequest) GetNode() string
func (*AddNodeRequest) Marshal ¶ added in v0.3.0
func (m *AddNodeRequest) Marshal() (dAtA []byte, err error)
func (*AddNodeRequest) MarshalTo ¶ added in v0.3.0
func (m *AddNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*AddNodeRequest) ProtoMessage ¶ added in v0.3.0
func (*AddNodeRequest) ProtoMessage()
func (*AddNodeRequest) Reset ¶ added in v0.3.0
func (m *AddNodeRequest) Reset()
func (*AddNodeRequest) Size ¶ added in v0.3.0
func (m *AddNodeRequest) Size() (n int)
func (*AddNodeRequest) String ¶ added in v0.3.0
func (m *AddNodeRequest) String() string
func (*AddNodeRequest) Unmarshal ¶ added in v0.3.0
func (m *AddNodeRequest) Unmarshal(dAtA []byte) error
func (*AddNodeRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *AddNodeRequest) XXX_DiscardUnknown()
func (*AddNodeRequest) XXX_Marshal ¶ added in v0.3.0
func (m *AddNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddNodeRequest) XXX_Merge ¶ added in v0.3.0
func (m *AddNodeRequest) XXX_Merge(src proto.Message)
func (*AddNodeRequest) XXX_Size ¶ added in v0.3.0
func (m *AddNodeRequest) XXX_Size() int
func (*AddNodeRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *AddNodeRequest) XXX_Unmarshal(b []byte) error
type BaseResponse ¶
type BaseResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (*BaseResponse) Descriptor ¶
func (*BaseResponse) Descriptor() ([]byte, []int)
func (*BaseResponse) GetCode ¶
func (m *BaseResponse) GetCode() int32
func (*BaseResponse) GetMessage ¶
func (m *BaseResponse) GetMessage() string
func (*BaseResponse) Marshal ¶
func (m *BaseResponse) Marshal() (dAtA []byte, err error)
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) Reset ¶
func (m *BaseResponse) Reset()
func (*BaseResponse) Size ¶
func (m *BaseResponse) Size() (n int)
func (*BaseResponse) String ¶
func (m *BaseResponse) String() string
func (*BaseResponse) Unmarshal ¶
func (m *BaseResponse) Unmarshal(dAtA []byte) error
func (*BaseResponse) XXX_DiscardUnknown ¶
func (m *BaseResponse) XXX_DiscardUnknown()
func (*BaseResponse) XXX_Marshal ¶
func (m *BaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BaseResponse) XXX_Merge ¶
func (m *BaseResponse) XXX_Merge(src proto.Message)
func (*BaseResponse) XXX_Size ¶
func (m *BaseResponse) XXX_Size() int
func (*BaseResponse) XXX_Unmarshal ¶
func (m *BaseResponse) XXX_Unmarshal(b []byte) error
type BlockDetail ¶ added in v0.3.0
type BlockDetail struct {
Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
TimeStamp int64 `protobuf:"varint,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
Size_ uint32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
PrevBlockHash string `protobuf:"bytes,6,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"`
CoinBase string `protobuf:"bytes,7,opt,name=coin_base,json=coinBase,proto3" json:"coin_base,omitempty"`
Confirmed bool `protobuf:"varint,8,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
Signature string `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"`
Txs []*TxDetail `protobuf:"bytes,10,rep,name=txs,proto3" json:"txs,omitempty"`
}
func (*BlockDetail) Descriptor ¶ added in v0.3.0
func (*BlockDetail) Descriptor() ([]byte, []int)
func (*BlockDetail) GetCoinBase ¶ added in v0.3.0
func (m *BlockDetail) GetCoinBase() string
func (*BlockDetail) GetConfirmed ¶ added in v0.3.0
func (m *BlockDetail) GetConfirmed() bool
func (*BlockDetail) GetHash ¶ added in v0.3.0
func (m *BlockDetail) GetHash() string
func (*BlockDetail) GetHeight ¶ added in v0.3.0
func (m *BlockDetail) GetHeight() uint32
func (*BlockDetail) GetPrevBlockHash ¶ added in v0.3.0
func (m *BlockDetail) GetPrevBlockHash() string
func (*BlockDetail) GetSignature ¶ added in v0.3.0
func (m *BlockDetail) GetSignature() string
func (*BlockDetail) GetSize_ ¶ added in v0.3.0
func (m *BlockDetail) GetSize_() uint32
func (*BlockDetail) GetTimeStamp ¶ added in v0.3.0
func (m *BlockDetail) GetTimeStamp() int64
func (*BlockDetail) GetTxs ¶ added in v0.3.0
func (m *BlockDetail) GetTxs() []*TxDetail
func (*BlockDetail) GetVersion ¶ added in v0.3.0
func (m *BlockDetail) GetVersion() int32
func (*BlockDetail) Marshal ¶ added in v0.3.0
func (m *BlockDetail) Marshal() (dAtA []byte, err error)
func (*BlockDetail) MarshalTo ¶ added in v0.3.0
func (m *BlockDetail) MarshalTo(dAtA []byte) (int, error)
func (*BlockDetail) ProtoMessage ¶ added in v0.3.0
func (*BlockDetail) ProtoMessage()
func (*BlockDetail) Reset ¶ added in v0.3.0
func (m *BlockDetail) Reset()
func (*BlockDetail) Size ¶ added in v0.3.0
func (m *BlockDetail) Size() (n int)
func (*BlockDetail) String ¶ added in v0.3.0
func (m *BlockDetail) String() string
func (*BlockDetail) Unmarshal ¶ added in v0.3.0
func (m *BlockDetail) Unmarshal(dAtA []byte) error
func (*BlockDetail) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *BlockDetail) XXX_DiscardUnknown()
func (*BlockDetail) XXX_Marshal ¶ added in v0.3.0
func (m *BlockDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockDetail) XXX_Merge ¶ added in v0.3.0
func (m *BlockDetail) XXX_Merge(src proto.Message)
func (*BlockDetail) XXX_Size ¶ added in v0.3.0
func (m *BlockDetail) XXX_Size() int
func (*BlockDetail) XXX_Unmarshal ¶ added in v0.3.0
func (m *BlockDetail) XXX_Unmarshal(b []byte) error
type CallReq ¶ added in v0.5.0
type CallReq struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Timeout uint32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
}
func (*CallReq) Descriptor ¶ added in v0.5.0
func (*CallReq) GetTimeout ¶ added in v0.5.0
func (*CallReq) ProtoMessage ¶ added in v0.5.0
func (*CallReq) ProtoMessage()
func (*CallReq) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *CallReq) XXX_DiscardUnknown()
func (*CallReq) XXX_Marshal ¶ added in v0.5.0
func (*CallReq) XXX_Unmarshal ¶ added in v0.5.0
type CallResp ¶ added in v0.5.0
type CallResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
}
func (*CallResp) Descriptor ¶ added in v0.5.0
func (*CallResp) GetMessage ¶ added in v0.5.0
func (*CallResp) ProtoMessage ¶ added in v0.5.0
func (*CallResp) ProtoMessage()
func (*CallResp) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *CallResp) XXX_DiscardUnknown()
func (*CallResp) XXX_Marshal ¶ added in v0.5.0
func (*CallResp) XXX_Unmarshal ¶ added in v0.5.0
type ClaimReq ¶ added in v0.3.0
type ClaimReq struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
}
func (*ClaimReq) Descriptor ¶ added in v0.3.0
func (*ClaimReq) ProtoMessage ¶ added in v0.3.0
func (*ClaimReq) ProtoMessage()
func (*ClaimReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ClaimReq) XXX_DiscardUnknown()
func (*ClaimReq) XXX_Marshal ¶ added in v0.3.0
func (*ClaimReq) XXX_Unmarshal ¶ added in v0.3.0
type ClaimResp ¶ added in v0.3.0
type ClaimResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (*ClaimResp) Descriptor ¶ added in v0.3.0
func (*ClaimResp) GetMessage ¶ added in v0.3.0
func (*ClaimResp) ProtoMessage ¶ added in v0.3.0
func (*ClaimResp) ProtoMessage()
func (*ClaimResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ClaimResp) XXX_DiscardUnknown()
func (*ClaimResp) XXX_Marshal ¶ added in v0.3.0
func (*ClaimResp) XXX_Unmarshal ¶ added in v0.3.0
type ContorlCommandClient ¶
type ContorlCommandClient interface {
// set boxd debug level
SetDebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*BaseResponse, error)
UpdateNetworkID(ctx context.Context, in *UpdateNetworkIDRequest, opts ...grpc.CallOption) (*BaseResponse, error)
GetNetworkID(ctx context.Context, in *GetNetworkIDRequest, opts ...grpc.CallOption) (*GetNetworkIDResponse, error)
AddNode(ctx context.Context, in *AddNodeRequest, opts ...grpc.CallOption) (*BaseResponse, error)
GetBlockHeight(ctx context.Context, in *GetBlockHeightRequest, opts ...grpc.CallOption) (*GetBlockHeightResponse, error)
GetBlockHash(ctx context.Context, in *GetBlockHashRequest, opts ...grpc.CallOption) (*GetBlockHashResponse, error)
GetBlockHeader(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockHeaderResponse, error)
GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error)
}
ContorlCommandClient is the client API for ContorlCommand service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewContorlCommandClient ¶
func NewContorlCommandClient(cc *grpc.ClientConn) ContorlCommandClient
type ContorlCommandServer ¶
type ContorlCommandServer interface {
// set boxd debug level
SetDebugLevel(context.Context, *DebugLevelRequest) (*BaseResponse, error)
UpdateNetworkID(context.Context, *UpdateNetworkIDRequest) (*BaseResponse, error)
GetNetworkID(context.Context, *GetNetworkIDRequest) (*GetNetworkIDResponse, error)
AddNode(context.Context, *AddNodeRequest) (*BaseResponse, error)
GetBlockHeight(context.Context, *GetBlockHeightRequest) (*GetBlockHeightResponse, error)
GetBlockHash(context.Context, *GetBlockHashRequest) (*GetBlockHashResponse, error)
GetBlockHeader(context.Context, *GetBlockRequest) (*GetBlockHeaderResponse, error)
GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
}
ContorlCommandServer is the server API for ContorlCommand service.
type ContractInfo ¶ added in v0.5.0
type ContractInfo struct {
Fee uint32 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
Failed bool `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
GasPrice uint64 `protobuf:"varint,5,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
Data string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
}
func (*ContractInfo) Descriptor ¶ added in v0.5.0
func (*ContractInfo) Descriptor() ([]byte, []int)
func (*ContractInfo) GetData ¶ added in v0.5.0
func (m *ContractInfo) GetData() string
func (*ContractInfo) GetFailed ¶ added in v0.5.0
func (m *ContractInfo) GetFailed() bool
func (*ContractInfo) GetFee ¶ added in v0.5.0
func (m *ContractInfo) GetFee() uint32
func (*ContractInfo) GetGasLimit ¶ added in v0.5.0
func (m *ContractInfo) GetGasLimit() uint64
func (*ContractInfo) GetGasPrice ¶ added in v0.5.0
func (m *ContractInfo) GetGasPrice() uint64
func (*ContractInfo) GetGasUsed ¶ added in v0.5.0
func (m *ContractInfo) GetGasUsed() uint64
func (*ContractInfo) GetNonce ¶ added in v0.5.0
func (m *ContractInfo) GetNonce() uint64
func (*ContractInfo) Marshal ¶ added in v0.5.0
func (m *ContractInfo) Marshal() (dAtA []byte, err error)
func (*ContractInfo) MarshalTo ¶ added in v0.5.0
func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*ContractInfo) ProtoMessage ¶ added in v0.5.0
func (*ContractInfo) ProtoMessage()
func (*ContractInfo) Reset ¶ added in v0.5.0
func (m *ContractInfo) Reset()
func (*ContractInfo) Size ¶ added in v0.5.0
func (m *ContractInfo) Size() (n int)
func (*ContractInfo) String ¶ added in v0.5.0
func (m *ContractInfo) String() string
func (*ContractInfo) Unmarshal ¶ added in v0.5.0
func (m *ContractInfo) Unmarshal(dAtA []byte) error
func (*ContractInfo) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *ContractInfo) XXX_DiscardUnknown()
func (*ContractInfo) XXX_Marshal ¶ added in v0.5.0
func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfo) XXX_Merge ¶ added in v0.5.0
func (m *ContractInfo) XXX_Merge(src proto.Message)
func (*ContractInfo) XXX_Size ¶ added in v0.5.0
func (m *ContractInfo) XXX_Size() int
func (*ContractInfo) XXX_Unmarshal ¶ added in v0.5.0
func (m *ContractInfo) XXX_Unmarshal(b []byte) error
type DatabaseCommandClient ¶
type DatabaseCommandClient interface {
// get all keys of database
GetDatabaseKeys(ctx context.Context, in *GetDatabaseKeysRequest, opts ...grpc.CallOption) (*GetDatabaseKeysResponse, error)
// get value of associate with passed key in database
GetDatabaseValue(ctx context.Context, in *GetDatabaseValueRequest, opts ...grpc.CallOption) (*GetDatabaseValueResponse, error)
}
DatabaseCommandClient is the client API for DatabaseCommand service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDatabaseCommandClient ¶
func NewDatabaseCommandClient(cc *grpc.ClientConn) DatabaseCommandClient
type DatabaseCommandServer ¶
type DatabaseCommandServer interface {
// get all keys of database
GetDatabaseKeys(context.Context, *GetDatabaseKeysRequest) (*GetDatabaseKeysResponse, error)
// get value of associate with passed key in database
GetDatabaseValue(context.Context, *GetDatabaseValueRequest) (*GetDatabaseValueResponse, error)
}
DatabaseCommandServer is the server API for DatabaseCommand service.
type DebugLevelRequest ¶
type DebugLevelRequest struct {
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
}
The request message containing debug level.
func (*DebugLevelRequest) Descriptor ¶
func (*DebugLevelRequest) Descriptor() ([]byte, []int)
func (*DebugLevelRequest) GetLevel ¶
func (m *DebugLevelRequest) GetLevel() string
func (*DebugLevelRequest) Marshal ¶
func (m *DebugLevelRequest) Marshal() (dAtA []byte, err error)
func (*DebugLevelRequest) MarshalTo ¶
func (m *DebugLevelRequest) MarshalTo(dAtA []byte) (int, error)
func (*DebugLevelRequest) ProtoMessage ¶
func (*DebugLevelRequest) ProtoMessage()
func (*DebugLevelRequest) Reset ¶
func (m *DebugLevelRequest) Reset()
func (*DebugLevelRequest) Size ¶
func (m *DebugLevelRequest) Size() (n int)
func (*DebugLevelRequest) String ¶
func (m *DebugLevelRequest) String() string
func (*DebugLevelRequest) Unmarshal ¶
func (m *DebugLevelRequest) Unmarshal(dAtA []byte) error
func (*DebugLevelRequest) XXX_DiscardUnknown ¶
func (m *DebugLevelRequest) XXX_DiscardUnknown()
func (*DebugLevelRequest) XXX_Marshal ¶
func (m *DebugLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugLevelRequest) XXX_Merge ¶
func (m *DebugLevelRequest) XXX_Merge(src proto.Message)
func (*DebugLevelRequest) XXX_Size ¶
func (m *DebugLevelRequest) XXX_Size() int
func (*DebugLevelRequest) XXX_Unmarshal ¶
func (m *DebugLevelRequest) XXX_Unmarshal(b []byte) error
type FaucetClient ¶ added in v0.3.0
type FaucetClient interface {
Claim(ctx context.Context, in *ClaimReq, opts ...grpc.CallOption) (*ClaimResp, error)
}
FaucetClient is the client API for Faucet service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFaucetClient ¶ added in v0.3.0
func NewFaucetClient(cc *grpc.ClientConn) FaucetClient
type FaucetServer ¶ added in v0.3.0
FaucetServer is the server API for Faucet service.
type FetchUtxosReq ¶ added in v0.3.0
type FetchUtxosReq struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
TokenHash string `protobuf:"bytes,3,opt,name=token_hash,json=tokenHash,proto3" json:"token_hash,omitempty"`
TokenIndex uint32 `protobuf:"varint,4,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
}
func (*FetchUtxosReq) Descriptor ¶ added in v0.3.0
func (*FetchUtxosReq) Descriptor() ([]byte, []int)
func (*FetchUtxosReq) GetAddr ¶ added in v0.3.0
func (m *FetchUtxosReq) GetAddr() string
func (*FetchUtxosReq) GetAmount ¶ added in v0.3.0
func (m *FetchUtxosReq) GetAmount() uint64
func (*FetchUtxosReq) GetTokenHash ¶ added in v0.3.1
func (m *FetchUtxosReq) GetTokenHash() string
func (*FetchUtxosReq) GetTokenIndex ¶ added in v0.3.1
func (m *FetchUtxosReq) GetTokenIndex() uint32
func (*FetchUtxosReq) Marshal ¶ added in v0.3.0
func (m *FetchUtxosReq) Marshal() (dAtA []byte, err error)
func (*FetchUtxosReq) MarshalTo ¶ added in v0.3.0
func (m *FetchUtxosReq) MarshalTo(dAtA []byte) (int, error)
func (*FetchUtxosReq) ProtoMessage ¶ added in v0.3.0
func (*FetchUtxosReq) ProtoMessage()
func (*FetchUtxosReq) Reset ¶ added in v0.3.0
func (m *FetchUtxosReq) Reset()
func (*FetchUtxosReq) Size ¶ added in v0.3.0
func (m *FetchUtxosReq) Size() (n int)
func (*FetchUtxosReq) String ¶ added in v0.3.0
func (m *FetchUtxosReq) String() string
func (*FetchUtxosReq) Unmarshal ¶ added in v0.3.0
func (m *FetchUtxosReq) Unmarshal(dAtA []byte) error
func (*FetchUtxosReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *FetchUtxosReq) XXX_DiscardUnknown()
func (*FetchUtxosReq) XXX_Marshal ¶ added in v0.3.0
func (m *FetchUtxosReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FetchUtxosReq) XXX_Merge ¶ added in v0.3.0
func (m *FetchUtxosReq) XXX_Merge(src proto.Message)
func (*FetchUtxosReq) XXX_Size ¶ added in v0.3.0
func (m *FetchUtxosReq) XXX_Size() int
func (*FetchUtxosReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *FetchUtxosReq) XXX_Unmarshal(b []byte) error
type FetchUtxosResp ¶ added in v0.3.0
type FetchUtxosResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Utxos []*Utxo `protobuf:"bytes,3,rep,name=utxos,proto3" json:"utxos,omitempty"`
}
func (*FetchUtxosResp) Descriptor ¶ added in v0.3.0
func (*FetchUtxosResp) Descriptor() ([]byte, []int)
func (*FetchUtxosResp) GetCode ¶ added in v0.3.0
func (m *FetchUtxosResp) GetCode() int32
func (*FetchUtxosResp) GetMessage ¶ added in v0.3.0
func (m *FetchUtxosResp) GetMessage() string
func (*FetchUtxosResp) GetUtxos ¶ added in v0.3.0
func (m *FetchUtxosResp) GetUtxos() []*Utxo
func (*FetchUtxosResp) Marshal ¶ added in v0.3.0
func (m *FetchUtxosResp) Marshal() (dAtA []byte, err error)
func (*FetchUtxosResp) MarshalTo ¶ added in v0.3.0
func (m *FetchUtxosResp) MarshalTo(dAtA []byte) (int, error)
func (*FetchUtxosResp) ProtoMessage ¶ added in v0.3.0
func (*FetchUtxosResp) ProtoMessage()
func (*FetchUtxosResp) Reset ¶ added in v0.3.0
func (m *FetchUtxosResp) Reset()
func (*FetchUtxosResp) Size ¶ added in v0.3.0
func (m *FetchUtxosResp) Size() (n int)
func (*FetchUtxosResp) String ¶ added in v0.3.0
func (m *FetchUtxosResp) String() string
func (*FetchUtxosResp) Unmarshal ¶ added in v0.3.0
func (m *FetchUtxosResp) Unmarshal(dAtA []byte) error
func (*FetchUtxosResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *FetchUtxosResp) XXX_DiscardUnknown()
func (*FetchUtxosResp) XXX_Marshal ¶ added in v0.3.0
func (m *FetchUtxosResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FetchUtxosResp) XXX_Merge ¶ added in v0.3.0
func (m *FetchUtxosResp) XXX_Merge(src proto.Message)
func (*FetchUtxosResp) XXX_Size ¶ added in v0.3.0
func (m *FetchUtxosResp) XXX_Size() int
func (*FetchUtxosResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *FetchUtxosResp) XXX_Unmarshal(b []byte) error
type GetBalanceReq ¶ added in v0.3.0
type GetBalanceReq struct {
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
}
func (*GetBalanceReq) Descriptor ¶ added in v0.3.0
func (*GetBalanceReq) Descriptor() ([]byte, []int)
func (*GetBalanceReq) GetAddrs ¶ added in v0.3.0
func (m *GetBalanceReq) GetAddrs() []string
func (*GetBalanceReq) Marshal ¶ added in v0.3.0
func (m *GetBalanceReq) Marshal() (dAtA []byte, err error)
func (*GetBalanceReq) MarshalTo ¶ added in v0.3.0
func (m *GetBalanceReq) MarshalTo(dAtA []byte) (int, error)
func (*GetBalanceReq) ProtoMessage ¶ added in v0.3.0
func (*GetBalanceReq) ProtoMessage()
func (*GetBalanceReq) Reset ¶ added in v0.3.0
func (m *GetBalanceReq) Reset()
func (*GetBalanceReq) Size ¶ added in v0.3.0
func (m *GetBalanceReq) Size() (n int)
func (*GetBalanceReq) String ¶ added in v0.3.0
func (m *GetBalanceReq) String() string
func (*GetBalanceReq) Unmarshal ¶ added in v0.3.0
func (m *GetBalanceReq) Unmarshal(dAtA []byte) error
func (*GetBalanceReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *GetBalanceReq) XXX_DiscardUnknown()
func (*GetBalanceReq) XXX_Marshal ¶ added in v0.3.0
func (m *GetBalanceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceReq) XXX_Merge ¶ added in v0.3.0
func (m *GetBalanceReq) XXX_Merge(src proto.Message)
func (*GetBalanceReq) XXX_Size ¶ added in v0.3.0
func (m *GetBalanceReq) XXX_Size() int
func (*GetBalanceReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *GetBalanceReq) XXX_Unmarshal(b []byte) error
type GetBalanceResp ¶ added in v0.3.0
type GetBalanceResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Balances []uint64 `protobuf:"varint,3,rep,packed,name=balances,proto3" json:"balances,omitempty"`
}
func (*GetBalanceResp) Descriptor ¶ added in v0.3.0
func (*GetBalanceResp) Descriptor() ([]byte, []int)
func (*GetBalanceResp) GetBalances ¶ added in v0.3.0
func (m *GetBalanceResp) GetBalances() []uint64
func (*GetBalanceResp) GetCode ¶ added in v0.3.0
func (m *GetBalanceResp) GetCode() int32
func (*GetBalanceResp) GetMessage ¶ added in v0.3.0
func (m *GetBalanceResp) GetMessage() string
func (*GetBalanceResp) Marshal ¶ added in v0.3.0
func (m *GetBalanceResp) Marshal() (dAtA []byte, err error)
func (*GetBalanceResp) MarshalTo ¶ added in v0.3.0
func (m *GetBalanceResp) MarshalTo(dAtA []byte) (int, error)
func (*GetBalanceResp) ProtoMessage ¶ added in v0.3.0
func (*GetBalanceResp) ProtoMessage()
func (*GetBalanceResp) Reset ¶ added in v0.3.0
func (m *GetBalanceResp) Reset()
func (*GetBalanceResp) Size ¶ added in v0.3.0
func (m *GetBalanceResp) Size() (n int)
func (*GetBalanceResp) String ¶ added in v0.3.0
func (m *GetBalanceResp) String() string
func (*GetBalanceResp) Unmarshal ¶ added in v0.3.0
func (m *GetBalanceResp) Unmarshal(dAtA []byte) error
func (*GetBalanceResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *GetBalanceResp) XXX_DiscardUnknown()
func (*GetBalanceResp) XXX_Marshal ¶ added in v0.3.0
func (m *GetBalanceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceResp) XXX_Merge ¶ added in v0.3.0
func (m *GetBalanceResp) XXX_Merge(src proto.Message)
func (*GetBalanceResp) XXX_Size ¶ added in v0.3.0
func (m *GetBalanceResp) XXX_Size() int
func (*GetBalanceResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *GetBalanceResp) XXX_Unmarshal(b []byte) error
type GetBlockHashRequest ¶
type GetBlockHashRequest struct {
Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*GetBlockHashRequest) Descriptor ¶
func (*GetBlockHashRequest) Descriptor() ([]byte, []int)
func (*GetBlockHashRequest) GetHeight ¶
func (m *GetBlockHashRequest) GetHeight() uint32
func (*GetBlockHashRequest) Marshal ¶
func (m *GetBlockHashRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockHashRequest) MarshalTo ¶
func (m *GetBlockHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHashRequest) ProtoMessage ¶
func (*GetBlockHashRequest) ProtoMessage()
func (*GetBlockHashRequest) Reset ¶
func (m *GetBlockHashRequest) Reset()
func (*GetBlockHashRequest) Size ¶
func (m *GetBlockHashRequest) Size() (n int)
func (*GetBlockHashRequest) String ¶
func (m *GetBlockHashRequest) String() string
func (*GetBlockHashRequest) Unmarshal ¶
func (m *GetBlockHashRequest) Unmarshal(dAtA []byte) error
func (*GetBlockHashRequest) XXX_DiscardUnknown ¶
func (m *GetBlockHashRequest) XXX_DiscardUnknown()
func (*GetBlockHashRequest) XXX_Marshal ¶
func (m *GetBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHashRequest) XXX_Merge ¶
func (m *GetBlockHashRequest) XXX_Merge(src proto.Message)
func (*GetBlockHashRequest) XXX_Size ¶
func (m *GetBlockHashRequest) XXX_Size() int
func (*GetBlockHashRequest) XXX_Unmarshal ¶
func (m *GetBlockHashRequest) XXX_Unmarshal(b []byte) error
type GetBlockHashResponse ¶
type GetBlockHashResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (*GetBlockHashResponse) Descriptor ¶
func (*GetBlockHashResponse) Descriptor() ([]byte, []int)
func (*GetBlockHashResponse) GetCode ¶
func (m *GetBlockHashResponse) GetCode() int32
func (*GetBlockHashResponse) GetHash ¶
func (m *GetBlockHashResponse) GetHash() string
func (*GetBlockHashResponse) GetMessage ¶
func (m *GetBlockHashResponse) GetMessage() string
func (*GetBlockHashResponse) Marshal ¶
func (m *GetBlockHashResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockHashResponse) MarshalTo ¶
func (m *GetBlockHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHashResponse) ProtoMessage ¶
func (*GetBlockHashResponse) ProtoMessage()
func (*GetBlockHashResponse) Reset ¶
func (m *GetBlockHashResponse) Reset()
func (*GetBlockHashResponse) Size ¶
func (m *GetBlockHashResponse) Size() (n int)
func (*GetBlockHashResponse) String ¶
func (m *GetBlockHashResponse) String() string
func (*GetBlockHashResponse) Unmarshal ¶
func (m *GetBlockHashResponse) Unmarshal(dAtA []byte) error
func (*GetBlockHashResponse) XXX_DiscardUnknown ¶
func (m *GetBlockHashResponse) XXX_DiscardUnknown()
func (*GetBlockHashResponse) XXX_Marshal ¶
func (m *GetBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHashResponse) XXX_Merge ¶
func (m *GetBlockHashResponse) XXX_Merge(src proto.Message)
func (*GetBlockHashResponse) XXX_Size ¶
func (m *GetBlockHashResponse) XXX_Size() int
func (*GetBlockHashResponse) XXX_Unmarshal ¶
func (m *GetBlockHashResponse) XXX_Unmarshal(b []byte) error
type GetBlockHeaderResponse ¶
type GetBlockHeaderResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Header *pb.BlockHeader `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
}
func (*GetBlockHeaderResponse) Descriptor ¶
func (*GetBlockHeaderResponse) Descriptor() ([]byte, []int)
func (*GetBlockHeaderResponse) GetCode ¶
func (m *GetBlockHeaderResponse) GetCode() int32
func (*GetBlockHeaderResponse) GetHeader ¶
func (m *GetBlockHeaderResponse) GetHeader() *pb.BlockHeader
func (*GetBlockHeaderResponse) GetMessage ¶
func (m *GetBlockHeaderResponse) GetMessage() string
func (*GetBlockHeaderResponse) Marshal ¶
func (m *GetBlockHeaderResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockHeaderResponse) MarshalTo ¶
func (m *GetBlockHeaderResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeaderResponse) ProtoMessage ¶
func (*GetBlockHeaderResponse) ProtoMessage()
func (*GetBlockHeaderResponse) Reset ¶
func (m *GetBlockHeaderResponse) Reset()
func (*GetBlockHeaderResponse) Size ¶
func (m *GetBlockHeaderResponse) Size() (n int)
func (*GetBlockHeaderResponse) String ¶
func (m *GetBlockHeaderResponse) String() string
func (*GetBlockHeaderResponse) Unmarshal ¶
func (m *GetBlockHeaderResponse) Unmarshal(dAtA []byte) error
func (*GetBlockHeaderResponse) XXX_DiscardUnknown ¶
func (m *GetBlockHeaderResponse) XXX_DiscardUnknown()
func (*GetBlockHeaderResponse) XXX_Marshal ¶
func (m *GetBlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeaderResponse) XXX_Merge ¶
func (m *GetBlockHeaderResponse) XXX_Merge(src proto.Message)
func (*GetBlockHeaderResponse) XXX_Size ¶
func (m *GetBlockHeaderResponse) XXX_Size() int
func (*GetBlockHeaderResponse) XXX_Unmarshal ¶
func (m *GetBlockHeaderResponse) XXX_Unmarshal(b []byte) error
type GetBlockHeightRequest ¶
type GetBlockHeightRequest struct {
}
func (*GetBlockHeightRequest) Descriptor ¶
func (*GetBlockHeightRequest) Descriptor() ([]byte, []int)
func (*GetBlockHeightRequest) Marshal ¶
func (m *GetBlockHeightRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockHeightRequest) MarshalTo ¶
func (m *GetBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeightRequest) ProtoMessage ¶
func (*GetBlockHeightRequest) ProtoMessage()
func (*GetBlockHeightRequest) Reset ¶
func (m *GetBlockHeightRequest) Reset()
func (*GetBlockHeightRequest) Size ¶
func (m *GetBlockHeightRequest) Size() (n int)
func (*GetBlockHeightRequest) String ¶
func (m *GetBlockHeightRequest) String() string
func (*GetBlockHeightRequest) Unmarshal ¶
func (m *GetBlockHeightRequest) Unmarshal(dAtA []byte) error
func (*GetBlockHeightRequest) XXX_DiscardUnknown ¶
func (m *GetBlockHeightRequest) XXX_DiscardUnknown()
func (*GetBlockHeightRequest) XXX_Marshal ¶
func (m *GetBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeightRequest) XXX_Merge ¶
func (m *GetBlockHeightRequest) XXX_Merge(src proto.Message)
func (*GetBlockHeightRequest) XXX_Size ¶
func (m *GetBlockHeightRequest) XXX_Size() int
func (*GetBlockHeightRequest) XXX_Unmarshal ¶
func (m *GetBlockHeightRequest) XXX_Unmarshal(b []byte) error
type GetBlockHeightResponse ¶
type GetBlockHeightResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}
func (*GetBlockHeightResponse) Descriptor ¶
func (*GetBlockHeightResponse) Descriptor() ([]byte, []int)
func (*GetBlockHeightResponse) GetCode ¶
func (m *GetBlockHeightResponse) GetCode() int32
func (*GetBlockHeightResponse) GetHeight ¶
func (m *GetBlockHeightResponse) GetHeight() uint32
func (*GetBlockHeightResponse) GetMessage ¶
func (m *GetBlockHeightResponse) GetMessage() string
func (*GetBlockHeightResponse) Marshal ¶
func (m *GetBlockHeightResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockHeightResponse) MarshalTo ¶
func (m *GetBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockHeightResponse) ProtoMessage ¶
func (*GetBlockHeightResponse) ProtoMessage()
func (*GetBlockHeightResponse) Reset ¶
func (m *GetBlockHeightResponse) Reset()
func (*GetBlockHeightResponse) Size ¶
func (m *GetBlockHeightResponse) Size() (n int)
func (*GetBlockHeightResponse) String ¶
func (m *GetBlockHeightResponse) String() string
func (*GetBlockHeightResponse) Unmarshal ¶
func (m *GetBlockHeightResponse) Unmarshal(dAtA []byte) error
func (*GetBlockHeightResponse) XXX_DiscardUnknown ¶
func (m *GetBlockHeightResponse) XXX_DiscardUnknown()
func (*GetBlockHeightResponse) XXX_Marshal ¶
func (m *GetBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeightResponse) XXX_Merge ¶
func (m *GetBlockHeightResponse) XXX_Merge(src proto.Message)
func (*GetBlockHeightResponse) XXX_Size ¶
func (m *GetBlockHeightResponse) XXX_Size() int
func (*GetBlockHeightResponse) XXX_Unmarshal ¶
func (m *GetBlockHeightResponse) XXX_Unmarshal(b []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct {
BlockHash string `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
}
func (*GetBlockRequest) Descriptor ¶
func (*GetBlockRequest) Descriptor() ([]byte, []int)
func (*GetBlockRequest) GetBlockHash ¶
func (m *GetBlockRequest) GetBlockHash() string
func (*GetBlockRequest) Marshal ¶
func (m *GetBlockRequest) Marshal() (dAtA []byte, err 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 GetBlockResponse ¶
type GetBlockResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Block *pb.Block `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
}
func (*GetBlockResponse) Descriptor ¶
func (*GetBlockResponse) Descriptor() ([]byte, []int)
func (*GetBlockResponse) GetBlock ¶
func (m *GetBlockResponse) GetBlock() *pb.Block
func (*GetBlockResponse) GetCode ¶
func (m *GetBlockResponse) GetCode() int32
func (*GetBlockResponse) GetMessage ¶
func (m *GetBlockResponse) GetMessage() string
func (*GetBlockResponse) Marshal ¶
func (m *GetBlockResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) Reset ¶
func (m *GetBlockResponse) Reset()
func (*GetBlockResponse) Size ¶
func (m *GetBlockResponse) Size() (n int)
func (*GetBlockResponse) String ¶
func (m *GetBlockResponse) String() string
func (*GetBlockResponse) Unmarshal ¶
func (m *GetBlockResponse) Unmarshal(dAtA []byte) error
func (*GetBlockResponse) XXX_DiscardUnknown ¶
func (m *GetBlockResponse) XXX_DiscardUnknown()
func (*GetBlockResponse) XXX_Marshal ¶
func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResponse) XXX_Merge ¶
func (m *GetBlockResponse) XXX_Merge(src proto.Message)
func (*GetBlockResponse) XXX_Size ¶
func (m *GetBlockResponse) XXX_Size() int
func (*GetBlockResponse) XXX_Unmarshal ¶
func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
type GetDatabaseKeysRequest ¶
type GetDatabaseKeysRequest struct {
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
Skip int32 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
}
func (*GetDatabaseKeysRequest) Descriptor ¶
func (*GetDatabaseKeysRequest) Descriptor() ([]byte, []int)
func (*GetDatabaseKeysRequest) GetLimit ¶
func (m *GetDatabaseKeysRequest) GetLimit() int32
func (*GetDatabaseKeysRequest) GetPrefix ¶
func (m *GetDatabaseKeysRequest) GetPrefix() string
func (*GetDatabaseKeysRequest) GetSkip ¶
func (m *GetDatabaseKeysRequest) GetSkip() int32
func (*GetDatabaseKeysRequest) GetTable ¶
func (m *GetDatabaseKeysRequest) GetTable() string
func (*GetDatabaseKeysRequest) Marshal ¶
func (m *GetDatabaseKeysRequest) Marshal() (dAtA []byte, err error)
func (*GetDatabaseKeysRequest) MarshalTo ¶
func (m *GetDatabaseKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetDatabaseKeysRequest) ProtoMessage ¶
func (*GetDatabaseKeysRequest) ProtoMessage()
func (*GetDatabaseKeysRequest) Reset ¶
func (m *GetDatabaseKeysRequest) Reset()
func (*GetDatabaseKeysRequest) Size ¶
func (m *GetDatabaseKeysRequest) Size() (n int)
func (*GetDatabaseKeysRequest) String ¶
func (m *GetDatabaseKeysRequest) String() string
func (*GetDatabaseKeysRequest) Unmarshal ¶
func (m *GetDatabaseKeysRequest) Unmarshal(dAtA []byte) error
func (*GetDatabaseKeysRequest) XXX_DiscardUnknown ¶
func (m *GetDatabaseKeysRequest) XXX_DiscardUnknown()
func (*GetDatabaseKeysRequest) XXX_Marshal ¶
func (m *GetDatabaseKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseKeysRequest) XXX_Merge ¶
func (m *GetDatabaseKeysRequest) XXX_Merge(src proto.Message)
func (*GetDatabaseKeysRequest) XXX_Size ¶
func (m *GetDatabaseKeysRequest) XXX_Size() int
func (*GetDatabaseKeysRequest) XXX_Unmarshal ¶
func (m *GetDatabaseKeysRequest) XXX_Unmarshal(b []byte) error
type GetDatabaseKeysResponse ¶
type GetDatabaseKeysResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Skip int32 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
Keys []string `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
}
func (*GetDatabaseKeysResponse) Descriptor ¶
func (*GetDatabaseKeysResponse) Descriptor() ([]byte, []int)
func (*GetDatabaseKeysResponse) GetCode ¶
func (m *GetDatabaseKeysResponse) GetCode() int32
func (*GetDatabaseKeysResponse) GetKeys ¶
func (m *GetDatabaseKeysResponse) GetKeys() []string
func (*GetDatabaseKeysResponse) GetMessage ¶
func (m *GetDatabaseKeysResponse) GetMessage() string
func (*GetDatabaseKeysResponse) GetSkip ¶
func (m *GetDatabaseKeysResponse) GetSkip() int32
func (*GetDatabaseKeysResponse) Marshal ¶
func (m *GetDatabaseKeysResponse) Marshal() (dAtA []byte, err error)
func (*GetDatabaseKeysResponse) MarshalTo ¶
func (m *GetDatabaseKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetDatabaseKeysResponse) ProtoMessage ¶
func (*GetDatabaseKeysResponse) ProtoMessage()
func (*GetDatabaseKeysResponse) Reset ¶
func (m *GetDatabaseKeysResponse) Reset()
func (*GetDatabaseKeysResponse) Size ¶
func (m *GetDatabaseKeysResponse) Size() (n int)
func (*GetDatabaseKeysResponse) String ¶
func (m *GetDatabaseKeysResponse) String() string
func (*GetDatabaseKeysResponse) Unmarshal ¶
func (m *GetDatabaseKeysResponse) Unmarshal(dAtA []byte) error
func (*GetDatabaseKeysResponse) XXX_DiscardUnknown ¶
func (m *GetDatabaseKeysResponse) XXX_DiscardUnknown()
func (*GetDatabaseKeysResponse) XXX_Marshal ¶
func (m *GetDatabaseKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseKeysResponse) XXX_Merge ¶
func (m *GetDatabaseKeysResponse) XXX_Merge(src proto.Message)
func (*GetDatabaseKeysResponse) XXX_Size ¶
func (m *GetDatabaseKeysResponse) XXX_Size() int
func (*GetDatabaseKeysResponse) XXX_Unmarshal ¶
func (m *GetDatabaseKeysResponse) XXX_Unmarshal(b []byte) error
type GetDatabaseValueRequest ¶
type GetDatabaseValueRequest struct {
Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}
func (*GetDatabaseValueRequest) Descriptor ¶
func (*GetDatabaseValueRequest) Descriptor() ([]byte, []int)
func (*GetDatabaseValueRequest) GetKey ¶
func (m *GetDatabaseValueRequest) GetKey() string
func (*GetDatabaseValueRequest) GetTable ¶
func (m *GetDatabaseValueRequest) GetTable() string
func (*GetDatabaseValueRequest) Marshal ¶
func (m *GetDatabaseValueRequest) Marshal() (dAtA []byte, err error)
func (*GetDatabaseValueRequest) MarshalTo ¶
func (m *GetDatabaseValueRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetDatabaseValueRequest) ProtoMessage ¶
func (*GetDatabaseValueRequest) ProtoMessage()
func (*GetDatabaseValueRequest) Reset ¶
func (m *GetDatabaseValueRequest) Reset()
func (*GetDatabaseValueRequest) Size ¶
func (m *GetDatabaseValueRequest) Size() (n int)
func (*GetDatabaseValueRequest) String ¶
func (m *GetDatabaseValueRequest) String() string
func (*GetDatabaseValueRequest) Unmarshal ¶
func (m *GetDatabaseValueRequest) Unmarshal(dAtA []byte) error
func (*GetDatabaseValueRequest) XXX_DiscardUnknown ¶
func (m *GetDatabaseValueRequest) XXX_DiscardUnknown()
func (*GetDatabaseValueRequest) XXX_Marshal ¶
func (m *GetDatabaseValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseValueRequest) XXX_Merge ¶
func (m *GetDatabaseValueRequest) XXX_Merge(src proto.Message)
func (*GetDatabaseValueRequest) XXX_Size ¶
func (m *GetDatabaseValueRequest) XXX_Size() int
func (*GetDatabaseValueRequest) XXX_Unmarshal ¶
func (m *GetDatabaseValueRequest) XXX_Unmarshal(b []byte) error
type GetDatabaseValueResponse ¶
type GetDatabaseValueResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}
func (*GetDatabaseValueResponse) Descriptor ¶
func (*GetDatabaseValueResponse) Descriptor() ([]byte, []int)
func (*GetDatabaseValueResponse) GetCode ¶
func (m *GetDatabaseValueResponse) GetCode() int32
func (*GetDatabaseValueResponse) GetMessage ¶
func (m *GetDatabaseValueResponse) GetMessage() string
func (*GetDatabaseValueResponse) GetValue ¶
func (m *GetDatabaseValueResponse) GetValue() []byte
func (*GetDatabaseValueResponse) Marshal ¶
func (m *GetDatabaseValueResponse) Marshal() (dAtA []byte, err error)
func (*GetDatabaseValueResponse) MarshalTo ¶
func (m *GetDatabaseValueResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetDatabaseValueResponse) ProtoMessage ¶
func (*GetDatabaseValueResponse) ProtoMessage()
func (*GetDatabaseValueResponse) Reset ¶
func (m *GetDatabaseValueResponse) Reset()
func (*GetDatabaseValueResponse) Size ¶
func (m *GetDatabaseValueResponse) Size() (n int)
func (*GetDatabaseValueResponse) String ¶
func (m *GetDatabaseValueResponse) String() string
func (*GetDatabaseValueResponse) Unmarshal ¶
func (m *GetDatabaseValueResponse) Unmarshal(dAtA []byte) error
func (*GetDatabaseValueResponse) XXX_DiscardUnknown ¶
func (m *GetDatabaseValueResponse) XXX_DiscardUnknown()
func (*GetDatabaseValueResponse) XXX_Marshal ¶
func (m *GetDatabaseValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseValueResponse) XXX_Merge ¶
func (m *GetDatabaseValueResponse) XXX_Merge(src proto.Message)
func (*GetDatabaseValueResponse) XXX_Size ¶
func (m *GetDatabaseValueResponse) XXX_Size() int
func (*GetDatabaseValueResponse) XXX_Unmarshal ¶
func (m *GetDatabaseValueResponse) XXX_Unmarshal(b []byte) error
type GetFeePriceRequest ¶
type GetFeePriceRequest struct {
}
func (*GetFeePriceRequest) Descriptor ¶
func (*GetFeePriceRequest) Descriptor() ([]byte, []int)
func (*GetFeePriceRequest) Marshal ¶
func (m *GetFeePriceRequest) Marshal() (dAtA []byte, err error)
func (*GetFeePriceRequest) MarshalTo ¶
func (m *GetFeePriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetFeePriceRequest) ProtoMessage ¶
func (*GetFeePriceRequest) ProtoMessage()
func (*GetFeePriceRequest) Reset ¶
func (m *GetFeePriceRequest) Reset()
func (*GetFeePriceRequest) Size ¶
func (m *GetFeePriceRequest) Size() (n int)
func (*GetFeePriceRequest) String ¶
func (m *GetFeePriceRequest) String() string
func (*GetFeePriceRequest) Unmarshal ¶
func (m *GetFeePriceRequest) Unmarshal(dAtA []byte) error
func (*GetFeePriceRequest) XXX_DiscardUnknown ¶
func (m *GetFeePriceRequest) XXX_DiscardUnknown()
func (*GetFeePriceRequest) XXX_Marshal ¶
func (m *GetFeePriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeePriceRequest) XXX_Merge ¶
func (m *GetFeePriceRequest) XXX_Merge(src proto.Message)
func (*GetFeePriceRequest) XXX_Size ¶
func (m *GetFeePriceRequest) XXX_Size() int
func (*GetFeePriceRequest) XXX_Unmarshal ¶
func (m *GetFeePriceRequest) XXX_Unmarshal(b []byte) error
type GetFeePriceResponse ¶
type GetFeePriceResponse struct {
BoxPerByte uint64 `protobuf:"varint,1,opt,name=box_per_byte,json=boxPerByte,proto3" json:"box_per_byte,omitempty"`
}
func (*GetFeePriceResponse) Descriptor ¶
func (*GetFeePriceResponse) Descriptor() ([]byte, []int)
func (*GetFeePriceResponse) GetBoxPerByte ¶
func (m *GetFeePriceResponse) GetBoxPerByte() uint64
func (*GetFeePriceResponse) Marshal ¶
func (m *GetFeePriceResponse) Marshal() (dAtA []byte, err error)
func (*GetFeePriceResponse) MarshalTo ¶
func (m *GetFeePriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetFeePriceResponse) ProtoMessage ¶
func (*GetFeePriceResponse) ProtoMessage()
func (*GetFeePriceResponse) Reset ¶
func (m *GetFeePriceResponse) Reset()
func (*GetFeePriceResponse) Size ¶
func (m *GetFeePriceResponse) Size() (n int)
func (*GetFeePriceResponse) String ¶
func (m *GetFeePriceResponse) String() string
func (*GetFeePriceResponse) Unmarshal ¶
func (m *GetFeePriceResponse) Unmarshal(dAtA []byte) error
func (*GetFeePriceResponse) XXX_DiscardUnknown ¶
func (m *GetFeePriceResponse) XXX_DiscardUnknown()
func (*GetFeePriceResponse) XXX_Marshal ¶
func (m *GetFeePriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeePriceResponse) XXX_Merge ¶
func (m *GetFeePriceResponse) XXX_Merge(src proto.Message)
func (*GetFeePriceResponse) XXX_Size ¶
func (m *GetFeePriceResponse) XXX_Size() int
func (*GetFeePriceResponse) XXX_Unmarshal ¶
func (m *GetFeePriceResponse) XXX_Unmarshal(b []byte) error
type GetNetworkIDRequest ¶ added in v0.3.0
type GetNetworkIDRequest struct {
}
func (*GetNetworkIDRequest) Descriptor ¶ added in v0.3.0
func (*GetNetworkIDRequest) Descriptor() ([]byte, []int)
func (*GetNetworkIDRequest) Marshal ¶ added in v0.3.0
func (m *GetNetworkIDRequest) Marshal() (dAtA []byte, err error)
func (*GetNetworkIDRequest) MarshalTo ¶ added in v0.3.0
func (m *GetNetworkIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetNetworkIDRequest) ProtoMessage ¶ added in v0.3.0
func (*GetNetworkIDRequest) ProtoMessage()
func (*GetNetworkIDRequest) Reset ¶ added in v0.3.0
func (m *GetNetworkIDRequest) Reset()
func (*GetNetworkIDRequest) Size ¶ added in v0.3.0
func (m *GetNetworkIDRequest) Size() (n int)
func (*GetNetworkIDRequest) String ¶ added in v0.3.0
func (m *GetNetworkIDRequest) String() string
func (*GetNetworkIDRequest) Unmarshal ¶ added in v0.3.0
func (m *GetNetworkIDRequest) Unmarshal(dAtA []byte) error
func (*GetNetworkIDRequest) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *GetNetworkIDRequest) XXX_DiscardUnknown()
func (*GetNetworkIDRequest) XXX_Marshal ¶ added in v0.3.0
func (m *GetNetworkIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNetworkIDRequest) XXX_Merge ¶ added in v0.3.0
func (m *GetNetworkIDRequest) XXX_Merge(src proto.Message)
func (*GetNetworkIDRequest) XXX_Size ¶ added in v0.3.0
func (m *GetNetworkIDRequest) XXX_Size() int
func (*GetNetworkIDRequest) XXX_Unmarshal ¶ added in v0.3.0
func (m *GetNetworkIDRequest) XXX_Unmarshal(b []byte) error
type GetNetworkIDResponse ¶ added in v0.3.0
type GetNetworkIDResponse struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Literal string `protobuf:"bytes,2,opt,name=literal,proto3" json:"literal,omitempty"`
}
func (*GetNetworkIDResponse) Descriptor ¶ added in v0.3.0
func (*GetNetworkIDResponse) Descriptor() ([]byte, []int)
func (*GetNetworkIDResponse) GetId ¶ added in v0.3.0
func (m *GetNetworkIDResponse) GetId() uint32
func (*GetNetworkIDResponse) GetLiteral ¶ added in v0.3.0
func (m *GetNetworkIDResponse) GetLiteral() string
func (*GetNetworkIDResponse) Marshal ¶ added in v0.3.0
func (m *GetNetworkIDResponse) Marshal() (dAtA []byte, err error)
func (*GetNetworkIDResponse) MarshalTo ¶ added in v0.3.0
func (m *GetNetworkIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetNetworkIDResponse) ProtoMessage ¶ added in v0.3.0
func (*GetNetworkIDResponse) ProtoMessage()
func (*GetNetworkIDResponse) Reset ¶ added in v0.3.0
func (m *GetNetworkIDResponse) Reset()
func (*GetNetworkIDResponse) Size ¶ added in v0.3.0
func (m *GetNetworkIDResponse) Size() (n int)
func (*GetNetworkIDResponse) String ¶ added in v0.3.0
func (m *GetNetworkIDResponse) String() string
func (*GetNetworkIDResponse) Unmarshal ¶ added in v0.3.0
func (m *GetNetworkIDResponse) Unmarshal(dAtA []byte) error
func (*GetNetworkIDResponse) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *GetNetworkIDResponse) XXX_DiscardUnknown()
func (*GetNetworkIDResponse) XXX_Marshal ¶ added in v0.3.0
func (m *GetNetworkIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNetworkIDResponse) XXX_Merge ¶ added in v0.3.0
func (m *GetNetworkIDResponse) XXX_Merge(src proto.Message)
func (*GetNetworkIDResponse) XXX_Size ¶ added in v0.3.0
func (m *GetNetworkIDResponse) XXX_Size() int
func (*GetNetworkIDResponse) XXX_Unmarshal ¶ added in v0.3.0
func (m *GetNetworkIDResponse) XXX_Unmarshal(b []byte) error
type GetNodeInfoRequest ¶
type GetNodeInfoRequest struct {
}
func (*GetNodeInfoRequest) Descriptor ¶
func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
func (*GetNodeInfoRequest) Marshal ¶
func (m *GetNodeInfoRequest) Marshal() (dAtA []byte, err error)
func (*GetNodeInfoRequest) MarshalTo ¶
func (m *GetNodeInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetNodeInfoRequest) ProtoMessage ¶
func (*GetNodeInfoRequest) ProtoMessage()
func (*GetNodeInfoRequest) Reset ¶
func (m *GetNodeInfoRequest) Reset()
func (*GetNodeInfoRequest) Size ¶
func (m *GetNodeInfoRequest) Size() (n int)
func (*GetNodeInfoRequest) String ¶
func (m *GetNodeInfoRequest) String() string
func (*GetNodeInfoRequest) Unmarshal ¶
func (m *GetNodeInfoRequest) Unmarshal(dAtA []byte) error
func (*GetNodeInfoRequest) XXX_DiscardUnknown ¶
func (m *GetNodeInfoRequest) XXX_DiscardUnknown()
func (*GetNodeInfoRequest) XXX_Marshal ¶
func (m *GetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeInfoRequest) XXX_Merge ¶
func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message)
func (*GetNodeInfoRequest) XXX_Size ¶
func (m *GetNodeInfoRequest) XXX_Size() int
func (*GetNodeInfoRequest) XXX_Unmarshal ¶
func (m *GetNodeInfoRequest) XXX_Unmarshal(b []byte) error
type GetNodeInfoResponse ¶
type GetNodeInfoResponse struct {
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
}
func (*GetNodeInfoResponse) Descriptor ¶
func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
func (*GetNodeInfoResponse) GetNodes ¶
func (m *GetNodeInfoResponse) GetNodes() []*Node
func (*GetNodeInfoResponse) Marshal ¶
func (m *GetNodeInfoResponse) Marshal() (dAtA []byte, err error)
func (*GetNodeInfoResponse) MarshalTo ¶
func (m *GetNodeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetNodeInfoResponse) ProtoMessage ¶
func (*GetNodeInfoResponse) ProtoMessage()
func (*GetNodeInfoResponse) Reset ¶
func (m *GetNodeInfoResponse) Reset()
func (*GetNodeInfoResponse) Size ¶
func (m *GetNodeInfoResponse) Size() (n int)
func (*GetNodeInfoResponse) String ¶
func (m *GetNodeInfoResponse) String() string
func (*GetNodeInfoResponse) Unmarshal ¶
func (m *GetNodeInfoResponse) Unmarshal(dAtA []byte) error
func (*GetNodeInfoResponse) XXX_DiscardUnknown ¶
func (m *GetNodeInfoResponse) XXX_DiscardUnknown()
func (*GetNodeInfoResponse) XXX_Marshal ¶
func (m *GetNodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeInfoResponse) XXX_Merge ¶
func (m *GetNodeInfoResponse) XXX_Merge(src proto.Message)
func (*GetNodeInfoResponse) XXX_Size ¶
func (m *GetNodeInfoResponse) XXX_Size() int
func (*GetNodeInfoResponse) XXX_Unmarshal ¶
func (m *GetNodeInfoResponse) XXX_Unmarshal(b []byte) error
type GetRawTransactionRequest ¶
type GetRawTransactionRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (*GetRawTransactionRequest) Descriptor ¶
func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)
func (*GetRawTransactionRequest) GetHash ¶
func (m *GetRawTransactionRequest) GetHash() []byte
func (*GetRawTransactionRequest) Marshal ¶
func (m *GetRawTransactionRequest) Marshal() (dAtA []byte, err error)
func (*GetRawTransactionRequest) MarshalTo ¶
func (m *GetRawTransactionRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetRawTransactionRequest) ProtoMessage ¶
func (*GetRawTransactionRequest) ProtoMessage()
func (*GetRawTransactionRequest) Reset ¶
func (m *GetRawTransactionRequest) Reset()
func (*GetRawTransactionRequest) Size ¶
func (m *GetRawTransactionRequest) Size() (n int)
func (*GetRawTransactionRequest) String ¶
func (m *GetRawTransactionRequest) String() string
func (*GetRawTransactionRequest) Unmarshal ¶
func (m *GetRawTransactionRequest) Unmarshal(dAtA []byte) error
func (*GetRawTransactionRequest) XXX_DiscardUnknown ¶
func (m *GetRawTransactionRequest) XXX_DiscardUnknown()
func (*GetRawTransactionRequest) XXX_Marshal ¶
func (m *GetRawTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawTransactionRequest) XXX_Merge ¶
func (m *GetRawTransactionRequest) XXX_Merge(src proto.Message)
func (*GetRawTransactionRequest) XXX_Size ¶
func (m *GetRawTransactionRequest) XXX_Size() int
func (*GetRawTransactionRequest) XXX_Unmarshal ¶
func (m *GetRawTransactionRequest) XXX_Unmarshal(b []byte) error
type GetRawTransactionResponse ¶
type GetRawTransactionResponse struct {
Tx *pb.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (*GetRawTransactionResponse) Descriptor ¶
func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)
func (*GetRawTransactionResponse) GetTx ¶
func (m *GetRawTransactionResponse) GetTx() *pb.Transaction
func (*GetRawTransactionResponse) Marshal ¶
func (m *GetRawTransactionResponse) Marshal() (dAtA []byte, err error)
func (*GetRawTransactionResponse) MarshalTo ¶
func (m *GetRawTransactionResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetRawTransactionResponse) ProtoMessage ¶
func (*GetRawTransactionResponse) ProtoMessage()
func (*GetRawTransactionResponse) Reset ¶
func (m *GetRawTransactionResponse) Reset()
func (*GetRawTransactionResponse) Size ¶
func (m *GetRawTransactionResponse) Size() (n int)
func (*GetRawTransactionResponse) String ¶
func (m *GetRawTransactionResponse) String() string
func (*GetRawTransactionResponse) Unmarshal ¶
func (m *GetRawTransactionResponse) Unmarshal(dAtA []byte) error
func (*GetRawTransactionResponse) XXX_DiscardUnknown ¶
func (m *GetRawTransactionResponse) XXX_DiscardUnknown()
func (*GetRawTransactionResponse) XXX_Marshal ¶
func (m *GetRawTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawTransactionResponse) XXX_Merge ¶
func (m *GetRawTransactionResponse) XXX_Merge(src proto.Message)
func (*GetRawTransactionResponse) XXX_Size ¶
func (m *GetRawTransactionResponse) XXX_Size() int
func (*GetRawTransactionResponse) XXX_Unmarshal ¶
func (m *GetRawTransactionResponse) XXX_Unmarshal(b []byte) error
type GetTokenBalanceReq ¶ added in v0.3.0
type GetTokenBalanceReq struct {
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
TokenHash string `protobuf:"bytes,2,opt,name=token_hash,json=tokenHash,proto3" json:"token_hash,omitempty"`
TokenIndex uint32 `protobuf:"varint,3,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
}
func (*GetTokenBalanceReq) Descriptor ¶ added in v0.3.0
func (*GetTokenBalanceReq) Descriptor() ([]byte, []int)
func (*GetTokenBalanceReq) GetAddrs ¶ added in v0.3.0
func (m *GetTokenBalanceReq) GetAddrs() []string
func (*GetTokenBalanceReq) GetTokenHash ¶ added in v0.3.1
func (m *GetTokenBalanceReq) GetTokenHash() string
func (*GetTokenBalanceReq) GetTokenIndex ¶ added in v0.3.1
func (m *GetTokenBalanceReq) GetTokenIndex() uint32
func (*GetTokenBalanceReq) Marshal ¶ added in v0.3.0
func (m *GetTokenBalanceReq) Marshal() (dAtA []byte, err error)
func (*GetTokenBalanceReq) MarshalTo ¶ added in v0.3.0
func (m *GetTokenBalanceReq) MarshalTo(dAtA []byte) (int, error)
func (*GetTokenBalanceReq) ProtoMessage ¶ added in v0.3.0
func (*GetTokenBalanceReq) ProtoMessage()
func (*GetTokenBalanceReq) Reset ¶ added in v0.3.0
func (m *GetTokenBalanceReq) Reset()
func (*GetTokenBalanceReq) Size ¶ added in v0.3.0
func (m *GetTokenBalanceReq) Size() (n int)
func (*GetTokenBalanceReq) String ¶ added in v0.3.0
func (m *GetTokenBalanceReq) String() string
func (*GetTokenBalanceReq) Unmarshal ¶ added in v0.3.0
func (m *GetTokenBalanceReq) Unmarshal(dAtA []byte) error
func (*GetTokenBalanceReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *GetTokenBalanceReq) XXX_DiscardUnknown()
func (*GetTokenBalanceReq) XXX_Marshal ¶ added in v0.3.0
func (m *GetTokenBalanceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenBalanceReq) XXX_Merge ¶ added in v0.3.0
func (m *GetTokenBalanceReq) XXX_Merge(src proto.Message)
func (*GetTokenBalanceReq) XXX_Size ¶ added in v0.3.0
func (m *GetTokenBalanceReq) XXX_Size() int
func (*GetTokenBalanceReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *GetTokenBalanceReq) XXX_Unmarshal(b []byte) error
type ListenBlocksReq ¶ added in v0.3.0
type ListenBlocksReq struct {
}
func (*ListenBlocksReq) Descriptor ¶ added in v0.3.0
func (*ListenBlocksReq) Descriptor() ([]byte, []int)
func (*ListenBlocksReq) Marshal ¶ added in v0.3.0
func (m *ListenBlocksReq) Marshal() (dAtA []byte, err error)
func (*ListenBlocksReq) MarshalTo ¶ added in v0.3.0
func (m *ListenBlocksReq) MarshalTo(dAtA []byte) (int, error)
func (*ListenBlocksReq) ProtoMessage ¶ added in v0.3.0
func (*ListenBlocksReq) ProtoMessage()
func (*ListenBlocksReq) Reset ¶ added in v0.3.0
func (m *ListenBlocksReq) Reset()
func (*ListenBlocksReq) Size ¶ added in v0.3.0
func (m *ListenBlocksReq) Size() (n int)
func (*ListenBlocksReq) String ¶ added in v0.3.0
func (m *ListenBlocksReq) String() string
func (*ListenBlocksReq) Unmarshal ¶ added in v0.3.0
func (m *ListenBlocksReq) Unmarshal(dAtA []byte) error
func (*ListenBlocksReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ListenBlocksReq) XXX_DiscardUnknown()
func (*ListenBlocksReq) XXX_Marshal ¶ added in v0.3.0
func (m *ListenBlocksReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenBlocksReq) XXX_Merge ¶ added in v0.3.0
func (m *ListenBlocksReq) XXX_Merge(src proto.Message)
func (*ListenBlocksReq) XXX_Size ¶ added in v0.3.0
func (m *ListenBlocksReq) XXX_Size() int
func (*ListenBlocksReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *ListenBlocksReq) XXX_Unmarshal(b []byte) error
type Logs ¶ added in v0.5.0
type Logs struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Logs []*Logs_LogDetail `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"`
}
func (*Logs) Descriptor ¶ added in v0.5.0
func (*Logs) GetLogs ¶ added in v0.5.0
func (m *Logs) GetLogs() []*Logs_LogDetail
func (*Logs) GetMessage ¶ added in v0.5.0
func (*Logs) ProtoMessage ¶ added in v0.5.0
func (*Logs) ProtoMessage()
func (*Logs) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Logs) XXX_DiscardUnknown()
func (*Logs) XXX_Marshal ¶ added in v0.5.0
func (*Logs) XXX_Unmarshal ¶ added in v0.5.0
type LogsReq ¶ added in v0.5.0
type LogsReq struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
From uint32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
Topics []*LogsReqTopiclist `protobuf:"bytes,5,rep,name=topics,proto3" json:"topics,omitempty"`
}
func (*LogsReq) Descriptor ¶ added in v0.5.0
func (*LogsReq) GetAddresses ¶ added in v0.5.0
func (*LogsReq) GetTopics ¶ added in v0.5.0
func (m *LogsReq) GetTopics() []*LogsReqTopiclist
func (*LogsReq) ProtoMessage ¶ added in v0.5.0
func (*LogsReq) ProtoMessage()
func (*LogsReq) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *LogsReq) XXX_DiscardUnknown()
func (*LogsReq) XXX_Marshal ¶ added in v0.5.0
func (*LogsReq) XXX_Unmarshal ¶ added in v0.5.0
type LogsReqTopiclist ¶ added in v0.5.0
type LogsReqTopiclist struct {
Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
}
func (*LogsReqTopiclist) Descriptor ¶ added in v0.5.0
func (*LogsReqTopiclist) Descriptor() ([]byte, []int)
func (*LogsReqTopiclist) GetTopics ¶ added in v0.5.0
func (m *LogsReqTopiclist) GetTopics() []string
func (*LogsReqTopiclist) Marshal ¶ added in v0.5.0
func (m *LogsReqTopiclist) Marshal() (dAtA []byte, err error)
func (*LogsReqTopiclist) MarshalTo ¶ added in v0.5.0
func (m *LogsReqTopiclist) MarshalTo(dAtA []byte) (int, error)
func (*LogsReqTopiclist) ProtoMessage ¶ added in v0.5.0
func (*LogsReqTopiclist) ProtoMessage()
func (*LogsReqTopiclist) Reset ¶ added in v0.5.0
func (m *LogsReqTopiclist) Reset()
func (*LogsReqTopiclist) Size ¶ added in v0.5.0
func (m *LogsReqTopiclist) Size() (n int)
func (*LogsReqTopiclist) String ¶ added in v0.5.0
func (m *LogsReqTopiclist) String() string
func (*LogsReqTopiclist) Unmarshal ¶ added in v0.5.0
func (m *LogsReqTopiclist) Unmarshal(dAtA []byte) error
func (*LogsReqTopiclist) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *LogsReqTopiclist) XXX_DiscardUnknown()
func (*LogsReqTopiclist) XXX_Marshal ¶ added in v0.5.0
func (m *LogsReqTopiclist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogsReqTopiclist) XXX_Merge ¶ added in v0.5.0
func (m *LogsReqTopiclist) XXX_Merge(src proto.Message)
func (*LogsReqTopiclist) XXX_Size ¶ added in v0.5.0
func (m *LogsReqTopiclist) XXX_Size() int
func (*LogsReqTopiclist) XXX_Unmarshal ¶ added in v0.5.0
func (m *LogsReqTopiclist) XXX_Unmarshal(b []byte) error
type Logs_LogDetail ¶ added in v0.5.0
type Logs_LogDetail struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" 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 []byte `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
BlockHash []byte `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
}
func (*Logs_LogDetail) Descriptor ¶ added in v0.5.0
func (*Logs_LogDetail) Descriptor() ([]byte, []int)
func (*Logs_LogDetail) GetAddress ¶ added in v0.5.0
func (m *Logs_LogDetail) GetAddress() []byte
func (*Logs_LogDetail) GetBlockHash ¶ added in v0.5.0
func (m *Logs_LogDetail) GetBlockHash() []byte
func (*Logs_LogDetail) GetBlockNumber ¶ added in v0.5.0
func (m *Logs_LogDetail) GetBlockNumber() uint64
func (*Logs_LogDetail) GetData ¶ added in v0.5.0
func (m *Logs_LogDetail) GetData() []byte
func (*Logs_LogDetail) GetIndex ¶ added in v0.5.0
func (m *Logs_LogDetail) GetIndex() uint32
func (*Logs_LogDetail) GetRemoved ¶ added in v0.5.0
func (m *Logs_LogDetail) GetRemoved() bool
func (*Logs_LogDetail) GetTopics ¶ added in v0.5.0
func (m *Logs_LogDetail) GetTopics() [][]byte
func (*Logs_LogDetail) GetTxHash ¶ added in v0.5.0
func (m *Logs_LogDetail) GetTxHash() []byte
func (*Logs_LogDetail) GetTxIndex ¶ added in v0.5.0
func (m *Logs_LogDetail) GetTxIndex() uint32
func (*Logs_LogDetail) Marshal ¶ added in v0.5.0
func (m *Logs_LogDetail) Marshal() (dAtA []byte, err error)
func (*Logs_LogDetail) MarshalTo ¶ added in v0.5.0
func (m *Logs_LogDetail) MarshalTo(dAtA []byte) (int, error)
func (*Logs_LogDetail) ProtoMessage ¶ added in v0.5.0
func (*Logs_LogDetail) ProtoMessage()
func (*Logs_LogDetail) Reset ¶ added in v0.5.0
func (m *Logs_LogDetail) Reset()
func (*Logs_LogDetail) Size ¶ added in v0.5.0
func (m *Logs_LogDetail) Size() (n int)
func (*Logs_LogDetail) String ¶ added in v0.5.0
func (m *Logs_LogDetail) String() string
func (*Logs_LogDetail) Unmarshal ¶ added in v0.5.0
func (m *Logs_LogDetail) Unmarshal(dAtA []byte) error
func (*Logs_LogDetail) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Logs_LogDetail) XXX_DiscardUnknown()
func (*Logs_LogDetail) XXX_Marshal ¶ added in v0.5.0
func (m *Logs_LogDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Logs_LogDetail) XXX_Merge ¶ added in v0.5.0
func (m *Logs_LogDetail) XXX_Merge(src proto.Message)
func (*Logs_LogDetail) XXX_Size ¶ added in v0.5.0
func (m *Logs_LogDetail) XXX_Size() int
func (*Logs_LogDetail) XXX_Unmarshal ¶ added in v0.5.0
func (m *Logs_LogDetail) XXX_Unmarshal(b []byte) error
type MakeCombineTx ¶ added in v0.5.0
type MakeCombineTx struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
GasPrice uint64 `protobuf:"varint,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
TokenHash string `protobuf:"bytes,3,opt,name=token_hash,json=tokenHash,proto3" json:"token_hash,omitempty"`
TokenIndex uint32 `protobuf:"varint,4,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
}
func (*MakeCombineTx) Descriptor ¶ added in v0.5.0
func (*MakeCombineTx) Descriptor() ([]byte, []int)
func (*MakeCombineTx) GetAddr ¶ added in v0.5.0
func (m *MakeCombineTx) GetAddr() string
func (*MakeCombineTx) GetGasPrice ¶ added in v0.5.0
func (m *MakeCombineTx) GetGasPrice() uint64
func (*MakeCombineTx) GetTokenHash ¶ added in v0.5.0
func (m *MakeCombineTx) GetTokenHash() string
func (*MakeCombineTx) GetTokenIndex ¶ added in v0.5.0
func (m *MakeCombineTx) GetTokenIndex() uint32
func (*MakeCombineTx) Marshal ¶ added in v0.5.0
func (m *MakeCombineTx) Marshal() (dAtA []byte, err error)
func (*MakeCombineTx) MarshalTo ¶ added in v0.5.0
func (m *MakeCombineTx) MarshalTo(dAtA []byte) (int, error)
func (*MakeCombineTx) ProtoMessage ¶ added in v0.5.0
func (*MakeCombineTx) ProtoMessage()
func (*MakeCombineTx) Reset ¶ added in v0.5.0
func (m *MakeCombineTx) Reset()
func (*MakeCombineTx) Size ¶ added in v0.5.0
func (m *MakeCombineTx) Size() (n int)
func (*MakeCombineTx) String ¶ added in v0.5.0
func (m *MakeCombineTx) String() string
func (*MakeCombineTx) Unmarshal ¶ added in v0.5.0
func (m *MakeCombineTx) Unmarshal(dAtA []byte) error
func (*MakeCombineTx) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *MakeCombineTx) XXX_DiscardUnknown()
func (*MakeCombineTx) XXX_Marshal ¶ added in v0.5.0
func (m *MakeCombineTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeCombineTx) XXX_Merge ¶ added in v0.5.0
func (m *MakeCombineTx) XXX_Merge(src proto.Message)
func (*MakeCombineTx) XXX_Size ¶ added in v0.5.0
func (m *MakeCombineTx) XXX_Size() int
func (*MakeCombineTx) XXX_Unmarshal ¶ added in v0.5.0
func (m *MakeCombineTx) XXX_Unmarshal(b []byte) error
type MakeContractTxReq ¶ added in v0.5.0
type MakeContractTxReq struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
GasPrice uint64 `protobuf:"varint,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
GasLimit uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
IsDeploy bool `protobuf:"varint,7,opt,name=is_deploy,json=isDeploy,proto3" json:"is_deploy,omitempty"`
Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
}
func (*MakeContractTxReq) Descriptor ¶ added in v0.5.0
func (*MakeContractTxReq) Descriptor() ([]byte, []int)
func (*MakeContractTxReq) GetAmount ¶ added in v0.5.0
func (m *MakeContractTxReq) GetAmount() uint64
func (*MakeContractTxReq) GetData ¶ added in v0.5.0
func (m *MakeContractTxReq) GetData() string
func (*MakeContractTxReq) GetFrom ¶ added in v0.5.0
func (m *MakeContractTxReq) GetFrom() string
func (*MakeContractTxReq) GetGasLimit ¶ added in v0.5.0
func (m *MakeContractTxReq) GetGasLimit() uint64
func (*MakeContractTxReq) GetGasPrice ¶ added in v0.5.0
func (m *MakeContractTxReq) GetGasPrice() uint64
func (*MakeContractTxReq) GetIsDeploy ¶ added in v0.5.0
func (m *MakeContractTxReq) GetIsDeploy() bool
func (*MakeContractTxReq) GetNonce ¶ added in v0.5.0
func (m *MakeContractTxReq) GetNonce() uint64
func (*MakeContractTxReq) GetTo ¶ added in v0.5.0
func (m *MakeContractTxReq) GetTo() string
func (*MakeContractTxReq) Marshal ¶ added in v0.5.0
func (m *MakeContractTxReq) Marshal() (dAtA []byte, err error)
func (*MakeContractTxReq) MarshalTo ¶ added in v0.5.0
func (m *MakeContractTxReq) MarshalTo(dAtA []byte) (int, error)
func (*MakeContractTxReq) ProtoMessage ¶ added in v0.5.0
func (*MakeContractTxReq) ProtoMessage()
func (*MakeContractTxReq) Reset ¶ added in v0.5.0
func (m *MakeContractTxReq) Reset()
func (*MakeContractTxReq) Size ¶ added in v0.5.0
func (m *MakeContractTxReq) Size() (n int)
func (*MakeContractTxReq) String ¶ added in v0.5.0
func (m *MakeContractTxReq) String() string
func (*MakeContractTxReq) Unmarshal ¶ added in v0.5.0
func (m *MakeContractTxReq) Unmarshal(dAtA []byte) error
func (*MakeContractTxReq) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *MakeContractTxReq) XXX_DiscardUnknown()
func (*MakeContractTxReq) XXX_Marshal ¶ added in v0.5.0
func (m *MakeContractTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeContractTxReq) XXX_Merge ¶ added in v0.5.0
func (m *MakeContractTxReq) XXX_Merge(src proto.Message)
func (*MakeContractTxReq) XXX_Size ¶ added in v0.5.0
func (m *MakeContractTxReq) XXX_Size() int
func (*MakeContractTxReq) XXX_Unmarshal ¶ added in v0.5.0
func (m *MakeContractTxReq) XXX_Unmarshal(b []byte) error
type MakeContractTxResp ¶ added in v0.5.0
type MakeContractTxResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Tx *pb.Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
RawMsgs [][]byte `protobuf:"bytes,4,rep,name=rawMsgs,proto3" json:"rawMsgs,omitempty"`
ContractAddr string `protobuf:"bytes,5,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
}
func (*MakeContractTxResp) Descriptor ¶ added in v0.5.0
func (*MakeContractTxResp) Descriptor() ([]byte, []int)
func (*MakeContractTxResp) GetCode ¶ added in v0.5.0
func (m *MakeContractTxResp) GetCode() int32
func (*MakeContractTxResp) GetContractAddr ¶ added in v0.5.0
func (m *MakeContractTxResp) GetContractAddr() string
func (*MakeContractTxResp) GetMessage ¶ added in v0.5.0
func (m *MakeContractTxResp) GetMessage() string
func (*MakeContractTxResp) GetRawMsgs ¶ added in v0.5.0
func (m *MakeContractTxResp) GetRawMsgs() [][]byte
func (*MakeContractTxResp) GetTx ¶ added in v0.5.0
func (m *MakeContractTxResp) GetTx() *pb.Transaction
func (*MakeContractTxResp) Marshal ¶ added in v0.5.0
func (m *MakeContractTxResp) Marshal() (dAtA []byte, err error)
func (*MakeContractTxResp) MarshalTo ¶ added in v0.5.0
func (m *MakeContractTxResp) MarshalTo(dAtA []byte) (int, error)
func (*MakeContractTxResp) ProtoMessage ¶ added in v0.5.0
func (*MakeContractTxResp) ProtoMessage()
func (*MakeContractTxResp) Reset ¶ added in v0.5.0
func (m *MakeContractTxResp) Reset()
func (*MakeContractTxResp) Size ¶ added in v0.5.0
func (m *MakeContractTxResp) Size() (n int)
func (*MakeContractTxResp) String ¶ added in v0.5.0
func (m *MakeContractTxResp) String() string
func (*MakeContractTxResp) Unmarshal ¶ added in v0.5.0
func (m *MakeContractTxResp) Unmarshal(dAtA []byte) error
func (*MakeContractTxResp) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *MakeContractTxResp) XXX_DiscardUnknown()
func (*MakeContractTxResp) XXX_Marshal ¶ added in v0.5.0
func (m *MakeContractTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeContractTxResp) XXX_Merge ¶ added in v0.5.0
func (m *MakeContractTxResp) XXX_Merge(src proto.Message)
func (*MakeContractTxResp) XXX_Size ¶ added in v0.5.0
func (m *MakeContractTxResp) XXX_Size() int
func (*MakeContractTxResp) XXX_Unmarshal ¶ added in v0.5.0
func (m *MakeContractTxResp) XXX_Unmarshal(b []byte) error
type MakeSplitAddrTxReq ¶ added in v0.3.0
type MakeSplitAddrTxReq struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
Weights []uint64 `protobuf:"varint,3,rep,packed,name=weights,proto3" json:"weights,omitempty"`
GasPrice uint64 `protobuf:"varint,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}
func (*MakeSplitAddrTxReq) Descriptor ¶ added in v0.3.0
func (*MakeSplitAddrTxReq) Descriptor() ([]byte, []int)
func (*MakeSplitAddrTxReq) GetAddrs ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) GetAddrs() []string
func (*MakeSplitAddrTxReq) GetFrom ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) GetFrom() string
func (*MakeSplitAddrTxReq) GetGasPrice ¶ added in v0.5.0
func (m *MakeSplitAddrTxReq) GetGasPrice() uint64
func (*MakeSplitAddrTxReq) GetWeights ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) GetWeights() []uint64
func (*MakeSplitAddrTxReq) Marshal ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) Marshal() (dAtA []byte, err error)
func (*MakeSplitAddrTxReq) MarshalTo ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) MarshalTo(dAtA []byte) (int, error)
func (*MakeSplitAddrTxReq) ProtoMessage ¶ added in v0.3.0
func (*MakeSplitAddrTxReq) ProtoMessage()
func (*MakeSplitAddrTxReq) Reset ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) Reset()
func (*MakeSplitAddrTxReq) Size ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) Size() (n int)
func (*MakeSplitAddrTxReq) String ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) String() string
func (*MakeSplitAddrTxReq) Unmarshal ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) Unmarshal(dAtA []byte) error
func (*MakeSplitAddrTxReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) XXX_DiscardUnknown()
func (*MakeSplitAddrTxReq) XXX_Marshal ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeSplitAddrTxReq) XXX_Merge ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) XXX_Merge(src proto.Message)
func (*MakeSplitAddrTxReq) XXX_Size ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) XXX_Size() int
func (*MakeSplitAddrTxReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *MakeSplitAddrTxReq) XXX_Unmarshal(b []byte) error
type MakeTokenIssueTxReq ¶ added in v0.3.0
type MakeTokenIssueTxReq struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Tag *TokenTag `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
GasPrice uint64 `protobuf:"varint,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}
func (*MakeTokenIssueTxReq) Descriptor ¶ added in v0.3.0
func (*MakeTokenIssueTxReq) Descriptor() ([]byte, []int)
func (*MakeTokenIssueTxReq) GetGasPrice ¶ added in v0.5.0
func (m *MakeTokenIssueTxReq) GetGasPrice() uint64
func (*MakeTokenIssueTxReq) GetIssuer ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) GetIssuer() string
func (*MakeTokenIssueTxReq) GetOwner ¶ added in v0.5.0
func (m *MakeTokenIssueTxReq) GetOwner() string
func (*MakeTokenIssueTxReq) GetTag ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) GetTag() *TokenTag
func (*MakeTokenIssueTxReq) Marshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) Marshal() (dAtA []byte, err error)
func (*MakeTokenIssueTxReq) MarshalTo ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) MarshalTo(dAtA []byte) (int, error)
func (*MakeTokenIssueTxReq) ProtoMessage ¶ added in v0.3.0
func (*MakeTokenIssueTxReq) ProtoMessage()
func (*MakeTokenIssueTxReq) Reset ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) Reset()
func (*MakeTokenIssueTxReq) Size ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) Size() (n int)
func (*MakeTokenIssueTxReq) String ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) String() string
func (*MakeTokenIssueTxReq) Unmarshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) Unmarshal(dAtA []byte) error
func (*MakeTokenIssueTxReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) XXX_DiscardUnknown()
func (*MakeTokenIssueTxReq) XXX_Marshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeTokenIssueTxReq) XXX_Merge ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) XXX_Merge(src proto.Message)
func (*MakeTokenIssueTxReq) XXX_Size ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) XXX_Size() int
func (*MakeTokenIssueTxReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxReq) XXX_Unmarshal(b []byte) error
type MakeTokenIssueTxResp ¶ added in v0.3.0
type MakeTokenIssueTxResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
IssueOutIndex uint32 `protobuf:"varint,3,opt,name=issue_out_index,json=issueOutIndex,proto3" json:"issue_out_index,omitempty"`
Tx *pb.Transaction `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"`
RawMsgs [][]byte `protobuf:"bytes,5,rep,name=rawMsgs,proto3" json:"rawMsgs,omitempty"`
}
func (*MakeTokenIssueTxResp) Descriptor ¶ added in v0.3.0
func (*MakeTokenIssueTxResp) Descriptor() ([]byte, []int)
func (*MakeTokenIssueTxResp) GetCode ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) GetCode() int32
func (*MakeTokenIssueTxResp) GetIssueOutIndex ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) GetIssueOutIndex() uint32
func (*MakeTokenIssueTxResp) GetMessage ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) GetMessage() string
func (*MakeTokenIssueTxResp) GetRawMsgs ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) GetRawMsgs() [][]byte
func (*MakeTokenIssueTxResp) GetTx ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) GetTx() *pb.Transaction
func (*MakeTokenIssueTxResp) Marshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) Marshal() (dAtA []byte, err error)
func (*MakeTokenIssueTxResp) MarshalTo ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) MarshalTo(dAtA []byte) (int, error)
func (*MakeTokenIssueTxResp) ProtoMessage ¶ added in v0.3.0
func (*MakeTokenIssueTxResp) ProtoMessage()
func (*MakeTokenIssueTxResp) Reset ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) Reset()
func (*MakeTokenIssueTxResp) Size ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) Size() (n int)
func (*MakeTokenIssueTxResp) String ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) String() string
func (*MakeTokenIssueTxResp) Unmarshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) Unmarshal(dAtA []byte) error
func (*MakeTokenIssueTxResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) XXX_DiscardUnknown()
func (*MakeTokenIssueTxResp) XXX_Marshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeTokenIssueTxResp) XXX_Merge ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) XXX_Merge(src proto.Message)
func (*MakeTokenIssueTxResp) XXX_Size ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) XXX_Size() int
func (*MakeTokenIssueTxResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *MakeTokenIssueTxResp) XXX_Unmarshal(b []byte) error
type MakeTokenTransferTxReq ¶ added in v0.3.0
type MakeTokenTransferTxReq struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To []string `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"`
Amounts []uint64 `protobuf:"varint,3,rep,packed,name=amounts,proto3" json:"amounts,omitempty"`
TokenHash string `protobuf:"bytes,4,opt,name=token_hash,json=tokenHash,proto3" json:"token_hash,omitempty"`
TokenIndex uint32 `protobuf:"varint,5,opt,name=token_index,json=tokenIndex,proto3" json:"token_index,omitempty"`
GasPrice uint64 `protobuf:"varint,6,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}
func (*MakeTokenTransferTxReq) Descriptor ¶ added in v0.3.0
func (*MakeTokenTransferTxReq) Descriptor() ([]byte, []int)
func (*MakeTokenTransferTxReq) GetAmounts ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) GetAmounts() []uint64
func (*MakeTokenTransferTxReq) GetFrom ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) GetFrom() string
func (*MakeTokenTransferTxReq) GetGasPrice ¶ added in v0.5.0
func (m *MakeTokenTransferTxReq) GetGasPrice() uint64
func (*MakeTokenTransferTxReq) GetTo ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) GetTo() []string
func (*MakeTokenTransferTxReq) GetTokenHash ¶ added in v0.3.1
func (m *MakeTokenTransferTxReq) GetTokenHash() string
func (*MakeTokenTransferTxReq) GetTokenIndex ¶ added in v0.3.1
func (m *MakeTokenTransferTxReq) GetTokenIndex() uint32
func (*MakeTokenTransferTxReq) Marshal ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) Marshal() (dAtA []byte, err error)
func (*MakeTokenTransferTxReq) MarshalTo ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) MarshalTo(dAtA []byte) (int, error)
func (*MakeTokenTransferTxReq) ProtoMessage ¶ added in v0.3.0
func (*MakeTokenTransferTxReq) ProtoMessage()
func (*MakeTokenTransferTxReq) Reset ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) Reset()
func (*MakeTokenTransferTxReq) Size ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) Size() (n int)
func (*MakeTokenTransferTxReq) String ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) String() string
func (*MakeTokenTransferTxReq) Unmarshal ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) Unmarshal(dAtA []byte) error
func (*MakeTokenTransferTxReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) XXX_DiscardUnknown()
func (*MakeTokenTransferTxReq) XXX_Marshal ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeTokenTransferTxReq) XXX_Merge ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) XXX_Merge(src proto.Message)
func (*MakeTokenTransferTxReq) XXX_Size ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) XXX_Size() int
func (*MakeTokenTransferTxReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *MakeTokenTransferTxReq) XXX_Unmarshal(b []byte) error
type MakeTxReq ¶ added in v0.3.0
type MakeTxReq struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To []string `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"`
Amounts []uint64 `protobuf:"varint,3,rep,packed,name=amounts,proto3" json:"amounts,omitempty"`
GasPrice uint64 `protobuf:"varint,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}
func (*MakeTxReq) Descriptor ¶ added in v0.3.0
func (*MakeTxReq) GetAmounts ¶ added in v0.3.0
func (*MakeTxReq) GetGasPrice ¶ added in v0.5.0
func (*MakeTxReq) ProtoMessage ¶ added in v0.3.0
func (*MakeTxReq) ProtoMessage()
func (*MakeTxReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeTxReq) XXX_DiscardUnknown()
func (*MakeTxReq) XXX_Marshal ¶ added in v0.3.0
func (*MakeTxReq) XXX_Unmarshal ¶ added in v0.3.0
type MakeTxResp ¶ added in v0.3.0
type MakeTxResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Tx *pb.Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
RawMsgs [][]byte `protobuf:"bytes,4,rep,name=rawMsgs,proto3" json:"rawMsgs,omitempty"`
}
func (*MakeTxResp) Descriptor ¶ added in v0.3.0
func (*MakeTxResp) Descriptor() ([]byte, []int)
func (*MakeTxResp) GetCode ¶ added in v0.3.0
func (m *MakeTxResp) GetCode() int32
func (*MakeTxResp) GetMessage ¶ added in v0.3.0
func (m *MakeTxResp) GetMessage() string
func (*MakeTxResp) GetRawMsgs ¶ added in v0.3.0
func (m *MakeTxResp) GetRawMsgs() [][]byte
func (*MakeTxResp) GetTx ¶ added in v0.3.0
func (m *MakeTxResp) GetTx() *pb.Transaction
func (*MakeTxResp) Marshal ¶ added in v0.3.0
func (m *MakeTxResp) Marshal() (dAtA []byte, err error)
func (*MakeTxResp) MarshalTo ¶ added in v0.3.0
func (m *MakeTxResp) MarshalTo(dAtA []byte) (int, error)
func (*MakeTxResp) ProtoMessage ¶ added in v0.3.0
func (*MakeTxResp) ProtoMessage()
func (*MakeTxResp) Reset ¶ added in v0.3.0
func (m *MakeTxResp) Reset()
func (*MakeTxResp) Size ¶ added in v0.3.0
func (m *MakeTxResp) Size() (n int)
func (*MakeTxResp) String ¶ added in v0.3.0
func (m *MakeTxResp) String() string
func (*MakeTxResp) Unmarshal ¶ added in v0.3.0
func (m *MakeTxResp) Unmarshal(dAtA []byte) error
func (*MakeTxResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *MakeTxResp) XXX_DiscardUnknown()
func (*MakeTxResp) XXX_Marshal ¶ added in v0.3.0
func (m *MakeTxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MakeTxResp) XXX_Merge ¶ added in v0.3.0
func (m *MakeTxResp) XXX_Merge(src proto.Message)
func (*MakeTxResp) XXX_Size ¶ added in v0.3.0
func (m *MakeTxResp) XXX_Size() int
func (*MakeTxResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *MakeTxResp) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Addrs []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
}
func (*Node) Descriptor ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NonceReq ¶ added in v0.5.0
type NonceReq struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
}
func (*NonceReq) Descriptor ¶ added in v0.5.0
func (*NonceReq) ProtoMessage ¶ added in v0.5.0
func (*NonceReq) ProtoMessage()
func (*NonceReq) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *NonceReq) XXX_DiscardUnknown()
func (*NonceReq) XXX_Marshal ¶ added in v0.5.0
func (*NonceReq) XXX_Unmarshal ¶ added in v0.5.0
type NonceResp ¶ added in v0.5.0
type NonceResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
func (*NonceResp) Descriptor ¶ added in v0.5.0
func (*NonceResp) GetMessage ¶ added in v0.5.0
func (*NonceResp) ProtoMessage ¶ added in v0.5.0
func (*NonceResp) ProtoMessage()
func (*NonceResp) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *NonceResp) XXX_DiscardUnknown()
func (*NonceResp) XXX_Marshal ¶ added in v0.5.0
func (*NonceResp) XXX_Unmarshal ¶ added in v0.5.0
type SendRawTransactionReq ¶ added in v0.5.0
type SendRawTransactionReq struct {
Tx string `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (*SendRawTransactionReq) Descriptor ¶ added in v0.5.0
func (*SendRawTransactionReq) Descriptor() ([]byte, []int)
func (*SendRawTransactionReq) GetTx ¶ added in v0.5.0
func (m *SendRawTransactionReq) GetTx() string
func (*SendRawTransactionReq) Marshal ¶ added in v0.5.0
func (m *SendRawTransactionReq) Marshal() (dAtA []byte, err error)
func (*SendRawTransactionReq) MarshalTo ¶ added in v0.5.0
func (m *SendRawTransactionReq) MarshalTo(dAtA []byte) (int, error)
func (*SendRawTransactionReq) ProtoMessage ¶ added in v0.5.0
func (*SendRawTransactionReq) ProtoMessage()
func (*SendRawTransactionReq) Reset ¶ added in v0.5.0
func (m *SendRawTransactionReq) Reset()
func (*SendRawTransactionReq) Size ¶ added in v0.5.0
func (m *SendRawTransactionReq) Size() (n int)
func (*SendRawTransactionReq) String ¶ added in v0.5.0
func (m *SendRawTransactionReq) String() string
func (*SendRawTransactionReq) Unmarshal ¶ added in v0.5.0
func (m *SendRawTransactionReq) Unmarshal(dAtA []byte) error
func (*SendRawTransactionReq) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *SendRawTransactionReq) XXX_DiscardUnknown()
func (*SendRawTransactionReq) XXX_Marshal ¶ added in v0.5.0
func (m *SendRawTransactionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendRawTransactionReq) XXX_Merge ¶ added in v0.5.0
func (m *SendRawTransactionReq) XXX_Merge(src proto.Message)
func (*SendRawTransactionReq) XXX_Size ¶ added in v0.5.0
func (m *SendRawTransactionReq) XXX_Size() int
func (*SendRawTransactionReq) XXX_Unmarshal ¶ added in v0.5.0
func (m *SendRawTransactionReq) XXX_Unmarshal(b []byte) error
type SendTransactionReq ¶ added in v0.3.0
type SendTransactionReq struct {
Tx *pb.Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (*SendTransactionReq) Descriptor ¶ added in v0.3.0
func (*SendTransactionReq) Descriptor() ([]byte, []int)
func (*SendTransactionReq) GetTx ¶ added in v0.3.0
func (m *SendTransactionReq) GetTx() *pb.Transaction
func (*SendTransactionReq) Marshal ¶ added in v0.3.0
func (m *SendTransactionReq) Marshal() (dAtA []byte, err error)
func (*SendTransactionReq) MarshalTo ¶ added in v0.3.0
func (m *SendTransactionReq) MarshalTo(dAtA []byte) (int, error)
func (*SendTransactionReq) ProtoMessage ¶ added in v0.3.0
func (*SendTransactionReq) ProtoMessage()
func (*SendTransactionReq) Reset ¶ added in v0.3.0
func (m *SendTransactionReq) Reset()
func (*SendTransactionReq) Size ¶ added in v0.3.0
func (m *SendTransactionReq) Size() (n int)
func (*SendTransactionReq) String ¶ added in v0.3.0
func (m *SendTransactionReq) String() string
func (*SendTransactionReq) Unmarshal ¶ added in v0.3.0
func (m *SendTransactionReq) Unmarshal(dAtA []byte) error
func (*SendTransactionReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *SendTransactionReq) XXX_DiscardUnknown()
func (*SendTransactionReq) XXX_Marshal ¶ added in v0.3.0
func (m *SendTransactionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionReq) XXX_Merge ¶ added in v0.3.0
func (m *SendTransactionReq) XXX_Merge(src proto.Message)
func (*SendTransactionReq) XXX_Size ¶ added in v0.3.0
func (m *SendTransactionReq) XXX_Size() int
func (*SendTransactionReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *SendTransactionReq) XXX_Unmarshal(b []byte) error
type SendTransactionResp ¶ added in v0.3.0
type SendTransactionResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (*SendTransactionResp) Descriptor ¶ added in v0.3.0
func (*SendTransactionResp) Descriptor() ([]byte, []int)
func (*SendTransactionResp) GetCode ¶ added in v0.3.0
func (m *SendTransactionResp) GetCode() int32
func (*SendTransactionResp) GetHash ¶ added in v0.3.0
func (m *SendTransactionResp) GetHash() string
func (*SendTransactionResp) GetMessage ¶ added in v0.3.0
func (m *SendTransactionResp) GetMessage() string
func (*SendTransactionResp) Marshal ¶ added in v0.3.0
func (m *SendTransactionResp) Marshal() (dAtA []byte, err error)
func (*SendTransactionResp) MarshalTo ¶ added in v0.3.0
func (m *SendTransactionResp) MarshalTo(dAtA []byte) (int, error)
func (*SendTransactionResp) ProtoMessage ¶ added in v0.3.0
func (*SendTransactionResp) ProtoMessage()
func (*SendTransactionResp) Reset ¶ added in v0.3.0
func (m *SendTransactionResp) Reset()
func (*SendTransactionResp) Size ¶ added in v0.3.0
func (m *SendTransactionResp) Size() (n int)
func (*SendTransactionResp) String ¶ added in v0.3.0
func (m *SendTransactionResp) String() string
func (*SendTransactionResp) Unmarshal ¶ added in v0.3.0
func (m *SendTransactionResp) Unmarshal(dAtA []byte) error
func (*SendTransactionResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *SendTransactionResp) XXX_DiscardUnknown()
func (*SendTransactionResp) XXX_Marshal ¶ added in v0.3.0
func (m *SendTransactionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionResp) XXX_Merge ¶ added in v0.3.0
func (m *SendTransactionResp) XXX_Merge(src proto.Message)
func (*SendTransactionResp) XXX_Size ¶ added in v0.3.0
func (m *SendTransactionResp) XXX_Size() int
func (*SendTransactionResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *SendTransactionResp) XXX_Unmarshal(b []byte) error
type SplitContractInfo ¶ added in v0.3.0
type SplitContractInfo struct {
Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
Weights []uint64 `protobuf:"varint,2,rep,packed,name=weights,proto3" json:"weights,omitempty"`
}
func (*SplitContractInfo) Descriptor ¶ added in v0.3.0
func (*SplitContractInfo) Descriptor() ([]byte, []int)
func (*SplitContractInfo) GetAddrs ¶ added in v0.3.0
func (m *SplitContractInfo) GetAddrs() []string
func (*SplitContractInfo) GetWeights ¶ added in v0.3.0
func (m *SplitContractInfo) GetWeights() []uint64
func (*SplitContractInfo) Marshal ¶ added in v0.3.0
func (m *SplitContractInfo) Marshal() (dAtA []byte, err error)
func (*SplitContractInfo) MarshalTo ¶ added in v0.3.0
func (m *SplitContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*SplitContractInfo) ProtoMessage ¶ added in v0.3.0
func (*SplitContractInfo) ProtoMessage()
func (*SplitContractInfo) Reset ¶ added in v0.3.0
func (m *SplitContractInfo) Reset()
func (*SplitContractInfo) Size ¶ added in v0.3.0
func (m *SplitContractInfo) Size() (n int)
func (*SplitContractInfo) String ¶ added in v0.3.0
func (m *SplitContractInfo) String() string
func (*SplitContractInfo) Unmarshal ¶ added in v0.3.0
func (m *SplitContractInfo) Unmarshal(dAtA []byte) error
func (*SplitContractInfo) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *SplitContractInfo) XXX_DiscardUnknown()
func (*SplitContractInfo) XXX_Marshal ¶ added in v0.3.0
func (m *SplitContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitContractInfo) XXX_Merge ¶ added in v0.3.0
func (m *SplitContractInfo) XXX_Merge(src proto.Message)
func (*SplitContractInfo) XXX_Size ¶ added in v0.3.0
func (m *SplitContractInfo) XXX_Size() int
func (*SplitContractInfo) XXX_Unmarshal ¶ added in v0.3.0
func (m *SplitContractInfo) XXX_Unmarshal(b []byte) error
type TokenIssueInfo ¶ added in v0.3.0
type TokenIssueInfo struct {
TokenTag *TokenTag `protobuf:"bytes,1,opt,name=token_tag,json=tokenTag,proto3" json:"token_tag,omitempty"`
}
func (*TokenIssueInfo) Descriptor ¶ added in v0.3.0
func (*TokenIssueInfo) Descriptor() ([]byte, []int)
func (*TokenIssueInfo) GetTokenTag ¶ added in v0.3.0
func (m *TokenIssueInfo) GetTokenTag() *TokenTag
func (*TokenIssueInfo) Marshal ¶ added in v0.3.0
func (m *TokenIssueInfo) Marshal() (dAtA []byte, err error)
func (*TokenIssueInfo) MarshalTo ¶ added in v0.3.0
func (m *TokenIssueInfo) MarshalTo(dAtA []byte) (int, error)
func (*TokenIssueInfo) ProtoMessage ¶ added in v0.3.0
func (*TokenIssueInfo) ProtoMessage()
func (*TokenIssueInfo) Reset ¶ added in v0.3.0
func (m *TokenIssueInfo) Reset()
func (*TokenIssueInfo) Size ¶ added in v0.3.0
func (m *TokenIssueInfo) Size() (n int)
func (*TokenIssueInfo) String ¶ added in v0.3.0
func (m *TokenIssueInfo) String() string
func (*TokenIssueInfo) Unmarshal ¶ added in v0.3.0
func (m *TokenIssueInfo) Unmarshal(dAtA []byte) error
func (*TokenIssueInfo) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TokenIssueInfo) XXX_DiscardUnknown()
func (*TokenIssueInfo) XXX_Marshal ¶ added in v0.3.0
func (m *TokenIssueInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenIssueInfo) XXX_Merge ¶ added in v0.3.0
func (m *TokenIssueInfo) XXX_Merge(src proto.Message)
func (*TokenIssueInfo) XXX_Size ¶ added in v0.3.0
func (m *TokenIssueInfo) XXX_Size() int
func (*TokenIssueInfo) XXX_Unmarshal ¶ added in v0.3.0
func (m *TokenIssueInfo) XXX_Unmarshal(b []byte) error
type TokenTag ¶ added in v0.3.0
type TokenTag struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
Supply uint64 `protobuf:"varint,3,opt,name=supply,proto3" json:"supply,omitempty"`
Decimal uint32 `protobuf:"varint,4,opt,name=decimal,proto3" json:"decimal,omitempty"`
}
func (*TokenTag) Descriptor ¶ added in v0.3.0
func (*TokenTag) GetDecimal ¶ added in v0.3.0
func (*TokenTag) ProtoMessage ¶ added in v0.3.0
func (*TokenTag) ProtoMessage()
func (*TokenTag) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TokenTag) XXX_DiscardUnknown()
func (*TokenTag) XXX_Marshal ¶ added in v0.3.0
func (*TokenTag) XXX_Unmarshal ¶ added in v0.3.0
type TokenTransferInfo ¶ added in v0.3.0
type TokenTransferInfo struct {
TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
}
func (*TokenTransferInfo) Descriptor ¶ added in v0.3.0
func (*TokenTransferInfo) Descriptor() ([]byte, []int)
func (*TokenTransferInfo) GetTokenId ¶ added in v0.3.0
func (m *TokenTransferInfo) GetTokenId() string
func (*TokenTransferInfo) Marshal ¶ added in v0.3.0
func (m *TokenTransferInfo) Marshal() (dAtA []byte, err error)
func (*TokenTransferInfo) MarshalTo ¶ added in v0.3.0
func (m *TokenTransferInfo) MarshalTo(dAtA []byte) (int, error)
func (*TokenTransferInfo) ProtoMessage ¶ added in v0.3.0
func (*TokenTransferInfo) ProtoMessage()
func (*TokenTransferInfo) Reset ¶ added in v0.3.0
func (m *TokenTransferInfo) Reset()
func (*TokenTransferInfo) Size ¶ added in v0.3.0
func (m *TokenTransferInfo) Size() (n int)
func (*TokenTransferInfo) String ¶ added in v0.3.0
func (m *TokenTransferInfo) String() string
func (*TokenTransferInfo) Unmarshal ¶ added in v0.3.0
func (m *TokenTransferInfo) Unmarshal(dAtA []byte) error
func (*TokenTransferInfo) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TokenTransferInfo) XXX_DiscardUnknown()
func (*TokenTransferInfo) XXX_Marshal ¶ added in v0.3.0
func (m *TokenTransferInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenTransferInfo) XXX_Merge ¶ added in v0.3.0
func (m *TokenTransferInfo) XXX_Merge(src proto.Message)
func (*TokenTransferInfo) XXX_Size ¶ added in v0.3.0
func (m *TokenTransferInfo) XXX_Size() int
func (*TokenTransferInfo) XXX_Unmarshal ¶ added in v0.3.0
func (m *TokenTransferInfo) XXX_Unmarshal(b []byte) error
type TransactionCommandClient ¶
type TransactionCommandClient interface {
GetBalance(ctx context.Context, in *GetBalanceReq, opts ...grpc.CallOption) (*GetBalanceResp, error)
GetTokenBalance(ctx context.Context, in *GetTokenBalanceReq, opts ...grpc.CallOption) (*GetBalanceResp, error)
FetchUtxos(ctx context.Context, in *FetchUtxosReq, opts ...grpc.CallOption) (*FetchUtxosResp, error)
SendTransaction(ctx context.Context, in *SendTransactionReq, opts ...grpc.CallOption) (*SendTransactionResp, error)
SendRawTransaction(ctx context.Context, in *SendRawTransactionReq, opts ...grpc.CallOption) (*SendTransactionResp, error)
GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error)
GetFeePrice(ctx context.Context, in *GetFeePriceRequest, opts ...grpc.CallOption) (*GetFeePriceResponse, error)
MakeUnsignedTx(ctx context.Context, in *MakeTxReq, opts ...grpc.CallOption) (*MakeTxResp, error)
MakeUnsignedSplitAddrTx(ctx context.Context, in *MakeSplitAddrTxReq, opts ...grpc.CallOption) (*MakeTxResp, error)
MakeUnsignedTokenIssueTx(ctx context.Context, in *MakeTokenIssueTxReq, opts ...grpc.CallOption) (*MakeTokenIssueTxResp, error)
MakeUnsignedTokenTransferTx(ctx context.Context, in *MakeTokenTransferTxReq, opts ...grpc.CallOption) (*MakeTxResp, error)
MakeUnsignedContractTx(ctx context.Context, in *MakeContractTxReq, opts ...grpc.CallOption) (*MakeContractTxResp, error)
MakeUnsignedCombineTx(ctx context.Context, in *MakeCombineTx, opts ...grpc.CallOption) (*MakeTxResp, error)
}
TransactionCommandClient is the client API for TransactionCommand service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionCommandClient ¶
func NewTransactionCommandClient(cc *grpc.ClientConn) TransactionCommandClient
type TransactionCommandServer ¶
type TransactionCommandServer interface {
GetBalance(context.Context, *GetBalanceReq) (*GetBalanceResp, error)
GetTokenBalance(context.Context, *GetTokenBalanceReq) (*GetBalanceResp, error)
FetchUtxos(context.Context, *FetchUtxosReq) (*FetchUtxosResp, error)
SendTransaction(context.Context, *SendTransactionReq) (*SendTransactionResp, error)
SendRawTransaction(context.Context, *SendRawTransactionReq) (*SendTransactionResp, error)
GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error)
GetFeePrice(context.Context, *GetFeePriceRequest) (*GetFeePriceResponse, error)
MakeUnsignedTx(context.Context, *MakeTxReq) (*MakeTxResp, error)
MakeUnsignedSplitAddrTx(context.Context, *MakeSplitAddrTxReq) (*MakeTxResp, error)
MakeUnsignedTokenIssueTx(context.Context, *MakeTokenIssueTxReq) (*MakeTokenIssueTxResp, error)
MakeUnsignedTokenTransferTx(context.Context, *MakeTokenTransferTxReq) (*MakeTxResp, error)
MakeUnsignedContractTx(context.Context, *MakeContractTxReq) (*MakeContractTxResp, error)
MakeUnsignedCombineTx(context.Context, *MakeCombineTx) (*MakeTxResp, error)
}
TransactionCommandServer is the server API for TransactionCommand service.
type TxDetail ¶ added in v0.3.0
type TxDetail struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Vin []*TxInDetail `protobuf:"bytes,2,rep,name=vin,proto3" json:"vin,omitempty"`
Vout []*TxOutDetail `protobuf:"bytes,3,rep,name=vout,proto3" json:"vout,omitempty"`
}
func (*TxDetail) Descriptor ¶ added in v0.3.0
func (*TxDetail) GetVin ¶ added in v0.3.0
func (m *TxDetail) GetVin() []*TxInDetail
func (*TxDetail) GetVout ¶ added in v0.3.0
func (m *TxDetail) GetVout() []*TxOutDetail
func (*TxDetail) ProtoMessage ¶ added in v0.3.0
func (*TxDetail) ProtoMessage()
func (*TxDetail) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TxDetail) XXX_DiscardUnknown()
func (*TxDetail) XXX_Marshal ¶ added in v0.3.0
func (*TxDetail) XXX_Unmarshal ¶ added in v0.3.0
type TxInDetail ¶ added in v0.3.0
type TxInDetail struct {
PrevOutDetail *TxOutDetail `protobuf:"bytes,1,opt,name=prev_out_detail,json=prevOutDetail,proto3" json:"prev_out_detail,omitempty"`
ScriptSig string `protobuf:"bytes,2,opt,name=script_sig,json=scriptSig,proto3" json:"script_sig,omitempty"`
Sequence uint32 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
PrevOutPoint string `protobuf:"bytes,4,opt,name=prev_out_point,json=prevOutPoint,proto3" json:"prev_out_point,omitempty"`
}
func (*TxInDetail) Descriptor ¶ added in v0.3.0
func (*TxInDetail) Descriptor() ([]byte, []int)
func (*TxInDetail) GetPrevOutDetail ¶ added in v0.3.0
func (m *TxInDetail) GetPrevOutDetail() *TxOutDetail
func (*TxInDetail) GetPrevOutPoint ¶ added in v0.3.0
func (m *TxInDetail) GetPrevOutPoint() string
func (*TxInDetail) GetScriptSig ¶ added in v0.3.0
func (m *TxInDetail) GetScriptSig() string
func (*TxInDetail) GetSequence ¶ added in v0.3.0
func (m *TxInDetail) GetSequence() uint32
func (*TxInDetail) Marshal ¶ added in v0.3.0
func (m *TxInDetail) Marshal() (dAtA []byte, err error)
func (*TxInDetail) MarshalTo ¶ added in v0.3.0
func (m *TxInDetail) MarshalTo(dAtA []byte) (int, error)
func (*TxInDetail) ProtoMessage ¶ added in v0.3.0
func (*TxInDetail) ProtoMessage()
func (*TxInDetail) Reset ¶ added in v0.3.0
func (m *TxInDetail) Reset()
func (*TxInDetail) Size ¶ added in v0.3.0
func (m *TxInDetail) Size() (n int)
func (*TxInDetail) String ¶ added in v0.3.0
func (m *TxInDetail) String() string
func (*TxInDetail) Unmarshal ¶ added in v0.3.0
func (m *TxInDetail) Unmarshal(dAtA []byte) error
func (*TxInDetail) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TxInDetail) XXX_DiscardUnknown()
func (*TxInDetail) XXX_Marshal ¶ added in v0.3.0
func (m *TxInDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxInDetail) XXX_Merge ¶ added in v0.3.0
func (m *TxInDetail) XXX_Merge(src proto.Message)
func (*TxInDetail) XXX_Size ¶ added in v0.3.0
func (m *TxInDetail) XXX_Size() int
func (*TxInDetail) XXX_Unmarshal ¶ added in v0.3.0
func (m *TxInDetail) XXX_Unmarshal(b []byte) error
type TxOutDetail ¶ added in v0.3.0
type TxOutDetail struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
ScriptPubKey string `protobuf:"bytes,3,opt,name=script_pub_key,json=scriptPubKey,proto3" json:"script_pub_key,omitempty"`
ScriptDisasm string `protobuf:"bytes,4,opt,name=script_disasm,json=scriptDisasm,proto3" json:"script_disasm,omitempty"`
Type TxOutDetail_TxOutType `protobuf:"varint,5,opt,name=type,proto3,enum=rpcpb.TxOutDetail_TxOutType" json:"type,omitempty"`
// Types that are valid to be assigned to Appendix:
// *TxOutDetail_TokenIssueInfo
// *TxOutDetail_TokenTransferInfo
// *TxOutDetail_SplitContractInfo
// *TxOutDetail_ContractInfo
Appendix isTxOutDetail_Appendix `protobuf_oneof:"appendix"`
}
func (*TxOutDetail) Descriptor ¶ added in v0.3.0
func (*TxOutDetail) Descriptor() ([]byte, []int)
func (*TxOutDetail) GetAddr ¶ added in v0.3.0
func (m *TxOutDetail) GetAddr() string
func (*TxOutDetail) GetAppendix ¶ added in v0.3.0
func (m *TxOutDetail) GetAppendix() isTxOutDetail_Appendix
func (*TxOutDetail) GetContractInfo ¶ added in v0.5.0
func (m *TxOutDetail) GetContractInfo() *ContractInfo
func (*TxOutDetail) GetScriptDisasm ¶ added in v0.3.0
func (m *TxOutDetail) GetScriptDisasm() string
func (*TxOutDetail) GetScriptPubKey ¶ added in v0.3.0
func (m *TxOutDetail) GetScriptPubKey() string
func (*TxOutDetail) GetSplitContractInfo ¶ added in v0.3.0
func (m *TxOutDetail) GetSplitContractInfo() *SplitContractInfo
func (*TxOutDetail) GetTokenIssueInfo ¶ added in v0.3.0
func (m *TxOutDetail) GetTokenIssueInfo() *TokenIssueInfo
func (*TxOutDetail) GetTokenTransferInfo ¶ added in v0.3.0
func (m *TxOutDetail) GetTokenTransferInfo() *TokenTransferInfo
func (*TxOutDetail) GetType ¶ added in v0.3.0
func (m *TxOutDetail) GetType() TxOutDetail_TxOutType
func (*TxOutDetail) GetValue ¶ added in v0.3.0
func (m *TxOutDetail) GetValue() uint64
func (*TxOutDetail) Marshal ¶ added in v0.3.0
func (m *TxOutDetail) Marshal() (dAtA []byte, err error)
func (*TxOutDetail) MarshalTo ¶ added in v0.3.0
func (m *TxOutDetail) MarshalTo(dAtA []byte) (int, error)
func (*TxOutDetail) ProtoMessage ¶ added in v0.3.0
func (*TxOutDetail) ProtoMessage()
func (*TxOutDetail) Reset ¶ added in v0.3.0
func (m *TxOutDetail) Reset()
func (*TxOutDetail) Size ¶ added in v0.3.0
func (m *TxOutDetail) Size() (n int)
func (*TxOutDetail) String ¶ added in v0.3.0
func (m *TxOutDetail) String() string
func (*TxOutDetail) Unmarshal ¶ added in v0.3.0
func (m *TxOutDetail) Unmarshal(dAtA []byte) error
func (*TxOutDetail) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *TxOutDetail) XXX_DiscardUnknown()
func (*TxOutDetail) XXX_Marshal ¶ added in v0.3.0
func (m *TxOutDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxOutDetail) XXX_Merge ¶ added in v0.3.0
func (m *TxOutDetail) XXX_Merge(src proto.Message)
func (*TxOutDetail) XXX_OneofFuncs ¶ added in v0.3.0
func (*TxOutDetail) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*TxOutDetail) XXX_Size ¶ added in v0.3.0
func (m *TxOutDetail) XXX_Size() int
func (*TxOutDetail) XXX_Unmarshal ¶ added in v0.3.0
func (m *TxOutDetail) XXX_Unmarshal(b []byte) error
type TxOutDetail_ContractInfo ¶ added in v0.5.0
type TxOutDetail_ContractInfo struct {
ContractInfo *ContractInfo `protobuf:"bytes,9,opt,name=contract_info,json=contractInfo,proto3,oneof"`
}
func (*TxOutDetail_ContractInfo) MarshalTo ¶ added in v0.5.0
func (m *TxOutDetail_ContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*TxOutDetail_ContractInfo) Size ¶ added in v0.5.0
func (m *TxOutDetail_ContractInfo) Size() (n int)
type TxOutDetail_SplitContractInfo ¶ added in v0.3.0
type TxOutDetail_SplitContractInfo struct {
SplitContractInfo *SplitContractInfo `protobuf:"bytes,8,opt,name=split_contract_info,json=splitContractInfo,proto3,oneof"`
}
func (*TxOutDetail_SplitContractInfo) MarshalTo ¶ added in v0.3.0
func (m *TxOutDetail_SplitContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*TxOutDetail_SplitContractInfo) Size ¶ added in v0.3.0
func (m *TxOutDetail_SplitContractInfo) Size() (n int)
type TxOutDetail_TokenIssueInfo ¶ added in v0.3.0
type TxOutDetail_TokenIssueInfo struct {
TokenIssueInfo *TokenIssueInfo `protobuf:"bytes,6,opt,name=token_issue_info,json=tokenIssueInfo,proto3,oneof"`
}
func (*TxOutDetail_TokenIssueInfo) MarshalTo ¶ added in v0.3.0
func (m *TxOutDetail_TokenIssueInfo) MarshalTo(dAtA []byte) (int, error)
func (*TxOutDetail_TokenIssueInfo) Size ¶ added in v0.3.0
func (m *TxOutDetail_TokenIssueInfo) Size() (n int)
type TxOutDetail_TokenTransferInfo ¶ added in v0.3.0
type TxOutDetail_TokenTransferInfo struct {
TokenTransferInfo *TokenTransferInfo `protobuf:"bytes,7,opt,name=token_transfer_info,json=tokenTransferInfo,proto3,oneof"`
}
func (*TxOutDetail_TokenTransferInfo) MarshalTo ¶ added in v0.3.0
func (m *TxOutDetail_TokenTransferInfo) MarshalTo(dAtA []byte) (int, error)
func (*TxOutDetail_TokenTransferInfo) Size ¶ added in v0.3.0
func (m *TxOutDetail_TokenTransferInfo) Size() (n int)
type TxOutDetail_TxOutType ¶ added in v0.3.0
type TxOutDetail_TxOutType int32
const ( TxOutDetail_unknown TxOutDetail_TxOutType = 0 TxOutDetail_pay_to_pubkey_hash TxOutDetail_TxOutType = 1 TxOutDetail_pay_to_pubkey_hash_cltv TxOutDetail_TxOutType = 2 TxOutDetail_token_issue TxOutDetail_TxOutType = 3 TxOutDetail_token_transfer TxOutDetail_TxOutType = 4 TxOutDetail_new_split_addr TxOutDetail_TxOutType = 5 TxOutDetail_pay_to_script_hash TxOutDetail_TxOutType = 6 TxOutDetail_contract_create TxOutDetail_TxOutType = 7 TxOutDetail_contract_call TxOutDetail_TxOutType = 8 )
func (TxOutDetail_TxOutType) EnumDescriptor ¶ added in v0.3.0
func (TxOutDetail_TxOutType) EnumDescriptor() ([]byte, []int)
func (TxOutDetail_TxOutType) String ¶ added in v0.3.0
func (x TxOutDetail_TxOutType) String() string
type TxStatus ¶ added in v0.5.0
type TxStatus int32
func (TxStatus) EnumDescriptor ¶ added in v0.5.0
type UpdateNetworkIDRequest ¶
type UpdateNetworkIDRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*UpdateNetworkIDRequest) Descriptor ¶
func (*UpdateNetworkIDRequest) Descriptor() ([]byte, []int)
func (*UpdateNetworkIDRequest) GetId ¶
func (m *UpdateNetworkIDRequest) GetId() uint32
func (*UpdateNetworkIDRequest) Marshal ¶
func (m *UpdateNetworkIDRequest) Marshal() (dAtA []byte, err error)
func (*UpdateNetworkIDRequest) MarshalTo ¶
func (m *UpdateNetworkIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateNetworkIDRequest) ProtoMessage ¶
func (*UpdateNetworkIDRequest) ProtoMessage()
func (*UpdateNetworkIDRequest) Reset ¶
func (m *UpdateNetworkIDRequest) Reset()
func (*UpdateNetworkIDRequest) Size ¶
func (m *UpdateNetworkIDRequest) Size() (n int)
func (*UpdateNetworkIDRequest) String ¶
func (m *UpdateNetworkIDRequest) String() string
func (*UpdateNetworkIDRequest) Unmarshal ¶
func (m *UpdateNetworkIDRequest) Unmarshal(dAtA []byte) error
func (*UpdateNetworkIDRequest) XXX_DiscardUnknown ¶
func (m *UpdateNetworkIDRequest) XXX_DiscardUnknown()
func (*UpdateNetworkIDRequest) XXX_Marshal ¶
func (m *UpdateNetworkIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateNetworkIDRequest) XXX_Merge ¶
func (m *UpdateNetworkIDRequest) XXX_Merge(src proto.Message)
func (*UpdateNetworkIDRequest) XXX_Size ¶
func (m *UpdateNetworkIDRequest) XXX_Size() int
func (*UpdateNetworkIDRequest) XXX_Unmarshal ¶
func (m *UpdateNetworkIDRequest) XXX_Unmarshal(b []byte) error
type Utxo ¶
type Utxo struct {
OutPoint *pb.OutPoint `protobuf:"bytes,1,opt,name=out_point,json=outPoint,proto3" json:"out_point,omitempty"`
TxOut *pb.TxOut `protobuf:"bytes,2,opt,name=tx_out,json=txOut,proto3" json:"tx_out,omitempty"`
BlockHeight uint32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"`
IsSpent bool `protobuf:"varint,5,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
}
func (*Utxo) Descriptor ¶
func (*Utxo) GetBlockHeight ¶
func (*Utxo) GetIsCoinbase ¶
func (*Utxo) GetIsSpent ¶
func (*Utxo) GetOutPoint ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) XXX_DiscardUnknown ¶
func (m *Utxo) XXX_DiscardUnknown()
func (*Utxo) XXX_Unmarshal ¶
type ViewBlockDetailReq ¶ added in v0.3.0
type ViewBlockDetailReq struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
func (*ViewBlockDetailReq) Descriptor ¶ added in v0.3.0
func (*ViewBlockDetailReq) Descriptor() ([]byte, []int)
func (*ViewBlockDetailReq) GetHash ¶ added in v0.3.0
func (m *ViewBlockDetailReq) GetHash() string
func (*ViewBlockDetailReq) Marshal ¶ added in v0.3.0
func (m *ViewBlockDetailReq) Marshal() (dAtA []byte, err error)
func (*ViewBlockDetailReq) MarshalTo ¶ added in v0.3.0
func (m *ViewBlockDetailReq) MarshalTo(dAtA []byte) (int, error)
func (*ViewBlockDetailReq) ProtoMessage ¶ added in v0.3.0
func (*ViewBlockDetailReq) ProtoMessage()
func (*ViewBlockDetailReq) Reset ¶ added in v0.3.0
func (m *ViewBlockDetailReq) Reset()
func (*ViewBlockDetailReq) Size ¶ added in v0.3.0
func (m *ViewBlockDetailReq) Size() (n int)
func (*ViewBlockDetailReq) String ¶ added in v0.3.0
func (m *ViewBlockDetailReq) String() string
func (*ViewBlockDetailReq) Unmarshal ¶ added in v0.3.0
func (m *ViewBlockDetailReq) Unmarshal(dAtA []byte) error
func (*ViewBlockDetailReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ViewBlockDetailReq) XXX_DiscardUnknown()
func (*ViewBlockDetailReq) XXX_Marshal ¶ added in v0.3.0
func (m *ViewBlockDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewBlockDetailReq) XXX_Merge ¶ added in v0.3.0
func (m *ViewBlockDetailReq) XXX_Merge(src proto.Message)
func (*ViewBlockDetailReq) XXX_Size ¶ added in v0.3.0
func (m *ViewBlockDetailReq) XXX_Size() int
func (*ViewBlockDetailReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *ViewBlockDetailReq) XXX_Unmarshal(b []byte) error
type ViewBlockDetailResp ¶ added in v0.3.0
type ViewBlockDetailResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Detail *BlockDetail `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
}
func (*ViewBlockDetailResp) Descriptor ¶ added in v0.3.0
func (*ViewBlockDetailResp) Descriptor() ([]byte, []int)
func (*ViewBlockDetailResp) GetCode ¶ added in v0.3.0
func (m *ViewBlockDetailResp) GetCode() int32
func (*ViewBlockDetailResp) GetDetail ¶ added in v0.3.0
func (m *ViewBlockDetailResp) GetDetail() *BlockDetail
func (*ViewBlockDetailResp) GetMessage ¶ added in v0.3.0
func (m *ViewBlockDetailResp) GetMessage() string
func (*ViewBlockDetailResp) Marshal ¶ added in v0.3.0
func (m *ViewBlockDetailResp) Marshal() (dAtA []byte, err error)
func (*ViewBlockDetailResp) MarshalTo ¶ added in v0.3.0
func (m *ViewBlockDetailResp) MarshalTo(dAtA []byte) (int, error)
func (*ViewBlockDetailResp) ProtoMessage ¶ added in v0.3.0
func (*ViewBlockDetailResp) ProtoMessage()
func (*ViewBlockDetailResp) Reset ¶ added in v0.3.0
func (m *ViewBlockDetailResp) Reset()
func (*ViewBlockDetailResp) Size ¶ added in v0.3.0
func (m *ViewBlockDetailResp) Size() (n int)
func (*ViewBlockDetailResp) String ¶ added in v0.3.0
func (m *ViewBlockDetailResp) String() string
func (*ViewBlockDetailResp) Unmarshal ¶ added in v0.3.0
func (m *ViewBlockDetailResp) Unmarshal(dAtA []byte) error
func (*ViewBlockDetailResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ViewBlockDetailResp) XXX_DiscardUnknown()
func (*ViewBlockDetailResp) XXX_Marshal ¶ added in v0.3.0
func (m *ViewBlockDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewBlockDetailResp) XXX_Merge ¶ added in v0.3.0
func (m *ViewBlockDetailResp) XXX_Merge(src proto.Message)
func (*ViewBlockDetailResp) XXX_Size ¶ added in v0.3.0
func (m *ViewBlockDetailResp) XXX_Size() int
func (*ViewBlockDetailResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *ViewBlockDetailResp) XXX_Unmarshal(b []byte) error
type ViewTxDetailReq ¶ added in v0.3.0
type ViewTxDetailReq struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
SpreadSplit bool `protobuf:"varint,2,opt,name=spread_split,json=spreadSplit,proto3" json:"spread_split,omitempty"`
}
func (*ViewTxDetailReq) Descriptor ¶ added in v0.3.0
func (*ViewTxDetailReq) Descriptor() ([]byte, []int)
func (*ViewTxDetailReq) GetHash ¶ added in v0.3.0
func (m *ViewTxDetailReq) GetHash() string
func (*ViewTxDetailReq) GetSpreadSplit ¶ added in v0.3.1
func (m *ViewTxDetailReq) GetSpreadSplit() bool
func (*ViewTxDetailReq) Marshal ¶ added in v0.3.0
func (m *ViewTxDetailReq) Marshal() (dAtA []byte, err error)
func (*ViewTxDetailReq) MarshalTo ¶ added in v0.3.0
func (m *ViewTxDetailReq) MarshalTo(dAtA []byte) (int, error)
func (*ViewTxDetailReq) ProtoMessage ¶ added in v0.3.0
func (*ViewTxDetailReq) ProtoMessage()
func (*ViewTxDetailReq) Reset ¶ added in v0.3.0
func (m *ViewTxDetailReq) Reset()
func (*ViewTxDetailReq) Size ¶ added in v0.3.0
func (m *ViewTxDetailReq) Size() (n int)
func (*ViewTxDetailReq) String ¶ added in v0.3.0
func (m *ViewTxDetailReq) String() string
func (*ViewTxDetailReq) Unmarshal ¶ added in v0.3.0
func (m *ViewTxDetailReq) Unmarshal(dAtA []byte) error
func (*ViewTxDetailReq) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ViewTxDetailReq) XXX_DiscardUnknown()
func (*ViewTxDetailReq) XXX_Marshal ¶ added in v0.3.0
func (m *ViewTxDetailReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewTxDetailReq) XXX_Merge ¶ added in v0.3.0
func (m *ViewTxDetailReq) XXX_Merge(src proto.Message)
func (*ViewTxDetailReq) XXX_Size ¶ added in v0.3.0
func (m *ViewTxDetailReq) XXX_Size() int
func (*ViewTxDetailReq) XXX_Unmarshal ¶ added in v0.3.0
func (m *ViewTxDetailReq) XXX_Unmarshal(b []byte) error
type ViewTxDetailResp ¶ added in v0.3.0
type ViewTxDetailResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
BlockHeight uint32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Status TxStatus `protobuf:"varint,6,opt,name=status,proto3,enum=rpcpb.TxStatus" json:"status,omitempty"`
Detail *TxDetail `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
}
func (*ViewTxDetailResp) Descriptor ¶ added in v0.3.0
func (*ViewTxDetailResp) Descriptor() ([]byte, []int)
func (*ViewTxDetailResp) GetBlockHeight ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetBlockHeight() uint32
func (*ViewTxDetailResp) GetBlockTime ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetBlockTime() int64
func (*ViewTxDetailResp) GetCode ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetCode() int32
func (*ViewTxDetailResp) GetDetail ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetDetail() *TxDetail
func (*ViewTxDetailResp) GetMessage ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetMessage() string
func (*ViewTxDetailResp) GetStatus ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetStatus() TxStatus
func (*ViewTxDetailResp) GetVersion ¶ added in v0.3.0
func (m *ViewTxDetailResp) GetVersion() int32
func (*ViewTxDetailResp) Marshal ¶ added in v0.3.0
func (m *ViewTxDetailResp) Marshal() (dAtA []byte, err error)
func (*ViewTxDetailResp) MarshalTo ¶ added in v0.3.0
func (m *ViewTxDetailResp) MarshalTo(dAtA []byte) (int, error)
func (*ViewTxDetailResp) ProtoMessage ¶ added in v0.3.0
func (*ViewTxDetailResp) ProtoMessage()
func (*ViewTxDetailResp) Reset ¶ added in v0.3.0
func (m *ViewTxDetailResp) Reset()
func (*ViewTxDetailResp) Size ¶ added in v0.3.0
func (m *ViewTxDetailResp) Size() (n int)
func (*ViewTxDetailResp) String ¶ added in v0.3.0
func (m *ViewTxDetailResp) String() string
func (*ViewTxDetailResp) Unmarshal ¶ added in v0.3.0
func (m *ViewTxDetailResp) Unmarshal(dAtA []byte) error
func (*ViewTxDetailResp) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ViewTxDetailResp) XXX_DiscardUnknown()
func (*ViewTxDetailResp) XXX_Marshal ¶ added in v0.3.0
func (m *ViewTxDetailResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewTxDetailResp) XXX_Merge ¶ added in v0.3.0
func (m *ViewTxDetailResp) XXX_Merge(src proto.Message)
func (*ViewTxDetailResp) XXX_Size ¶ added in v0.3.0
func (m *ViewTxDetailResp) XXX_Size() int
func (*ViewTxDetailResp) XXX_Unmarshal ¶ added in v0.3.0
func (m *ViewTxDetailResp) XXX_Unmarshal(b []byte) error
type WebApiClient ¶ added in v0.3.0
type WebApiClient interface {
ViewTxDetail(ctx context.Context, in *ViewTxDetailReq, opts ...grpc.CallOption) (*ViewTxDetailResp, error)
ViewBlockDetail(ctx context.Context, in *ViewBlockDetailReq, opts ...grpc.CallOption) (*ViewBlockDetailResp, error)
ListenAndReadNewBlock(ctx context.Context, in *ListenBlocksReq, opts ...grpc.CallOption) (WebApi_ListenAndReadNewBlockClient, error)
DoCall(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*CallResp, error)
Nonce(ctx context.Context, in *NonceReq, opts ...grpc.CallOption) (*NonceResp, error)
ListenAndReadNewLog(ctx context.Context, in *LogsReq, opts ...grpc.CallOption) (WebApi_ListenAndReadNewLogClient, error)
GetLogs(ctx context.Context, in *LogsReq, opts ...grpc.CallOption) (*Logs, error)
}
WebApiClient is the client API for WebApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebApiClient ¶ added in v0.3.0
func NewWebApiClient(cc *grpc.ClientConn) WebApiClient
type WebApiServer ¶ added in v0.3.0
type WebApiServer interface {
ViewTxDetail(context.Context, *ViewTxDetailReq) (*ViewTxDetailResp, error)
ViewBlockDetail(context.Context, *ViewBlockDetailReq) (*ViewBlockDetailResp, error)
ListenAndReadNewBlock(*ListenBlocksReq, WebApi_ListenAndReadNewBlockServer) error
DoCall(context.Context, *CallReq) (*CallResp, error)
Nonce(context.Context, *NonceReq) (*NonceResp, error)
ListenAndReadNewLog(*LogsReq, WebApi_ListenAndReadNewLogServer) error
GetLogs(context.Context, *LogsReq) (*Logs, error)
}
WebApiServer is the server API for WebApi service.
type WebApi_ListenAndReadNewBlockClient ¶ added in v0.3.0
type WebApi_ListenAndReadNewBlockClient interface {
Recv() (*BlockDetail, error)
grpc.ClientStream
}
type WebApi_ListenAndReadNewBlockServer ¶ added in v0.3.0
type WebApi_ListenAndReadNewBlockServer interface {
Send(*BlockDetail) error
grpc.ServerStream
}
type WebApi_ListenAndReadNewLogClient ¶ added in v0.5.0
type WebApi_ListenAndReadNewLogClient interface {
Recv() (*Logs, error)
grpc.ClientStream
}
type WebApi_ListenAndReadNewLogServer ¶ added in v0.5.0
type WebApi_ListenAndReadNewLogServer interface {
Send(*Logs) error
grpc.ServerStream
}