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.
Index ¶
- func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error
- func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer)
- func RegisterApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApiServiceClient) error
- func RegisterApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterApiServiceServer(s *grpc.Server, srv ApiServiceServer)
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)
- func (m *AccountInfo) GetAddress() string
- func (m *AccountInfo) GetBalance() string
- func (m *AccountInfo) GetCreditIndex() string
- func (m *AccountInfo) GetFrozenFund() string
- func (m *AccountInfo) GetNonce() uint64
- func (m *AccountInfo) GetPermissions() []*Permission
- func (m *AccountInfo) GetPledgeFund() string
- func (m *AccountInfo) GetVariablesHash() string
- func (*AccountInfo) ProtoMessage()
- func (m *AccountInfo) Reset()
- func (m *AccountInfo) String() string
- func (m *AccountInfo) XXX_DiscardUnknown()
- func (m *AccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountInfo) XXX_Merge(src proto.Message)
- func (m *AccountInfo) XXX_Size() int
- func (m *AccountInfo) XXX_Unmarshal(b []byte) error
- type AccountsResponse
- func (*AccountsResponse) Descriptor() ([]byte, []int)
- func (m *AccountsResponse) GetAddresses() []string
- func (*AccountsResponse) ProtoMessage()
- func (m *AccountsResponse) Reset()
- func (m *AccountsResponse) String() string
- func (m *AccountsResponse) XXX_DiscardUnknown()
- func (m *AccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountsResponse) XXX_Merge(src proto.Message)
- func (m *AccountsResponse) XXX_Size() int
- func (m *AccountsResponse) XXX_Unmarshal(b []byte) error
- type ActiveCountResponse
- func (*ActiveCountResponse) Descriptor() ([]byte, []int)
- func (m *ActiveCountResponse) GetActiveCount() uint32
- func (*ActiveCountResponse) ProtoMessage()
- func (m *ActiveCountResponse) Reset()
- func (m *ActiveCountResponse) String() string
- func (m *ActiveCountResponse) XXX_DiscardUnknown()
- func (m *ActiveCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActiveCountResponse) XXX_Merge(src proto.Message)
- func (m *ActiveCountResponse) XXX_Size() int
- func (m *ActiveCountResponse) XXX_Unmarshal(b []byte) error
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type AdminServiceClient
- type AdminServiceServer
- type ApiServiceClient
- type ApiServiceServer
- type BalanceResponse
- func (*BalanceResponse) Descriptor() ([]byte, []int)
- func (m *BalanceResponse) GetBalance() string
- func (m *BalanceResponse) GetFrozenFund() string
- func (m *BalanceResponse) GetPledgeFund() string
- func (*BalanceResponse) ProtoMessage()
- func (m *BalanceResponse) Reset()
- func (m *BalanceResponse) String() string
- func (m *BalanceResponse) XXX_DiscardUnknown()
- func (m *BalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalanceResponse) XXX_Merge(src proto.Message)
- func (m *BalanceResponse) XXX_Size() int
- func (m *BalanceResponse) XXX_Unmarshal(b []byte) error
- type BlockChainInfo
- func (*BlockChainInfo) Descriptor() ([]byte, []int)
- func (m *BlockChainInfo) GetBestBlockHash() string
- func (m *BlockChainInfo) GetChainId() uint32
- func (m *BlockChainInfo) GetConfirmHeight() uint64
- func (m *BlockChainInfo) GetPendingTxSize() uint64
- func (m *BlockChainInfo) GetTailHeight() uint64
- func (*BlockChainInfo) ProtoMessage()
- func (m *BlockChainInfo) Reset()
- func (m *BlockChainInfo) String() string
- func (m *BlockChainInfo) XXX_DiscardUnknown()
- func (m *BlockChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockChainInfo) XXX_Merge(src proto.Message)
- func (m *BlockChainInfo) XXX_Size() int
- func (m *BlockChainInfo) XXX_Unmarshal(b []byte) error
- type BlockHash
- func (*BlockHash) Descriptor() ([]byte, []int)
- func (m *BlockHash) GetHash() string
- func (*BlockHash) ProtoMessage()
- func (m *BlockHash) Reset()
- func (m *BlockHash) String() string
- func (m *BlockHash) XXX_DiscardUnknown()
- func (m *BlockHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHash) XXX_Merge(src proto.Message)
- func (m *BlockHash) XXX_Size() int
- func (m *BlockHash) XXX_Unmarshal(b []byte) error
- type BlockHashAndFull
- func (*BlockHashAndFull) Descriptor() ([]byte, []int)
- func (m *BlockHashAndFull) GetFullFillTransaction() bool
- func (m *BlockHashAndFull) GetHash() string
- func (*BlockHashAndFull) ProtoMessage()
- func (m *BlockHashAndFull) Reset()
- func (m *BlockHashAndFull) String() string
- func (m *BlockHashAndFull) XXX_DiscardUnknown()
- func (m *BlockHashAndFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHashAndFull) XXX_Merge(src proto.Message)
- func (m *BlockHashAndFull) XXX_Size() int
- func (m *BlockHashAndFull) XXX_Unmarshal(b []byte) error
- type BlockHeight
- func (*BlockHeight) Descriptor() ([]byte, []int)
- func (m *BlockHeight) GetHeight() uint64
- func (*BlockHeight) ProtoMessage()
- func (m *BlockHeight) Reset()
- func (m *BlockHeight) String() string
- func (m *BlockHeight) XXX_DiscardUnknown()
- func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeight) XXX_Merge(src proto.Message)
- func (m *BlockHeight) XXX_Size() int
- func (m *BlockHeight) XXX_Unmarshal(b []byte) error
- type BlockHeightAndFull
- func (*BlockHeightAndFull) Descriptor() ([]byte, []int)
- func (m *BlockHeightAndFull) GetFullFillTransaction() bool
- func (m *BlockHeightAndFull) GetHeight() uint64
- func (*BlockHeightAndFull) ProtoMessage()
- func (m *BlockHeightAndFull) Reset()
- func (m *BlockHeightAndFull) String() string
- func (m *BlockHeightAndFull) XXX_DiscardUnknown()
- func (m *BlockHeightAndFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeightAndFull) XXX_Merge(src proto.Message)
- func (m *BlockHeightAndFull) XXX_Size() int
- func (m *BlockHeightAndFull) XXX_Unmarshal(b []byte) error
- type BlockListResponse
- func (*BlockListResponse) Descriptor() ([]byte, []int)
- func (m *BlockListResponse) GetBlocks() []*BlockResponse
- func (*BlockListResponse) ProtoMessage()
- func (m *BlockListResponse) Reset()
- func (m *BlockListResponse) String() string
- func (m *BlockListResponse) XXX_DiscardUnknown()
- func (m *BlockListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockListResponse) XXX_Merge(src proto.Message)
- func (m *BlockListResponse) XXX_Size() int
- func (m *BlockListResponse) XXX_Unmarshal(b []byte) error
- type BlockResponse
- func (*BlockResponse) Descriptor() ([]byte, []int)
- func (m *BlockResponse) GetBestBlock() bool
- func (m *BlockResponse) GetChainId() uint32
- func (m *BlockResponse) GetCoinbase() string
- func (m *BlockResponse) GetExtra() string
- func (m *BlockResponse) GetHash() string
- func (m *BlockResponse) GetHeight() uint64
- func (m *BlockResponse) GetParentHash() string
- func (m *BlockResponse) GetStateRoot() string
- func (m *BlockResponse) GetTimestamp() int64
- func (m *BlockResponse) GetTxs() []*Transaction
- func (m *BlockResponse) GetTxsRoot() string
- func (m *BlockResponse) GetWitnessReward() string
- func (*BlockResponse) ProtoMessage()
- func (m *BlockResponse) Reset()
- func (m *BlockResponse) String() string
- func (m *BlockResponse) XXX_DiscardUnknown()
- func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockResponse) XXX_Merge(src proto.Message)
- func (m *BlockResponse) XXX_Size() int
- func (m *BlockResponse) XXX_Unmarshal(b []byte) error
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)
- func (m *BoolResponse) GetResult() bool
- func (*BoolResponse) ProtoMessage()
- func (m *BoolResponse) Reset()
- func (m *BoolResponse) String() string
- func (m *BoolResponse) XXX_DiscardUnknown()
- func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolResponse) XXX_Merge(src proto.Message)
- func (m *BoolResponse) XXX_Size() int
- func (m *BoolResponse) XXX_Unmarshal(b []byte) error
- type ContractAddressRequest
- func (*ContractAddressRequest) Descriptor() ([]byte, []int)
- func (m *ContractAddressRequest) GetContractAddress() string
- func (*ContractAddressRequest) ProtoMessage()
- func (m *ContractAddressRequest) Reset()
- func (m *ContractAddressRequest) String() string
- func (m *ContractAddressRequest) XXX_DiscardUnknown()
- func (m *ContractAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractAddressRequest) XXX_Merge(src proto.Message)
- func (m *ContractAddressRequest) XXX_Size() int
- func (m *ContractAddressRequest) XXX_Unmarshal(b []byte) error
- type CreditIndexResponse
- func (*CreditIndexResponse) Descriptor() ([]byte, []int)
- func (m *CreditIndexResponse) GetCreditIndex() string
- func (*CreditIndexResponse) ProtoMessage()
- func (m *CreditIndexResponse) Reset()
- func (m *CreditIndexResponse) String() string
- func (m *CreditIndexResponse) XXX_DiscardUnknown()
- func (m *CreditIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreditIndexResponse) XXX_Merge(src proto.Message)
- func (m *CreditIndexResponse) XXX_Size() int
- func (m *CreditIndexResponse) XXX_Unmarshal(b []byte) error
- type GasPriceResponse
- func (*GasPriceResponse) Descriptor() ([]byte, []int)
- func (m *GasPriceResponse) GetGasPrice() string
- func (*GasPriceResponse) ProtoMessage()
- func (m *GasPriceResponse) Reset()
- func (m *GasPriceResponse) String() string
- func (m *GasPriceResponse) XXX_DiscardUnknown()
- func (m *GasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPriceResponse) XXX_Merge(src proto.Message)
- func (m *GasPriceResponse) XXX_Size() int
- func (m *GasPriceResponse) XXX_Unmarshal(b []byte) error
- type GetPendingTransactionsByPageRequest
- func (*GetPendingTransactionsByPageRequest) Descriptor() ([]byte, []int)
- func (m *GetPendingTransactionsByPageRequest) GetLimit() uint32
- func (m *GetPendingTransactionsByPageRequest) GetPage() uint32
- func (*GetPendingTransactionsByPageRequest) ProtoMessage()
- func (m *GetPendingTransactionsByPageRequest) Reset()
- func (m *GetPendingTransactionsByPageRequest) String() string
- func (m *GetPendingTransactionsByPageRequest) XXX_DiscardUnknown()
- func (m *GetPendingTransactionsByPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPendingTransactionsByPageRequest) XXX_Merge(src proto.Message)
- func (m *GetPendingTransactionsByPageRequest) XXX_Size() int
- func (m *GetPendingTransactionsByPageRequest) XXX_Unmarshal(b []byte) error
- type LockAccountRequest
- func (*LockAccountRequest) Descriptor() ([]byte, []int)
- func (m *LockAccountRequest) GetAddress() string
- func (*LockAccountRequest) ProtoMessage()
- func (m *LockAccountRequest) Reset()
- func (m *LockAccountRequest) String() string
- func (m *LockAccountRequest) XXX_DiscardUnknown()
- func (m *LockAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockAccountRequest) XXX_Merge(src proto.Message)
- func (m *LockAccountRequest) XXX_Size() int
- func (m *LockAccountRequest) XXX_Unmarshal(b []byte) error
- type LoggingInfo
- func (*LoggingInfo) Descriptor() ([]byte, []int)
- func (m *LoggingInfo) GetLogAge() uint32
- func (m *LoggingInfo) GetLogLevel() string
- func (m *LoggingInfo) GetLogPath() string
- func (m *LoggingInfo) GetRotationTime() uint32
- func (*LoggingInfo) ProtoMessage()
- func (m *LoggingInfo) Reset()
- func (m *LoggingInfo) String() string
- func (m *LoggingInfo) XXX_DiscardUnknown()
- func (m *LoggingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoggingInfo) XXX_Merge(src proto.Message)
- func (m *LoggingInfo) XXX_Size() int
- func (m *LoggingInfo) XXX_Unmarshal(b []byte) error
- type NetVersion
- func (*NetVersion) Descriptor() ([]byte, []int)
- func (m *NetVersion) GetClientVersion() string
- func (m *NetVersion) GetListen() []string
- func (m *NetVersion) GetNetworkId() uint32
- func (m *NetVersion) GetProtocolVersion() string
- func (*NetVersion) ProtoMessage()
- func (m *NetVersion) Reset()
- func (m *NetVersion) String() string
- func (m *NetVersion) XXX_DiscardUnknown()
- func (m *NetVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetVersion) XXX_Merge(src proto.Message)
- func (m *NetVersion) XXX_Size() int
- func (m *NetVersion) XXX_Unmarshal(b []byte) error
- type NewAccountResponse
- func (*NewAccountResponse) Descriptor() ([]byte, []int)
- func (m *NewAccountResponse) GetAddress() string
- func (m *NewAccountResponse) GetMemo() string
- func (*NewAccountResponse) ProtoMessage()
- func (m *NewAccountResponse) Reset()
- func (m *NewAccountResponse) String() string
- func (m *NewAccountResponse) XXX_DiscardUnknown()
- func (m *NewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAccountResponse) XXX_Merge(src proto.Message)
- func (m *NewAccountResponse) XXX_Size() int
- func (m *NewAccountResponse) XXX_Unmarshal(b []byte) error
- type NodeInfoResponse
- func (*NodeInfoResponse) Descriptor() ([]byte, []int)
- func (m *NodeInfoResponse) GetActiveCount() uint32
- func (m *NodeInfoResponse) GetBucketSize() int32
- func (m *NodeInfoResponse) GetChainId() uint32
- func (m *NodeInfoResponse) GetCoinbase() string
- func (m *NodeInfoResponse) GetConfirmHeight() uint64
- func (m *NodeInfoResponse) GetId() string
- func (m *NodeInfoResponse) GetNetVersion() *NetVersion
- func (m *NodeInfoResponse) GetPeerIds() []string
- func (m *NodeInfoResponse) GetSynchronized() bool
- func (m *NodeInfoResponse) GetTailHeight() uint64
- func (*NodeInfoResponse) ProtoMessage()
- func (m *NodeInfoResponse) Reset()
- func (m *NodeInfoResponse) String() string
- func (m *NodeInfoResponse) XXX_DiscardUnknown()
- func (m *NodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeInfoResponse) XXX_Merge(src proto.Message)
- func (m *NodeInfoResponse) XXX_Size() int
- func (m *NodeInfoResponse) XXX_Unmarshal(b []byte) error
- type NonParamsRequest
- func (*NonParamsRequest) Descriptor() ([]byte, []int)
- func (*NonParamsRequest) ProtoMessage()
- func (m *NonParamsRequest) Reset()
- func (m *NonParamsRequest) String() string
- func (m *NonParamsRequest) XXX_DiscardUnknown()
- func (m *NonParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NonParamsRequest) XXX_Merge(src proto.Message)
- func (m *NonParamsRequest) XXX_Size() int
- func (m *NonParamsRequest) XXX_Unmarshal(b []byte) error
- type PassphraseRequest
- func (*PassphraseRequest) Descriptor() ([]byte, []int)
- func (m *PassphraseRequest) GetPassphrase() string
- func (*PassphraseRequest) ProtoMessage()
- func (m *PassphraseRequest) Reset()
- func (m *PassphraseRequest) String() string
- func (m *PassphraseRequest) XXX_DiscardUnknown()
- func (m *PassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassphraseRequest) XXX_Merge(src proto.Message)
- func (m *PassphraseRequest) XXX_Size() int
- func (m *PassphraseRequest) XXX_Unmarshal(b []byte) error
- type PendingTransaction
- func (*PendingTransaction) Descriptor() ([]byte, []int)
- func (m *PendingTransaction) GetTxs() []*Transaction
- func (*PendingTransaction) ProtoMessage()
- func (m *PendingTransaction) Reset()
- func (m *PendingTransaction) String() string
- func (m *PendingTransaction) XXX_DiscardUnknown()
- func (m *PendingTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingTransaction) XXX_Merge(src proto.Message)
- func (m *PendingTransaction) XXX_Size() int
- func (m *PendingTransaction) XXX_Unmarshal(b []byte) error
- type PendingTransactionsSize
- func (*PendingTransactionsSize) Descriptor() ([]byte, []int)
- func (m *PendingTransactionsSize) GetSize() uint64
- func (*PendingTransactionsSize) ProtoMessage()
- func (m *PendingTransactionsSize) Reset()
- func (m *PendingTransactionsSize) String() string
- func (m *PendingTransactionsSize) XXX_DiscardUnknown()
- func (m *PendingTransactionsSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingTransactionsSize) XXX_Merge(src proto.Message)
- func (m *PendingTransactionsSize) XXX_Size() int
- func (m *PendingTransactionsSize) XXX_Unmarshal(b []byte) error
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)
- func (m *Permission) GetAuthCategory() string
- func (m *Permission) GetAuthMessage() []string
- func (*Permission) ProtoMessage()
- func (m *Permission) Reset()
- func (m *Permission) String() string
- func (m *Permission) XXX_DiscardUnknown()
- func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Permission) XXX_Merge(src proto.Message)
- func (m *Permission) XXX_Size() int
- func (m *Permission) XXX_Unmarshal(b []byte) error
- type PprofRequest
- func (*PprofRequest) Descriptor() ([]byte, []int)
- func (m *PprofRequest) GetListen() string
- func (*PprofRequest) ProtoMessage()
- func (m *PprofRequest) Reset()
- func (m *PprofRequest) String() string
- func (m *PprofRequest) XXX_DiscardUnknown()
- func (m *PprofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PprofRequest) XXX_Merge(src proto.Message)
- func (m *PprofRequest) XXX_Size() int
- func (m *PprofRequest) XXX_Unmarshal(b []byte) error
- type PprofResponse
- func (*PprofResponse) Descriptor() ([]byte, []int)
- func (m *PprofResponse) GetResult() bool
- func (*PprofResponse) ProtoMessage()
- func (m *PprofResponse) Reset()
- func (m *PprofResponse) String() string
- func (m *PprofResponse) XXX_DiscardUnknown()
- func (m *PprofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PprofResponse) XXX_Merge(src proto.Message)
- func (m *PprofResponse) XXX_Size() int
- func (m *PprofResponse) XXX_Unmarshal(b []byte) error
- type PrivKeyAndPassphrase
- func (*PrivKeyAndPassphrase) Descriptor() ([]byte, []int)
- func (m *PrivKeyAndPassphrase) GetPassphrase() string
- func (m *PrivKeyAndPassphrase) GetPriKey() string
- func (*PrivKeyAndPassphrase) ProtoMessage()
- func (m *PrivKeyAndPassphrase) Reset()
- func (m *PrivKeyAndPassphrase) String() string
- func (m *PrivKeyAndPassphrase) XXX_DiscardUnknown()
- func (m *PrivKeyAndPassphrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivKeyAndPassphrase) XXX_Merge(src proto.Message)
- func (m *PrivKeyAndPassphrase) XXX_Size() int
- func (m *PrivKeyAndPassphrase) XXX_Unmarshal(b []byte) error
- type PrivateKey
- func (*PrivateKey) Descriptor() ([]byte, []int)
- func (m *PrivateKey) GetPriKey() string
- func (*PrivateKey) ProtoMessage()
- func (m *PrivateKey) Reset()
- func (m *PrivateKey) String() string
- func (m *PrivateKey) XXX_DiscardUnknown()
- func (m *PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateKey) XXX_Merge(src proto.Message)
- func (m *PrivateKey) XXX_Size() int
- func (m *PrivateKey) XXX_Unmarshal(b []byte) error
- type SendTransactionPassphraseRequest
- func (*SendTransactionPassphraseRequest) Descriptor() ([]byte, []int)
- func (m *SendTransactionPassphraseRequest) GetPassphrase() string
- func (m *SendTransactionPassphraseRequest) GetTransaction() *TransactionRequest
- func (*SendTransactionPassphraseRequest) ProtoMessage()
- func (m *SendTransactionPassphraseRequest) Reset()
- func (m *SendTransactionPassphraseRequest) String() string
- func (m *SendTransactionPassphraseRequest) XXX_DiscardUnknown()
- func (m *SendTransactionPassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTransactionPassphraseRequest) XXX_Merge(src proto.Message)
- func (m *SendTransactionPassphraseRequest) XXX_Size() int
- func (m *SendTransactionPassphraseRequest) XXX_Unmarshal(b []byte) error
- type SignHashRequest
- func (*SignHashRequest) Descriptor() ([]byte, []int)
- func (m *SignHashRequest) GetAddress() string
- func (m *SignHashRequest) GetAlg() uint32
- func (m *SignHashRequest) GetMessage() string
- func (*SignHashRequest) ProtoMessage()
- func (m *SignHashRequest) Reset()
- func (m *SignHashRequest) String() string
- func (m *SignHashRequest) XXX_DiscardUnknown()
- func (m *SignHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignHashRequest) XXX_Merge(src proto.Message)
- func (m *SignHashRequest) XXX_Size() int
- func (m *SignHashRequest) XXX_Unmarshal(b []byte) error
- type SignHashResponse
- func (*SignHashResponse) Descriptor() ([]byte, []int)
- func (m *SignHashResponse) GetData() string
- func (*SignHashResponse) ProtoMessage()
- func (m *SignHashResponse) Reset()
- func (m *SignHashResponse) String() string
- func (m *SignHashResponse) XXX_DiscardUnknown()
- func (m *SignHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignHashResponse) XXX_Merge(src proto.Message)
- func (m *SignHashResponse) XXX_Size() int
- func (m *SignHashResponse) XXX_Unmarshal(b []byte) error
- type SignTransactionPassphraseRequest
- func (*SignTransactionPassphraseRequest) Descriptor() ([]byte, []int)
- func (m *SignTransactionPassphraseRequest) GetPassphrase() string
- func (m *SignTransactionPassphraseRequest) GetTransaction() *TransactionRequest
- func (*SignTransactionPassphraseRequest) ProtoMessage()
- func (m *SignTransactionPassphraseRequest) Reset()
- func (m *SignTransactionPassphraseRequest) String() string
- func (m *SignTransactionPassphraseRequest) XXX_DiscardUnknown()
- func (m *SignTransactionPassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignTransactionPassphraseRequest) XXX_Merge(src proto.Message)
- func (m *SignTransactionPassphraseRequest) XXX_Size() int
- func (m *SignTransactionPassphraseRequest) XXX_Unmarshal(b []byte) error
- type SignTransactionPassphraseResponse
- func (*SignTransactionPassphraseResponse) Descriptor() ([]byte, []int)
- func (m *SignTransactionPassphraseResponse) GetData() []byte
- func (*SignTransactionPassphraseResponse) ProtoMessage()
- func (m *SignTransactionPassphraseResponse) Reset()
- func (m *SignTransactionPassphraseResponse) String() string
- func (m *SignTransactionPassphraseResponse) XXX_DiscardUnknown()
- func (m *SignTransactionPassphraseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignTransactionPassphraseResponse) XXX_Merge(src proto.Message)
- func (m *SignTransactionPassphraseResponse) XXX_Size() int
- func (m *SignTransactionPassphraseResponse) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetChainId() uint32
- func (m *Transaction) GetData() string
- func (m *Transaction) GetFee() string
- func (m *Transaction) GetFrom() string
- func (m *Transaction) GetHash() string
- func (m *Transaction) GetNonce() uint64
- func (m *Transaction) GetPriority() uint32
- func (m *Transaction) GetPubKey() string
- func (m *Transaction) GetSignature() string
- func (m *Transaction) GetTimestamp() int64
- func (m *Transaction) GetTo() string
- func (m *Transaction) GetType() string
- func (m *Transaction) GetValue() string
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionHash
- func (*TransactionHash) Descriptor() ([]byte, []int)
- func (m *TransactionHash) GetHash() string
- func (*TransactionHash) ProtoMessage()
- func (m *TransactionHash) Reset()
- func (m *TransactionHash) String() string
- func (m *TransactionHash) XXX_DiscardUnknown()
- func (m *TransactionHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionHash) XXX_Merge(src proto.Message)
- func (m *TransactionHash) XXX_Size() int
- func (m *TransactionHash) XXX_Unmarshal(b []byte) error
- type TransactionReceipt
- func (*TransactionReceipt) Descriptor() ([]byte, []int)
- func (m *TransactionReceipt) GetBlockHash() string
- func (m *TransactionReceipt) GetBlockHeight() uint64
- func (m *TransactionReceipt) GetChainId() uint32
- func (m *TransactionReceipt) GetContractAddress() string
- func (m *TransactionReceipt) GetData() string
- func (m *TransactionReceipt) GetErrorMessage() string
- func (m *TransactionReceipt) GetFee() string
- func (m *TransactionReceipt) GetFrom() string
- func (m *TransactionReceipt) GetHash() string
- func (m *TransactionReceipt) GetNonce() uint64
- func (m *TransactionReceipt) GetPriority() uint32
- func (m *TransactionReceipt) GetSignature() string
- func (m *TransactionReceipt) GetStatus() uint32
- func (m *TransactionReceipt) GetTimestamp() int64
- func (m *TransactionReceipt) GetTo() string
- func (m *TransactionReceipt) GetType() string
- func (m *TransactionReceipt) GetValue() string
- func (*TransactionReceipt) ProtoMessage()
- func (m *TransactionReceipt) Reset()
- func (m *TransactionReceipt) String() string
- func (m *TransactionReceipt) XXX_DiscardUnknown()
- func (m *TransactionReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionReceipt) XXX_Merge(src proto.Message)
- func (m *TransactionReceipt) XXX_Size() int
- func (m *TransactionReceipt) XXX_Unmarshal(b []byte) error
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)
- func (m *TransactionRequest) GetData() string
- func (m *TransactionRequest) GetFrom() string
- func (m *TransactionRequest) GetNonce() uint64
- func (m *TransactionRequest) GetPriority() uint32
- func (m *TransactionRequest) GetTo() string
- func (m *TransactionRequest) GetType() string
- func (m *TransactionRequest) GetValue() string
- func (*TransactionRequest) ProtoMessage()
- func (m *TransactionRequest) Reset()
- func (m *TransactionRequest) String() string
- func (m *TransactionRequest) XXX_DiscardUnknown()
- func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionRequest) XXX_Merge(src proto.Message)
- func (m *TransactionRequest) XXX_Size() int
- func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedAdminServiceServer
- func (*UnimplementedAdminServiceServer) Accounts(ctx context.Context, req *NonParamsRequest) (*AccountsResponse, error)
- func (*UnimplementedAdminServiceServer) GeneratePrivateKey(ctx context.Context, req *NonParamsRequest) (*PrivateKey, error)
- func (*UnimplementedAdminServiceServer) ImportAccount(ctx context.Context, req *PrivKeyAndPassphrase) (*Address, error)
- func (*UnimplementedAdminServiceServer) LockAccount(ctx context.Context, req *LockAccountRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) Logging(ctx context.Context, req *LoggingInfo) (*LoggingInfo, error)
- func (*UnimplementedAdminServiceServer) NewAccount(ctx context.Context, req *PassphraseRequest) (*NewAccountResponse, error)
- func (*UnimplementedAdminServiceServer) SendTransaction(ctx context.Context, req *TransactionRequest) (*TransactionHash, error)
- func (*UnimplementedAdminServiceServer) SendTransactionWithPassphrase(ctx context.Context, req *SendTransactionPassphraseRequest) (*TransactionHash, error)
- func (*UnimplementedAdminServiceServer) Sign(ctx context.Context, req *SignHashRequest) (*SignHashResponse, error)
- func (*UnimplementedAdminServiceServer) SignTransactionWithPassphrase(ctx context.Context, req *SignTransactionPassphraseRequest) (*SignTransactionPassphraseResponse, error)
- func (*UnimplementedAdminServiceServer) StartMining(ctx context.Context, req *PassphraseRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) StartPprof(ctx context.Context, req *PprofRequest) (*PprofResponse, error)
- func (*UnimplementedAdminServiceServer) Stop(ctx context.Context, req *NonParamsRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) StopMining(ctx context.Context, req *NonParamsRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) UnlockAccount(ctx context.Context, req *UnlockAccountRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) UpdateAccount(ctx context.Context, req *UpdateAccountRequest) (*BoolResponse, error)
- func (*UnimplementedAdminServiceServer) VerifyMessage(ctx context.Context, req *VerifyMessageRequest) (*BoolResponse, error)
- type UnimplementedApiServiceServer
- func (*UnimplementedApiServiceServer) GetAccount(ctx context.Context, req *Address) (*AccountInfo, error)
- func (*UnimplementedApiServiceServer) GetActiveCount(ctx context.Context, req *NonParamsRequest) (*ActiveCountResponse, error)
- func (*UnimplementedApiServiceServer) GetBalance(ctx context.Context, req *Address) (*BalanceResponse, error)
- func (*UnimplementedApiServiceServer) GetBestBlockByHeight(ctx context.Context, req *BlockHeightAndFull) (*BlockResponse, error)
- func (*UnimplementedApiServiceServer) GetBestBlockHash(ctx context.Context, req *NonParamsRequest) (*BlockHash, error)
- func (*UnimplementedApiServiceServer) GetBlockByHash(ctx context.Context, req *BlockHashAndFull) (*BlockResponse, error)
- func (*UnimplementedApiServiceServer) GetBlockChainInfo(ctx context.Context, req *NonParamsRequest) (*BlockChainInfo, error)
- func (*UnimplementedApiServiceServer) GetBlocksByHeight(ctx context.Context, req *BlockHeightAndFull) (*BlockListResponse, error)
- func (*UnimplementedApiServiceServer) GetCreditIndex(ctx context.Context, req *Address) (*CreditIndexResponse, error)
- func (*UnimplementedApiServiceServer) GetMaxHeight(ctx context.Context, req *NonParamsRequest) (*BlockHeight, error)
- func (*UnimplementedApiServiceServer) GetNetVersion(ctx context.Context, req *NonParamsRequest) (*NetVersion, error)
- func (*UnimplementedApiServiceServer) GetPendingTransactionsByPage(ctx context.Context, req *GetPendingTransactionsByPageRequest) (*PendingTransaction, error)
- func (*UnimplementedApiServiceServer) GetPendingTransactionsSize(ctx context.Context, req *NonParamsRequest) (*PendingTransactionsSize, error)
- func (*UnimplementedApiServiceServer) GetTransactionByContractAddress(ctx context.Context, req *ContractAddressRequest) (*TransactionReceipt, error)
- func (*UnimplementedApiServiceServer) GetTransactionByHash(ctx context.Context, req *TransactionHash) (*TransactionReceipt, error)
- func (*UnimplementedApiServiceServer) NodeInfo(ctx context.Context, req *NonParamsRequest) (*NodeInfoResponse, error)
- func (*UnimplementedApiServiceServer) SendSignedTransaction(ctx context.Context, req *Transaction) (*BoolResponse, error)
- type UnlockAccountRequest
- func (*UnlockAccountRequest) Descriptor() ([]byte, []int)
- func (m *UnlockAccountRequest) GetAddress() string
- func (m *UnlockAccountRequest) GetDuration() uint64
- func (m *UnlockAccountRequest) GetPassphrase() string
- func (*UnlockAccountRequest) ProtoMessage()
- func (m *UnlockAccountRequest) Reset()
- func (m *UnlockAccountRequest) String() string
- func (m *UnlockAccountRequest) XXX_DiscardUnknown()
- func (m *UnlockAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnlockAccountRequest) XXX_Merge(src proto.Message)
- func (m *UnlockAccountRequest) XXX_Size() int
- func (m *UnlockAccountRequest) XXX_Unmarshal(b []byte) error
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAccountRequest) GetAddress() string
- func (m *UpdateAccountRequest) GetNewPassphrase() string
- func (m *UpdateAccountRequest) GetOldPassphrase() string
- func (*UpdateAccountRequest) ProtoMessage()
- func (m *UpdateAccountRequest) Reset()
- func (m *UpdateAccountRequest) String() string
- func (m *UpdateAccountRequest) XXX_DiscardUnknown()
- func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAccountRequest) XXX_Merge(src proto.Message)
- func (m *UpdateAccountRequest) XXX_Size() int
- func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error
- type VerifyMessageRequest
- func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
- func (m *VerifyMessageRequest) GetAddress() string
- func (m *VerifyMessageRequest) GetMessage() string
- func (m *VerifyMessageRequest) GetSignature() string
- func (*VerifyMessageRequest) ProtoMessage()
- func (m *VerifyMessageRequest) Reset()
- func (m *VerifyMessageRequest) String() string
- func (m *VerifyMessageRequest) XXX_DiscardUnknown()
- func (m *VerifyMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyMessageRequest) XXX_Merge(src proto.Message)
- func (m *VerifyMessageRequest) XXX_Size() int
- func (m *VerifyMessageRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdminServiceHandler ¶
func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdminServiceHandlerClient ¶
func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error
RegisterAdminServiceHandlerClient registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdminServiceClient" to call the correct interceptors.
func RegisterAdminServiceHandlerFromEndpoint ¶
func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer)
func RegisterApiServiceHandler ¶
func RegisterApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterApiServiceHandler registers the http handlers for service ApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterApiServiceHandlerClient ¶
func RegisterApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApiServiceClient) error
RegisterApiServiceHandlerClient registers the http handlers for service ApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApiServiceClient" to call the correct interceptors.
func RegisterApiServiceHandlerFromEndpoint ¶
func RegisterApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterApiServiceHandlerFromEndpoint is same as RegisterApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterApiServiceServer ¶
func RegisterApiServiceServer(s *grpc.Server, srv ApiServiceServer)
Types ¶
type AccountInfo ¶
type AccountInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` FrozenFund string `protobuf:"bytes,3,opt,name=frozen_fund,json=frozenFund,proto3" json:"frozen_fund,omitempty"` PledgeFund string `protobuf:"bytes,4,opt,name=pledge_fund,json=pledgeFund,proto3" json:"pledge_fund,omitempty"` Nonce uint64 `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"` VariablesHash string `protobuf:"bytes,6,opt,name=variables_hash,json=variablesHash,proto3" json:"variables_hash,omitempty"` CreditIndex string `protobuf:"bytes,7,opt,name=credit_index,json=creditIndex,proto3" json:"credit_index,omitempty"` Permissions []*Permission `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountInfo) Descriptor ¶
func (*AccountInfo) Descriptor() ([]byte, []int)
func (*AccountInfo) GetAddress ¶
func (m *AccountInfo) GetAddress() string
func (*AccountInfo) GetBalance ¶
func (m *AccountInfo) GetBalance() string
func (*AccountInfo) GetCreditIndex ¶
func (m *AccountInfo) GetCreditIndex() string
func (*AccountInfo) GetFrozenFund ¶
func (m *AccountInfo) GetFrozenFund() string
func (*AccountInfo) GetNonce ¶
func (m *AccountInfo) GetNonce() uint64
func (*AccountInfo) GetPermissions ¶
func (m *AccountInfo) GetPermissions() []*Permission
func (*AccountInfo) GetPledgeFund ¶
func (m *AccountInfo) GetPledgeFund() string
func (*AccountInfo) GetVariablesHash ¶
func (m *AccountInfo) GetVariablesHash() string
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) Reset ¶
func (m *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (m *AccountInfo) String() string
func (*AccountInfo) XXX_DiscardUnknown ¶
func (m *AccountInfo) XXX_DiscardUnknown()
func (*AccountInfo) XXX_Marshal ¶
func (m *AccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountInfo) XXX_Merge ¶
func (m *AccountInfo) XXX_Merge(src proto.Message)
func (*AccountInfo) XXX_Size ¶
func (m *AccountInfo) XXX_Size() int
func (*AccountInfo) XXX_Unmarshal ¶
func (m *AccountInfo) XXX_Unmarshal(b []byte) error
type AccountsResponse ¶
type AccountsResponse struct { // Account list Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message of Accounts rpc.
func (*AccountsResponse) Descriptor ¶
func (*AccountsResponse) Descriptor() ([]byte, []int)
func (*AccountsResponse) GetAddresses ¶
func (m *AccountsResponse) GetAddresses() []string
func (*AccountsResponse) ProtoMessage ¶
func (*AccountsResponse) ProtoMessage()
func (*AccountsResponse) Reset ¶
func (m *AccountsResponse) Reset()
func (*AccountsResponse) String ¶
func (m *AccountsResponse) String() string
func (*AccountsResponse) XXX_DiscardUnknown ¶
func (m *AccountsResponse) XXX_DiscardUnknown()
func (*AccountsResponse) XXX_Marshal ¶
func (m *AccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountsResponse) XXX_Merge ¶
func (m *AccountsResponse) XXX_Merge(src proto.Message)
func (*AccountsResponse) XXX_Size ¶
func (m *AccountsResponse) XXX_Size() int
func (*AccountsResponse) XXX_Unmarshal ¶
func (m *AccountsResponse) XXX_Unmarshal(b []byte) error
type ActiveCountResponse ¶
type ActiveCountResponse struct { ActiveCount uint32 `protobuf:"varint,1,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActiveCountResponse) Descriptor ¶
func (*ActiveCountResponse) Descriptor() ([]byte, []int)
func (*ActiveCountResponse) GetActiveCount ¶
func (m *ActiveCountResponse) GetActiveCount() uint32
func (*ActiveCountResponse) ProtoMessage ¶
func (*ActiveCountResponse) ProtoMessage()
func (*ActiveCountResponse) Reset ¶
func (m *ActiveCountResponse) Reset()
func (*ActiveCountResponse) String ¶
func (m *ActiveCountResponse) String() string
func (*ActiveCountResponse) XXX_DiscardUnknown ¶
func (m *ActiveCountResponse) XXX_DiscardUnknown()
func (*ActiveCountResponse) XXX_Marshal ¶
func (m *ActiveCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveCountResponse) XXX_Merge ¶
func (m *ActiveCountResponse) XXX_Merge(src proto.Message)
func (*ActiveCountResponse) XXX_Size ¶
func (m *ActiveCountResponse) XXX_Size() int
func (*ActiveCountResponse) XXX_Unmarshal ¶
func (m *ActiveCountResponse) XXX_Unmarshal(b []byte) error
type Address ¶
type Address struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type AdminServiceClient ¶
type AdminServiceClient interface { // start mining StartMining(ctx context.Context, in *PassphraseRequest, opts ...grpc.CallOption) (*BoolResponse, error) // stop mining StopMining(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*BoolResponse, error) // Accounts return account list. Accounts(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*AccountsResponse, error) // NewAccount create a new account with passphrase NewAccount(ctx context.Context, in *PassphraseRequest, opts ...grpc.CallOption) (*NewAccountResponse, error) // NewAccount create a new account with passphrase UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*BoolResponse, error) // NewAccount create a new account with passphrase ImportAccount(ctx context.Context, in *PrivKeyAndPassphrase, opts ...grpc.CallOption) (*Address, error) // UnlockAccount unlock account with passphrase UnlockAccount(ctx context.Context, in *UnlockAccountRequest, opts ...grpc.CallOption) (*BoolResponse, error) // LockAccount lock account LockAccount(ctx context.Context, in *LockAccountRequest, opts ...grpc.CallOption) (*BoolResponse, error) // Verify, sign, and send the transaction. SendTransaction(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*TransactionHash, error) // Sign sign msg Sign(ctx context.Context, in *SignHashRequest, opts ...grpc.CallOption) (*SignHashResponse, error) // Sign sign msg VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*BoolResponse, error) // Sign sign transaction SignTransactionWithPassphrase(ctx context.Context, in *SignTransactionPassphraseRequest, opts ...grpc.CallOption) (*SignTransactionPassphraseResponse, error) // SendTransactionWithPassphrase send transaction with passphrase SendTransactionWithPassphrase(ctx context.Context, in *SendTransactionPassphraseRequest, opts ...grpc.CallOption) (*TransactionHash, error) StartPprof(ctx context.Context, in *PprofRequest, opts ...grpc.CallOption) (*PprofResponse, error) //return transaction Stop(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*BoolResponse, error) //return Logging Info Logging(ctx context.Context, in *LoggingInfo, opts ...grpc.CallOption) (*LoggingInfo, error) //Return the key pair GeneratePrivateKey(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*PrivateKey, error) }
AdminServiceClient is the client API for AdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAdminServiceClient ¶
func NewAdminServiceClient(cc *grpc.ClientConn) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { // start mining StartMining(context.Context, *PassphraseRequest) (*BoolResponse, error) // stop mining StopMining(context.Context, *NonParamsRequest) (*BoolResponse, error) // Accounts return account list. Accounts(context.Context, *NonParamsRequest) (*AccountsResponse, error) // NewAccount create a new account with passphrase NewAccount(context.Context, *PassphraseRequest) (*NewAccountResponse, error) // NewAccount create a new account with passphrase UpdateAccount(context.Context, *UpdateAccountRequest) (*BoolResponse, error) // NewAccount create a new account with passphrase ImportAccount(context.Context, *PrivKeyAndPassphrase) (*Address, error) // UnlockAccount unlock account with passphrase UnlockAccount(context.Context, *UnlockAccountRequest) (*BoolResponse, error) // LockAccount lock account LockAccount(context.Context, *LockAccountRequest) (*BoolResponse, error) // Verify, sign, and send the transaction. SendTransaction(context.Context, *TransactionRequest) (*TransactionHash, error) // Sign sign msg Sign(context.Context, *SignHashRequest) (*SignHashResponse, error) // Sign sign msg VerifyMessage(context.Context, *VerifyMessageRequest) (*BoolResponse, error) // Sign sign transaction SignTransactionWithPassphrase(context.Context, *SignTransactionPassphraseRequest) (*SignTransactionPassphraseResponse, error) // SendTransactionWithPassphrase send transaction with passphrase SendTransactionWithPassphrase(context.Context, *SendTransactionPassphraseRequest) (*TransactionHash, error) StartPprof(context.Context, *PprofRequest) (*PprofResponse, error) //return transaction Stop(context.Context, *NonParamsRequest) (*BoolResponse, error) //return Logging Info Logging(context.Context, *LoggingInfo) (*LoggingInfo, error) //Return the key pair GeneratePrivateKey(context.Context, *NonParamsRequest) (*PrivateKey, error) }
AdminServiceServer is the server API for AdminService service.
type ApiServiceClient ¶
type ApiServiceClient interface { // get pending transactions by page GetPendingTransactionsByPage(ctx context.Context, in *GetPendingTransactionsByPageRequest, opts ...grpc.CallOption) (*PendingTransaction, error) // get pending transactions size GetPendingTransactionsSize(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*PendingTransactionsSize, error) // get block by hash GetBlockByHash(ctx context.Context, in *BlockHashAndFull, opts ...grpc.CallOption) (*BlockResponse, error) // get best block hash GetBestBlockHash(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*BlockHash, error) // get max block height GetMaxHeight(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*BlockHeight, error) // get best block by height GetBestBlockByHeight(ctx context.Context, in *BlockHeightAndFull, opts ...grpc.CallOption) (*BlockResponse, error) // get best block by height GetBlocksByHeight(ctx context.Context, in *BlockHeightAndFull, opts ...grpc.CallOption) (*BlockListResponse, error) // get account info by address GetAccount(ctx context.Context, in *Address, opts ...grpc.CallOption) (*AccountInfo, error) // get creditIndex by address GetCreditIndex(ctx context.Context, in *Address, opts ...grpc.CallOption) (*CreditIndexResponse, error) // Return the block chain info GetBlockChainInfo(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*BlockChainInfo, error) // Return active count of the node GetActiveCount(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*ActiveCountResponse, error) // Return net version GetNetVersion(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*NetVersion, error) // Return the p2p node info. NodeInfo(ctx context.Context, in *NonParamsRequest, opts ...grpc.CallOption) (*NodeInfoResponse, error) //return transaction GetTransactionByContractAddress(ctx context.Context, in *ContractAddressRequest, opts ...grpc.CallOption) (*TransactionReceipt, error) //return transaction GetTransactionByHash(ctx context.Context, in *TransactionHash, opts ...grpc.CallOption) (*TransactionReceipt, error) //return balance GetBalance(ctx context.Context, in *Address, opts ...grpc.CallOption) (*BalanceResponse, error) //send sign tx SendSignedTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*BoolResponse, error) }
ApiServiceClient is the client API for ApiService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewApiServiceClient ¶
func NewApiServiceClient(cc *grpc.ClientConn) ApiServiceClient
type ApiServiceServer ¶
type ApiServiceServer interface { // get pending transactions by page GetPendingTransactionsByPage(context.Context, *GetPendingTransactionsByPageRequest) (*PendingTransaction, error) // get pending transactions size GetPendingTransactionsSize(context.Context, *NonParamsRequest) (*PendingTransactionsSize, error) // get block by hash GetBlockByHash(context.Context, *BlockHashAndFull) (*BlockResponse, error) // get best block hash GetBestBlockHash(context.Context, *NonParamsRequest) (*BlockHash, error) // get max block height GetMaxHeight(context.Context, *NonParamsRequest) (*BlockHeight, error) // get best block by height GetBestBlockByHeight(context.Context, *BlockHeightAndFull) (*BlockResponse, error) // get best block by height GetBlocksByHeight(context.Context, *BlockHeightAndFull) (*BlockListResponse, error) // get account info by address GetAccount(context.Context, *Address) (*AccountInfo, error) // get creditIndex by address GetCreditIndex(context.Context, *Address) (*CreditIndexResponse, error) // Return the block chain info GetBlockChainInfo(context.Context, *NonParamsRequest) (*BlockChainInfo, error) // Return active count of the node GetActiveCount(context.Context, *NonParamsRequest) (*ActiveCountResponse, error) // Return net version GetNetVersion(context.Context, *NonParamsRequest) (*NetVersion, error) // Return the p2p node info. NodeInfo(context.Context, *NonParamsRequest) (*NodeInfoResponse, error) //return transaction GetTransactionByContractAddress(context.Context, *ContractAddressRequest) (*TransactionReceipt, error) //return transaction GetTransactionByHash(context.Context, *TransactionHash) (*TransactionReceipt, error) //return balance GetBalance(context.Context, *Address) (*BalanceResponse, error) //send sign tx SendSignedTransaction(context.Context, *Transaction) (*BoolResponse, error) }
ApiServiceServer is the server API for ApiService service.
type BalanceResponse ¶
type BalanceResponse struct { Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` FrozenFund string `protobuf:"bytes,2,opt,name=frozen_fund,json=frozenFund,proto3" json:"frozen_fund,omitempty"` PledgeFund string `protobuf:"bytes,3,opt,name=pledge_fund,json=pledgeFund,proto3" json:"pledge_fund,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BalanceResponse) Descriptor ¶
func (*BalanceResponse) Descriptor() ([]byte, []int)
func (*BalanceResponse) GetBalance ¶
func (m *BalanceResponse) GetBalance() string
func (*BalanceResponse) GetFrozenFund ¶
func (m *BalanceResponse) GetFrozenFund() string
func (*BalanceResponse) GetPledgeFund ¶
func (m *BalanceResponse) GetPledgeFund() string
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) Reset ¶
func (m *BalanceResponse) Reset()
func (*BalanceResponse) String ¶
func (m *BalanceResponse) String() string
func (*BalanceResponse) XXX_DiscardUnknown ¶
func (m *BalanceResponse) XXX_DiscardUnknown()
func (*BalanceResponse) XXX_Marshal ¶
func (m *BalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalanceResponse) XXX_Merge ¶
func (m *BalanceResponse) XXX_Merge(src proto.Message)
func (*BalanceResponse) XXX_Size ¶
func (m *BalanceResponse) XXX_Size() int
func (*BalanceResponse) XXX_Unmarshal ¶
func (m *BalanceResponse) XXX_Unmarshal(b []byte) error
type BlockChainInfo ¶
type BlockChainInfo struct { //The id of the chain in which the node is located ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` //tail block height TailHeight uint64 `protobuf:"varint,2,opt,name=tail_height,json=tailHeight,proto3" json:"tail_height,omitempty"` //confirm block height ConfirmHeight uint64 `protobuf:"varint,3,opt,name=confirm_height,json=confirmHeight,proto3" json:"confirm_height,omitempty"` //best block hash BestBlockHash string `protobuf:"bytes,4,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"` //pending transaction size PendingTxSize uint64 `protobuf:"varint,5,opt,name=pending_tx_size,json=pendingTxSize,proto3" json:"pending_tx_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockChainInfo) Descriptor ¶
func (*BlockChainInfo) Descriptor() ([]byte, []int)
func (*BlockChainInfo) GetBestBlockHash ¶
func (m *BlockChainInfo) GetBestBlockHash() string
func (*BlockChainInfo) GetChainId ¶
func (m *BlockChainInfo) GetChainId() uint32
func (*BlockChainInfo) GetConfirmHeight ¶
func (m *BlockChainInfo) GetConfirmHeight() uint64
func (*BlockChainInfo) GetPendingTxSize ¶
func (m *BlockChainInfo) GetPendingTxSize() uint64
func (*BlockChainInfo) GetTailHeight ¶
func (m *BlockChainInfo) GetTailHeight() uint64
func (*BlockChainInfo) ProtoMessage ¶
func (*BlockChainInfo) ProtoMessage()
func (*BlockChainInfo) Reset ¶
func (m *BlockChainInfo) Reset()
func (*BlockChainInfo) String ¶
func (m *BlockChainInfo) String() string
func (*BlockChainInfo) XXX_DiscardUnknown ¶
func (m *BlockChainInfo) XXX_DiscardUnknown()
func (*BlockChainInfo) XXX_Marshal ¶
func (m *BlockChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockChainInfo) XXX_Merge ¶
func (m *BlockChainInfo) XXX_Merge(src proto.Message)
func (*BlockChainInfo) XXX_Size ¶
func (m *BlockChainInfo) XXX_Size() int
func (*BlockChainInfo) XXX_Unmarshal ¶
func (m *BlockChainInfo) XXX_Unmarshal(b []byte) error
type BlockHash ¶
type BlockHash struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHash) Descriptor ¶
func (*BlockHash) ProtoMessage ¶
func (*BlockHash) ProtoMessage()
func (*BlockHash) XXX_DiscardUnknown ¶
func (m *BlockHash) XXX_DiscardUnknown()
func (*BlockHash) XXX_Marshal ¶
func (*BlockHash) XXX_Unmarshal ¶
type BlockHashAndFull ¶
type BlockHashAndFull struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` FullFillTransaction bool `protobuf:"varint,2,opt,name=full_fill_transaction,json=fullFillTransaction,proto3" json:"full_fill_transaction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHashAndFull) Descriptor ¶
func (*BlockHashAndFull) Descriptor() ([]byte, []int)
func (*BlockHashAndFull) GetFullFillTransaction ¶
func (m *BlockHashAndFull) GetFullFillTransaction() bool
func (*BlockHashAndFull) GetHash ¶
func (m *BlockHashAndFull) GetHash() string
func (*BlockHashAndFull) ProtoMessage ¶
func (*BlockHashAndFull) ProtoMessage()
func (*BlockHashAndFull) Reset ¶
func (m *BlockHashAndFull) Reset()
func (*BlockHashAndFull) String ¶
func (m *BlockHashAndFull) String() string
func (*BlockHashAndFull) XXX_DiscardUnknown ¶
func (m *BlockHashAndFull) XXX_DiscardUnknown()
func (*BlockHashAndFull) XXX_Marshal ¶
func (m *BlockHashAndFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHashAndFull) XXX_Merge ¶
func (m *BlockHashAndFull) XXX_Merge(src proto.Message)
func (*BlockHashAndFull) XXX_Size ¶
func (m *BlockHashAndFull) XXX_Size() int
func (*BlockHashAndFull) XXX_Unmarshal ¶
func (m *BlockHashAndFull) XXX_Unmarshal(b []byte) error
type BlockHeight ¶
type BlockHeight struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeight) Descriptor ¶
func (*BlockHeight) Descriptor() ([]byte, []int)
func (*BlockHeight) GetHeight ¶
func (m *BlockHeight) GetHeight() uint64
func (*BlockHeight) ProtoMessage ¶
func (*BlockHeight) ProtoMessage()
func (*BlockHeight) Reset ¶
func (m *BlockHeight) Reset()
func (*BlockHeight) String ¶
func (m *BlockHeight) String() string
func (*BlockHeight) XXX_DiscardUnknown ¶
func (m *BlockHeight) XXX_DiscardUnknown()
func (*BlockHeight) XXX_Marshal ¶
func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeight) XXX_Merge ¶
func (m *BlockHeight) XXX_Merge(src proto.Message)
func (*BlockHeight) XXX_Size ¶
func (m *BlockHeight) XXX_Size() int
func (*BlockHeight) XXX_Unmarshal ¶
func (m *BlockHeight) XXX_Unmarshal(b []byte) error
type BlockHeightAndFull ¶
type BlockHeightAndFull struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` FullFillTransaction bool `protobuf:"varint,2,opt,name=full_fill_transaction,json=fullFillTransaction,proto3" json:"full_fill_transaction,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeightAndFull) Descriptor ¶
func (*BlockHeightAndFull) Descriptor() ([]byte, []int)
func (*BlockHeightAndFull) GetFullFillTransaction ¶
func (m *BlockHeightAndFull) GetFullFillTransaction() bool
func (*BlockHeightAndFull) GetHeight ¶
func (m *BlockHeightAndFull) GetHeight() uint64
func (*BlockHeightAndFull) ProtoMessage ¶
func (*BlockHeightAndFull) ProtoMessage()
func (*BlockHeightAndFull) Reset ¶
func (m *BlockHeightAndFull) Reset()
func (*BlockHeightAndFull) String ¶
func (m *BlockHeightAndFull) String() string
func (*BlockHeightAndFull) XXX_DiscardUnknown ¶
func (m *BlockHeightAndFull) XXX_DiscardUnknown()
func (*BlockHeightAndFull) XXX_Marshal ¶
func (m *BlockHeightAndFull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeightAndFull) XXX_Merge ¶
func (m *BlockHeightAndFull) XXX_Merge(src proto.Message)
func (*BlockHeightAndFull) XXX_Size ¶
func (m *BlockHeightAndFull) XXX_Size() int
func (*BlockHeightAndFull) XXX_Unmarshal ¶
func (m *BlockHeightAndFull) XXX_Unmarshal(b []byte) error
type BlockListResponse ¶
type BlockListResponse struct { Blocks []*BlockResponse `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockListResponse) Descriptor ¶
func (*BlockListResponse) Descriptor() ([]byte, []int)
func (*BlockListResponse) GetBlocks ¶
func (m *BlockListResponse) GetBlocks() []*BlockResponse
func (*BlockListResponse) ProtoMessage ¶
func (*BlockListResponse) ProtoMessage()
func (*BlockListResponse) Reset ¶
func (m *BlockListResponse) Reset()
func (*BlockListResponse) String ¶
func (m *BlockListResponse) String() string
func (*BlockListResponse) XXX_DiscardUnknown ¶
func (m *BlockListResponse) XXX_DiscardUnknown()
func (*BlockListResponse) XXX_Marshal ¶
func (m *BlockListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockListResponse) XXX_Merge ¶
func (m *BlockListResponse) XXX_Merge(src proto.Message)
func (*BlockListResponse) XXX_Size ¶
func (m *BlockListResponse) XXX_Size() int
func (*BlockListResponse) XXX_Unmarshal ¶
func (m *BlockListResponse) XXX_Unmarshal(b []byte) error
type BlockResponse ¶
type BlockResponse struct { ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` BestBlock bool `protobuf:"varint,3,opt,name=best_block,json=bestBlock,proto3" json:"best_block,omitempty"` WitnessReward string `protobuf:"bytes,4,opt,name=witness_reward,json=witnessReward,proto3" json:"witness_reward,omitempty"` Coinbase string `protobuf:"bytes,5,opt,name=coinbase,proto3" json:"coinbase,omitempty"` StateRoot string `protobuf:"bytes,6,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` TxsRoot string `protobuf:"bytes,7,opt,name=txs_root,json=txsRoot,proto3" json:"txs_root,omitempty"` ParentHash string `protobuf:"bytes,8,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` Height uint64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` Timestamp int64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Extra string `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"` Txs []*Transaction `protobuf:"bytes,12,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockResponse) Descriptor ¶
func (*BlockResponse) Descriptor() ([]byte, []int)
func (*BlockResponse) GetBestBlock ¶
func (m *BlockResponse) GetBestBlock() bool
func (*BlockResponse) GetChainId ¶
func (m *BlockResponse) GetChainId() uint32
func (*BlockResponse) GetCoinbase ¶
func (m *BlockResponse) GetCoinbase() string
func (*BlockResponse) GetExtra ¶
func (m *BlockResponse) GetExtra() string
func (*BlockResponse) GetHash ¶
func (m *BlockResponse) GetHash() string
func (*BlockResponse) GetHeight ¶
func (m *BlockResponse) GetHeight() uint64
func (*BlockResponse) GetParentHash ¶
func (m *BlockResponse) GetParentHash() string
func (*BlockResponse) GetStateRoot ¶
func (m *BlockResponse) GetStateRoot() string
func (*BlockResponse) GetTimestamp ¶
func (m *BlockResponse) GetTimestamp() int64
func (*BlockResponse) GetTxs ¶
func (m *BlockResponse) GetTxs() []*Transaction
func (*BlockResponse) GetTxsRoot ¶
func (m *BlockResponse) GetTxsRoot() string
func (*BlockResponse) GetWitnessReward ¶
func (m *BlockResponse) GetWitnessReward() string
func (*BlockResponse) ProtoMessage ¶
func (*BlockResponse) ProtoMessage()
func (*BlockResponse) Reset ¶
func (m *BlockResponse) Reset()
func (*BlockResponse) String ¶
func (m *BlockResponse) String() string
func (*BlockResponse) XXX_DiscardUnknown ¶
func (m *BlockResponse) XXX_DiscardUnknown()
func (*BlockResponse) XXX_Marshal ¶
func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockResponse) XXX_Merge ¶
func (m *BlockResponse) XXX_Merge(src proto.Message)
func (*BlockResponse) XXX_Size ¶
func (m *BlockResponse) XXX_Size() int
func (*BlockResponse) XXX_Unmarshal ¶
func (m *BlockResponse) XXX_Unmarshal(b []byte) error
type BoolResponse ¶
type BoolResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolResponse) Descriptor ¶
func (*BoolResponse) Descriptor() ([]byte, []int)
func (*BoolResponse) GetResult ¶
func (m *BoolResponse) GetResult() bool
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) Reset ¶
func (m *BoolResponse) Reset()
func (*BoolResponse) String ¶
func (m *BoolResponse) String() string
func (*BoolResponse) XXX_DiscardUnknown ¶
func (m *BoolResponse) XXX_DiscardUnknown()
func (*BoolResponse) XXX_Marshal ¶
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoolResponse) XXX_Merge ¶
func (m *BoolResponse) XXX_Merge(src proto.Message)
func (*BoolResponse) XXX_Size ¶
func (m *BoolResponse) XXX_Size() int
func (*BoolResponse) XXX_Unmarshal ¶
func (m *BoolResponse) XXX_Unmarshal(b []byte) error
type ContractAddressRequest ¶
type ContractAddressRequest struct { ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractAddressRequest) Descriptor ¶
func (*ContractAddressRequest) Descriptor() ([]byte, []int)
func (*ContractAddressRequest) GetContractAddress ¶
func (m *ContractAddressRequest) GetContractAddress() string
func (*ContractAddressRequest) ProtoMessage ¶
func (*ContractAddressRequest) ProtoMessage()
func (*ContractAddressRequest) Reset ¶
func (m *ContractAddressRequest) Reset()
func (*ContractAddressRequest) String ¶
func (m *ContractAddressRequest) String() string
func (*ContractAddressRequest) XXX_DiscardUnknown ¶
func (m *ContractAddressRequest) XXX_DiscardUnknown()
func (*ContractAddressRequest) XXX_Marshal ¶
func (m *ContractAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAddressRequest) XXX_Merge ¶
func (m *ContractAddressRequest) XXX_Merge(src proto.Message)
func (*ContractAddressRequest) XXX_Size ¶
func (m *ContractAddressRequest) XXX_Size() int
func (*ContractAddressRequest) XXX_Unmarshal ¶
func (m *ContractAddressRequest) XXX_Unmarshal(b []byte) error
type CreditIndexResponse ¶
type CreditIndexResponse struct { CreditIndex string `protobuf:"bytes,1,opt,name=credit_index,json=creditIndex,proto3" json:"credit_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreditIndexResponse) Descriptor ¶
func (*CreditIndexResponse) Descriptor() ([]byte, []int)
func (*CreditIndexResponse) GetCreditIndex ¶
func (m *CreditIndexResponse) GetCreditIndex() string
func (*CreditIndexResponse) ProtoMessage ¶
func (*CreditIndexResponse) ProtoMessage()
func (*CreditIndexResponse) Reset ¶
func (m *CreditIndexResponse) Reset()
func (*CreditIndexResponse) String ¶
func (m *CreditIndexResponse) String() string
func (*CreditIndexResponse) XXX_DiscardUnknown ¶
func (m *CreditIndexResponse) XXX_DiscardUnknown()
func (*CreditIndexResponse) XXX_Marshal ¶
func (m *CreditIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreditIndexResponse) XXX_Merge ¶
func (m *CreditIndexResponse) XXX_Merge(src proto.Message)
func (*CreditIndexResponse) XXX_Size ¶
func (m *CreditIndexResponse) XXX_Size() int
func (*CreditIndexResponse) XXX_Unmarshal ¶
func (m *CreditIndexResponse) XXX_Unmarshal(b []byte) error
type GasPriceResponse ¶
type GasPriceResponse struct { GasPrice string `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GasPriceResponse) Descriptor ¶
func (*GasPriceResponse) Descriptor() ([]byte, []int)
func (*GasPriceResponse) GetGasPrice ¶
func (m *GasPriceResponse) GetGasPrice() string
func (*GasPriceResponse) ProtoMessage ¶
func (*GasPriceResponse) ProtoMessage()
func (*GasPriceResponse) Reset ¶
func (m *GasPriceResponse) Reset()
func (*GasPriceResponse) String ¶
func (m *GasPriceResponse) String() string
func (*GasPriceResponse) XXX_DiscardUnknown ¶
func (m *GasPriceResponse) XXX_DiscardUnknown()
func (*GasPriceResponse) XXX_Marshal ¶
func (m *GasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GasPriceResponse) XXX_Merge ¶
func (m *GasPriceResponse) XXX_Merge(src proto.Message)
func (*GasPriceResponse) XXX_Size ¶
func (m *GasPriceResponse) XXX_Size() int
func (*GasPriceResponse) XXX_Unmarshal ¶
func (m *GasPriceResponse) XXX_Unmarshal(b []byte) error
type GetPendingTransactionsByPageRequest ¶
type GetPendingTransactionsByPageRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPendingTransactionsByPageRequest) Descriptor ¶
func (*GetPendingTransactionsByPageRequest) Descriptor() ([]byte, []int)
func (*GetPendingTransactionsByPageRequest) GetLimit ¶
func (m *GetPendingTransactionsByPageRequest) GetLimit() uint32
func (*GetPendingTransactionsByPageRequest) GetPage ¶
func (m *GetPendingTransactionsByPageRequest) GetPage() uint32
func (*GetPendingTransactionsByPageRequest) ProtoMessage ¶
func (*GetPendingTransactionsByPageRequest) ProtoMessage()
func (*GetPendingTransactionsByPageRequest) Reset ¶
func (m *GetPendingTransactionsByPageRequest) Reset()
func (*GetPendingTransactionsByPageRequest) String ¶
func (m *GetPendingTransactionsByPageRequest) String() string
func (*GetPendingTransactionsByPageRequest) XXX_DiscardUnknown ¶
func (m *GetPendingTransactionsByPageRequest) XXX_DiscardUnknown()
func (*GetPendingTransactionsByPageRequest) XXX_Marshal ¶
func (m *GetPendingTransactionsByPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPendingTransactionsByPageRequest) XXX_Merge ¶
func (m *GetPendingTransactionsByPageRequest) XXX_Merge(src proto.Message)
func (*GetPendingTransactionsByPageRequest) XXX_Size ¶
func (m *GetPendingTransactionsByPageRequest) XXX_Size() int
func (*GetPendingTransactionsByPageRequest) XXX_Unmarshal ¶
func (m *GetPendingTransactionsByPageRequest) XXX_Unmarshal(b []byte) error
type LockAccountRequest ¶
type LockAccountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LockAccountRequest) Descriptor ¶
func (*LockAccountRequest) Descriptor() ([]byte, []int)
func (*LockAccountRequest) GetAddress ¶
func (m *LockAccountRequest) GetAddress() string
func (*LockAccountRequest) ProtoMessage ¶
func (*LockAccountRequest) ProtoMessage()
func (*LockAccountRequest) Reset ¶
func (m *LockAccountRequest) Reset()
func (*LockAccountRequest) String ¶
func (m *LockAccountRequest) String() string
func (*LockAccountRequest) XXX_DiscardUnknown ¶
func (m *LockAccountRequest) XXX_DiscardUnknown()
func (*LockAccountRequest) XXX_Marshal ¶
func (m *LockAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockAccountRequest) XXX_Merge ¶
func (m *LockAccountRequest) XXX_Merge(src proto.Message)
func (*LockAccountRequest) XXX_Size ¶
func (m *LockAccountRequest) XXX_Size() int
func (*LockAccountRequest) XXX_Unmarshal ¶
func (m *LockAccountRequest) XXX_Unmarshal(b []byte) error
type LoggingInfo ¶
type LoggingInfo struct { LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` LogPath string `protobuf:"bytes,2,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` RotationTime uint32 `protobuf:"varint,3,opt,name=rotation_time,json=rotationTime,proto3" json:"rotation_time,omitempty"` LogAge uint32 `protobuf:"varint,4,opt,name=log_age,json=logAge,proto3" json:"log_age,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoggingInfo) Descriptor ¶
func (*LoggingInfo) Descriptor() ([]byte, []int)
func (*LoggingInfo) GetLogAge ¶
func (m *LoggingInfo) GetLogAge() uint32
func (*LoggingInfo) GetLogLevel ¶
func (m *LoggingInfo) GetLogLevel() string
func (*LoggingInfo) GetLogPath ¶
func (m *LoggingInfo) GetLogPath() string
func (*LoggingInfo) GetRotationTime ¶
func (m *LoggingInfo) GetRotationTime() uint32
func (*LoggingInfo) ProtoMessage ¶
func (*LoggingInfo) ProtoMessage()
func (*LoggingInfo) Reset ¶
func (m *LoggingInfo) Reset()
func (*LoggingInfo) String ¶
func (m *LoggingInfo) String() string
func (*LoggingInfo) XXX_DiscardUnknown ¶
func (m *LoggingInfo) XXX_DiscardUnknown()
func (*LoggingInfo) XXX_Marshal ¶
func (m *LoggingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoggingInfo) XXX_Merge ¶
func (m *LoggingInfo) XXX_Merge(src proto.Message)
func (*LoggingInfo) XXX_Size ¶
func (m *LoggingInfo) XXX_Size() int
func (*LoggingInfo) XXX_Unmarshal ¶
func (m *LoggingInfo) XXX_Unmarshal(b []byte) error
type NetVersion ¶
type NetVersion struct { NetworkId uint32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` ClientVersion string `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` ProtocolVersion string `protobuf:"bytes,3,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` Listen []string `protobuf:"bytes,4,rep,name=listen,proto3" json:"listen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetVersion) Descriptor ¶
func (*NetVersion) Descriptor() ([]byte, []int)
func (*NetVersion) GetClientVersion ¶
func (m *NetVersion) GetClientVersion() string
func (*NetVersion) GetListen ¶
func (m *NetVersion) GetListen() []string
func (*NetVersion) GetNetworkId ¶
func (m *NetVersion) GetNetworkId() uint32
func (*NetVersion) GetProtocolVersion ¶
func (m *NetVersion) GetProtocolVersion() string
func (*NetVersion) ProtoMessage ¶
func (*NetVersion) ProtoMessage()
func (*NetVersion) Reset ¶
func (m *NetVersion) Reset()
func (*NetVersion) String ¶
func (m *NetVersion) String() string
func (*NetVersion) XXX_DiscardUnknown ¶
func (m *NetVersion) XXX_DiscardUnknown()
func (*NetVersion) XXX_Marshal ¶
func (m *NetVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetVersion) XXX_Merge ¶
func (m *NetVersion) XXX_Merge(src proto.Message)
func (*NetVersion) XXX_Size ¶
func (m *NetVersion) XXX_Size() int
func (*NetVersion) XXX_Unmarshal ¶
func (m *NetVersion) XXX_Unmarshal(b []byte) error
type NewAccountResponse ¶
type NewAccountResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewAccountResponse) Descriptor ¶
func (*NewAccountResponse) Descriptor() ([]byte, []int)
func (*NewAccountResponse) GetAddress ¶
func (m *NewAccountResponse) GetAddress() string
func (*NewAccountResponse) GetMemo ¶
func (m *NewAccountResponse) GetMemo() string
func (*NewAccountResponse) ProtoMessage ¶
func (*NewAccountResponse) ProtoMessage()
func (*NewAccountResponse) Reset ¶
func (m *NewAccountResponse) Reset()
func (*NewAccountResponse) String ¶
func (m *NewAccountResponse) String() string
func (*NewAccountResponse) XXX_DiscardUnknown ¶
func (m *NewAccountResponse) XXX_DiscardUnknown()
func (*NewAccountResponse) XXX_Marshal ¶
func (m *NewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewAccountResponse) XXX_Merge ¶
func (m *NewAccountResponse) XXX_Merge(src proto.Message)
func (*NewAccountResponse) XXX_Size ¶
func (m *NewAccountResponse) XXX_Size() int
func (*NewAccountResponse) XXX_Unmarshal ¶
func (m *NewAccountResponse) XXX_Unmarshal(b []byte) error
type NodeInfoResponse ¶
type NodeInfoResponse struct { //the id of the current node Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //coinbase address Coinbase string `protobuf:"bytes,2,opt,name=coinbase,proto3" json:"coinbase,omitempty"` //tail block height TailHeight uint64 `protobuf:"varint,3,opt,name=tail_height,json=tailHeight,proto3" json:"tail_height,omitempty"` //confirm block height ConfirmHeight uint64 `protobuf:"varint,4,opt,name=confirm_height,json=confirmHeight,proto3" json:"confirm_height,omitempty"` //The id of the chain in which the node is located ChainId uint32 `protobuf:"varint,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the node synchronized status. Synchronized bool `protobuf:"varint,6,opt,name=synchronized,proto3" json:"synchronized,omitempty"` // the node route table bucket size. BucketSize int32 `protobuf:"varint,7,opt,name=bucket_size,json=bucketSize,proto3" json:"bucket_size,omitempty"` //net version info NetVersion *NetVersion `protobuf:"bytes,8,opt,name=net_version,json=netVersion,proto3" json:"net_version,omitempty"` //active count ActiveCount uint32 `protobuf:"varint,9,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"` //The peers to which this node is connected PeerIds []string `protobuf:"bytes,10,rep,name=peer_ids,json=peerIds,proto3" json:"peer_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeInfoResponse) Descriptor ¶
func (*NodeInfoResponse) Descriptor() ([]byte, []int)
func (*NodeInfoResponse) GetActiveCount ¶
func (m *NodeInfoResponse) GetActiveCount() uint32
func (*NodeInfoResponse) GetBucketSize ¶
func (m *NodeInfoResponse) GetBucketSize() int32
func (*NodeInfoResponse) GetChainId ¶
func (m *NodeInfoResponse) GetChainId() uint32
func (*NodeInfoResponse) GetCoinbase ¶
func (m *NodeInfoResponse) GetCoinbase() string
func (*NodeInfoResponse) GetConfirmHeight ¶
func (m *NodeInfoResponse) GetConfirmHeight() uint64
func (*NodeInfoResponse) GetId ¶
func (m *NodeInfoResponse) GetId() string
func (*NodeInfoResponse) GetNetVersion ¶
func (m *NodeInfoResponse) GetNetVersion() *NetVersion
func (*NodeInfoResponse) GetPeerIds ¶
func (m *NodeInfoResponse) GetPeerIds() []string
func (*NodeInfoResponse) GetSynchronized ¶
func (m *NodeInfoResponse) GetSynchronized() bool
func (*NodeInfoResponse) GetTailHeight ¶
func (m *NodeInfoResponse) GetTailHeight() uint64
func (*NodeInfoResponse) ProtoMessage ¶
func (*NodeInfoResponse) ProtoMessage()
func (*NodeInfoResponse) Reset ¶
func (m *NodeInfoResponse) Reset()
func (*NodeInfoResponse) String ¶
func (m *NodeInfoResponse) String() string
func (*NodeInfoResponse) XXX_DiscardUnknown ¶
func (m *NodeInfoResponse) XXX_DiscardUnknown()
func (*NodeInfoResponse) XXX_Marshal ¶
func (m *NodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeInfoResponse) XXX_Merge ¶
func (m *NodeInfoResponse) XXX_Merge(src proto.Message)
func (*NodeInfoResponse) XXX_Size ¶
func (m *NodeInfoResponse) XXX_Size() int
func (*NodeInfoResponse) XXX_Unmarshal ¶
func (m *NodeInfoResponse) XXX_Unmarshal(b []byte) error
type NonParamsRequest ¶
type NonParamsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message of non params.
func (*NonParamsRequest) Descriptor ¶
func (*NonParamsRequest) Descriptor() ([]byte, []int)
func (*NonParamsRequest) ProtoMessage ¶
func (*NonParamsRequest) ProtoMessage()
func (*NonParamsRequest) Reset ¶
func (m *NonParamsRequest) Reset()
func (*NonParamsRequest) String ¶
func (m *NonParamsRequest) String() string
func (*NonParamsRequest) XXX_DiscardUnknown ¶
func (m *NonParamsRequest) XXX_DiscardUnknown()
func (*NonParamsRequest) XXX_Marshal ¶
func (m *NonParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NonParamsRequest) XXX_Merge ¶
func (m *NonParamsRequest) XXX_Merge(src proto.Message)
func (*NonParamsRequest) XXX_Size ¶
func (m *NonParamsRequest) XXX_Size() int
func (*NonParamsRequest) XXX_Unmarshal ¶
func (m *NonParamsRequest) XXX_Unmarshal(b []byte) error
type PassphraseRequest ¶
type PassphraseRequest struct { Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PassphraseRequest) Descriptor ¶
func (*PassphraseRequest) Descriptor() ([]byte, []int)
func (*PassphraseRequest) GetPassphrase ¶
func (m *PassphraseRequest) GetPassphrase() string
func (*PassphraseRequest) ProtoMessage ¶
func (*PassphraseRequest) ProtoMessage()
func (*PassphraseRequest) Reset ¶
func (m *PassphraseRequest) Reset()
func (*PassphraseRequest) String ¶
func (m *PassphraseRequest) String() string
func (*PassphraseRequest) XXX_DiscardUnknown ¶
func (m *PassphraseRequest) XXX_DiscardUnknown()
func (*PassphraseRequest) XXX_Marshal ¶
func (m *PassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PassphraseRequest) XXX_Merge ¶
func (m *PassphraseRequest) XXX_Merge(src proto.Message)
func (*PassphraseRequest) XXX_Size ¶
func (m *PassphraseRequest) XXX_Size() int
func (*PassphraseRequest) XXX_Unmarshal ¶
func (m *PassphraseRequest) XXX_Unmarshal(b []byte) error
type PendingTransaction ¶
type PendingTransaction struct { Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PendingTransaction) Descriptor ¶
func (*PendingTransaction) Descriptor() ([]byte, []int)
func (*PendingTransaction) GetTxs ¶
func (m *PendingTransaction) GetTxs() []*Transaction
func (*PendingTransaction) ProtoMessage ¶
func (*PendingTransaction) ProtoMessage()
func (*PendingTransaction) Reset ¶
func (m *PendingTransaction) Reset()
func (*PendingTransaction) String ¶
func (m *PendingTransaction) String() string
func (*PendingTransaction) XXX_DiscardUnknown ¶
func (m *PendingTransaction) XXX_DiscardUnknown()
func (*PendingTransaction) XXX_Marshal ¶
func (m *PendingTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingTransaction) XXX_Merge ¶
func (m *PendingTransaction) XXX_Merge(src proto.Message)
func (*PendingTransaction) XXX_Size ¶
func (m *PendingTransaction) XXX_Size() int
func (*PendingTransaction) XXX_Unmarshal ¶
func (m *PendingTransaction) XXX_Unmarshal(b []byte) error
type PendingTransactionsSize ¶
type PendingTransactionsSize struct { Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PendingTransactionsSize) Descriptor ¶
func (*PendingTransactionsSize) Descriptor() ([]byte, []int)
func (*PendingTransactionsSize) GetSize ¶
func (m *PendingTransactionsSize) GetSize() uint64
func (*PendingTransactionsSize) ProtoMessage ¶
func (*PendingTransactionsSize) ProtoMessage()
func (*PendingTransactionsSize) Reset ¶
func (m *PendingTransactionsSize) Reset()
func (*PendingTransactionsSize) String ¶
func (m *PendingTransactionsSize) String() string
func (*PendingTransactionsSize) XXX_DiscardUnknown ¶
func (m *PendingTransactionsSize) XXX_DiscardUnknown()
func (*PendingTransactionsSize) XXX_Marshal ¶
func (m *PendingTransactionsSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingTransactionsSize) XXX_Merge ¶
func (m *PendingTransactionsSize) XXX_Merge(src proto.Message)
func (*PendingTransactionsSize) XXX_Size ¶
func (m *PendingTransactionsSize) XXX_Size() int
func (*PendingTransactionsSize) XXX_Unmarshal ¶
func (m *PendingTransactionsSize) XXX_Unmarshal(b []byte) error
type Permission ¶
type Permission struct { AuthCategory string `protobuf:"bytes,1,opt,name=auth_category,json=authCategory,proto3" json:"auth_category,omitempty"` AuthMessage []string `protobuf:"bytes,2,rep,name=auth_message,json=authMessage,proto3" json:"auth_message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Permission) Descriptor ¶
func (*Permission) Descriptor() ([]byte, []int)
func (*Permission) GetAuthCategory ¶
func (m *Permission) GetAuthCategory() string
func (*Permission) GetAuthMessage ¶
func (m *Permission) GetAuthMessage() []string
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) Reset ¶
func (m *Permission) Reset()
func (*Permission) String ¶
func (m *Permission) String() string
func (*Permission) XXX_DiscardUnknown ¶
func (m *Permission) XXX_DiscardUnknown()
func (*Permission) XXX_Marshal ¶
func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Permission) XXX_Merge ¶
func (m *Permission) XXX_Merge(src proto.Message)
func (*Permission) XXX_Size ¶
func (m *Permission) XXX_Size() int
func (*Permission) XXX_Unmarshal ¶
func (m *Permission) XXX_Unmarshal(b []byte) error
type PprofRequest ¶
type PprofRequest struct { Listen string `protobuf:"bytes,1,opt,name=listen,proto3" json:"listen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PprofRequest) Descriptor ¶
func (*PprofRequest) Descriptor() ([]byte, []int)
func (*PprofRequest) GetListen ¶
func (m *PprofRequest) GetListen() string
func (*PprofRequest) ProtoMessage ¶
func (*PprofRequest) ProtoMessage()
func (*PprofRequest) Reset ¶
func (m *PprofRequest) Reset()
func (*PprofRequest) String ¶
func (m *PprofRequest) String() string
func (*PprofRequest) XXX_DiscardUnknown ¶
func (m *PprofRequest) XXX_DiscardUnknown()
func (*PprofRequest) XXX_Marshal ¶
func (m *PprofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PprofRequest) XXX_Merge ¶
func (m *PprofRequest) XXX_Merge(src proto.Message)
func (*PprofRequest) XXX_Size ¶
func (m *PprofRequest) XXX_Size() int
func (*PprofRequest) XXX_Unmarshal ¶
func (m *PprofRequest) XXX_Unmarshal(b []byte) error
type PprofResponse ¶
type PprofResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PprofResponse) Descriptor ¶
func (*PprofResponse) Descriptor() ([]byte, []int)
func (*PprofResponse) GetResult ¶
func (m *PprofResponse) GetResult() bool
func (*PprofResponse) ProtoMessage ¶
func (*PprofResponse) ProtoMessage()
func (*PprofResponse) Reset ¶
func (m *PprofResponse) Reset()
func (*PprofResponse) String ¶
func (m *PprofResponse) String() string
func (*PprofResponse) XXX_DiscardUnknown ¶
func (m *PprofResponse) XXX_DiscardUnknown()
func (*PprofResponse) XXX_Marshal ¶
func (m *PprofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PprofResponse) XXX_Merge ¶
func (m *PprofResponse) XXX_Merge(src proto.Message)
func (*PprofResponse) XXX_Size ¶
func (m *PprofResponse) XXX_Size() int
func (*PprofResponse) XXX_Unmarshal ¶
func (m *PprofResponse) XXX_Unmarshal(b []byte) error
type PrivKeyAndPassphrase ¶
type PrivKeyAndPassphrase struct { PriKey string `protobuf:"bytes,1,opt,name=pri_key,json=priKey,proto3" json:"pri_key,omitempty"` Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrivKeyAndPassphrase) Descriptor ¶
func (*PrivKeyAndPassphrase) Descriptor() ([]byte, []int)
func (*PrivKeyAndPassphrase) GetPassphrase ¶
func (m *PrivKeyAndPassphrase) GetPassphrase() string
func (*PrivKeyAndPassphrase) GetPriKey ¶
func (m *PrivKeyAndPassphrase) GetPriKey() string
func (*PrivKeyAndPassphrase) ProtoMessage ¶
func (*PrivKeyAndPassphrase) ProtoMessage()
func (*PrivKeyAndPassphrase) Reset ¶
func (m *PrivKeyAndPassphrase) Reset()
func (*PrivKeyAndPassphrase) String ¶
func (m *PrivKeyAndPassphrase) String() string
func (*PrivKeyAndPassphrase) XXX_DiscardUnknown ¶
func (m *PrivKeyAndPassphrase) XXX_DiscardUnknown()
func (*PrivKeyAndPassphrase) XXX_Marshal ¶
func (m *PrivKeyAndPassphrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivKeyAndPassphrase) XXX_Merge ¶
func (m *PrivKeyAndPassphrase) XXX_Merge(src proto.Message)
func (*PrivKeyAndPassphrase) XXX_Size ¶
func (m *PrivKeyAndPassphrase) XXX_Size() int
func (*PrivKeyAndPassphrase) XXX_Unmarshal ¶
func (m *PrivKeyAndPassphrase) XXX_Unmarshal(b []byte) error
type PrivateKey ¶
type PrivateKey struct { PriKey string `protobuf:"bytes,1,opt,name=pri_key,json=priKey,proto3" json:"pri_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrivateKey) Descriptor ¶
func (*PrivateKey) Descriptor() ([]byte, []int)
func (*PrivateKey) GetPriKey ¶
func (m *PrivateKey) GetPriKey() string
func (*PrivateKey) ProtoMessage ¶
func (*PrivateKey) ProtoMessage()
func (*PrivateKey) Reset ¶
func (m *PrivateKey) Reset()
func (*PrivateKey) String ¶
func (m *PrivateKey) String() string
func (*PrivateKey) XXX_DiscardUnknown ¶
func (m *PrivateKey) XXX_DiscardUnknown()
func (*PrivateKey) XXX_Marshal ¶
func (m *PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateKey) XXX_Merge ¶
func (m *PrivateKey) XXX_Merge(src proto.Message)
func (*PrivateKey) XXX_Size ¶
func (m *PrivateKey) XXX_Size() int
func (*PrivateKey) XXX_Unmarshal ¶
func (m *PrivateKey) XXX_Unmarshal(b []byte) error
type SendTransactionPassphraseRequest ¶
type SendTransactionPassphraseRequest struct { // transaction struct Transaction *TransactionRequest `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // from account passphrase Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendTransactionPassphraseRequest) Descriptor ¶
func (*SendTransactionPassphraseRequest) Descriptor() ([]byte, []int)
func (*SendTransactionPassphraseRequest) GetPassphrase ¶
func (m *SendTransactionPassphraseRequest) GetPassphrase() string
func (*SendTransactionPassphraseRequest) GetTransaction ¶
func (m *SendTransactionPassphraseRequest) GetTransaction() *TransactionRequest
func (*SendTransactionPassphraseRequest) ProtoMessage ¶
func (*SendTransactionPassphraseRequest) ProtoMessage()
func (*SendTransactionPassphraseRequest) Reset ¶
func (m *SendTransactionPassphraseRequest) Reset()
func (*SendTransactionPassphraseRequest) String ¶
func (m *SendTransactionPassphraseRequest) String() string
func (*SendTransactionPassphraseRequest) XXX_DiscardUnknown ¶
func (m *SendTransactionPassphraseRequest) XXX_DiscardUnknown()
func (*SendTransactionPassphraseRequest) XXX_Marshal ¶
func (m *SendTransactionPassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionPassphraseRequest) XXX_Merge ¶
func (m *SendTransactionPassphraseRequest) XXX_Merge(src proto.Message)
func (*SendTransactionPassphraseRequest) XXX_Size ¶
func (m *SendTransactionPassphraseRequest) XXX_Size() int
func (*SendTransactionPassphraseRequest) XXX_Unmarshal ¶
func (m *SendTransactionPassphraseRequest) XXX_Unmarshal(b []byte) error
type SignHashRequest ¶
type SignHashRequest struct { // sign address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` //hex string of hash Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // sign algorithm Alg uint32 `protobuf:"varint,3,opt,name=alg,proto3" json:"alg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignHashRequest) Descriptor ¶
func (*SignHashRequest) Descriptor() ([]byte, []int)
func (*SignHashRequest) GetAddress ¶
func (m *SignHashRequest) GetAddress() string
func (*SignHashRequest) GetAlg ¶
func (m *SignHashRequest) GetAlg() uint32
func (*SignHashRequest) GetMessage ¶
func (m *SignHashRequest) GetMessage() string
func (*SignHashRequest) ProtoMessage ¶
func (*SignHashRequest) ProtoMessage()
func (*SignHashRequest) Reset ¶
func (m *SignHashRequest) Reset()
func (*SignHashRequest) String ¶
func (m *SignHashRequest) String() string
func (*SignHashRequest) XXX_DiscardUnknown ¶
func (m *SignHashRequest) XXX_DiscardUnknown()
func (*SignHashRequest) XXX_Marshal ¶
func (m *SignHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignHashRequest) XXX_Merge ¶
func (m *SignHashRequest) XXX_Merge(src proto.Message)
func (*SignHashRequest) XXX_Size ¶
func (m *SignHashRequest) XXX_Size() int
func (*SignHashRequest) XXX_Unmarshal ¶
func (m *SignHashRequest) XXX_Unmarshal(b []byte) error
type SignHashResponse ¶
type SignHashResponse struct { //hex string of the data Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignHashResponse) Descriptor ¶
func (*SignHashResponse) Descriptor() ([]byte, []int)
func (*SignHashResponse) GetData ¶
func (m *SignHashResponse) GetData() string
func (*SignHashResponse) ProtoMessage ¶
func (*SignHashResponse) ProtoMessage()
func (*SignHashResponse) Reset ¶
func (m *SignHashResponse) Reset()
func (*SignHashResponse) String ¶
func (m *SignHashResponse) String() string
func (*SignHashResponse) XXX_DiscardUnknown ¶
func (m *SignHashResponse) XXX_DiscardUnknown()
func (*SignHashResponse) XXX_Marshal ¶
func (m *SignHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignHashResponse) XXX_Merge ¶
func (m *SignHashResponse) XXX_Merge(src proto.Message)
func (*SignHashResponse) XXX_Size ¶
func (m *SignHashResponse) XXX_Size() int
func (*SignHashResponse) XXX_Unmarshal ¶
func (m *SignHashResponse) XXX_Unmarshal(b []byte) error
type SignTransactionPassphraseRequest ¶
type SignTransactionPassphraseRequest struct { // transaction struct Transaction *TransactionRequest `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // from account passphrase Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignTransactionPassphraseRequest) Descriptor ¶
func (*SignTransactionPassphraseRequest) Descriptor() ([]byte, []int)
func (*SignTransactionPassphraseRequest) GetPassphrase ¶
func (m *SignTransactionPassphraseRequest) GetPassphrase() string
func (*SignTransactionPassphraseRequest) GetTransaction ¶
func (m *SignTransactionPassphraseRequest) GetTransaction() *TransactionRequest
func (*SignTransactionPassphraseRequest) ProtoMessage ¶
func (*SignTransactionPassphraseRequest) ProtoMessage()
func (*SignTransactionPassphraseRequest) Reset ¶
func (m *SignTransactionPassphraseRequest) Reset()
func (*SignTransactionPassphraseRequest) String ¶
func (m *SignTransactionPassphraseRequest) String() string
func (*SignTransactionPassphraseRequest) XXX_DiscardUnknown ¶
func (m *SignTransactionPassphraseRequest) XXX_DiscardUnknown()
func (*SignTransactionPassphraseRequest) XXX_Marshal ¶
func (m *SignTransactionPassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignTransactionPassphraseRequest) XXX_Merge ¶
func (m *SignTransactionPassphraseRequest) XXX_Merge(src proto.Message)
func (*SignTransactionPassphraseRequest) XXX_Size ¶
func (m *SignTransactionPassphraseRequest) XXX_Size() int
func (*SignTransactionPassphraseRequest) XXX_Unmarshal ¶
func (m *SignTransactionPassphraseRequest) XXX_Unmarshal(b []byte) error
type SignTransactionPassphraseResponse ¶
type SignTransactionPassphraseResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignTransactionPassphraseResponse) Descriptor ¶
func (*SignTransactionPassphraseResponse) Descriptor() ([]byte, []int)
func (*SignTransactionPassphraseResponse) GetData ¶
func (m *SignTransactionPassphraseResponse) GetData() []byte
func (*SignTransactionPassphraseResponse) ProtoMessage ¶
func (*SignTransactionPassphraseResponse) ProtoMessage()
func (*SignTransactionPassphraseResponse) Reset ¶
func (m *SignTransactionPassphraseResponse) Reset()
func (*SignTransactionPassphraseResponse) String ¶
func (m *SignTransactionPassphraseResponse) String() string
func (*SignTransactionPassphraseResponse) XXX_DiscardUnknown ¶
func (m *SignTransactionPassphraseResponse) XXX_DiscardUnknown()
func (*SignTransactionPassphraseResponse) XXX_Marshal ¶
func (m *SignTransactionPassphraseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignTransactionPassphraseResponse) XXX_Merge ¶
func (m *SignTransactionPassphraseResponse) XXX_Merge(src proto.Message)
func (*SignTransactionPassphraseResponse) XXX_Size ¶
func (m *SignTransactionPassphraseResponse) XXX_Size() int
func (*SignTransactionPassphraseResponse) XXX_Unmarshal ¶
func (m *SignTransactionPassphraseResponse) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { //hex tx hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` //Hex string of the sender account addresss. From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //Hex string of the receiver account addresss. To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //Amount of value sending with this transaction. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` //transaction fee Fee string `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"` //Transaction nonce. Nonce uint64 `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"` //tx tpye Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` //hex data Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` //tx priority Priority uint32 `protobuf:"varint,9,opt,name=priority,proto3" json:"priority,omitempty"` //timestamp Timestamp int64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //id of the chain ChainId uint32 `protobuf:"varint,11,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` //hex string of public key PubKey string `protobuf:"bytes,12,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` //signature of the from address Signature string `protobuf:"bytes,13,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetChainId ¶
func (m *Transaction) GetChainId() uint32
func (*Transaction) GetData ¶
func (m *Transaction) GetData() string
func (*Transaction) GetFee ¶
func (m *Transaction) GetFee() string
func (*Transaction) GetFrom ¶
func (m *Transaction) GetFrom() string
func (*Transaction) GetHash ¶
func (m *Transaction) GetHash() string
func (*Transaction) GetNonce ¶
func (m *Transaction) GetNonce() uint64
func (*Transaction) GetPriority ¶
func (m *Transaction) GetPriority() uint32
func (*Transaction) GetPubKey ¶
func (m *Transaction) GetPubKey() string
func (*Transaction) GetSignature ¶
func (m *Transaction) GetSignature() string
func (*Transaction) GetTimestamp ¶
func (m *Transaction) GetTimestamp() int64
func (*Transaction) GetTo ¶
func (m *Transaction) GetTo() string
func (*Transaction) GetType ¶
func (m *Transaction) GetType() string
func (*Transaction) GetValue ¶
func (m *Transaction) GetValue() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionHash ¶
type TransactionHash struct { // Hex string of transaction hash. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionHash) Descriptor ¶
func (*TransactionHash) Descriptor() ([]byte, []int)
func (*TransactionHash) GetHash ¶
func (m *TransactionHash) GetHash() string
func (*TransactionHash) ProtoMessage ¶
func (*TransactionHash) ProtoMessage()
func (*TransactionHash) Reset ¶
func (m *TransactionHash) Reset()
func (*TransactionHash) String ¶
func (m *TransactionHash) String() string
func (*TransactionHash) XXX_DiscardUnknown ¶
func (m *TransactionHash) XXX_DiscardUnknown()
func (*TransactionHash) XXX_Marshal ¶
func (m *TransactionHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionHash) XXX_Merge ¶
func (m *TransactionHash) XXX_Merge(src proto.Message)
func (*TransactionHash) XXX_Size ¶
func (m *TransactionHash) XXX_Size() int
func (*TransactionHash) XXX_Unmarshal ¶
func (m *TransactionHash) XXX_Unmarshal(b []byte) error
type TransactionReceipt ¶
type TransactionReceipt struct { //hex tx hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` //hex block hash BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` //The height of the block where the tx is BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` //Hex string of the sender account addresss. From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` //Hex string of the receiver account addresss. To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` //Amount of value sending with this transaction. Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` //transaction fee Fee string `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"` //Transaction nonce. Nonce uint64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` //tx tpye Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` //hex data Data string `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` //tx priority Priority uint32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"` //timestamp Timestamp int64 `protobuf:"varint,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"` //id of the chain ChainId uint32 `protobuf:"varint,13,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` //signature of the from address Signature string `protobuf:"bytes,14,opt,name=signature,proto3" json:"signature,omitempty"` //tx status {1:SUCCESS、0:FAILED} Status uint32 `protobuf:"varint,15,opt,name=status,proto3" json:"status,omitempty"` //tx error_message ErrorMessage string `protobuf:"bytes,16,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` //The contract address created, if the transaction was a contract creation, otherwise null. ContractAddress string `protobuf:"bytes,17,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionReceipt) Descriptor ¶
func (*TransactionReceipt) Descriptor() ([]byte, []int)
func (*TransactionReceipt) GetBlockHash ¶
func (m *TransactionReceipt) GetBlockHash() string
func (*TransactionReceipt) GetBlockHeight ¶
func (m *TransactionReceipt) GetBlockHeight() uint64
func (*TransactionReceipt) GetChainId ¶
func (m *TransactionReceipt) GetChainId() uint32
func (*TransactionReceipt) GetContractAddress ¶
func (m *TransactionReceipt) GetContractAddress() string
func (*TransactionReceipt) GetData ¶
func (m *TransactionReceipt) GetData() string
func (*TransactionReceipt) GetErrorMessage ¶
func (m *TransactionReceipt) GetErrorMessage() string
func (*TransactionReceipt) GetFee ¶
func (m *TransactionReceipt) GetFee() string
func (*TransactionReceipt) GetFrom ¶
func (m *TransactionReceipt) GetFrom() string
func (*TransactionReceipt) GetHash ¶
func (m *TransactionReceipt) GetHash() string
func (*TransactionReceipt) GetNonce ¶
func (m *TransactionReceipt) GetNonce() uint64
func (*TransactionReceipt) GetPriority ¶
func (m *TransactionReceipt) GetPriority() uint32
func (*TransactionReceipt) GetSignature ¶
func (m *TransactionReceipt) GetSignature() string
func (*TransactionReceipt) GetStatus ¶
func (m *TransactionReceipt) GetStatus() uint32
func (*TransactionReceipt) GetTimestamp ¶
func (m *TransactionReceipt) GetTimestamp() int64
func (*TransactionReceipt) GetTo ¶
func (m *TransactionReceipt) GetTo() string
func (*TransactionReceipt) GetType ¶
func (m *TransactionReceipt) GetType() string
func (*TransactionReceipt) GetValue ¶
func (m *TransactionReceipt) GetValue() string
func (*TransactionReceipt) ProtoMessage ¶
func (*TransactionReceipt) ProtoMessage()
func (*TransactionReceipt) Reset ¶
func (m *TransactionReceipt) Reset()
func (*TransactionReceipt) String ¶
func (m *TransactionReceipt) String() string
func (*TransactionReceipt) XXX_DiscardUnknown ¶
func (m *TransactionReceipt) XXX_DiscardUnknown()
func (*TransactionReceipt) XXX_Marshal ¶
func (m *TransactionReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionReceipt) XXX_Merge ¶
func (m *TransactionReceipt) XXX_Merge(src proto.Message)
func (*TransactionReceipt) XXX_Size ¶
func (m *TransactionReceipt) XXX_Size() int
func (*TransactionReceipt) XXX_Unmarshal ¶
func (m *TransactionReceipt) XXX_Unmarshal(b []byte) error
type TransactionRequest ¶
type TransactionRequest struct { // Hex string of the sender account addresss. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // Hex string of the receiver account addresss. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // Amount of value sending with this transaction. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Transaction nonce. Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` // binary data for transaction //hex encode Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // transaction payload type, enum:binary, deploy, call, protocol Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Priority uint32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message of SendTransaction rpc.
func (*TransactionRequest) Descriptor ¶
func (*TransactionRequest) Descriptor() ([]byte, []int)
func (*TransactionRequest) GetData ¶
func (m *TransactionRequest) GetData() string
func (*TransactionRequest) GetFrom ¶
func (m *TransactionRequest) GetFrom() string
func (*TransactionRequest) GetNonce ¶
func (m *TransactionRequest) GetNonce() uint64
func (*TransactionRequest) GetPriority ¶
func (m *TransactionRequest) GetPriority() uint32
func (*TransactionRequest) GetTo ¶
func (m *TransactionRequest) GetTo() string
func (*TransactionRequest) GetType ¶
func (m *TransactionRequest) GetType() string
func (*TransactionRequest) GetValue ¶
func (m *TransactionRequest) GetValue() string
func (*TransactionRequest) ProtoMessage ¶
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) Reset ¶
func (m *TransactionRequest) Reset()
func (*TransactionRequest) String ¶
func (m *TransactionRequest) String() string
func (*TransactionRequest) XXX_DiscardUnknown ¶
func (m *TransactionRequest) XXX_DiscardUnknown()
func (*TransactionRequest) XXX_Marshal ¶
func (m *TransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionRequest) XXX_Merge ¶
func (m *TransactionRequest) XXX_Merge(src proto.Message)
func (*TransactionRequest) XXX_Size ¶
func (m *TransactionRequest) XXX_Size() int
func (*TransactionRequest) XXX_Unmarshal ¶
func (m *TransactionRequest) XXX_Unmarshal(b []byte) error
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAdminServiceServer) Accounts ¶
func (*UnimplementedAdminServiceServer) Accounts(ctx context.Context, req *NonParamsRequest) (*AccountsResponse, error)
func (*UnimplementedAdminServiceServer) GeneratePrivateKey ¶
func (*UnimplementedAdminServiceServer) GeneratePrivateKey(ctx context.Context, req *NonParamsRequest) (*PrivateKey, error)
func (*UnimplementedAdminServiceServer) ImportAccount ¶
func (*UnimplementedAdminServiceServer) ImportAccount(ctx context.Context, req *PrivKeyAndPassphrase) (*Address, error)
func (*UnimplementedAdminServiceServer) LockAccount ¶
func (*UnimplementedAdminServiceServer) LockAccount(ctx context.Context, req *LockAccountRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) Logging ¶
func (*UnimplementedAdminServiceServer) Logging(ctx context.Context, req *LoggingInfo) (*LoggingInfo, error)
func (*UnimplementedAdminServiceServer) NewAccount ¶
func (*UnimplementedAdminServiceServer) NewAccount(ctx context.Context, req *PassphraseRequest) (*NewAccountResponse, error)
func (*UnimplementedAdminServiceServer) SendTransaction ¶
func (*UnimplementedAdminServiceServer) SendTransaction(ctx context.Context, req *TransactionRequest) (*TransactionHash, error)
func (*UnimplementedAdminServiceServer) SendTransactionWithPassphrase ¶
func (*UnimplementedAdminServiceServer) SendTransactionWithPassphrase(ctx context.Context, req *SendTransactionPassphraseRequest) (*TransactionHash, error)
func (*UnimplementedAdminServiceServer) Sign ¶
func (*UnimplementedAdminServiceServer) Sign(ctx context.Context, req *SignHashRequest) (*SignHashResponse, error)
func (*UnimplementedAdminServiceServer) SignTransactionWithPassphrase ¶
func (*UnimplementedAdminServiceServer) SignTransactionWithPassphrase(ctx context.Context, req *SignTransactionPassphraseRequest) (*SignTransactionPassphraseResponse, error)
func (*UnimplementedAdminServiceServer) StartMining ¶
func (*UnimplementedAdminServiceServer) StartMining(ctx context.Context, req *PassphraseRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) StartPprof ¶
func (*UnimplementedAdminServiceServer) StartPprof(ctx context.Context, req *PprofRequest) (*PprofResponse, error)
func (*UnimplementedAdminServiceServer) Stop ¶
func (*UnimplementedAdminServiceServer) Stop(ctx context.Context, req *NonParamsRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) StopMining ¶
func (*UnimplementedAdminServiceServer) StopMining(ctx context.Context, req *NonParamsRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) UnlockAccount ¶
func (*UnimplementedAdminServiceServer) UnlockAccount(ctx context.Context, req *UnlockAccountRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) UpdateAccount ¶
func (*UnimplementedAdminServiceServer) UpdateAccount(ctx context.Context, req *UpdateAccountRequest) (*BoolResponse, error)
func (*UnimplementedAdminServiceServer) VerifyMessage ¶
func (*UnimplementedAdminServiceServer) VerifyMessage(ctx context.Context, req *VerifyMessageRequest) (*BoolResponse, error)
type UnimplementedApiServiceServer ¶
type UnimplementedApiServiceServer struct { }
UnimplementedApiServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedApiServiceServer) GetAccount ¶
func (*UnimplementedApiServiceServer) GetAccount(ctx context.Context, req *Address) (*AccountInfo, error)
func (*UnimplementedApiServiceServer) GetActiveCount ¶
func (*UnimplementedApiServiceServer) GetActiveCount(ctx context.Context, req *NonParamsRequest) (*ActiveCountResponse, error)
func (*UnimplementedApiServiceServer) GetBalance ¶
func (*UnimplementedApiServiceServer) GetBalance(ctx context.Context, req *Address) (*BalanceResponse, error)
func (*UnimplementedApiServiceServer) GetBestBlockByHeight ¶
func (*UnimplementedApiServiceServer) GetBestBlockByHeight(ctx context.Context, req *BlockHeightAndFull) (*BlockResponse, error)
func (*UnimplementedApiServiceServer) GetBestBlockHash ¶
func (*UnimplementedApiServiceServer) GetBestBlockHash(ctx context.Context, req *NonParamsRequest) (*BlockHash, error)
func (*UnimplementedApiServiceServer) GetBlockByHash ¶
func (*UnimplementedApiServiceServer) GetBlockByHash(ctx context.Context, req *BlockHashAndFull) (*BlockResponse, error)
func (*UnimplementedApiServiceServer) GetBlockChainInfo ¶
func (*UnimplementedApiServiceServer) GetBlockChainInfo(ctx context.Context, req *NonParamsRequest) (*BlockChainInfo, error)
func (*UnimplementedApiServiceServer) GetBlocksByHeight ¶
func (*UnimplementedApiServiceServer) GetBlocksByHeight(ctx context.Context, req *BlockHeightAndFull) (*BlockListResponse, error)
func (*UnimplementedApiServiceServer) GetCreditIndex ¶
func (*UnimplementedApiServiceServer) GetCreditIndex(ctx context.Context, req *Address) (*CreditIndexResponse, error)
func (*UnimplementedApiServiceServer) GetMaxHeight ¶
func (*UnimplementedApiServiceServer) GetMaxHeight(ctx context.Context, req *NonParamsRequest) (*BlockHeight, error)
func (*UnimplementedApiServiceServer) GetNetVersion ¶
func (*UnimplementedApiServiceServer) GetNetVersion(ctx context.Context, req *NonParamsRequest) (*NetVersion, error)
func (*UnimplementedApiServiceServer) GetPendingTransactionsByPage ¶
func (*UnimplementedApiServiceServer) GetPendingTransactionsByPage(ctx context.Context, req *GetPendingTransactionsByPageRequest) (*PendingTransaction, error)
func (*UnimplementedApiServiceServer) GetPendingTransactionsSize ¶
func (*UnimplementedApiServiceServer) GetPendingTransactionsSize(ctx context.Context, req *NonParamsRequest) (*PendingTransactionsSize, error)
func (*UnimplementedApiServiceServer) GetTransactionByContractAddress ¶
func (*UnimplementedApiServiceServer) GetTransactionByContractAddress(ctx context.Context, req *ContractAddressRequest) (*TransactionReceipt, error)
func (*UnimplementedApiServiceServer) GetTransactionByHash ¶
func (*UnimplementedApiServiceServer) GetTransactionByHash(ctx context.Context, req *TransactionHash) (*TransactionReceipt, error)
func (*UnimplementedApiServiceServer) NodeInfo ¶
func (*UnimplementedApiServiceServer) NodeInfo(ctx context.Context, req *NonParamsRequest) (*NodeInfoResponse, error)
func (*UnimplementedApiServiceServer) SendSignedTransaction ¶
func (*UnimplementedApiServiceServer) SendSignedTransaction(ctx context.Context, req *Transaction) (*BoolResponse, error)
type UnlockAccountRequest ¶
type UnlockAccountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnlockAccountRequest) Descriptor ¶
func (*UnlockAccountRequest) Descriptor() ([]byte, []int)
func (*UnlockAccountRequest) GetAddress ¶
func (m *UnlockAccountRequest) GetAddress() string
func (*UnlockAccountRequest) GetDuration ¶
func (m *UnlockAccountRequest) GetDuration() uint64
func (*UnlockAccountRequest) GetPassphrase ¶
func (m *UnlockAccountRequest) GetPassphrase() string
func (*UnlockAccountRequest) ProtoMessage ¶
func (*UnlockAccountRequest) ProtoMessage()
func (*UnlockAccountRequest) Reset ¶
func (m *UnlockAccountRequest) Reset()
func (*UnlockAccountRequest) String ¶
func (m *UnlockAccountRequest) String() string
func (*UnlockAccountRequest) XXX_DiscardUnknown ¶
func (m *UnlockAccountRequest) XXX_DiscardUnknown()
func (*UnlockAccountRequest) XXX_Marshal ¶
func (m *UnlockAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlockAccountRequest) XXX_Merge ¶
func (m *UnlockAccountRequest) XXX_Merge(src proto.Message)
func (*UnlockAccountRequest) XXX_Size ¶
func (m *UnlockAccountRequest) XXX_Size() int
func (*UnlockAccountRequest) XXX_Unmarshal ¶
func (m *UnlockAccountRequest) XXX_Unmarshal(b []byte) error
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` OldPassphrase string `protobuf:"bytes,2,opt,name=old_passphrase,json=oldPassphrase,proto3" json:"old_passphrase,omitempty"` NewPassphrase string `protobuf:"bytes,3,opt,name=new_passphrase,json=newPassphrase,proto3" json:"new_passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateAccountRequest) Descriptor ¶
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
func (*UpdateAccountRequest) GetAddress ¶
func (m *UpdateAccountRequest) GetAddress() string
func (*UpdateAccountRequest) GetNewPassphrase ¶
func (m *UpdateAccountRequest) GetNewPassphrase() string
func (*UpdateAccountRequest) GetOldPassphrase ¶
func (m *UpdateAccountRequest) GetOldPassphrase() string
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) Reset ¶
func (m *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (m *UpdateAccountRequest) String() string
func (*UpdateAccountRequest) XXX_DiscardUnknown ¶
func (m *UpdateAccountRequest) XXX_DiscardUnknown()
func (*UpdateAccountRequest) XXX_Marshal ¶
func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAccountRequest) XXX_Merge ¶
func (m *UpdateAccountRequest) XXX_Merge(src proto.Message)
func (*UpdateAccountRequest) XXX_Size ¶
func (m *UpdateAccountRequest) XXX_Size() int
func (*UpdateAccountRequest) XXX_Unmarshal ¶
func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error
type VerifyMessageRequest ¶
type VerifyMessageRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` //hex string of signature Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` //hex string of sign msg Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VerifyMessageRequest) Descriptor ¶
func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
func (*VerifyMessageRequest) GetAddress ¶
func (m *VerifyMessageRequest) GetAddress() string
func (*VerifyMessageRequest) GetMessage ¶
func (m *VerifyMessageRequest) GetMessage() string
func (*VerifyMessageRequest) GetSignature ¶
func (m *VerifyMessageRequest) GetSignature() string
func (*VerifyMessageRequest) ProtoMessage ¶
func (*VerifyMessageRequest) ProtoMessage()
func (*VerifyMessageRequest) Reset ¶
func (m *VerifyMessageRequest) Reset()
func (*VerifyMessageRequest) String ¶
func (m *VerifyMessageRequest) String() string
func (*VerifyMessageRequest) XXX_DiscardUnknown ¶
func (m *VerifyMessageRequest) XXX_DiscardUnknown()
func (*VerifyMessageRequest) XXX_Marshal ¶
func (m *VerifyMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyMessageRequest) XXX_Merge ¶
func (m *VerifyMessageRequest) XXX_Merge(src proto.Message)
func (*VerifyMessageRequest) XXX_Size ¶
func (m *VerifyMessageRequest) XXX_Size() int
func (*VerifyMessageRequest) XXX_Unmarshal ¶
func (m *VerifyMessageRequest) XXX_Unmarshal(b []byte) error