Documentation
¶
Index ¶
- func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer)
- func RegisterRpcServiceServer(s *grpc.Server, srv RpcServiceServer)
- type AddPeerRequest
- func (*AddPeerRequest) Descriptor() ([]byte, []int)
- func (m *AddPeerRequest) GetFullAddress() string
- func (*AddPeerRequest) ProtoMessage()
- func (m *AddPeerRequest) Reset()
- func (m *AddPeerRequest) String() string
- func (m *AddPeerRequest) XXX_DiscardUnknown()
- func (m *AddPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddPeerRequest) XXX_Merge(src proto.Message)
- func (m *AddPeerRequest) XXX_Size() int
- func (m *AddPeerRequest) XXX_Unmarshal(b []byte) error
- type AddPeerResponse
- func (*AddPeerResponse) Descriptor() ([]byte, []int)
- func (m *AddPeerResponse) GetStatus() string
- func (*AddPeerResponse) ProtoMessage()
- func (m *AddPeerResponse) Reset()
- func (m *AddPeerResponse) String() string
- func (m *AddPeerResponse) XXX_DiscardUnknown()
- func (m *AddPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddPeerResponse) XXX_Merge(src proto.Message)
- func (m *AddPeerResponse) XXX_Size() int
- func (m *AddPeerResponse) XXX_Unmarshal(b []byte) error
- type AddProducerRequest
- func (*AddProducerRequest) Descriptor() ([]byte, []int)
- func (m *AddProducerRequest) GetAddress() string
- func (m *AddProducerRequest) GetName() string
- func (*AddProducerRequest) ProtoMessage()
- func (m *AddProducerRequest) Reset()
- func (m *AddProducerRequest) String() string
- func (m *AddProducerRequest) XXX_DiscardUnknown()
- func (m *AddProducerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddProducerRequest) XXX_Merge(src proto.Message)
- func (m *AddProducerRequest) XXX_Size() int
- func (m *AddProducerRequest) XXX_Unmarshal(b []byte) error
- type AddProducerResponse
- func (*AddProducerResponse) Descriptor() ([]byte, []int)
- func (m *AddProducerResponse) GetMessage() string
- func (*AddProducerResponse) ProtoMessage()
- func (m *AddProducerResponse) Reset()
- func (m *AddProducerResponse) String() string
- func (m *AddProducerResponse) XXX_DiscardUnknown()
- func (m *AddProducerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddProducerResponse) XXX_Merge(src proto.Message)
- func (m *AddProducerResponse) XXX_Size() int
- func (m *AddProducerResponse) XXX_Unmarshal(b []byte) error
- type AdminServiceClient
- type AdminServiceServer
- type CreateWalletRequest
- func (*CreateWalletRequest) Descriptor() ([]byte, []int)
- func (m *CreateWalletRequest) GetName() string
- func (m *CreateWalletRequest) GetPassphrase() string
- func (*CreateWalletRequest) ProtoMessage()
- func (m *CreateWalletRequest) Reset()
- func (m *CreateWalletRequest) String() string
- func (m *CreateWalletRequest) XXX_DiscardUnknown()
- func (m *CreateWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateWalletRequest) XXX_Merge(src proto.Message)
- func (m *CreateWalletRequest) XXX_Size() int
- func (m *CreateWalletRequest) XXX_Unmarshal(b []byte) error
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)
- func (m *GetBalanceRequest) GetAddress() string
- func (m *GetBalanceRequest) GetName() string
- func (m *GetBalanceRequest) GetPassphrase() string
- func (*GetBalanceRequest) ProtoMessage()
- func (m *GetBalanceRequest) Reset()
- func (m *GetBalanceRequest) String() string
- func (m *GetBalanceRequest) XXX_DiscardUnknown()
- func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBalanceRequest) XXX_Merge(src proto.Message)
- func (m *GetBalanceRequest) XXX_Size() int
- func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)
- func (m *GetBalanceResponse) GetAmount() int64
- func (m *GetBalanceResponse) GetMessage() string
- func (*GetBalanceResponse) ProtoMessage()
- func (m *GetBalanceResponse) Reset()
- func (m *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) XXX_DiscardUnknown()
- func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetBalanceResponse) XXX_Size() int
- func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
- type GetBlockByHashRequest
- func (*GetBlockByHashRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockByHashRequest) GetHash() []byte
- func (*GetBlockByHashRequest) ProtoMessage()
- func (m *GetBlockByHashRequest) Reset()
- func (m *GetBlockByHashRequest) String() string
- func (m *GetBlockByHashRequest) XXX_DiscardUnknown()
- func (m *GetBlockByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockByHashRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockByHashRequest) XXX_Size() int
- func (m *GetBlockByHashRequest) XXX_Unmarshal(b []byte) error
- type GetBlockByHashResponse
- func (*GetBlockByHashResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockByHashResponse) GetBlock() *pb1.Block
- func (m *GetBlockByHashResponse) GetErrorCode() uint32
- func (*GetBlockByHashResponse) ProtoMessage()
- func (m *GetBlockByHashResponse) Reset()
- func (m *GetBlockByHashResponse) String() string
- func (m *GetBlockByHashResponse) XXX_DiscardUnknown()
- func (m *GetBlockByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockByHashResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockByHashResponse) XXX_Size() int
- func (m *GetBlockByHashResponse) XXX_Unmarshal(b []byte) error
- type GetBlockByHeightRequest
- func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockByHeightRequest) GetHeight() uint64
- func (*GetBlockByHeightRequest) ProtoMessage()
- func (m *GetBlockByHeightRequest) Reset()
- func (m *GetBlockByHeightRequest) String() string
- func (m *GetBlockByHeightRequest) XXX_DiscardUnknown()
- func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockByHeightRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockByHeightRequest) XXX_Size() int
- func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error
- type GetBlockByHeightResponse
- func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockByHeightResponse) GetBlock() *pb1.Block
- func (m *GetBlockByHeightResponse) GetErrorCode() uint32
- func (*GetBlockByHeightResponse) ProtoMessage()
- func (m *GetBlockByHeightResponse) Reset()
- func (m *GetBlockByHeightResponse) String() string
- func (m *GetBlockByHeightResponse) XXX_DiscardUnknown()
- func (m *GetBlockByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockByHeightResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockByHeightResponse) XXX_Size() int
- func (m *GetBlockByHeightResponse) XXX_Unmarshal(b []byte) error
- type GetBlockchainInfoRequest
- func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)
- func (*GetBlockchainInfoRequest) ProtoMessage()
- func (m *GetBlockchainInfoRequest) Reset()
- func (m *GetBlockchainInfoRequest) String() string
- func (m *GetBlockchainInfoRequest) XXX_DiscardUnknown()
- func (m *GetBlockchainInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockchainInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockchainInfoRequest) XXX_Size() int
- func (m *GetBlockchainInfoRequest) XXX_Unmarshal(b []byte) error
- type GetBlockchainInfoResponse
- func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockchainInfoResponse) GetBlockHeight() uint64
- func (m *GetBlockchainInfoResponse) GetProducers() []string
- func (m *GetBlockchainInfoResponse) GetTailBlockHash() []byte
- func (m *GetBlockchainInfoResponse) GetTimestamp() int64
- func (*GetBlockchainInfoResponse) ProtoMessage()
- func (m *GetBlockchainInfoResponse) Reset()
- func (m *GetBlockchainInfoResponse) String() string
- func (m *GetBlockchainInfoResponse) XXX_DiscardUnknown()
- func (m *GetBlockchainInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlockchainInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockchainInfoResponse) XXX_Size() int
- func (m *GetBlockchainInfoResponse) XXX_Unmarshal(b []byte) error
- type GetBlocksRequest
- func (*GetBlocksRequest) Descriptor() ([]byte, []int)
- func (m *GetBlocksRequest) GetMaxCount() int32
- func (m *GetBlocksRequest) GetStartBlockHashes() [][]byte
- func (*GetBlocksRequest) ProtoMessage()
- func (m *GetBlocksRequest) Reset()
- func (m *GetBlocksRequest) String() string
- func (m *GetBlocksRequest) XXX_DiscardUnknown()
- func (m *GetBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlocksRequest) XXX_Merge(src proto.Message)
- func (m *GetBlocksRequest) XXX_Size() int
- func (m *GetBlocksRequest) XXX_Unmarshal(b []byte) error
- type GetBlocksResponse
- func (*GetBlocksResponse) Descriptor() ([]byte, []int)
- func (m *GetBlocksResponse) GetBlocks() []*pb1.Block
- func (m *GetBlocksResponse) GetErrorCode() uint32
- func (*GetBlocksResponse) ProtoMessage()
- func (m *GetBlocksResponse) Reset()
- func (m *GetBlocksResponse) String() string
- func (m *GetBlocksResponse) XXX_DiscardUnknown()
- func (m *GetBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetBlocksResponse) XXX_Merge(src proto.Message)
- func (m *GetBlocksResponse) XXX_Size() int
- func (m *GetBlocksResponse) XXX_Unmarshal(b []byte) error
- type GetPeerInfoRequest
- func (*GetPeerInfoRequest) Descriptor() ([]byte, []int)
- func (*GetPeerInfoRequest) ProtoMessage()
- func (m *GetPeerInfoRequest) Reset()
- func (m *GetPeerInfoRequest) String() string
- func (m *GetPeerInfoRequest) XXX_DiscardUnknown()
- func (m *GetPeerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPeerInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetPeerInfoRequest) XXX_Size() int
- func (m *GetPeerInfoRequest) XXX_Unmarshal(b []byte) error
- type GetPeerInfoResponse
- func (*GetPeerInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetPeerInfoResponse) GetPeerList() *pb.Peerlist
- func (*GetPeerInfoResponse) ProtoMessage()
- func (m *GetPeerInfoResponse) Reset()
- func (m *GetPeerInfoResponse) String() string
- func (m *GetPeerInfoResponse) XXX_DiscardUnknown()
- func (m *GetPeerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPeerInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetPeerInfoResponse) XXX_Size() int
- func (m *GetPeerInfoResponse) XXX_Unmarshal(b []byte) error
- type GetUTXORequest
- func (*GetUTXORequest) Descriptor() ([]byte, []int)
- func (m *GetUTXORequest) GetAddress() string
- func (*GetUTXORequest) ProtoMessage()
- func (m *GetUTXORequest) Reset()
- func (m *GetUTXORequest) String() string
- func (m *GetUTXORequest) XXX_DiscardUnknown()
- func (m *GetUTXORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUTXORequest) XXX_Merge(src proto.Message)
- func (m *GetUTXORequest) XXX_Size() int
- func (m *GetUTXORequest) XXX_Unmarshal(b []byte) error
- type GetUTXOResponse
- func (*GetUTXOResponse) Descriptor() ([]byte, []int)
- func (m *GetUTXOResponse) GetBlockHeaders() []*pb1.BlockHeader
- func (m *GetUTXOResponse) GetErrorCode() uint32
- func (m *GetUTXOResponse) GetUtxos() []*UTXO
- func (*GetUTXOResponse) ProtoMessage()
- func (m *GetUTXOResponse) Reset()
- func (m *GetUTXOResponse) String() string
- func (m *GetUTXOResponse) XXX_DiscardUnknown()
- func (m *GetUTXOResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUTXOResponse) XXX_Merge(src proto.Message)
- func (m *GetUTXOResponse) XXX_Size() int
- func (m *GetUTXOResponse) XXX_Unmarshal(b []byte) error
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (m *GetVersionRequest) GetProtoVersion() string
- func (*GetVersionRequest) ProtoMessage()
- func (m *GetVersionRequest) Reset()
- func (m *GetVersionRequest) String() string
- func (m *GetVersionRequest) XXX_DiscardUnknown()
- func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetVersionRequest) XXX_Size() int
- func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)
- func (m *GetVersionResponse) GetErrorCode() uint32
- func (m *GetVersionResponse) GetProtoVersion() string
- func (m *GetVersionResponse) GetServerVersion() string
- func (*GetVersionResponse) ProtoMessage()
- func (m *GetVersionResponse) Reset()
- func (m *GetVersionResponse) String() string
- func (m *GetVersionResponse) XXX_DiscardUnknown()
- func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetVersionResponse) XXX_Merge(src proto.Message)
- func (m *GetVersionResponse) XXX_Size() int
- func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error
- type GetWalletAddressRequest
- func (*GetWalletAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetWalletAddressRequest) GetName() string
- func (m *GetWalletAddressRequest) GetPassphrase() string
- func (*GetWalletAddressRequest) ProtoMessage()
- func (m *GetWalletAddressRequest) Reset()
- func (m *GetWalletAddressRequest) String() string
- func (m *GetWalletAddressRequest) XXX_DiscardUnknown()
- func (m *GetWalletAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetWalletAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetWalletAddressRequest) XXX_Size() int
- func (m *GetWalletAddressRequest) XXX_Unmarshal(b []byte) error
- type RpcServiceClient
- type RpcServiceServer
- type SendFromMinerRequest
- func (*SendFromMinerRequest) Descriptor() ([]byte, []int)
- func (m *SendFromMinerRequest) GetAmount() []byte
- func (m *SendFromMinerRequest) GetTo() string
- func (*SendFromMinerRequest) ProtoMessage()
- func (m *SendFromMinerRequest) Reset()
- func (m *SendFromMinerRequest) String() string
- func (m *SendFromMinerRequest) XXX_DiscardUnknown()
- func (m *SendFromMinerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendFromMinerRequest) XXX_Merge(src proto.Message)
- func (m *SendFromMinerRequest) XXX_Size() int
- func (m *SendFromMinerRequest) XXX_Unmarshal(b []byte) error
- type SendFromMinerResponse
- func (*SendFromMinerResponse) Descriptor() ([]byte, []int)
- func (m *SendFromMinerResponse) GetMessage() string
- func (*SendFromMinerResponse) ProtoMessage()
- func (m *SendFromMinerResponse) Reset()
- func (m *SendFromMinerResponse) String() string
- func (m *SendFromMinerResponse) XXX_DiscardUnknown()
- func (m *SendFromMinerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendFromMinerResponse) XXX_Merge(src proto.Message)
- func (m *SendFromMinerResponse) XXX_Size() int
- func (m *SendFromMinerResponse) XXX_Unmarshal(b []byte) error
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)
- func (m *SendRequest) GetAmount() []byte
- func (m *SendRequest) GetContract() string
- func (m *SendRequest) GetFrom() string
- func (m *SendRequest) GetTip() uint64
- func (m *SendRequest) GetTo() string
- func (m *SendRequest) GetWalletpath() string
- func (*SendRequest) ProtoMessage()
- func (m *SendRequest) Reset()
- func (m *SendRequest) String() string
- func (m *SendRequest) XXX_DiscardUnknown()
- func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendRequest) XXX_Merge(src proto.Message)
- func (m *SendRequest) XXX_Size() int
- func (m *SendRequest) XXX_Unmarshal(b []byte) error
- type SendResponse
- func (*SendResponse) Descriptor() ([]byte, []int)
- func (m *SendResponse) GetMessage() string
- func (*SendResponse) ProtoMessage()
- func (m *SendResponse) Reset()
- func (m *SendResponse) String() string
- func (m *SendResponse) XXX_DiscardUnknown()
- func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendResponse) XXX_Merge(src proto.Message)
- func (m *SendResponse) XXX_Size() int
- func (m *SendResponse) XXX_Unmarshal(b []byte) error
- type SendTransactionRequest
- func (*SendTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SendTransactionRequest) GetTransaction() *pb1.Transaction
- func (*SendTransactionRequest) ProtoMessage()
- func (m *SendTransactionRequest) Reset()
- func (m *SendTransactionRequest) String() string
- func (m *SendTransactionRequest) XXX_DiscardUnknown()
- func (m *SendTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SendTransactionRequest) XXX_Size() int
- func (m *SendTransactionRequest) XXX_Unmarshal(b []byte) error
- type SendTransactionResponse
- func (*SendTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SendTransactionResponse) GetErrorCode() uint32
- func (*SendTransactionResponse) ProtoMessage()
- func (m *SendTransactionResponse) Reset()
- func (m *SendTransactionResponse) String() string
- func (m *SendTransactionResponse) XXX_DiscardUnknown()
- func (m *SendTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendTransactionResponse) XXX_Merge(src proto.Message)
- func (m *SendTransactionResponse) XXX_Size() int
- func (m *SendTransactionResponse) XXX_Unmarshal(b []byte) error
- type UTXO
- func (*UTXO) Descriptor() ([]byte, []int)
- func (m *UTXO) GetAmount() []byte
- func (m *UTXO) GetPublicKeyHash() []byte
- func (m *UTXO) GetTxIndex() uint32
- func (m *UTXO) GetTxid() []byte
- func (*UTXO) ProtoMessage()
- func (m *UTXO) Reset()
- func (m *UTXO) String() string
- func (m *UTXO) XXX_DiscardUnknown()
- func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UTXO) XXX_Merge(src proto.Message)
- func (m *UTXO) XXX_Size() int
- func (m *UTXO) XXX_Unmarshal(b []byte) error
- type UnlockWalletRequest
- func (*UnlockWalletRequest) Descriptor() ([]byte, []int)
- func (m *UnlockWalletRequest) GetName() string
- func (*UnlockWalletRequest) ProtoMessage()
- func (m *UnlockWalletRequest) Reset()
- func (m *UnlockWalletRequest) String() string
- func (m *UnlockWalletRequest) XXX_DiscardUnknown()
- func (m *UnlockWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnlockWalletRequest) XXX_Merge(src proto.Message)
- func (m *UnlockWalletRequest) XXX_Size() int
- func (m *UnlockWalletRequest) XXX_Unmarshal(b []byte) error
- type UnlockWalletResponse
- func (*UnlockWalletResponse) Descriptor() ([]byte, []int)
- func (m *UnlockWalletResponse) GetMessage() string
- func (*UnlockWalletResponse) ProtoMessage()
- func (m *UnlockWalletResponse) Reset()
- func (m *UnlockWalletResponse) String() string
- func (m *UnlockWalletResponse) XXX_DiscardUnknown()
- func (m *UnlockWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnlockWalletResponse) XXX_Merge(src proto.Message)
- func (m *UnlockWalletResponse) XXX_Size() int
- func (m *UnlockWalletResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdminServiceServer ¶ added in v0.1.1
func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer)
func RegisterRpcServiceServer ¶ added in v0.1.1
func RegisterRpcServiceServer(s *grpc.Server, srv RpcServiceServer)
Types ¶
type AddPeerRequest ¶ added in v0.1.1
type AddPeerRequest struct {
FullAddress string `protobuf:"bytes,1,opt,name=fullAddress,proto3" json:"fullAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddPeerRequest) Descriptor ¶ added in v0.1.1
func (*AddPeerRequest) Descriptor() ([]byte, []int)
func (*AddPeerRequest) GetFullAddress ¶ added in v0.1.1
func (m *AddPeerRequest) GetFullAddress() string
func (*AddPeerRequest) ProtoMessage ¶ added in v0.1.1
func (*AddPeerRequest) ProtoMessage()
func (*AddPeerRequest) Reset ¶ added in v0.1.1
func (m *AddPeerRequest) Reset()
func (*AddPeerRequest) String ¶ added in v0.1.1
func (m *AddPeerRequest) String() string
func (*AddPeerRequest) XXX_DiscardUnknown ¶ added in v0.1.1
func (m *AddPeerRequest) XXX_DiscardUnknown()
func (*AddPeerRequest) XXX_Marshal ¶ added in v0.1.1
func (m *AddPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPeerRequest) XXX_Merge ¶ added in v0.1.1
func (dst *AddPeerRequest) XXX_Merge(src proto.Message)
func (*AddPeerRequest) XXX_Size ¶ added in v0.1.1
func (m *AddPeerRequest) XXX_Size() int
func (*AddPeerRequest) XXX_Unmarshal ¶ added in v0.1.1
func (m *AddPeerRequest) XXX_Unmarshal(b []byte) error
type AddPeerResponse ¶ added in v0.1.1
type AddPeerResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddPeerResponse) Descriptor ¶ added in v0.1.1
func (*AddPeerResponse) Descriptor() ([]byte, []int)
func (*AddPeerResponse) GetStatus ¶ added in v0.1.1
func (m *AddPeerResponse) GetStatus() string
func (*AddPeerResponse) ProtoMessage ¶ added in v0.1.1
func (*AddPeerResponse) ProtoMessage()
func (*AddPeerResponse) Reset ¶ added in v0.1.1
func (m *AddPeerResponse) Reset()
func (*AddPeerResponse) String ¶ added in v0.1.1
func (m *AddPeerResponse) String() string
func (*AddPeerResponse) XXX_DiscardUnknown ¶ added in v0.1.1
func (m *AddPeerResponse) XXX_DiscardUnknown()
func (*AddPeerResponse) XXX_Marshal ¶ added in v0.1.1
func (m *AddPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPeerResponse) XXX_Merge ¶ added in v0.1.1
func (dst *AddPeerResponse) XXX_Merge(src proto.Message)
func (*AddPeerResponse) XXX_Size ¶ added in v0.1.1
func (m *AddPeerResponse) XXX_Size() int
func (*AddPeerResponse) XXX_Unmarshal ¶ added in v0.1.1
func (m *AddPeerResponse) XXX_Unmarshal(b []byte) error
type AddProducerRequest ¶ added in v0.1.2
type AddProducerRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddProducerRequest) Descriptor ¶ added in v0.1.2
func (*AddProducerRequest) Descriptor() ([]byte, []int)
func (*AddProducerRequest) GetAddress ¶ added in v0.1.2
func (m *AddProducerRequest) GetAddress() string
func (*AddProducerRequest) GetName ¶ added in v0.1.2
func (m *AddProducerRequest) GetName() string
func (*AddProducerRequest) ProtoMessage ¶ added in v0.1.2
func (*AddProducerRequest) ProtoMessage()
func (*AddProducerRequest) Reset ¶ added in v0.1.2
func (m *AddProducerRequest) Reset()
func (*AddProducerRequest) String ¶ added in v0.1.2
func (m *AddProducerRequest) String() string
func (*AddProducerRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *AddProducerRequest) XXX_DiscardUnknown()
func (*AddProducerRequest) XXX_Marshal ¶ added in v0.1.2
func (m *AddProducerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddProducerRequest) XXX_Merge ¶ added in v0.1.2
func (dst *AddProducerRequest) XXX_Merge(src proto.Message)
func (*AddProducerRequest) XXX_Size ¶ added in v0.1.2
func (m *AddProducerRequest) XXX_Size() int
func (*AddProducerRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *AddProducerRequest) XXX_Unmarshal(b []byte) error
type AddProducerResponse ¶ added in v0.1.2
type AddProducerResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AddProducerResponse) Descriptor ¶ added in v0.1.2
func (*AddProducerResponse) Descriptor() ([]byte, []int)
func (*AddProducerResponse) GetMessage ¶ added in v0.1.2
func (m *AddProducerResponse) GetMessage() string
func (*AddProducerResponse) ProtoMessage ¶ added in v0.1.2
func (*AddProducerResponse) ProtoMessage()
func (*AddProducerResponse) Reset ¶ added in v0.1.2
func (m *AddProducerResponse) Reset()
func (*AddProducerResponse) String ¶ added in v0.1.2
func (m *AddProducerResponse) String() string
func (*AddProducerResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *AddProducerResponse) XXX_DiscardUnknown()
func (*AddProducerResponse) XXX_Marshal ¶ added in v0.1.2
func (m *AddProducerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddProducerResponse) XXX_Merge ¶ added in v0.1.2
func (dst *AddProducerResponse) XXX_Merge(src proto.Message)
func (*AddProducerResponse) XXX_Size ¶ added in v0.1.2
func (m *AddProducerResponse) XXX_Size() int
func (*AddProducerResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *AddProducerResponse) XXX_Unmarshal(b []byte) error
type AdminServiceClient ¶ added in v0.1.1
type AdminServiceClient interface {
RpcAddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*AddPeerResponse, error)
RpcSend(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
RpcGetPeerInfo(ctx context.Context, in *GetPeerInfoRequest, opts ...grpc.CallOption) (*GetPeerInfoResponse, error)
RpcSendFromMiner(ctx context.Context, in *SendFromMinerRequest, opts ...grpc.CallOption) (*SendFromMinerResponse, error)
RpcAddProducer(ctx context.Context, in *AddProducerRequest, opts ...grpc.CallOption) (*AddProducerResponse, error)
RpcUnlockWallet(ctx context.Context, in *UnlockWalletRequest, opts ...grpc.CallOption) (*UnlockWalletResponse, 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 ¶ added in v0.1.1
func NewAdminServiceClient(cc *grpc.ClientConn) AdminServiceClient
type AdminServiceServer ¶ added in v0.1.1
type AdminServiceServer interface {
RpcAddPeer(context.Context, *AddPeerRequest) (*AddPeerResponse, error)
RpcSend(context.Context, *SendRequest) (*SendResponse, error)
RpcGetPeerInfo(context.Context, *GetPeerInfoRequest) (*GetPeerInfoResponse, error)
RpcSendFromMiner(context.Context, *SendFromMinerRequest) (*SendFromMinerResponse, error)
RpcAddProducer(context.Context, *AddProducerRequest) (*AddProducerResponse, error)
RpcUnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
}
AdminServiceServer is the server API for AdminService service.
type CreateWalletRequest ¶
type CreateWalletRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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:"-"`
}
The request message
func (*CreateWalletRequest) Descriptor ¶
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
func (*CreateWalletRequest) GetName ¶
func (m *CreateWalletRequest) GetName() string
func (*CreateWalletRequest) GetPassphrase ¶ added in v0.1.2
func (m *CreateWalletRequest) GetPassphrase() string
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) Reset ¶
func (m *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (m *CreateWalletRequest) String() string
func (*CreateWalletRequest) XXX_DiscardUnknown ¶
func (m *CreateWalletRequest) XXX_DiscardUnknown()
func (*CreateWalletRequest) XXX_Marshal ¶
func (m *CreateWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateWalletRequest) XXX_Merge ¶
func (dst *CreateWalletRequest) XXX_Merge(src proto.Message)
func (*CreateWalletRequest) XXX_Size ¶
func (m *CreateWalletRequest) XXX_Size() int
func (*CreateWalletRequest) XXX_Unmarshal ¶
func (m *CreateWalletRequest) XXX_Unmarshal(b []byte) error
type GetBalanceRequest ¶
type GetBalanceRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBalanceRequest) Descriptor ¶
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
func (*GetBalanceRequest) GetAddress ¶
func (m *GetBalanceRequest) GetAddress() string
func (*GetBalanceRequest) GetName ¶
func (m *GetBalanceRequest) GetName() string
func (*GetBalanceRequest) GetPassphrase ¶ added in v0.1.2
func (m *GetBalanceRequest) GetPassphrase() string
func (*GetBalanceRequest) ProtoMessage ¶
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) Reset ¶
func (m *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶
func (m *GetBalanceRequest) String() string
func (*GetBalanceRequest) XXX_DiscardUnknown ¶
func (m *GetBalanceRequest) XXX_DiscardUnknown()
func (*GetBalanceRequest) XXX_Marshal ¶
func (m *GetBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceRequest) XXX_Merge ¶
func (dst *GetBalanceRequest) XXX_Merge(src proto.Message)
func (*GetBalanceRequest) XXX_Size ¶
func (m *GetBalanceRequest) XXX_Size() int
func (*GetBalanceRequest) XXX_Unmarshal ¶
func (m *GetBalanceRequest) XXX_Unmarshal(b []byte) error
type GetBalanceResponse ¶
type GetBalanceResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBalanceResponse) Descriptor ¶
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
func (*GetBalanceResponse) GetAmount ¶ added in v0.1.1
func (m *GetBalanceResponse) GetAmount() int64
func (*GetBalanceResponse) GetMessage ¶
func (m *GetBalanceResponse) GetMessage() string
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) Reset ¶
func (m *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (m *GetBalanceResponse) String() string
func (*GetBalanceResponse) XXX_DiscardUnknown ¶
func (m *GetBalanceResponse) XXX_DiscardUnknown()
func (*GetBalanceResponse) XXX_Marshal ¶
func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceResponse) XXX_Merge ¶
func (dst *GetBalanceResponse) XXX_Merge(src proto.Message)
func (*GetBalanceResponse) XXX_Size ¶
func (m *GetBalanceResponse) XXX_Size() int
func (*GetBalanceResponse) XXX_Unmarshal ¶
func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
type GetBlockByHashRequest ¶ added in v0.1.2
type GetBlockByHashRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockByHashRequest) Descriptor ¶ added in v0.1.2
func (*GetBlockByHashRequest) Descriptor() ([]byte, []int)
func (*GetBlockByHashRequest) GetHash ¶ added in v0.1.2
func (m *GetBlockByHashRequest) GetHash() []byte
func (*GetBlockByHashRequest) ProtoMessage ¶ added in v0.1.2
func (*GetBlockByHashRequest) ProtoMessage()
func (*GetBlockByHashRequest) Reset ¶ added in v0.1.2
func (m *GetBlockByHashRequest) Reset()
func (*GetBlockByHashRequest) String ¶ added in v0.1.2
func (m *GetBlockByHashRequest) String() string
func (*GetBlockByHashRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlockByHashRequest) XXX_DiscardUnknown()
func (*GetBlockByHashRequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlockByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHashRequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlockByHashRequest) XXX_Merge(src proto.Message)
func (*GetBlockByHashRequest) XXX_Size ¶ added in v0.1.2
func (m *GetBlockByHashRequest) XXX_Size() int
func (*GetBlockByHashRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlockByHashRequest) XXX_Unmarshal(b []byte) error
type GetBlockByHashResponse ¶ added in v0.1.2
type GetBlockByHashResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
Block *pb1.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockByHashResponse) Descriptor ¶ added in v0.1.2
func (*GetBlockByHashResponse) Descriptor() ([]byte, []int)
func (*GetBlockByHashResponse) GetBlock ¶ added in v0.1.2
func (m *GetBlockByHashResponse) GetBlock() *pb1.Block
func (*GetBlockByHashResponse) GetErrorCode ¶ added in v0.1.2
func (m *GetBlockByHashResponse) GetErrorCode() uint32
func (*GetBlockByHashResponse) ProtoMessage ¶ added in v0.1.2
func (*GetBlockByHashResponse) ProtoMessage()
func (*GetBlockByHashResponse) Reset ¶ added in v0.1.2
func (m *GetBlockByHashResponse) Reset()
func (*GetBlockByHashResponse) String ¶ added in v0.1.2
func (m *GetBlockByHashResponse) String() string
func (*GetBlockByHashResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlockByHashResponse) XXX_DiscardUnknown()
func (*GetBlockByHashResponse) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlockByHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHashResponse) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlockByHashResponse) XXX_Merge(src proto.Message)
func (*GetBlockByHashResponse) XXX_Size ¶ added in v0.1.2
func (m *GetBlockByHashResponse) XXX_Size() int
func (*GetBlockByHashResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlockByHashResponse) XXX_Unmarshal(b []byte) error
type GetBlockByHeightRequest ¶ added in v0.1.2
type GetBlockByHeightRequest 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 (*GetBlockByHeightRequest) Descriptor ¶ added in v0.1.2
func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)
func (*GetBlockByHeightRequest) GetHeight ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) GetHeight() uint64
func (*GetBlockByHeightRequest) ProtoMessage ¶ added in v0.1.2
func (*GetBlockByHeightRequest) ProtoMessage()
func (*GetBlockByHeightRequest) Reset ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) Reset()
func (*GetBlockByHeightRequest) String ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) String() string
func (*GetBlockByHeightRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) XXX_DiscardUnknown()
func (*GetBlockByHeightRequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHeightRequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlockByHeightRequest) XXX_Merge(src proto.Message)
func (*GetBlockByHeightRequest) XXX_Size ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) XXX_Size() int
func (*GetBlockByHeightRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error
type GetBlockByHeightResponse ¶ added in v0.1.2
type GetBlockByHeightResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
Block *pb1.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockByHeightResponse) Descriptor ¶ added in v0.1.2
func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)
func (*GetBlockByHeightResponse) GetBlock ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) GetBlock() *pb1.Block
func (*GetBlockByHeightResponse) GetErrorCode ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) GetErrorCode() uint32
func (*GetBlockByHeightResponse) ProtoMessage ¶ added in v0.1.2
func (*GetBlockByHeightResponse) ProtoMessage()
func (*GetBlockByHeightResponse) Reset ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) Reset()
func (*GetBlockByHeightResponse) String ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) String() string
func (*GetBlockByHeightResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) XXX_DiscardUnknown()
func (*GetBlockByHeightResponse) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHeightResponse) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlockByHeightResponse) XXX_Merge(src proto.Message)
func (*GetBlockByHeightResponse) XXX_Size ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) XXX_Size() int
func (*GetBlockByHeightResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlockByHeightResponse) XXX_Unmarshal(b []byte) error
type GetBlockchainInfoRequest ¶ added in v0.1.1
type GetBlockchainInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockchainInfoRequest) Descriptor ¶ added in v0.1.1
func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)
func (*GetBlockchainInfoRequest) ProtoMessage ¶ added in v0.1.1
func (*GetBlockchainInfoRequest) ProtoMessage()
func (*GetBlockchainInfoRequest) Reset ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) Reset()
func (*GetBlockchainInfoRequest) String ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) String() string
func (*GetBlockchainInfoRequest) XXX_DiscardUnknown ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) XXX_DiscardUnknown()
func (*GetBlockchainInfoRequest) XXX_Marshal ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockchainInfoRequest) XXX_Merge ¶ added in v0.1.1
func (dst *GetBlockchainInfoRequest) XXX_Merge(src proto.Message)
func (*GetBlockchainInfoRequest) XXX_Size ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) XXX_Size() int
func (*GetBlockchainInfoRequest) XXX_Unmarshal ¶ added in v0.1.1
func (m *GetBlockchainInfoRequest) XXX_Unmarshal(b []byte) error
type GetBlockchainInfoResponse ¶ added in v0.1.1
type GetBlockchainInfoResponse struct {
TailBlockHash []byte `protobuf:"bytes,1,opt,name=tailBlockHash,proto3" json:"tailBlockHash,omitempty"`
BlockHeight uint64 `protobuf:"varint,2,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
Producers []string `protobuf:"bytes,3,rep,name=producers,proto3" json:"producers,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockchainInfoResponse) Descriptor ¶ added in v0.1.1
func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)
func (*GetBlockchainInfoResponse) GetBlockHeight ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) GetBlockHeight() uint64
func (*GetBlockchainInfoResponse) GetProducers ¶ added in v0.1.2
func (m *GetBlockchainInfoResponse) GetProducers() []string
func (*GetBlockchainInfoResponse) GetTailBlockHash ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) GetTailBlockHash() []byte
func (*GetBlockchainInfoResponse) GetTimestamp ¶ added in v0.1.2
func (m *GetBlockchainInfoResponse) GetTimestamp() int64
func (*GetBlockchainInfoResponse) ProtoMessage ¶ added in v0.1.1
func (*GetBlockchainInfoResponse) ProtoMessage()
func (*GetBlockchainInfoResponse) Reset ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) Reset()
func (*GetBlockchainInfoResponse) String ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) String() string
func (*GetBlockchainInfoResponse) XXX_DiscardUnknown ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) XXX_DiscardUnknown()
func (*GetBlockchainInfoResponse) XXX_Marshal ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockchainInfoResponse) XXX_Merge ¶ added in v0.1.1
func (dst *GetBlockchainInfoResponse) XXX_Merge(src proto.Message)
func (*GetBlockchainInfoResponse) XXX_Size ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) XXX_Size() int
func (*GetBlockchainInfoResponse) XXX_Unmarshal ¶ added in v0.1.1
func (m *GetBlockchainInfoResponse) XXX_Unmarshal(b []byte) error
type GetBlocksRequest ¶ added in v0.1.2
type GetBlocksRequest struct {
StartBlockHashes [][]byte `protobuf:"bytes,1,rep,name=startBlockHashes,proto3" json:"startBlockHashes,omitempty"`
MaxCount int32 `protobuf:"varint,2,opt,name=maxCount,proto3" json:"maxCount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlocksRequest) Descriptor ¶ added in v0.1.2
func (*GetBlocksRequest) Descriptor() ([]byte, []int)
func (*GetBlocksRequest) GetMaxCount ¶ added in v0.1.2
func (m *GetBlocksRequest) GetMaxCount() int32
func (*GetBlocksRequest) GetStartBlockHashes ¶ added in v0.1.2
func (m *GetBlocksRequest) GetStartBlockHashes() [][]byte
func (*GetBlocksRequest) ProtoMessage ¶ added in v0.1.2
func (*GetBlocksRequest) ProtoMessage()
func (*GetBlocksRequest) Reset ¶ added in v0.1.2
func (m *GetBlocksRequest) Reset()
func (*GetBlocksRequest) String ¶ added in v0.1.2
func (m *GetBlocksRequest) String() string
func (*GetBlocksRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlocksRequest) XXX_DiscardUnknown()
func (*GetBlocksRequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlocksRequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlocksRequest) XXX_Merge(src proto.Message)
func (*GetBlocksRequest) XXX_Size ¶ added in v0.1.2
func (m *GetBlocksRequest) XXX_Size() int
func (*GetBlocksRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlocksRequest) XXX_Unmarshal(b []byte) error
type GetBlocksResponse ¶ added in v0.1.2
type GetBlocksResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
Blocks []*pb1.Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlocksResponse) Descriptor ¶ added in v0.1.2
func (*GetBlocksResponse) Descriptor() ([]byte, []int)
func (*GetBlocksResponse) GetBlocks ¶ added in v0.1.2
func (m *GetBlocksResponse) GetBlocks() []*pb1.Block
func (*GetBlocksResponse) GetErrorCode ¶ added in v0.1.2
func (m *GetBlocksResponse) GetErrorCode() uint32
func (*GetBlocksResponse) ProtoMessage ¶ added in v0.1.2
func (*GetBlocksResponse) ProtoMessage()
func (*GetBlocksResponse) Reset ¶ added in v0.1.2
func (m *GetBlocksResponse) Reset()
func (*GetBlocksResponse) String ¶ added in v0.1.2
func (m *GetBlocksResponse) String() string
func (*GetBlocksResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetBlocksResponse) XXX_DiscardUnknown()
func (*GetBlocksResponse) XXX_Marshal ¶ added in v0.1.2
func (m *GetBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlocksResponse) XXX_Merge ¶ added in v0.1.2
func (dst *GetBlocksResponse) XXX_Merge(src proto.Message)
func (*GetBlocksResponse) XXX_Size ¶ added in v0.1.2
func (m *GetBlocksResponse) XXX_Size() int
func (*GetBlocksResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetBlocksResponse) XXX_Unmarshal(b []byte) error
type GetPeerInfoRequest ¶
type GetPeerInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetPeerInfoRequest) Descriptor ¶
func (*GetPeerInfoRequest) Descriptor() ([]byte, []int)
func (*GetPeerInfoRequest) ProtoMessage ¶
func (*GetPeerInfoRequest) ProtoMessage()
func (*GetPeerInfoRequest) Reset ¶
func (m *GetPeerInfoRequest) Reset()
func (*GetPeerInfoRequest) String ¶
func (m *GetPeerInfoRequest) String() string
func (*GetPeerInfoRequest) XXX_DiscardUnknown ¶
func (m *GetPeerInfoRequest) XXX_DiscardUnknown()
func (*GetPeerInfoRequest) XXX_Marshal ¶
func (m *GetPeerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPeerInfoRequest) XXX_Merge ¶
func (dst *GetPeerInfoRequest) XXX_Merge(src proto.Message)
func (*GetPeerInfoRequest) XXX_Size ¶
func (m *GetPeerInfoRequest) XXX_Size() int
func (*GetPeerInfoRequest) XXX_Unmarshal ¶
func (m *GetPeerInfoRequest) XXX_Unmarshal(b []byte) error
type GetPeerInfoResponse ¶
type GetPeerInfoResponse struct {
PeerList *pb.Peerlist `protobuf:"bytes,1,opt,name=peerList,proto3" json:"peerList,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetPeerInfoResponse) Descriptor ¶
func (*GetPeerInfoResponse) Descriptor() ([]byte, []int)
func (*GetPeerInfoResponse) GetPeerList ¶
func (m *GetPeerInfoResponse) GetPeerList() *pb.Peerlist
func (*GetPeerInfoResponse) ProtoMessage ¶
func (*GetPeerInfoResponse) ProtoMessage()
func (*GetPeerInfoResponse) Reset ¶
func (m *GetPeerInfoResponse) Reset()
func (*GetPeerInfoResponse) String ¶
func (m *GetPeerInfoResponse) String() string
func (*GetPeerInfoResponse) XXX_DiscardUnknown ¶
func (m *GetPeerInfoResponse) XXX_DiscardUnknown()
func (*GetPeerInfoResponse) XXX_Marshal ¶
func (m *GetPeerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPeerInfoResponse) XXX_Merge ¶
func (dst *GetPeerInfoResponse) XXX_Merge(src proto.Message)
func (*GetPeerInfoResponse) XXX_Size ¶
func (m *GetPeerInfoResponse) XXX_Size() int
func (*GetPeerInfoResponse) XXX_Unmarshal ¶
func (m *GetPeerInfoResponse) XXX_Unmarshal(b []byte) error
type GetUTXORequest ¶ added in v0.1.2
type GetUTXORequest 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 (*GetUTXORequest) Descriptor ¶ added in v0.1.2
func (*GetUTXORequest) Descriptor() ([]byte, []int)
func (*GetUTXORequest) GetAddress ¶ added in v0.1.2
func (m *GetUTXORequest) GetAddress() string
func (*GetUTXORequest) ProtoMessage ¶ added in v0.1.2
func (*GetUTXORequest) ProtoMessage()
func (*GetUTXORequest) Reset ¶ added in v0.1.2
func (m *GetUTXORequest) Reset()
func (*GetUTXORequest) String ¶ added in v0.1.2
func (m *GetUTXORequest) String() string
func (*GetUTXORequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetUTXORequest) XXX_DiscardUnknown()
func (*GetUTXORequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetUTXORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUTXORequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetUTXORequest) XXX_Merge(src proto.Message)
func (*GetUTXORequest) XXX_Size ¶ added in v0.1.2
func (m *GetUTXORequest) XXX_Size() int
func (*GetUTXORequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetUTXORequest) XXX_Unmarshal(b []byte) error
type GetUTXOResponse ¶ added in v0.1.2
type GetUTXOResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
Utxos []*UTXO `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"`
BlockHeaders []*pb1.BlockHeader `protobuf:"bytes,3,rep,name=blockHeaders,proto3" json:"blockHeaders,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetUTXOResponse) Descriptor ¶ added in v0.1.2
func (*GetUTXOResponse) Descriptor() ([]byte, []int)
func (*GetUTXOResponse) GetBlockHeaders ¶ added in v0.1.2
func (m *GetUTXOResponse) GetBlockHeaders() []*pb1.BlockHeader
func (*GetUTXOResponse) GetErrorCode ¶ added in v0.1.2
func (m *GetUTXOResponse) GetErrorCode() uint32
func (*GetUTXOResponse) GetUtxos ¶ added in v0.1.2
func (m *GetUTXOResponse) GetUtxos() []*UTXO
func (*GetUTXOResponse) ProtoMessage ¶ added in v0.1.2
func (*GetUTXOResponse) ProtoMessage()
func (*GetUTXOResponse) Reset ¶ added in v0.1.2
func (m *GetUTXOResponse) Reset()
func (*GetUTXOResponse) String ¶ added in v0.1.2
func (m *GetUTXOResponse) String() string
func (*GetUTXOResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetUTXOResponse) XXX_DiscardUnknown()
func (*GetUTXOResponse) XXX_Marshal ¶ added in v0.1.2
func (m *GetUTXOResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUTXOResponse) XXX_Merge ¶ added in v0.1.2
func (dst *GetUTXOResponse) XXX_Merge(src proto.Message)
func (*GetUTXOResponse) XXX_Size ¶ added in v0.1.2
func (m *GetUTXOResponse) XXX_Size() int
func (*GetUTXOResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetUTXOResponse) XXX_Unmarshal(b []byte) error
type GetVersionRequest ¶ added in v0.1.2
type GetVersionRequest struct {
ProtoVersion string `protobuf:"bytes,1,opt,name=protoVersion,proto3" json:"protoVersion,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVersionRequest) Descriptor ¶ added in v0.1.2
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) GetProtoVersion ¶ added in v0.1.2
func (m *GetVersionRequest) GetProtoVersion() string
func (*GetVersionRequest) ProtoMessage ¶ added in v0.1.2
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶ added in v0.1.2
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶ added in v0.1.2
func (m *GetVersionRequest) String() string
func (*GetVersionRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetVersionRequest) XXX_DiscardUnknown()
func (*GetVersionRequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionRequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetVersionRequest) XXX_Merge(src proto.Message)
func (*GetVersionRequest) XXX_Size ¶ added in v0.1.2
func (m *GetVersionRequest) XXX_Size() int
func (*GetVersionRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
type GetVersionResponse ¶ added in v0.1.2
type GetVersionResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
ProtoVersion string `protobuf:"bytes,2,opt,name=protoVersion,proto3" json:"protoVersion,omitempty"`
ServerVersion string `protobuf:"bytes,3,opt,name=serverVersion,proto3" json:"serverVersion,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVersionResponse) Descriptor ¶ added in v0.1.2
func (*GetVersionResponse) Descriptor() ([]byte, []int)
func (*GetVersionResponse) GetErrorCode ¶ added in v0.1.2
func (m *GetVersionResponse) GetErrorCode() uint32
func (*GetVersionResponse) GetProtoVersion ¶ added in v0.1.2
func (m *GetVersionResponse) GetProtoVersion() string
func (*GetVersionResponse) GetServerVersion ¶ added in v0.1.2
func (m *GetVersionResponse) GetServerVersion() string
func (*GetVersionResponse) ProtoMessage ¶ added in v0.1.2
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) Reset ¶ added in v0.1.2
func (m *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶ added in v0.1.2
func (m *GetVersionResponse) String() string
func (*GetVersionResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetVersionResponse) XXX_DiscardUnknown()
func (*GetVersionResponse) XXX_Marshal ¶ added in v0.1.2
func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionResponse) XXX_Merge ¶ added in v0.1.2
func (dst *GetVersionResponse) XXX_Merge(src proto.Message)
func (*GetVersionResponse) XXX_Size ¶ added in v0.1.2
func (m *GetVersionResponse) XXX_Size() int
func (*GetVersionResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error
type GetWalletAddressRequest ¶ added in v0.1.2
type GetWalletAddressRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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 (*GetWalletAddressRequest) Descriptor ¶ added in v0.1.2
func (*GetWalletAddressRequest) Descriptor() ([]byte, []int)
func (*GetWalletAddressRequest) GetName ¶ added in v0.1.2
func (m *GetWalletAddressRequest) GetName() string
func (*GetWalletAddressRequest) GetPassphrase ¶ added in v0.1.2
func (m *GetWalletAddressRequest) GetPassphrase() string
func (*GetWalletAddressRequest) ProtoMessage ¶ added in v0.1.2
func (*GetWalletAddressRequest) ProtoMessage()
func (*GetWalletAddressRequest) Reset ¶ added in v0.1.2
func (m *GetWalletAddressRequest) Reset()
func (*GetWalletAddressRequest) String ¶ added in v0.1.2
func (m *GetWalletAddressRequest) String() string
func (*GetWalletAddressRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *GetWalletAddressRequest) XXX_DiscardUnknown()
func (*GetWalletAddressRequest) XXX_Marshal ¶ added in v0.1.2
func (m *GetWalletAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetWalletAddressRequest) XXX_Merge ¶ added in v0.1.2
func (dst *GetWalletAddressRequest) XXX_Merge(src proto.Message)
func (*GetWalletAddressRequest) XXX_Size ¶ added in v0.1.2
func (m *GetWalletAddressRequest) XXX_Size() int
func (*GetWalletAddressRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *GetWalletAddressRequest) XXX_Unmarshal(b []byte) error
type RpcServiceClient ¶ added in v0.1.1
type RpcServiceClient interface {
RpcGetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
RpcGetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
RpcGetBlockchainInfo(ctx context.Context, in *GetBlockchainInfoRequest, opts ...grpc.CallOption) (*GetBlockchainInfoResponse, error)
RpcGetUTXO(ctx context.Context, in *GetUTXORequest, opts ...grpc.CallOption) (*GetUTXOResponse, error)
RpcGetBlocks(ctx context.Context, in *GetBlocksRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error)
RpcGetBlockByHash(ctx context.Context, in *GetBlockByHashRequest, opts ...grpc.CallOption) (*GetBlockByHashResponse, error)
RpcGetBlockByHeight(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*GetBlockByHeightResponse, error)
RpcSendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error)
}
RpcServiceClient is the client API for RpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRpcServiceClient ¶ added in v0.1.1
func NewRpcServiceClient(cc *grpc.ClientConn) RpcServiceClient
type RpcServiceServer ¶ added in v0.1.1
type RpcServiceServer interface {
RpcGetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
RpcGetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
RpcGetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error)
RpcGetUTXO(context.Context, *GetUTXORequest) (*GetUTXOResponse, error)
RpcGetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)
RpcGetBlockByHash(context.Context, *GetBlockByHashRequest) (*GetBlockByHashResponse, error)
RpcGetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error)
RpcSendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
}
RpcServiceServer is the server API for RpcService service.
type SendFromMinerRequest ¶ added in v0.1.2
type SendFromMinerRequest struct {
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendFromMinerRequest) Descriptor ¶ added in v0.1.2
func (*SendFromMinerRequest) Descriptor() ([]byte, []int)
func (*SendFromMinerRequest) GetAmount ¶ added in v0.1.2
func (m *SendFromMinerRequest) GetAmount() []byte
func (*SendFromMinerRequest) GetTo ¶ added in v0.1.2
func (m *SendFromMinerRequest) GetTo() string
func (*SendFromMinerRequest) ProtoMessage ¶ added in v0.1.2
func (*SendFromMinerRequest) ProtoMessage()
func (*SendFromMinerRequest) Reset ¶ added in v0.1.2
func (m *SendFromMinerRequest) Reset()
func (*SendFromMinerRequest) String ¶ added in v0.1.2
func (m *SendFromMinerRequest) String() string
func (*SendFromMinerRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *SendFromMinerRequest) XXX_DiscardUnknown()
func (*SendFromMinerRequest) XXX_Marshal ¶ added in v0.1.2
func (m *SendFromMinerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendFromMinerRequest) XXX_Merge ¶ added in v0.1.2
func (dst *SendFromMinerRequest) XXX_Merge(src proto.Message)
func (*SendFromMinerRequest) XXX_Size ¶ added in v0.1.2
func (m *SendFromMinerRequest) XXX_Size() int
func (*SendFromMinerRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *SendFromMinerRequest) XXX_Unmarshal(b []byte) error
type SendFromMinerResponse ¶ added in v0.1.2
type SendFromMinerResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendFromMinerResponse) Descriptor ¶ added in v0.1.2
func (*SendFromMinerResponse) Descriptor() ([]byte, []int)
func (*SendFromMinerResponse) GetMessage ¶ added in v0.1.2
func (m *SendFromMinerResponse) GetMessage() string
func (*SendFromMinerResponse) ProtoMessage ¶ added in v0.1.2
func (*SendFromMinerResponse) ProtoMessage()
func (*SendFromMinerResponse) Reset ¶ added in v0.1.2
func (m *SendFromMinerResponse) Reset()
func (*SendFromMinerResponse) String ¶ added in v0.1.2
func (m *SendFromMinerResponse) String() string
func (*SendFromMinerResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *SendFromMinerResponse) XXX_DiscardUnknown()
func (*SendFromMinerResponse) XXX_Marshal ¶ added in v0.1.2
func (m *SendFromMinerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendFromMinerResponse) XXX_Merge ¶ added in v0.1.2
func (dst *SendFromMinerResponse) XXX_Merge(src proto.Message)
func (*SendFromMinerResponse) XXX_Size ¶ added in v0.1.2
func (m *SendFromMinerResponse) XXX_Size() int
func (*SendFromMinerResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *SendFromMinerResponse) XXX_Unmarshal(b []byte) error
type SendRequest ¶
type SendRequest struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
Walletpath string `protobuf:"bytes,4,opt,name=Walletpath,proto3" json:"Walletpath,omitempty"`
Tip uint64 `protobuf:"varint,5,opt,name=tip,proto3" json:"tip,omitempty"`
Contract string `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendRequest) Descriptor ¶
func (*SendRequest) Descriptor() ([]byte, []int)
func (*SendRequest) GetAmount ¶ added in v0.1.1
func (m *SendRequest) GetAmount() []byte
func (*SendRequest) GetContract ¶ added in v0.1.2
func (m *SendRequest) GetContract() string
func (*SendRequest) GetFrom ¶
func (m *SendRequest) GetFrom() string
func (*SendRequest) GetTip ¶ added in v0.1.2
func (m *SendRequest) GetTip() uint64
func (*SendRequest) GetTo ¶
func (m *SendRequest) GetTo() string
func (*SendRequest) GetWalletpath ¶ added in v0.1.2
func (m *SendRequest) GetWalletpath() string
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) Reset ¶
func (m *SendRequest) Reset()
func (*SendRequest) String ¶
func (m *SendRequest) String() string
func (*SendRequest) XXX_DiscardUnknown ¶
func (m *SendRequest) XXX_DiscardUnknown()
func (*SendRequest) XXX_Marshal ¶
func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendRequest) XXX_Merge ¶
func (dst *SendRequest) XXX_Merge(src proto.Message)
func (*SendRequest) XXX_Size ¶
func (m *SendRequest) XXX_Size() int
func (*SendRequest) XXX_Unmarshal ¶
func (m *SendRequest) XXX_Unmarshal(b []byte) error
type SendResponse ¶
type SendResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendResponse) Descriptor ¶
func (*SendResponse) Descriptor() ([]byte, []int)
func (*SendResponse) GetMessage ¶
func (m *SendResponse) GetMessage() string
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) Reset ¶
func (m *SendResponse) Reset()
func (*SendResponse) String ¶
func (m *SendResponse) String() string
func (*SendResponse) XXX_DiscardUnknown ¶
func (m *SendResponse) XXX_DiscardUnknown()
func (*SendResponse) XXX_Marshal ¶
func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendResponse) XXX_Merge ¶
func (dst *SendResponse) XXX_Merge(src proto.Message)
func (*SendResponse) XXX_Size ¶
func (m *SendResponse) XXX_Size() int
func (*SendResponse) XXX_Unmarshal ¶
func (m *SendResponse) XXX_Unmarshal(b []byte) error
type SendTransactionRequest ¶ added in v0.1.2
type SendTransactionRequest struct {
Transaction *pb1.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendTransactionRequest) Descriptor ¶ added in v0.1.2
func (*SendTransactionRequest) Descriptor() ([]byte, []int)
func (*SendTransactionRequest) GetTransaction ¶ added in v0.1.2
func (m *SendTransactionRequest) GetTransaction() *pb1.Transaction
func (*SendTransactionRequest) ProtoMessage ¶ added in v0.1.2
func (*SendTransactionRequest) ProtoMessage()
func (*SendTransactionRequest) Reset ¶ added in v0.1.2
func (m *SendTransactionRequest) Reset()
func (*SendTransactionRequest) String ¶ added in v0.1.2
func (m *SendTransactionRequest) String() string
func (*SendTransactionRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *SendTransactionRequest) XXX_DiscardUnknown()
func (*SendTransactionRequest) XXX_Marshal ¶ added in v0.1.2
func (m *SendTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionRequest) XXX_Merge ¶ added in v0.1.2
func (dst *SendTransactionRequest) XXX_Merge(src proto.Message)
func (*SendTransactionRequest) XXX_Size ¶ added in v0.1.2
func (m *SendTransactionRequest) XXX_Size() int
func (*SendTransactionRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *SendTransactionRequest) XXX_Unmarshal(b []byte) error
type SendTransactionResponse ¶ added in v0.1.2
type SendTransactionResponse struct {
ErrorCode uint32 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendTransactionResponse) Descriptor ¶ added in v0.1.2
func (*SendTransactionResponse) Descriptor() ([]byte, []int)
func (*SendTransactionResponse) GetErrorCode ¶ added in v0.1.2
func (m *SendTransactionResponse) GetErrorCode() uint32
func (*SendTransactionResponse) ProtoMessage ¶ added in v0.1.2
func (*SendTransactionResponse) ProtoMessage()
func (*SendTransactionResponse) Reset ¶ added in v0.1.2
func (m *SendTransactionResponse) Reset()
func (*SendTransactionResponse) String ¶ added in v0.1.2
func (m *SendTransactionResponse) String() string
func (*SendTransactionResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *SendTransactionResponse) XXX_DiscardUnknown()
func (*SendTransactionResponse) XXX_Marshal ¶ added in v0.1.2
func (m *SendTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionResponse) XXX_Merge ¶ added in v0.1.2
func (dst *SendTransactionResponse) XXX_Merge(src proto.Message)
func (*SendTransactionResponse) XXX_Size ¶ added in v0.1.2
func (m *SendTransactionResponse) XXX_Size() int
func (*SendTransactionResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *SendTransactionResponse) XXX_Unmarshal(b []byte) error
type UTXO ¶ added in v0.1.2
type UTXO struct {
Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
PublicKeyHash []byte `protobuf:"bytes,2,opt,name=publicKeyHash,proto3" json:"publicKeyHash,omitempty"`
Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"`
TxIndex uint32 `protobuf:"varint,4,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UTXO) Descriptor ¶ added in v0.1.2
func (*UTXO) GetPublicKeyHash ¶ added in v0.1.2
func (*UTXO) GetTxIndex ¶ added in v0.1.2
func (*UTXO) ProtoMessage ¶ added in v0.1.2
func (*UTXO) ProtoMessage()
func (*UTXO) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *UTXO) XXX_DiscardUnknown()
func (*UTXO) XXX_Marshal ¶ added in v0.1.2
func (*UTXO) XXX_Unmarshal ¶ added in v0.1.2
type UnlockWalletRequest ¶ added in v0.1.2
type UnlockWalletRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UnlockWalletRequest) Descriptor ¶ added in v0.1.2
func (*UnlockWalletRequest) Descriptor() ([]byte, []int)
func (*UnlockWalletRequest) GetName ¶ added in v0.1.2
func (m *UnlockWalletRequest) GetName() string
func (*UnlockWalletRequest) ProtoMessage ¶ added in v0.1.2
func (*UnlockWalletRequest) ProtoMessage()
func (*UnlockWalletRequest) Reset ¶ added in v0.1.2
func (m *UnlockWalletRequest) Reset()
func (*UnlockWalletRequest) String ¶ added in v0.1.2
func (m *UnlockWalletRequest) String() string
func (*UnlockWalletRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *UnlockWalletRequest) XXX_DiscardUnknown()
func (*UnlockWalletRequest) XXX_Marshal ¶ added in v0.1.2
func (m *UnlockWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlockWalletRequest) XXX_Merge ¶ added in v0.1.2
func (dst *UnlockWalletRequest) XXX_Merge(src proto.Message)
func (*UnlockWalletRequest) XXX_Size ¶ added in v0.1.2
func (m *UnlockWalletRequest) XXX_Size() int
func (*UnlockWalletRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *UnlockWalletRequest) XXX_Unmarshal(b []byte) error
type UnlockWalletResponse ¶ added in v0.1.2
type UnlockWalletResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UnlockWalletResponse) Descriptor ¶ added in v0.1.2
func (*UnlockWalletResponse) Descriptor() ([]byte, []int)
func (*UnlockWalletResponse) GetMessage ¶ added in v0.1.2
func (m *UnlockWalletResponse) GetMessage() string
func (*UnlockWalletResponse) ProtoMessage ¶ added in v0.1.2
func (*UnlockWalletResponse) ProtoMessage()
func (*UnlockWalletResponse) Reset ¶ added in v0.1.2
func (m *UnlockWalletResponse) Reset()
func (*UnlockWalletResponse) String ¶ added in v0.1.2
func (m *UnlockWalletResponse) String() string
func (*UnlockWalletResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *UnlockWalletResponse) XXX_DiscardUnknown()
func (*UnlockWalletResponse) XXX_Marshal ¶ added in v0.1.2
func (m *UnlockWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlockWalletResponse) XXX_Merge ¶ added in v0.1.2
func (dst *UnlockWalletResponse) XXX_Merge(src proto.Message)
func (*UnlockWalletResponse) XXX_Size ¶ added in v0.1.2
func (m *UnlockWalletResponse) XXX_Size() int
func (*UnlockWalletResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *UnlockWalletResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.