Documentation
¶
Index ¶
- Variables
- func RegisterXudInitServer(s *grpc.Server, srv XudInitServer)
- func RegisterXudServer(s *grpc.Server, srv XudServer)
- type AddCurrencyResponse
- func (*AddCurrencyResponse) Descriptor() ([]byte, []int)
- func (*AddCurrencyResponse) ProtoMessage()
- func (m *AddCurrencyResponse) Reset()
- func (m *AddCurrencyResponse) String() string
- func (m *AddCurrencyResponse) XXX_DiscardUnknown()
- func (m *AddCurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddCurrencyResponse) XXX_Merge(src proto.Message)
- func (m *AddCurrencyResponse) XXX_Size() int
- func (m *AddCurrencyResponse) XXX_Unmarshal(b []byte) error
- type AddPairRequest
- func (*AddPairRequest) Descriptor() ([]byte, []int)
- func (m *AddPairRequest) GetBaseCurrency() string
- func (m *AddPairRequest) GetQuoteCurrency() string
- func (*AddPairRequest) ProtoMessage()
- func (m *AddPairRequest) Reset()
- func (m *AddPairRequest) String() string
- func (m *AddPairRequest) XXX_DiscardUnknown()
- func (m *AddPairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddPairRequest) XXX_Merge(src proto.Message)
- func (m *AddPairRequest) XXX_Size() int
- func (m *AddPairRequest) XXX_Unmarshal(b []byte) error
- type AddPairResponse
- func (*AddPairResponse) Descriptor() ([]byte, []int)
- func (*AddPairResponse) ProtoMessage()
- func (m *AddPairResponse) Reset()
- func (m *AddPairResponse) String() string
- func (m *AddPairResponse) XXX_DiscardUnknown()
- func (m *AddPairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddPairResponse) XXX_Merge(src proto.Message)
- func (m *AddPairResponse) XXX_Size() int
- func (m *AddPairResponse) XXX_Unmarshal(b []byte) error
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (m *Balance) GetChannelBalance() uint64
- func (m *Balance) GetInactiveChannelBalance() uint64
- func (m *Balance) GetPendingChannelBalance() uint64
- func (m *Balance) GetTotalBalance() uint64
- func (m *Balance) GetUnconfirmedWalletBalance() uint64
- func (m *Balance) GetWalletBalance() uint64
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) String() string
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type BanRequest
- func (*BanRequest) Descriptor() ([]byte, []int)
- func (m *BanRequest) GetNodeIdentifier() string
- func (*BanRequest) ProtoMessage()
- func (m *BanRequest) Reset()
- func (m *BanRequest) String() string
- func (m *BanRequest) XXX_DiscardUnknown()
- func (m *BanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BanRequest) XXX_Merge(src proto.Message)
- func (m *BanRequest) XXX_Size() int
- func (m *BanRequest) XXX_Unmarshal(b []byte) error
- type BanResponse
- func (*BanResponse) Descriptor() ([]byte, []int)
- func (*BanResponse) ProtoMessage()
- func (m *BanResponse) Reset()
- func (m *BanResponse) String() string
- func (m *BanResponse) XXX_DiscardUnknown()
- func (m *BanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BanResponse) XXX_Merge(src proto.Message)
- func (m *BanResponse) XXX_Size() int
- func (m *BanResponse) XXX_Unmarshal(b []byte) error
- type Chain
- func (*Chain) Descriptor() ([]byte, []int)
- func (m *Chain) GetChain() string
- func (m *Chain) GetNetwork() string
- func (*Chain) ProtoMessage()
- func (m *Chain) Reset()
- func (m *Chain) String() string
- func (m *Chain) XXX_DiscardUnknown()
- func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chain) XXX_Merge(src proto.Message)
- func (m *Chain) XXX_Size() int
- func (m *Chain) XXX_Unmarshal(b []byte) error
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
- func (m *ChangePasswordRequest) GetNewPassword() string
- func (m *ChangePasswordRequest) GetOldPassword() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (m *ChangePasswordRequest) Reset()
- func (m *ChangePasswordRequest) String() string
- func (m *ChangePasswordRequest) XXX_DiscardUnknown()
- func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)
- func (m *ChangePasswordRequest) XXX_Size() int
- func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
- func (*ChangePasswordResponse) ProtoMessage()
- func (m *ChangePasswordResponse) Reset()
- func (m *ChangePasswordResponse) String() string
- func (m *ChangePasswordResponse) XXX_DiscardUnknown()
- func (m *ChangePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangePasswordResponse) XXX_Merge(src proto.Message)
- func (m *ChangePasswordResponse) XXX_Size() int
- func (m *ChangePasswordResponse) XXX_Unmarshal(b []byte) error
- type Channels
- func (*Channels) Descriptor() ([]byte, []int)
- func (m *Channels) GetActive() uint32
- func (m *Channels) GetClosed() uint32
- func (m *Channels) GetInactive() uint32
- func (m *Channels) GetPending() uint32
- func (*Channels) ProtoMessage()
- func (m *Channels) Reset()
- func (m *Channels) String() string
- func (m *Channels) XXX_DiscardUnknown()
- func (m *Channels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channels) XXX_Merge(src proto.Message)
- func (m *Channels) XXX_Size() int
- func (m *Channels) XXX_Unmarshal(b []byte) error
- type CloseChannelRequest
- func (*CloseChannelRequest) Descriptor() ([]byte, []int)
- func (m *CloseChannelRequest) GetAmount() uint64
- func (m *CloseChannelRequest) GetCurrency() string
- func (m *CloseChannelRequest) GetDestination() string
- func (m *CloseChannelRequest) GetFee() uint64
- func (m *CloseChannelRequest) GetForce() bool
- func (m *CloseChannelRequest) GetNodeIdentifier() string
- func (*CloseChannelRequest) ProtoMessage()
- func (m *CloseChannelRequest) Reset()
- func (m *CloseChannelRequest) String() string
- func (m *CloseChannelRequest) XXX_DiscardUnknown()
- func (m *CloseChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseChannelRequest) XXX_Merge(src proto.Message)
- func (m *CloseChannelRequest) XXX_Size() int
- func (m *CloseChannelRequest) XXX_Unmarshal(b []byte) error
- type CloseChannelResponse
- func (*CloseChannelResponse) Descriptor() ([]byte, []int)
- func (m *CloseChannelResponse) GetTransactionIds() []string
- func (*CloseChannelResponse) ProtoMessage()
- func (m *CloseChannelResponse) Reset()
- func (m *CloseChannelResponse) String() string
- func (m *CloseChannelResponse) XXX_DiscardUnknown()
- func (m *CloseChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseChannelResponse) XXX_Merge(src proto.Message)
- func (m *CloseChannelResponse) XXX_Size() int
- func (m *CloseChannelResponse) XXX_Unmarshal(b []byte) error
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)
- func (m *ConnectRequest) GetNodeUri() string
- func (*ConnectRequest) ProtoMessage()
- func (m *ConnectRequest) Reset()
- func (m *ConnectRequest) String() string
- func (m *ConnectRequest) XXX_DiscardUnknown()
- func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectRequest) XXX_Merge(src proto.Message)
- func (m *ConnectRequest) XXX_Size() int
- func (m *ConnectRequest) XXX_Unmarshal(b []byte) error
- type ConnectResponse
- func (*ConnectResponse) Descriptor() ([]byte, []int)
- func (*ConnectResponse) ProtoMessage()
- func (m *ConnectResponse) Reset()
- func (m *ConnectResponse) String() string
- func (m *ConnectResponse) XXX_DiscardUnknown()
- func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectResponse) XXX_Merge(src proto.Message)
- func (m *ConnectResponse) XXX_Size() int
- func (m *ConnectResponse) XXX_Unmarshal(b []byte) error
- type ConnextInfo
- func (*ConnextInfo) Descriptor() ([]byte, []int)
- func (m *ConnextInfo) GetAddress() string
- func (m *ConnextInfo) GetChain() string
- func (m *ConnextInfo) GetStatus() string
- func (m *ConnextInfo) GetVersion() string
- func (*ConnextInfo) ProtoMessage()
- func (m *ConnextInfo) Reset()
- func (m *ConnextInfo) String() string
- func (m *ConnextInfo) XXX_DiscardUnknown()
- func (m *ConnextInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnextInfo) XXX_Merge(src proto.Message)
- func (m *ConnextInfo) XXX_Size() int
- func (m *ConnextInfo) XXX_Unmarshal(b []byte) error
- type CreateNodeRequest
- func (*CreateNodeRequest) Descriptor() ([]byte, []int)
- func (m *CreateNodeRequest) GetPassword() string
- func (*CreateNodeRequest) ProtoMessage()
- func (m *CreateNodeRequest) Reset()
- func (m *CreateNodeRequest) String() string
- func (m *CreateNodeRequest) XXX_DiscardUnknown()
- func (m *CreateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateNodeRequest) XXX_Merge(src proto.Message)
- func (m *CreateNodeRequest) XXX_Size() int
- func (m *CreateNodeRequest) XXX_Unmarshal(b []byte) error
- type CreateNodeResponse
- func (*CreateNodeResponse) Descriptor() ([]byte, []int)
- func (m *CreateNodeResponse) GetInitializedConnext() bool
- func (m *CreateNodeResponse) GetInitializedLnds() []string
- func (m *CreateNodeResponse) GetSeedMnemonic() []string
- func (*CreateNodeResponse) ProtoMessage()
- func (m *CreateNodeResponse) Reset()
- func (m *CreateNodeResponse) String() string
- func (m *CreateNodeResponse) XXX_DiscardUnknown()
- func (m *CreateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateNodeResponse) XXX_Merge(src proto.Message)
- func (m *CreateNodeResponse) XXX_Size() int
- func (m *CreateNodeResponse) XXX_Unmarshal(b []byte) error
- type Currency
- func (*Currency) Descriptor() ([]byte, []int)
- func (m *Currency) GetCurrency() string
- func (m *Currency) GetDecimalPlaces() uint32
- func (m *Currency) GetSwapClient() Currency_SwapClient
- func (m *Currency) GetTokenAddress() string
- func (*Currency) ProtoMessage()
- func (m *Currency) Reset()
- func (m *Currency) String() string
- func (m *Currency) XXX_DiscardUnknown()
- func (m *Currency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Currency) XXX_Merge(src proto.Message)
- func (m *Currency) XXX_Size() int
- func (m *Currency) XXX_Unmarshal(b []byte) error
- type Currency_SwapClient
- type DepositRequest
- func (*DepositRequest) Descriptor() ([]byte, []int)
- func (m *DepositRequest) GetCurrency() string
- func (*DepositRequest) ProtoMessage()
- func (m *DepositRequest) Reset()
- func (m *DepositRequest) String() string
- func (m *DepositRequest) XXX_DiscardUnknown()
- func (m *DepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositRequest) XXX_Merge(src proto.Message)
- func (m *DepositRequest) XXX_Size() int
- func (m *DepositRequest) XXX_Unmarshal(b []byte) error
- type DepositResponse
- func (*DepositResponse) Descriptor() ([]byte, []int)
- func (m *DepositResponse) GetAddress() string
- func (*DepositResponse) ProtoMessage()
- func (m *DepositResponse) Reset()
- func (m *DepositResponse) String() string
- func (m *DepositResponse) XXX_DiscardUnknown()
- func (m *DepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositResponse) XXX_Merge(src proto.Message)
- func (m *DepositResponse) XXX_Size() int
- func (m *DepositResponse) XXX_Unmarshal(b []byte) error
- type DiscoverNodesRequest
- func (*DiscoverNodesRequest) Descriptor() ([]byte, []int)
- func (m *DiscoverNodesRequest) GetNodeIdentifier() string
- func (*DiscoverNodesRequest) ProtoMessage()
- func (m *DiscoverNodesRequest) Reset()
- func (m *DiscoverNodesRequest) String() string
- func (m *DiscoverNodesRequest) XXX_DiscardUnknown()
- func (m *DiscoverNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoverNodesRequest) XXX_Merge(src proto.Message)
- func (m *DiscoverNodesRequest) XXX_Size() int
- func (m *DiscoverNodesRequest) XXX_Unmarshal(b []byte) error
- type DiscoverNodesResponse
- func (*DiscoverNodesResponse) Descriptor() ([]byte, []int)
- func (m *DiscoverNodesResponse) GetNumNodes() uint32
- func (*DiscoverNodesResponse) ProtoMessage()
- func (m *DiscoverNodesResponse) Reset()
- func (m *DiscoverNodesResponse) String() string
- func (m *DiscoverNodesResponse) XXX_DiscardUnknown()
- func (m *DiscoverNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscoverNodesResponse) XXX_Merge(src proto.Message)
- func (m *DiscoverNodesResponse) XXX_Size() int
- func (m *DiscoverNodesResponse) XXX_Unmarshal(b []byte) error
- type ExecuteSwapRequest
- func (*ExecuteSwapRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteSwapRequest) GetOrderId() string
- func (m *ExecuteSwapRequest) GetPairId() string
- func (m *ExecuteSwapRequest) GetPeerPubKey() string
- func (m *ExecuteSwapRequest) GetQuantity() uint64
- func (*ExecuteSwapRequest) ProtoMessage()
- func (m *ExecuteSwapRequest) Reset()
- func (m *ExecuteSwapRequest) String() string
- func (m *ExecuteSwapRequest) XXX_DiscardUnknown()
- func (m *ExecuteSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecuteSwapRequest) XXX_Merge(src proto.Message)
- func (m *ExecuteSwapRequest) XXX_Size() int
- func (m *ExecuteSwapRequest) XXX_Unmarshal(b []byte) error
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)
- func (m *GetBalanceRequest) GetCurrency() 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 (m *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) GetBalances() map[string]*Balance
- 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 (m *GetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetBalanceResponse) XXX_Size() int
- func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
- type GetInfoRequest
- func (*GetInfoRequest) Descriptor() ([]byte, []int)
- func (*GetInfoRequest) ProtoMessage()
- func (m *GetInfoRequest) Reset()
- func (m *GetInfoRequest) String() string
- func (m *GetInfoRequest) XXX_DiscardUnknown()
- func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetInfoRequest) XXX_Size() int
- func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetInfoResponse) GetAlias() string
- func (m *GetInfoResponse) GetConnext() *ConnextInfo
- func (m *GetInfoResponse) GetLnd() map[string]*LndInfo
- func (m *GetInfoResponse) GetNetwork() string
- func (m *GetInfoResponse) GetNodePubKey() string
- func (m *GetInfoResponse) GetNumPairs() uint32
- func (m *GetInfoResponse) GetNumPeers() uint32
- func (m *GetInfoResponse) GetOrders() *OrdersCount
- func (m *GetInfoResponse) GetPendingSwapHashes() []string
- func (m *GetInfoResponse) GetUris() []string
- func (m *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (m *GetInfoResponse) Reset()
- func (m *GetInfoResponse) String() string
- func (m *GetInfoResponse) XXX_DiscardUnknown()
- func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetInfoResponse) XXX_Size() int
- func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error
- type GetMnemonicRequest
- func (*GetMnemonicRequest) Descriptor() ([]byte, []int)
- func (*GetMnemonicRequest) ProtoMessage()
- func (m *GetMnemonicRequest) Reset()
- func (m *GetMnemonicRequest) String() string
- func (m *GetMnemonicRequest) XXX_DiscardUnknown()
- func (m *GetMnemonicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMnemonicRequest) XXX_Merge(src proto.Message)
- func (m *GetMnemonicRequest) XXX_Size() int
- func (m *GetMnemonicRequest) XXX_Unmarshal(b []byte) error
- type GetMnemonicResponse
- func (*GetMnemonicResponse) Descriptor() ([]byte, []int)
- func (m *GetMnemonicResponse) GetSeedMnemonic() []string
- func (*GetMnemonicResponse) ProtoMessage()
- func (m *GetMnemonicResponse) Reset()
- func (m *GetMnemonicResponse) String() string
- func (m *GetMnemonicResponse) XXX_DiscardUnknown()
- func (m *GetMnemonicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMnemonicResponse) XXX_Merge(src proto.Message)
- func (m *GetMnemonicResponse) XXX_Size() int
- func (m *GetMnemonicResponse) XXX_Unmarshal(b []byte) error
- type GetNodeInfoRequest
- func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetNodeInfoRequest) GetNodeIdentifier() string
- func (*GetNodeInfoRequest) ProtoMessage()
- func (m *GetNodeInfoRequest) Reset()
- func (m *GetNodeInfoRequest) String() string
- func (m *GetNodeInfoRequest) XXX_DiscardUnknown()
- func (m *GetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetNodeInfoRequest) XXX_Size() int
- func (m *GetNodeInfoRequest) XXX_Unmarshal(b []byte) error
- type GetNodeInfoResponse
- func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetNodeInfoResponse) GetBanned() bool
- func (m *GetNodeInfoResponse) GetReputationScore() int32
- func (*GetNodeInfoResponse) ProtoMessage()
- func (m *GetNodeInfoResponse) Reset()
- func (m *GetNodeInfoResponse) String() string
- func (m *GetNodeInfoResponse) XXX_DiscardUnknown()
- func (m *GetNodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetNodeInfoResponse) XXX_Size() int
- func (m *GetNodeInfoResponse) XXX_Unmarshal(b []byte) error
- type ListCurrenciesRequest
- func (*ListCurrenciesRequest) Descriptor() ([]byte, []int)
- func (*ListCurrenciesRequest) ProtoMessage()
- func (m *ListCurrenciesRequest) Reset()
- func (m *ListCurrenciesRequest) String() string
- func (m *ListCurrenciesRequest) XXX_DiscardUnknown()
- func (m *ListCurrenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCurrenciesRequest) XXX_Merge(src proto.Message)
- func (m *ListCurrenciesRequest) XXX_Size() int
- func (m *ListCurrenciesRequest) XXX_Unmarshal(b []byte) error
- type ListCurrenciesResponse
- func (*ListCurrenciesResponse) Descriptor() ([]byte, []int)
- func (m *ListCurrenciesResponse) GetCurrencies() []*Currency
- func (*ListCurrenciesResponse) ProtoMessage()
- func (m *ListCurrenciesResponse) Reset()
- func (m *ListCurrenciesResponse) String() string
- func (m *ListCurrenciesResponse) XXX_DiscardUnknown()
- func (m *ListCurrenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCurrenciesResponse) XXX_Merge(src proto.Message)
- func (m *ListCurrenciesResponse) XXX_Size() int
- func (m *ListCurrenciesResponse) XXX_Unmarshal(b []byte) error
- type ListOrdersRequest
- func (*ListOrdersRequest) Descriptor() ([]byte, []int)
- func (m *ListOrdersRequest) GetIncludeAliases() bool
- func (m *ListOrdersRequest) GetLimit() uint32
- func (m *ListOrdersRequest) GetOwner() ListOrdersRequest_Owner
- func (m *ListOrdersRequest) GetPairId() string
- func (*ListOrdersRequest) ProtoMessage()
- func (m *ListOrdersRequest) Reset()
- func (m *ListOrdersRequest) String() string
- func (m *ListOrdersRequest) XXX_DiscardUnknown()
- func (m *ListOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOrdersRequest) XXX_Merge(src proto.Message)
- func (m *ListOrdersRequest) XXX_Size() int
- func (m *ListOrdersRequest) XXX_Unmarshal(b []byte) error
- type ListOrdersRequest_Owner
- type ListOrdersResponse
- func (*ListOrdersResponse) Descriptor() ([]byte, []int)
- func (m *ListOrdersResponse) GetOrders() map[string]*Orders
- func (*ListOrdersResponse) ProtoMessage()
- func (m *ListOrdersResponse) Reset()
- func (m *ListOrdersResponse) String() string
- func (m *ListOrdersResponse) XXX_DiscardUnknown()
- func (m *ListOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOrdersResponse) XXX_Merge(src proto.Message)
- func (m *ListOrdersResponse) XXX_Size() int
- func (m *ListOrdersResponse) XXX_Unmarshal(b []byte) error
- type ListPairsRequest
- func (*ListPairsRequest) Descriptor() ([]byte, []int)
- func (*ListPairsRequest) ProtoMessage()
- func (m *ListPairsRequest) Reset()
- func (m *ListPairsRequest) String() string
- func (m *ListPairsRequest) XXX_DiscardUnknown()
- func (m *ListPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPairsRequest) XXX_Merge(src proto.Message)
- func (m *ListPairsRequest) XXX_Size() int
- func (m *ListPairsRequest) XXX_Unmarshal(b []byte) error
- type ListPairsResponse
- func (*ListPairsResponse) Descriptor() ([]byte, []int)
- func (m *ListPairsResponse) GetPairs() []string
- func (*ListPairsResponse) ProtoMessage()
- func (m *ListPairsResponse) Reset()
- func (m *ListPairsResponse) String() string
- func (m *ListPairsResponse) XXX_DiscardUnknown()
- func (m *ListPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPairsResponse) XXX_Merge(src proto.Message)
- func (m *ListPairsResponse) XXX_Size() int
- func (m *ListPairsResponse) XXX_Unmarshal(b []byte) error
- type ListPeersRequest
- func (*ListPeersRequest) Descriptor() ([]byte, []int)
- func (*ListPeersRequest) ProtoMessage()
- func (m *ListPeersRequest) Reset()
- func (m *ListPeersRequest) String() string
- func (m *ListPeersRequest) XXX_DiscardUnknown()
- func (m *ListPeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPeersRequest) XXX_Merge(src proto.Message)
- func (m *ListPeersRequest) XXX_Size() int
- func (m *ListPeersRequest) XXX_Unmarshal(b []byte) error
- type ListPeersResponse
- func (*ListPeersResponse) Descriptor() ([]byte, []int)
- func (m *ListPeersResponse) GetPeers() []*Peer
- func (*ListPeersResponse) ProtoMessage()
- func (m *ListPeersResponse) Reset()
- func (m *ListPeersResponse) String() string
- func (m *ListPeersResponse) XXX_DiscardUnknown()
- func (m *ListPeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPeersResponse) XXX_Merge(src proto.Message)
- func (m *ListPeersResponse) XXX_Size() int
- func (m *ListPeersResponse) XXX_Unmarshal(b []byte) error
- type LndInfo
- func (*LndInfo) Descriptor() ([]byte, []int)
- func (m *LndInfo) GetAlias() string
- func (m *LndInfo) GetBlockheight() uint32
- func (m *LndInfo) GetChains() []*Chain
- func (m *LndInfo) GetChannels() *Channels
- func (m *LndInfo) GetStatus() string
- func (m *LndInfo) GetUris() []string
- func (m *LndInfo) GetVersion() string
- func (*LndInfo) ProtoMessage()
- func (m *LndInfo) Reset()
- func (m *LndInfo) String() string
- func (m *LndInfo) XXX_DiscardUnknown()
- func (m *LndInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LndInfo) XXX_Merge(src proto.Message)
- func (m *LndInfo) XXX_Size() int
- func (m *LndInfo) XXX_Unmarshal(b []byte) error
- type LogLevel
- type NodeIdentifier
- func (*NodeIdentifier) Descriptor() ([]byte, []int)
- func (m *NodeIdentifier) GetAlias() string
- func (m *NodeIdentifier) GetNodePubKey() string
- func (*NodeIdentifier) ProtoMessage()
- func (m *NodeIdentifier) Reset()
- func (m *NodeIdentifier) String() string
- func (m *NodeIdentifier) XXX_DiscardUnknown()
- func (m *NodeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeIdentifier) XXX_Merge(src proto.Message)
- func (m *NodeIdentifier) XXX_Size() int
- func (m *NodeIdentifier) XXX_Unmarshal(b []byte) error
- type OpenChannelRequest
- func (*OpenChannelRequest) Descriptor() ([]byte, []int)
- func (m *OpenChannelRequest) GetAmount() uint64
- func (m *OpenChannelRequest) GetCurrency() string
- func (m *OpenChannelRequest) GetFee() uint64
- func (m *OpenChannelRequest) GetNodeIdentifier() string
- func (m *OpenChannelRequest) GetPushAmount() uint64
- func (*OpenChannelRequest) ProtoMessage()
- func (m *OpenChannelRequest) Reset()
- func (m *OpenChannelRequest) String() string
- func (m *OpenChannelRequest) XXX_DiscardUnknown()
- func (m *OpenChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenChannelRequest) XXX_Merge(src proto.Message)
- func (m *OpenChannelRequest) XXX_Size() int
- func (m *OpenChannelRequest) XXX_Unmarshal(b []byte) error
- type OpenChannelResponse
- func (*OpenChannelResponse) Descriptor() ([]byte, []int)
- func (m *OpenChannelResponse) GetTransactionId() string
- func (*OpenChannelResponse) ProtoMessage()
- func (m *OpenChannelResponse) Reset()
- func (m *OpenChannelResponse) String() string
- func (m *OpenChannelResponse) XXX_DiscardUnknown()
- func (m *OpenChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenChannelResponse) XXX_Merge(src proto.Message)
- func (m *OpenChannelResponse) XXX_Size() int
- func (m *OpenChannelResponse) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetCreatedAt() uint64
- func (m *Order) GetHold() uint64
- func (m *Order) GetId() string
- func (m *Order) GetIsOwnOrder() bool
- func (m *Order) GetLocalId() string
- func (m *Order) GetNodeIdentifier() *NodeIdentifier
- func (m *Order) GetPairId() string
- func (m *Order) GetPrice() float64
- func (m *Order) GetQuantity() uint64
- func (m *Order) GetSide() OrderSide
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderBookRequest
- func (*OrderBookRequest) Descriptor() ([]byte, []int)
- func (m *OrderBookRequest) GetLimit() uint32
- func (m *OrderBookRequest) GetPairId() string
- func (m *OrderBookRequest) GetPrecision() int32
- func (*OrderBookRequest) ProtoMessage()
- func (m *OrderBookRequest) Reset()
- func (m *OrderBookRequest) String() string
- func (m *OrderBookRequest) XXX_DiscardUnknown()
- func (m *OrderBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderBookRequest) XXX_Merge(src proto.Message)
- func (m *OrderBookRequest) XXX_Size() int
- func (m *OrderBookRequest) XXX_Unmarshal(b []byte) error
- type OrderBookResponse
- func (*OrderBookResponse) Descriptor() ([]byte, []int)
- func (m *OrderBookResponse) GetBuckets() map[string]*OrderBookResponse_Buckets
- func (*OrderBookResponse) ProtoMessage()
- func (m *OrderBookResponse) Reset()
- func (m *OrderBookResponse) String() string
- func (m *OrderBookResponse) XXX_DiscardUnknown()
- func (m *OrderBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderBookResponse) XXX_Merge(src proto.Message)
- func (m *OrderBookResponse) XXX_Size() int
- func (m *OrderBookResponse) XXX_Unmarshal(b []byte) error
- type OrderBookResponse_Bucket
- func (*OrderBookResponse_Bucket) Descriptor() ([]byte, []int)
- func (m *OrderBookResponse_Bucket) GetPrice() float64
- func (m *OrderBookResponse_Bucket) GetQuantity() uint64
- func (*OrderBookResponse_Bucket) ProtoMessage()
- func (m *OrderBookResponse_Bucket) Reset()
- func (m *OrderBookResponse_Bucket) String() string
- func (m *OrderBookResponse_Bucket) XXX_DiscardUnknown()
- func (m *OrderBookResponse_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderBookResponse_Bucket) XXX_Merge(src proto.Message)
- func (m *OrderBookResponse_Bucket) XXX_Size() int
- func (m *OrderBookResponse_Bucket) XXX_Unmarshal(b []byte) error
- type OrderBookResponse_Buckets
- func (*OrderBookResponse_Buckets) Descriptor() ([]byte, []int)
- func (m *OrderBookResponse_Buckets) GetBuyBuckets() []*OrderBookResponse_Bucket
- func (m *OrderBookResponse_Buckets) GetSellBuckets() []*OrderBookResponse_Bucket
- func (*OrderBookResponse_Buckets) ProtoMessage()
- func (m *OrderBookResponse_Buckets) Reset()
- func (m *OrderBookResponse_Buckets) String() string
- func (m *OrderBookResponse_Buckets) XXX_DiscardUnknown()
- func (m *OrderBookResponse_Buckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderBookResponse_Buckets) XXX_Merge(src proto.Message)
- func (m *OrderBookResponse_Buckets) XXX_Size() int
- func (m *OrderBookResponse_Buckets) XXX_Unmarshal(b []byte) error
- type OrderRemoval
- func (*OrderRemoval) Descriptor() ([]byte, []int)
- func (m *OrderRemoval) GetIsOwnOrder() bool
- func (m *OrderRemoval) GetLocalId() string
- func (m *OrderRemoval) GetOrderId() string
- func (m *OrderRemoval) GetPairId() string
- func (m *OrderRemoval) GetQuantity() uint64
- func (*OrderRemoval) ProtoMessage()
- func (m *OrderRemoval) Reset()
- func (m *OrderRemoval) String() string
- func (m *OrderRemoval) XXX_DiscardUnknown()
- func (m *OrderRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderRemoval) XXX_Merge(src proto.Message)
- func (m *OrderRemoval) XXX_Size() int
- func (m *OrderRemoval) XXX_Unmarshal(b []byte) error
- type OrderSide
- type OrderUpdate
- func (*OrderUpdate) Descriptor() ([]byte, []int)
- func (m *OrderUpdate) GetOrder() *Order
- func (m *OrderUpdate) GetOrderRemoval() *OrderRemoval
- func (m *OrderUpdate) GetOrderUpdate() isOrderUpdate_OrderUpdate
- func (*OrderUpdate) ProtoMessage()
- func (m *OrderUpdate) Reset()
- func (m *OrderUpdate) String() string
- func (m *OrderUpdate) XXX_DiscardUnknown()
- func (m *OrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderUpdate) XXX_Merge(src proto.Message)
- func (*OrderUpdate) XXX_OneofWrappers() []interface{}
- func (m *OrderUpdate) XXX_Size() int
- func (m *OrderUpdate) XXX_Unmarshal(b []byte) error
- type OrderUpdate_Order
- type OrderUpdate_OrderRemoval
- type Orders
- func (*Orders) Descriptor() ([]byte, []int)
- func (m *Orders) GetBuyOrders() []*Order
- func (m *Orders) GetSellOrders() []*Order
- func (*Orders) ProtoMessage()
- func (m *Orders) Reset()
- func (m *Orders) String() string
- func (m *Orders) XXX_DiscardUnknown()
- func (m *Orders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Orders) XXX_Merge(src proto.Message)
- func (m *Orders) XXX_Size() int
- func (m *Orders) XXX_Unmarshal(b []byte) error
- type OrdersCount
- func (*OrdersCount) Descriptor() ([]byte, []int)
- func (m *OrdersCount) GetOwn() uint32
- func (m *OrdersCount) GetPeer() uint32
- func (*OrdersCount) ProtoMessage()
- func (m *OrdersCount) Reset()
- func (m *OrdersCount) String() string
- func (m *OrdersCount) XXX_DiscardUnknown()
- func (m *OrdersCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrdersCount) XXX_Merge(src proto.Message)
- func (m *OrdersCount) XXX_Size() int
- func (m *OrdersCount) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (m *Peer) GetAddress() string
- func (m *Peer) GetAlias() string
- func (m *Peer) GetConnextIdentifier() string
- func (m *Peer) GetInbound() bool
- func (m *Peer) GetLndPubKeys() map[string]string
- func (m *Peer) GetLndUris() []*Peer_LndUris
- func (m *Peer) GetNodePubKey() string
- func (m *Peer) GetPairs() []string
- func (m *Peer) GetSecondsConnected() uint32
- func (m *Peer) GetXudVersion() string
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) String() string
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type Peer_LndUris
- func (*Peer_LndUris) Descriptor() ([]byte, []int)
- func (m *Peer_LndUris) GetCurrency() string
- func (m *Peer_LndUris) GetUri() []string
- func (*Peer_LndUris) ProtoMessage()
- func (m *Peer_LndUris) Reset()
- func (m *Peer_LndUris) String() string
- func (m *Peer_LndUris) XXX_DiscardUnknown()
- func (m *Peer_LndUris) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peer_LndUris) XXX_Merge(src proto.Message)
- func (m *Peer_LndUris) XXX_Size() int
- func (m *Peer_LndUris) XXX_Unmarshal(b []byte) error
- type PlaceOrderEvent
- func (*PlaceOrderEvent) Descriptor() ([]byte, []int)
- func (m *PlaceOrderEvent) GetEvent() isPlaceOrderEvent_Event
- func (m *PlaceOrderEvent) GetMatch() *Order
- func (m *PlaceOrderEvent) GetRemainingOrder() *Order
- func (m *PlaceOrderEvent) GetSwapFailure() *SwapFailure
- func (m *PlaceOrderEvent) GetSwapSuccess() *SwapSuccess
- func (*PlaceOrderEvent) ProtoMessage()
- func (m *PlaceOrderEvent) Reset()
- func (m *PlaceOrderEvent) String() string
- func (m *PlaceOrderEvent) XXX_DiscardUnknown()
- func (m *PlaceOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlaceOrderEvent) XXX_Merge(src proto.Message)
- func (*PlaceOrderEvent) XXX_OneofWrappers() []interface{}
- func (m *PlaceOrderEvent) XXX_Size() int
- func (m *PlaceOrderEvent) XXX_Unmarshal(b []byte) error
- type PlaceOrderEvent_Match
- type PlaceOrderEvent_RemainingOrder
- type PlaceOrderEvent_SwapFailure
- type PlaceOrderEvent_SwapSuccess
- type PlaceOrderRequest
- func (*PlaceOrderRequest) Descriptor() ([]byte, []int)
- func (m *PlaceOrderRequest) GetImmediateOrCancel() bool
- func (m *PlaceOrderRequest) GetOrderId() string
- func (m *PlaceOrderRequest) GetPairId() string
- func (m *PlaceOrderRequest) GetPrice() float64
- func (m *PlaceOrderRequest) GetQuantity() uint64
- func (m *PlaceOrderRequest) GetReplaceOrderId() string
- func (m *PlaceOrderRequest) GetSide() OrderSide
- func (*PlaceOrderRequest) ProtoMessage()
- func (m *PlaceOrderRequest) Reset()
- func (m *PlaceOrderRequest) String() string
- func (m *PlaceOrderRequest) XXX_DiscardUnknown()
- func (m *PlaceOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlaceOrderRequest) XXX_Merge(src proto.Message)
- func (m *PlaceOrderRequest) XXX_Size() int
- func (m *PlaceOrderRequest) XXX_Unmarshal(b []byte) error
- type PlaceOrderResponse
- func (*PlaceOrderResponse) Descriptor() ([]byte, []int)
- func (m *PlaceOrderResponse) GetInternalMatches() []*Order
- func (m *PlaceOrderResponse) GetRemainingOrder() *Order
- func (m *PlaceOrderResponse) GetSwapFailures() []*SwapFailure
- func (m *PlaceOrderResponse) GetSwapSuccesses() []*SwapSuccess
- func (*PlaceOrderResponse) ProtoMessage()
- func (m *PlaceOrderResponse) Reset()
- func (m *PlaceOrderResponse) String() string
- func (m *PlaceOrderResponse) XXX_DiscardUnknown()
- func (m *PlaceOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlaceOrderResponse) XXX_Merge(src proto.Message)
- func (m *PlaceOrderResponse) XXX_Size() int
- func (m *PlaceOrderResponse) XXX_Unmarshal(b []byte) error
- type RemoveAllOrdersRequest
- func (*RemoveAllOrdersRequest) Descriptor() ([]byte, []int)
- func (*RemoveAllOrdersRequest) ProtoMessage()
- func (m *RemoveAllOrdersRequest) Reset()
- func (m *RemoveAllOrdersRequest) String() string
- func (m *RemoveAllOrdersRequest) XXX_DiscardUnknown()
- func (m *RemoveAllOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveAllOrdersRequest) XXX_Merge(src proto.Message)
- func (m *RemoveAllOrdersRequest) XXX_Size() int
- func (m *RemoveAllOrdersRequest) XXX_Unmarshal(b []byte) error
- type RemoveAllOrdersResponse
- func (*RemoveAllOrdersResponse) Descriptor() ([]byte, []int)
- func (m *RemoveAllOrdersResponse) GetOnHoldOrderIds() []string
- func (m *RemoveAllOrdersResponse) GetRemovedOrderIds() []string
- func (*RemoveAllOrdersResponse) ProtoMessage()
- func (m *RemoveAllOrdersResponse) Reset()
- func (m *RemoveAllOrdersResponse) String() string
- func (m *RemoveAllOrdersResponse) XXX_DiscardUnknown()
- func (m *RemoveAllOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveAllOrdersResponse) XXX_Merge(src proto.Message)
- func (m *RemoveAllOrdersResponse) XXX_Size() int
- func (m *RemoveAllOrdersResponse) XXX_Unmarshal(b []byte) error
- type RemoveCurrencyRequest
- func (*RemoveCurrencyRequest) Descriptor() ([]byte, []int)
- func (m *RemoveCurrencyRequest) GetCurrency() string
- func (*RemoveCurrencyRequest) ProtoMessage()
- func (m *RemoveCurrencyRequest) Reset()
- func (m *RemoveCurrencyRequest) String() string
- func (m *RemoveCurrencyRequest) XXX_DiscardUnknown()
- func (m *RemoveCurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveCurrencyRequest) XXX_Merge(src proto.Message)
- func (m *RemoveCurrencyRequest) XXX_Size() int
- func (m *RemoveCurrencyRequest) XXX_Unmarshal(b []byte) error
- type RemoveCurrencyResponse
- func (*RemoveCurrencyResponse) Descriptor() ([]byte, []int)
- func (*RemoveCurrencyResponse) ProtoMessage()
- func (m *RemoveCurrencyResponse) Reset()
- func (m *RemoveCurrencyResponse) String() string
- func (m *RemoveCurrencyResponse) XXX_DiscardUnknown()
- func (m *RemoveCurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveCurrencyResponse) XXX_Merge(src proto.Message)
- func (m *RemoveCurrencyResponse) XXX_Size() int
- func (m *RemoveCurrencyResponse) XXX_Unmarshal(b []byte) error
- type RemoveOrderRequest
- func (*RemoveOrderRequest) Descriptor() ([]byte, []int)
- func (m *RemoveOrderRequest) GetOrderId() string
- func (m *RemoveOrderRequest) GetQuantity() uint64
- func (*RemoveOrderRequest) ProtoMessage()
- func (m *RemoveOrderRequest) Reset()
- func (m *RemoveOrderRequest) String() string
- func (m *RemoveOrderRequest) XXX_DiscardUnknown()
- func (m *RemoveOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveOrderRequest) XXX_Merge(src proto.Message)
- func (m *RemoveOrderRequest) XXX_Size() int
- func (m *RemoveOrderRequest) XXX_Unmarshal(b []byte) error
- type RemoveOrderResponse
- func (*RemoveOrderResponse) Descriptor() ([]byte, []int)
- func (m *RemoveOrderResponse) GetPairId() string
- func (m *RemoveOrderResponse) GetQuantityOnHold() uint64
- func (m *RemoveOrderResponse) GetRemainingQuantity() uint64
- func (m *RemoveOrderResponse) GetRemovedQuantity() uint64
- func (*RemoveOrderResponse) ProtoMessage()
- func (m *RemoveOrderResponse) Reset()
- func (m *RemoveOrderResponse) String() string
- func (m *RemoveOrderResponse) XXX_DiscardUnknown()
- func (m *RemoveOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveOrderResponse) XXX_Merge(src proto.Message)
- func (m *RemoveOrderResponse) XXX_Size() int
- func (m *RemoveOrderResponse) XXX_Unmarshal(b []byte) error
- type RemovePairRequest
- func (*RemovePairRequest) Descriptor() ([]byte, []int)
- func (m *RemovePairRequest) GetPairId() string
- func (*RemovePairRequest) ProtoMessage()
- func (m *RemovePairRequest) Reset()
- func (m *RemovePairRequest) String() string
- func (m *RemovePairRequest) XXX_DiscardUnknown()
- func (m *RemovePairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePairRequest) XXX_Merge(src proto.Message)
- func (m *RemovePairRequest) XXX_Size() int
- func (m *RemovePairRequest) XXX_Unmarshal(b []byte) error
- type RemovePairResponse
- func (*RemovePairResponse) Descriptor() ([]byte, []int)
- func (*RemovePairResponse) ProtoMessage()
- func (m *RemovePairResponse) Reset()
- func (m *RemovePairResponse) String() string
- func (m *RemovePairResponse) XXX_DiscardUnknown()
- func (m *RemovePairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePairResponse) XXX_Merge(src proto.Message)
- func (m *RemovePairResponse) XXX_Size() int
- func (m *RemovePairResponse) XXX_Unmarshal(b []byte) error
- type RestoreNodeRequest
- func (*RestoreNodeRequest) Descriptor() ([]byte, []int)
- func (m *RestoreNodeRequest) GetLndBackups() map[string][]byte
- func (m *RestoreNodeRequest) GetPassword() string
- func (m *RestoreNodeRequest) GetSeedMnemonic() []string
- func (m *RestoreNodeRequest) GetXudDatabase() []byte
- func (*RestoreNodeRequest) ProtoMessage()
- func (m *RestoreNodeRequest) Reset()
- func (m *RestoreNodeRequest) String() string
- func (m *RestoreNodeRequest) XXX_DiscardUnknown()
- func (m *RestoreNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreNodeRequest) XXX_Merge(src proto.Message)
- func (m *RestoreNodeRequest) XXX_Size() int
- func (m *RestoreNodeRequest) XXX_Unmarshal(b []byte) error
- type RestoreNodeResponse
- func (*RestoreNodeResponse) Descriptor() ([]byte, []int)
- func (m *RestoreNodeResponse) GetRestoredConnext() bool
- func (m *RestoreNodeResponse) GetRestoredLnds() []string
- func (*RestoreNodeResponse) ProtoMessage()
- func (m *RestoreNodeResponse) Reset()
- func (m *RestoreNodeResponse) String() string
- func (m *RestoreNodeResponse) XXX_DiscardUnknown()
- func (m *RestoreNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreNodeResponse) XXX_Merge(src proto.Message)
- func (m *RestoreNodeResponse) XXX_Size() int
- func (m *RestoreNodeResponse) XXX_Unmarshal(b []byte) error
- type Role
- type SetLogLevelRequest
- func (*SetLogLevelRequest) Descriptor() ([]byte, []int)
- func (m *SetLogLevelRequest) GetLogLevel() LogLevel
- func (*SetLogLevelRequest) ProtoMessage()
- func (m *SetLogLevelRequest) Reset()
- func (m *SetLogLevelRequest) String() string
- func (m *SetLogLevelRequest) XXX_DiscardUnknown()
- func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetLogLevelRequest) XXX_Merge(src proto.Message)
- func (m *SetLogLevelRequest) XXX_Size() int
- func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error
- type SetLogLevelResponse
- func (*SetLogLevelResponse) Descriptor() ([]byte, []int)
- func (*SetLogLevelResponse) ProtoMessage()
- func (m *SetLogLevelResponse) Reset()
- func (m *SetLogLevelResponse) String() string
- func (m *SetLogLevelResponse) XXX_DiscardUnknown()
- func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetLogLevelResponse) XXX_Merge(src proto.Message)
- func (m *SetLogLevelResponse) XXX_Size() int
- func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error
- type ShutdownRequest
- func (*ShutdownRequest) Descriptor() ([]byte, []int)
- func (*ShutdownRequest) ProtoMessage()
- func (m *ShutdownRequest) Reset()
- func (m *ShutdownRequest) String() string
- func (m *ShutdownRequest) XXX_DiscardUnknown()
- func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShutdownRequest) XXX_Merge(src proto.Message)
- func (m *ShutdownRequest) XXX_Size() int
- func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error
- type ShutdownResponse
- func (*ShutdownResponse) Descriptor() ([]byte, []int)
- func (*ShutdownResponse) ProtoMessage()
- func (m *ShutdownResponse) Reset()
- func (m *ShutdownResponse) String() string
- func (m *ShutdownResponse) XXX_DiscardUnknown()
- func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShutdownResponse) XXX_Merge(src proto.Message)
- func (m *ShutdownResponse) XXX_Size() int
- func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error
- type SubscribeOrdersRequest
- func (*SubscribeOrdersRequest) Descriptor() ([]byte, []int)
- func (m *SubscribeOrdersRequest) GetExisting() bool
- func (*SubscribeOrdersRequest) ProtoMessage()
- func (m *SubscribeOrdersRequest) Reset()
- func (m *SubscribeOrdersRequest) String() string
- func (m *SubscribeOrdersRequest) XXX_DiscardUnknown()
- func (m *SubscribeOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeOrdersRequest) XXX_Merge(src proto.Message)
- func (m *SubscribeOrdersRequest) XXX_Size() int
- func (m *SubscribeOrdersRequest) XXX_Unmarshal(b []byte) error
- type SubscribeSwapsAcceptedRequest
- func (*SubscribeSwapsAcceptedRequest) Descriptor() ([]byte, []int)
- func (*SubscribeSwapsAcceptedRequest) ProtoMessage()
- func (m *SubscribeSwapsAcceptedRequest) Reset()
- func (m *SubscribeSwapsAcceptedRequest) String() string
- func (m *SubscribeSwapsAcceptedRequest) XXX_DiscardUnknown()
- func (m *SubscribeSwapsAcceptedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeSwapsAcceptedRequest) XXX_Merge(src proto.Message)
- func (m *SubscribeSwapsAcceptedRequest) XXX_Size() int
- func (m *SubscribeSwapsAcceptedRequest) XXX_Unmarshal(b []byte) error
- type SubscribeSwapsRequest
- func (*SubscribeSwapsRequest) Descriptor() ([]byte, []int)
- func (m *SubscribeSwapsRequest) GetIncludeTaker() bool
- func (*SubscribeSwapsRequest) ProtoMessage()
- func (m *SubscribeSwapsRequest) Reset()
- func (m *SubscribeSwapsRequest) String() string
- func (m *SubscribeSwapsRequest) XXX_DiscardUnknown()
- func (m *SubscribeSwapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeSwapsRequest) XXX_Merge(src proto.Message)
- func (m *SubscribeSwapsRequest) XXX_Size() int
- func (m *SubscribeSwapsRequest) XXX_Unmarshal(b []byte) error
- type SwapAccepted
- func (*SwapAccepted) Descriptor() ([]byte, []int)
- func (m *SwapAccepted) GetAmountReceiving() uint64
- func (m *SwapAccepted) GetAmountSending() uint64
- func (m *SwapAccepted) GetCurrencyReceiving() string
- func (m *SwapAccepted) GetCurrencySending() string
- func (m *SwapAccepted) GetLocalId() string
- func (m *SwapAccepted) GetOrderId() string
- func (m *SwapAccepted) GetPairId() string
- func (m *SwapAccepted) GetPeerPubKey() string
- func (m *SwapAccepted) GetPrice() float64
- func (m *SwapAccepted) GetQuantity() uint64
- func (m *SwapAccepted) GetRHash() string
- func (*SwapAccepted) ProtoMessage()
- func (m *SwapAccepted) Reset()
- func (m *SwapAccepted) String() string
- func (m *SwapAccepted) XXX_DiscardUnknown()
- func (m *SwapAccepted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapAccepted) XXX_Merge(src proto.Message)
- func (m *SwapAccepted) XXX_Size() int
- func (m *SwapAccepted) XXX_Unmarshal(b []byte) error
- type SwapFailure
- func (*SwapFailure) Descriptor() ([]byte, []int)
- func (m *SwapFailure) GetFailureReason() string
- func (m *SwapFailure) GetOrderId() string
- func (m *SwapFailure) GetPairId() string
- func (m *SwapFailure) GetPeerPubKey() string
- func (m *SwapFailure) GetQuantity() uint64
- func (*SwapFailure) ProtoMessage()
- func (m *SwapFailure) Reset()
- func (m *SwapFailure) String() string
- func (m *SwapFailure) XXX_DiscardUnknown()
- func (m *SwapFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapFailure) XXX_Merge(src proto.Message)
- func (m *SwapFailure) XXX_Size() int
- func (m *SwapFailure) XXX_Unmarshal(b []byte) error
- type SwapSuccess
- func (*SwapSuccess) Descriptor() ([]byte, []int)
- func (m *SwapSuccess) GetAmountReceived() uint64
- func (m *SwapSuccess) GetAmountSent() uint64
- func (m *SwapSuccess) GetCurrencyReceived() string
- func (m *SwapSuccess) GetCurrencySent() string
- func (m *SwapSuccess) GetLocalId() string
- func (m *SwapSuccess) GetOrderId() string
- func (m *SwapSuccess) GetPairId() string
- func (m *SwapSuccess) GetPeerPubKey() string
- func (m *SwapSuccess) GetPrice() float64
- func (m *SwapSuccess) GetQuantity() uint64
- func (m *SwapSuccess) GetRHash() string
- func (m *SwapSuccess) GetRPreimage() string
- func (m *SwapSuccess) GetRole() Role
- func (*SwapSuccess) ProtoMessage()
- func (m *SwapSuccess) Reset()
- func (m *SwapSuccess) String() string
- func (m *SwapSuccess) XXX_DiscardUnknown()
- func (m *SwapSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapSuccess) XXX_Merge(src proto.Message)
- func (m *SwapSuccess) XXX_Size() int
- func (m *SwapSuccess) XXX_Unmarshal(b []byte) error
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)
- func (m *Trade) GetCounterparty() *NodeIdentifier
- func (m *Trade) GetExecutedAt() uint64
- func (m *Trade) GetMakerOrder() *Order
- func (m *Trade) GetPairId() string
- func (m *Trade) GetPrice() float64
- func (m *Trade) GetQuantity() uint64
- func (m *Trade) GetRHash() string
- func (m *Trade) GetRole() Role
- func (m *Trade) GetSide() OrderSide
- func (m *Trade) GetTakerOrder() *Order
- func (*Trade) ProtoMessage()
- func (m *Trade) Reset()
- func (m *Trade) String() string
- func (m *Trade) XXX_DiscardUnknown()
- func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trade) XXX_Merge(src proto.Message)
- func (m *Trade) XXX_Size() int
- func (m *Trade) XXX_Unmarshal(b []byte) error
- type TradeHistoryRequest
- func (*TradeHistoryRequest) Descriptor() ([]byte, []int)
- func (m *TradeHistoryRequest) GetLimit() uint32
- func (*TradeHistoryRequest) ProtoMessage()
- func (m *TradeHistoryRequest) Reset()
- func (m *TradeHistoryRequest) String() string
- func (m *TradeHistoryRequest) XXX_DiscardUnknown()
- func (m *TradeHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeHistoryRequest) XXX_Merge(src proto.Message)
- func (m *TradeHistoryRequest) XXX_Size() int
- func (m *TradeHistoryRequest) XXX_Unmarshal(b []byte) error
- type TradeHistoryResponse
- func (*TradeHistoryResponse) Descriptor() ([]byte, []int)
- func (m *TradeHistoryResponse) GetTrades() []*Trade
- func (*TradeHistoryResponse) ProtoMessage()
- func (m *TradeHistoryResponse) Reset()
- func (m *TradeHistoryResponse) String() string
- func (m *TradeHistoryResponse) XXX_DiscardUnknown()
- func (m *TradeHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeHistoryResponse) XXX_Merge(src proto.Message)
- func (m *TradeHistoryResponse) XXX_Size() int
- func (m *TradeHistoryResponse) XXX_Unmarshal(b []byte) error
- type TradingLimits
- func (*TradingLimits) Descriptor() ([]byte, []int)
- func (m *TradingLimits) GetMaxBuy() uint64
- func (m *TradingLimits) GetMaxSell() uint64
- func (m *TradingLimits) GetReservedBuy() uint64
- func (m *TradingLimits) GetReservedSell() uint64
- func (*TradingLimits) ProtoMessage()
- func (m *TradingLimits) Reset()
- func (m *TradingLimits) String() string
- func (m *TradingLimits) XXX_DiscardUnknown()
- func (m *TradingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingLimits) XXX_Merge(src proto.Message)
- func (m *TradingLimits) XXX_Size() int
- func (m *TradingLimits) XXX_Unmarshal(b []byte) error
- type TradingLimitsRequest
- func (*TradingLimitsRequest) Descriptor() ([]byte, []int)
- func (m *TradingLimitsRequest) GetCurrency() string
- func (*TradingLimitsRequest) ProtoMessage()
- func (m *TradingLimitsRequest) Reset()
- func (m *TradingLimitsRequest) String() string
- func (m *TradingLimitsRequest) XXX_DiscardUnknown()
- func (m *TradingLimitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingLimitsRequest) XXX_Merge(src proto.Message)
- func (m *TradingLimitsRequest) XXX_Size() int
- func (m *TradingLimitsRequest) XXX_Unmarshal(b []byte) error
- type TradingLimitsResponse
- func (*TradingLimitsResponse) Descriptor() ([]byte, []int)
- func (m *TradingLimitsResponse) GetLimits() map[string]*TradingLimits
- func (*TradingLimitsResponse) ProtoMessage()
- func (m *TradingLimitsResponse) Reset()
- func (m *TradingLimitsResponse) String() string
- func (m *TradingLimitsResponse) XXX_DiscardUnknown()
- func (m *TradingLimitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingLimitsResponse) XXX_Merge(src proto.Message)
- func (m *TradingLimitsResponse) XXX_Size() int
- func (m *TradingLimitsResponse) XXX_Unmarshal(b []byte) error
- type UnbanRequest
- func (*UnbanRequest) Descriptor() ([]byte, []int)
- func (m *UnbanRequest) GetNodeIdentifier() string
- func (m *UnbanRequest) GetReconnect() bool
- func (*UnbanRequest) ProtoMessage()
- func (m *UnbanRequest) Reset()
- func (m *UnbanRequest) String() string
- func (m *UnbanRequest) XXX_DiscardUnknown()
- func (m *UnbanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbanRequest) XXX_Merge(src proto.Message)
- func (m *UnbanRequest) XXX_Size() int
- func (m *UnbanRequest) XXX_Unmarshal(b []byte) error
- type UnbanResponse
- func (*UnbanResponse) Descriptor() ([]byte, []int)
- func (*UnbanResponse) ProtoMessage()
- func (m *UnbanResponse) Reset()
- func (m *UnbanResponse) String() string
- func (m *UnbanResponse) XXX_DiscardUnknown()
- func (m *UnbanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbanResponse) XXX_Merge(src proto.Message)
- func (m *UnbanResponse) XXX_Size() int
- func (m *UnbanResponse) XXX_Unmarshal(b []byte) error
- type UnlockNodeRequest
- func (*UnlockNodeRequest) Descriptor() ([]byte, []int)
- func (m *UnlockNodeRequest) GetPassword() string
- func (*UnlockNodeRequest) ProtoMessage()
- func (m *UnlockNodeRequest) Reset()
- func (m *UnlockNodeRequest) String() string
- func (m *UnlockNodeRequest) XXX_DiscardUnknown()
- func (m *UnlockNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnlockNodeRequest) XXX_Merge(src proto.Message)
- func (m *UnlockNodeRequest) XXX_Size() int
- func (m *UnlockNodeRequest) XXX_Unmarshal(b []byte) error
- type UnlockNodeResponse
- func (*UnlockNodeResponse) Descriptor() ([]byte, []int)
- func (m *UnlockNodeResponse) GetLockedLnds() []string
- func (m *UnlockNodeResponse) GetUnlockedLnds() []string
- func (*UnlockNodeResponse) ProtoMessage()
- func (m *UnlockNodeResponse) Reset()
- func (m *UnlockNodeResponse) String() string
- func (m *UnlockNodeResponse) XXX_DiscardUnknown()
- func (m *UnlockNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnlockNodeResponse) XXX_Merge(src proto.Message)
- func (m *UnlockNodeResponse) XXX_Size() int
- func (m *UnlockNodeResponse) XXX_Unmarshal(b []byte) error
- type WithdrawRequest
- func (*WithdrawRequest) Descriptor() ([]byte, []int)
- func (m *WithdrawRequest) GetAll() bool
- func (m *WithdrawRequest) GetAmount() uint64
- func (m *WithdrawRequest) GetCurrency() string
- func (m *WithdrawRequest) GetDestination() string
- func (m *WithdrawRequest) GetFee() uint32
- func (*WithdrawRequest) ProtoMessage()
- func (m *WithdrawRequest) Reset()
- func (m *WithdrawRequest) String() string
- func (m *WithdrawRequest) XXX_DiscardUnknown()
- func (m *WithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawRequest) XXX_Merge(src proto.Message)
- func (m *WithdrawRequest) XXX_Size() int
- func (m *WithdrawRequest) XXX_Unmarshal(b []byte) error
- type WithdrawResponse
- func (*WithdrawResponse) Descriptor() ([]byte, []int)
- func (m *WithdrawResponse) GetTransactionId() string
- func (*WithdrawResponse) ProtoMessage()
- func (m *WithdrawResponse) Reset()
- func (m *WithdrawResponse) String() string
- func (m *WithdrawResponse) XXX_DiscardUnknown()
- func (m *WithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawResponse) XXX_Merge(src proto.Message)
- func (m *WithdrawResponse) XXX_Size() int
- func (m *WithdrawResponse) XXX_Unmarshal(b []byte) error
- type XudClient
- type XudInitClient
- type XudInitServer
- type XudServer
- type Xud_PlaceOrderClient
- type Xud_PlaceOrderServer
- type Xud_SubscribeOrdersClient
- type Xud_SubscribeOrdersServer
- type Xud_SubscribeSwapFailuresClient
- type Xud_SubscribeSwapFailuresServer
- type Xud_SubscribeSwapsAcceptedClient
- type Xud_SubscribeSwapsAcceptedServer
- type Xud_SubscribeSwapsClient
- type Xud_SubscribeSwapsServer
Constants ¶
This section is empty.
Variables ¶
View Source
var Currency_SwapClient_name = map[int32]string{
0: "LND",
2: "CONNEXT",
}
View Source
var Currency_SwapClient_value = map[string]int32{
"LND": 0,
"CONNEXT": 2,
}
View Source
var ListOrdersRequest_Owner_name = map[int32]string{
0: "BOTH",
1: "OWN",
2: "PEER",
}
View Source
var ListOrdersRequest_Owner_value = map[string]int32{
"BOTH": 0,
"OWN": 1,
"PEER": 2,
}
View Source
var LogLevel_name = map[int32]string{
0: "ALERT",
1: "ERROR",
2: "WARN",
3: "INFO",
4: "VERBOSE",
5: "DEBUG",
6: "TRACE",
}
View Source
var LogLevel_value = map[string]int32{
"ALERT": 0,
"ERROR": 1,
"WARN": 2,
"INFO": 3,
"VERBOSE": 4,
"DEBUG": 5,
"TRACE": 6,
}
View Source
var OrderSide_name = map[int32]string{
0: "BUY",
1: "SELL",
2: "BOTH",
}
View Source
var OrderSide_value = map[string]int32{
"BUY": 0,
"SELL": 1,
"BOTH": 2,
}
View Source
var Role_name = map[int32]string{
0: "TAKER",
1: "MAKER",
2: "INTERNAL",
}
View Source
var Role_value = map[string]int32{
"TAKER": 0,
"MAKER": 1,
"INTERNAL": 2,
}
Functions ¶
func RegisterXudInitServer ¶
func RegisterXudInitServer(s *grpc.Server, srv XudInitServer)
func RegisterXudServer ¶
Types ¶
type AddCurrencyResponse ¶
type AddCurrencyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddCurrencyResponse) Descriptor ¶
func (*AddCurrencyResponse) Descriptor() ([]byte, []int)
func (*AddCurrencyResponse) ProtoMessage ¶
func (*AddCurrencyResponse) ProtoMessage()
func (*AddCurrencyResponse) Reset ¶
func (m *AddCurrencyResponse) Reset()
func (*AddCurrencyResponse) String ¶
func (m *AddCurrencyResponse) String() string
func (*AddCurrencyResponse) XXX_DiscardUnknown ¶
func (m *AddCurrencyResponse) XXX_DiscardUnknown()
func (*AddCurrencyResponse) XXX_Marshal ¶
func (m *AddCurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddCurrencyResponse) XXX_Merge ¶
func (m *AddCurrencyResponse) XXX_Merge(src proto.Message)
func (*AddCurrencyResponse) XXX_Size ¶
func (m *AddCurrencyResponse) XXX_Size() int
func (*AddCurrencyResponse) XXX_Unmarshal ¶
func (m *AddCurrencyResponse) XXX_Unmarshal(b []byte) error
type AddPairRequest ¶
type AddPairRequest struct { // The base currency that is bought and sold for this trading pair. BaseCurrency string `protobuf:"bytes,1,opt,name=base_currency,proto3" json:"base_currency,omitempty"` // The currency used to quote a price for the base currency. QuoteCurrency string `protobuf:"bytes,2,opt,name=quote_currency,proto3" json:"quote_currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddPairRequest) Descriptor ¶
func (*AddPairRequest) Descriptor() ([]byte, []int)
func (*AddPairRequest) GetBaseCurrency ¶
func (m *AddPairRequest) GetBaseCurrency() string
func (*AddPairRequest) GetQuoteCurrency ¶
func (m *AddPairRequest) GetQuoteCurrency() string
func (*AddPairRequest) ProtoMessage ¶
func (*AddPairRequest) ProtoMessage()
func (*AddPairRequest) Reset ¶
func (m *AddPairRequest) Reset()
func (*AddPairRequest) String ¶
func (m *AddPairRequest) String() string
func (*AddPairRequest) XXX_DiscardUnknown ¶
func (m *AddPairRequest) XXX_DiscardUnknown()
func (*AddPairRequest) XXX_Marshal ¶
func (m *AddPairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPairRequest) XXX_Merge ¶
func (m *AddPairRequest) XXX_Merge(src proto.Message)
func (*AddPairRequest) XXX_Size ¶
func (m *AddPairRequest) XXX_Size() int
func (*AddPairRequest) XXX_Unmarshal ¶
func (m *AddPairRequest) XXX_Unmarshal(b []byte) error
type AddPairResponse ¶
type AddPairResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddPairResponse) Descriptor ¶
func (*AddPairResponse) Descriptor() ([]byte, []int)
func (*AddPairResponse) ProtoMessage ¶
func (*AddPairResponse) ProtoMessage()
func (*AddPairResponse) Reset ¶
func (m *AddPairResponse) Reset()
func (*AddPairResponse) String ¶
func (m *AddPairResponse) String() string
func (*AddPairResponse) XXX_DiscardUnknown ¶
func (m *AddPairResponse) XXX_DiscardUnknown()
func (*AddPairResponse) XXX_Marshal ¶
func (m *AddPairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddPairResponse) XXX_Merge ¶
func (m *AddPairResponse) XXX_Merge(src proto.Message)
func (*AddPairResponse) XXX_Size ¶
func (m *AddPairResponse) XXX_Size() int
func (*AddPairResponse) XXX_Unmarshal ¶
func (m *AddPairResponse) XXX_Unmarshal(b []byte) error
type Balance ¶
type Balance struct { // Total balance denominated in satoshis. TotalBalance uint64 `protobuf:"varint,1,opt,name=total_balance,proto3" json:"total_balance,omitempty"` // Sum of confirmed channel balances denominated in satoshis. ChannelBalance uint64 `protobuf:"varint,2,opt,name=channel_balance,proto3" json:"channel_balance,omitempty"` // Sum of pending channel balances denominated in satoshis. PendingChannelBalance uint64 `protobuf:"varint,3,opt,name=pending_channel_balance,proto3" json:"pending_channel_balance,omitempty"` // Sum of inactive channel balances denominated in satoshis. InactiveChannelBalance uint64 `protobuf:"varint,4,opt,name=inactive_channel_balance,proto3" json:"inactive_channel_balance,omitempty"` // Confirmed wallet balance in satoshis. WalletBalance uint64 `protobuf:"varint,5,opt,name=wallet_balance,proto3" json:"wallet_balance,omitempty"` // Unconfirmed wallet balance in satoshis. UnconfirmedWalletBalance uint64 `protobuf:"varint,6,opt,name=unconfirmed_wallet_balance,proto3" json:"unconfirmed_wallet_balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Balance) Descriptor ¶
func (*Balance) GetChannelBalance ¶
func (*Balance) GetInactiveChannelBalance ¶
func (*Balance) GetPendingChannelBalance ¶
func (*Balance) GetTotalBalance ¶
func (*Balance) GetUnconfirmedWalletBalance ¶
func (*Balance) GetWalletBalance ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type BanRequest ¶
type BanRequest struct { // The node pub key or alias of the node to ban. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BanRequest) Descriptor ¶
func (*BanRequest) Descriptor() ([]byte, []int)
func (*BanRequest) GetNodeIdentifier ¶
func (m *BanRequest) GetNodeIdentifier() string
func (*BanRequest) ProtoMessage ¶
func (*BanRequest) ProtoMessage()
func (*BanRequest) Reset ¶
func (m *BanRequest) Reset()
func (*BanRequest) String ¶
func (m *BanRequest) String() string
func (*BanRequest) XXX_DiscardUnknown ¶
func (m *BanRequest) XXX_DiscardUnknown()
func (*BanRequest) XXX_Marshal ¶
func (m *BanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BanRequest) XXX_Merge ¶
func (m *BanRequest) XXX_Merge(src proto.Message)
func (*BanRequest) XXX_Size ¶
func (m *BanRequest) XXX_Size() int
func (*BanRequest) XXX_Unmarshal ¶
func (m *BanRequest) XXX_Unmarshal(b []byte) error
type BanResponse ¶
type BanResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BanResponse) Descriptor ¶
func (*BanResponse) Descriptor() ([]byte, []int)
func (*BanResponse) ProtoMessage ¶
func (*BanResponse) ProtoMessage()
func (*BanResponse) Reset ¶
func (m *BanResponse) Reset()
func (*BanResponse) String ¶
func (m *BanResponse) String() string
func (*BanResponse) XXX_DiscardUnknown ¶
func (m *BanResponse) XXX_DiscardUnknown()
func (*BanResponse) XXX_Marshal ¶
func (m *BanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BanResponse) XXX_Merge ¶
func (m *BanResponse) XXX_Merge(src proto.Message)
func (*BanResponse) XXX_Size ¶
func (m *BanResponse) XXX_Size() int
func (*BanResponse) XXX_Unmarshal ¶
func (m *BanResponse) XXX_Unmarshal(b []byte) error
type Chain ¶
type Chain struct { // The blockchain the swap client is on (eg bitcoin, litecoin) Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"` // The network the swap client is on (eg regtest, testnet, mainnet) Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chain) Descriptor ¶
func (*Chain) GetNetwork ¶
func (*Chain) ProtoMessage ¶
func (*Chain) ProtoMessage()
func (*Chain) XXX_DiscardUnknown ¶
func (m *Chain) XXX_DiscardUnknown()
func (*Chain) XXX_Marshal ¶
func (*Chain) XXX_Unmarshal ¶
type ChangePasswordRequest ¶ added in v1.3.0
type ChangePasswordRequest struct { NewPassword string `protobuf:"bytes,1,opt,name=new_password,proto3" json:"new_password,omitempty"` OldPassword string `protobuf:"bytes,2,opt,name=old_password,proto3" json:"old_password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangePasswordRequest) Descriptor ¶ added in v1.3.0
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
func (*ChangePasswordRequest) GetNewPassword ¶ added in v1.3.0
func (m *ChangePasswordRequest) GetNewPassword() string
func (*ChangePasswordRequest) GetOldPassword ¶ added in v1.3.0
func (m *ChangePasswordRequest) GetOldPassword() string
func (*ChangePasswordRequest) ProtoMessage ¶ added in v1.3.0
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) Reset ¶ added in v1.3.0
func (m *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶ added in v1.3.0
func (m *ChangePasswordRequest) String() string
func (*ChangePasswordRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ChangePasswordRequest) XXX_DiscardUnknown()
func (*ChangePasswordRequest) XXX_Marshal ¶ added in v1.3.0
func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangePasswordRequest) XXX_Merge ¶ added in v1.3.0
func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)
func (*ChangePasswordRequest) XXX_Size ¶ added in v1.3.0
func (m *ChangePasswordRequest) XXX_Size() int
func (*ChangePasswordRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error
type ChangePasswordResponse ¶ added in v1.3.0
type ChangePasswordResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangePasswordResponse) Descriptor ¶ added in v1.3.0
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
func (*ChangePasswordResponse) ProtoMessage ¶ added in v1.3.0
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) Reset ¶ added in v1.3.0
func (m *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶ added in v1.3.0
func (m *ChangePasswordResponse) String() string
func (*ChangePasswordResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *ChangePasswordResponse) XXX_DiscardUnknown()
func (*ChangePasswordResponse) XXX_Marshal ¶ added in v1.3.0
func (m *ChangePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangePasswordResponse) XXX_Merge ¶ added in v1.3.0
func (m *ChangePasswordResponse) XXX_Merge(src proto.Message)
func (*ChangePasswordResponse) XXX_Size ¶ added in v1.3.0
func (m *ChangePasswordResponse) XXX_Size() int
func (*ChangePasswordResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *ChangePasswordResponse) XXX_Unmarshal(b []byte) error
type Channels ¶
type Channels struct { // The number of active/online channels for this lnd instance that can be used for swaps. Active uint32 `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // The number of inactive/offline channels for this lnd instance. Inactive uint32 `protobuf:"varint,2,opt,name=inactive,proto3" json:"inactive,omitempty"` // The number of channels that are pending on-chain confirmation before they can be used. Pending uint32 `protobuf:"varint,3,opt,name=pending,proto3" json:"pending,omitempty"` // The number of channels that have been closed. Closed uint32 `protobuf:"varint,4,opt,name=closed,proto3" json:"closed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Channels) Descriptor ¶
func (*Channels) GetInactive ¶
func (*Channels) GetPending ¶
func (*Channels) ProtoMessage ¶
func (*Channels) ProtoMessage()
func (*Channels) XXX_DiscardUnknown ¶
func (m *Channels) XXX_DiscardUnknown()
func (*Channels) XXX_Marshal ¶
func (*Channels) XXX_Unmarshal ¶
type CloseChannelRequest ¶
type CloseChannelRequest struct { // The node pub key or alias of the peer with which to close any channels with. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` // The ticker symbol of the currency of the channel to close. Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` // Whether to force close the channel in case the peer is offline or unresponsive. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // The on-chain address to send funds extracted from the channel. If unspecified, // the funds return to the default wallet for the client closing the channel. Destination string `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"` // For Connext only - the amount to extract from the channel. If 0 or unspecified, // the entire off-chain balance for the specified currency will be extracted. Amount uint64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"` // A manual fee rate set in sat/byte that should be used when crafting the closure // transaction. Fee uint64 `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseChannelRequest) Descriptor ¶
func (*CloseChannelRequest) Descriptor() ([]byte, []int)
func (*CloseChannelRequest) GetAmount ¶
func (m *CloseChannelRequest) GetAmount() uint64
func (*CloseChannelRequest) GetCurrency ¶
func (m *CloseChannelRequest) GetCurrency() string
func (*CloseChannelRequest) GetDestination ¶
func (m *CloseChannelRequest) GetDestination() string
func (*CloseChannelRequest) GetFee ¶
func (m *CloseChannelRequest) GetFee() uint64
func (*CloseChannelRequest) GetForce ¶
func (m *CloseChannelRequest) GetForce() bool
func (*CloseChannelRequest) GetNodeIdentifier ¶
func (m *CloseChannelRequest) GetNodeIdentifier() string
func (*CloseChannelRequest) ProtoMessage ¶
func (*CloseChannelRequest) ProtoMessage()
func (*CloseChannelRequest) Reset ¶
func (m *CloseChannelRequest) Reset()
func (*CloseChannelRequest) String ¶
func (m *CloseChannelRequest) String() string
func (*CloseChannelRequest) XXX_DiscardUnknown ¶
func (m *CloseChannelRequest) XXX_DiscardUnknown()
func (*CloseChannelRequest) XXX_Marshal ¶
func (m *CloseChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseChannelRequest) XXX_Merge ¶
func (m *CloseChannelRequest) XXX_Merge(src proto.Message)
func (*CloseChannelRequest) XXX_Size ¶
func (m *CloseChannelRequest) XXX_Size() int
func (*CloseChannelRequest) XXX_Unmarshal ¶
func (m *CloseChannelRequest) XXX_Unmarshal(b []byte) error
type CloseChannelResponse ¶
type CloseChannelResponse struct { // The id of the transaction per channel close. TransactionIds []string `protobuf:"bytes,1,rep,name=transaction_ids,proto3" json:"transaction_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseChannelResponse) Descriptor ¶
func (*CloseChannelResponse) Descriptor() ([]byte, []int)
func (*CloseChannelResponse) GetTransactionIds ¶
func (m *CloseChannelResponse) GetTransactionIds() []string
func (*CloseChannelResponse) ProtoMessage ¶
func (*CloseChannelResponse) ProtoMessage()
func (*CloseChannelResponse) Reset ¶
func (m *CloseChannelResponse) Reset()
func (*CloseChannelResponse) String ¶
func (m *CloseChannelResponse) String() string
func (*CloseChannelResponse) XXX_DiscardUnknown ¶
func (m *CloseChannelResponse) XXX_DiscardUnknown()
func (*CloseChannelResponse) XXX_Marshal ¶
func (m *CloseChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseChannelResponse) XXX_Merge ¶
func (m *CloseChannelResponse) XXX_Merge(src proto.Message)
func (*CloseChannelResponse) XXX_Size ¶
func (m *CloseChannelResponse) XXX_Size() int
func (*CloseChannelResponse) XXX_Unmarshal ¶
func (m *CloseChannelResponse) XXX_Unmarshal(b []byte) error
type ConnectRequest ¶
type ConnectRequest struct { // The uri of the node to connect to in "[nodePubKey]@[host]:[port]" format. NodeUri string `protobuf:"bytes,1,opt,name=node_uri,proto3" json:"node_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConnectRequest) Descriptor ¶
func (*ConnectRequest) Descriptor() ([]byte, []int)
func (*ConnectRequest) GetNodeUri ¶
func (m *ConnectRequest) GetNodeUri() string
func (*ConnectRequest) ProtoMessage ¶
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) Reset ¶
func (m *ConnectRequest) Reset()
func (*ConnectRequest) String ¶
func (m *ConnectRequest) String() string
func (*ConnectRequest) XXX_DiscardUnknown ¶
func (m *ConnectRequest) XXX_DiscardUnknown()
func (*ConnectRequest) XXX_Marshal ¶
func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectRequest) XXX_Merge ¶
func (m *ConnectRequest) XXX_Merge(src proto.Message)
func (*ConnectRequest) XXX_Size ¶
func (m *ConnectRequest) XXX_Size() int
func (*ConnectRequest) XXX_Unmarshal ¶
func (m *ConnectRequest) XXX_Unmarshal(b []byte) error
type ConnectResponse ¶
type ConnectResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConnectResponse) Descriptor ¶
func (*ConnectResponse) Descriptor() ([]byte, []int)
func (*ConnectResponse) ProtoMessage ¶
func (*ConnectResponse) ProtoMessage()
func (*ConnectResponse) Reset ¶
func (m *ConnectResponse) Reset()
func (*ConnectResponse) String ¶
func (m *ConnectResponse) String() string
func (*ConnectResponse) XXX_DiscardUnknown ¶
func (m *ConnectResponse) XXX_DiscardUnknown()
func (*ConnectResponse) XXX_Marshal ¶
func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectResponse) XXX_Merge ¶
func (m *ConnectResponse) XXX_Merge(src proto.Message)
func (*ConnectResponse) XXX_Size ¶
func (m *ConnectResponse) XXX_Size() int
func (*ConnectResponse) XXX_Unmarshal ¶
func (m *ConnectResponse) XXX_Unmarshal(b []byte) error
type ConnextInfo ¶
type ConnextInfo struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Chain string `protobuf:"bytes,5,opt,name=chain,proto3" json:"chain,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConnextInfo) Descriptor ¶
func (*ConnextInfo) Descriptor() ([]byte, []int)
func (*ConnextInfo) GetAddress ¶
func (m *ConnextInfo) GetAddress() string
func (*ConnextInfo) GetChain ¶
func (m *ConnextInfo) GetChain() string
func (*ConnextInfo) GetStatus ¶
func (m *ConnextInfo) GetStatus() string
func (*ConnextInfo) GetVersion ¶
func (m *ConnextInfo) GetVersion() string
func (*ConnextInfo) ProtoMessage ¶
func (*ConnextInfo) ProtoMessage()
func (*ConnextInfo) Reset ¶
func (m *ConnextInfo) Reset()
func (*ConnextInfo) String ¶
func (m *ConnextInfo) String() string
func (*ConnextInfo) XXX_DiscardUnknown ¶
func (m *ConnextInfo) XXX_DiscardUnknown()
func (*ConnextInfo) XXX_Marshal ¶
func (m *ConnextInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnextInfo) XXX_Merge ¶
func (m *ConnextInfo) XXX_Merge(src proto.Message)
func (*ConnextInfo) XXX_Size ¶
func (m *ConnextInfo) XXX_Size() int
func (*ConnextInfo) XXX_Unmarshal ¶
func (m *ConnextInfo) XXX_Unmarshal(b []byte) error
type CreateNodeRequest ¶
type CreateNodeRequest struct { // The password in utf-8 with which to encrypt the new xud node key as well // as any uninitialized underlying wallets. Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateNodeRequest) Descriptor ¶
func (*CreateNodeRequest) Descriptor() ([]byte, []int)
func (*CreateNodeRequest) GetPassword ¶
func (m *CreateNodeRequest) GetPassword() string
func (*CreateNodeRequest) ProtoMessage ¶
func (*CreateNodeRequest) ProtoMessage()
func (*CreateNodeRequest) Reset ¶
func (m *CreateNodeRequest) Reset()
func (*CreateNodeRequest) String ¶
func (m *CreateNodeRequest) String() string
func (*CreateNodeRequest) XXX_DiscardUnknown ¶
func (m *CreateNodeRequest) XXX_DiscardUnknown()
func (*CreateNodeRequest) XXX_Marshal ¶
func (m *CreateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateNodeRequest) XXX_Merge ¶
func (m *CreateNodeRequest) XXX_Merge(src proto.Message)
func (*CreateNodeRequest) XXX_Size ¶
func (m *CreateNodeRequest) XXX_Size() int
func (*CreateNodeRequest) XXX_Unmarshal ¶
func (m *CreateNodeRequest) XXX_Unmarshal(b []byte) error
type CreateNodeResponse ¶
type CreateNodeResponse struct { // The 24 word mnemonic to recover the xud identity key and underlying wallets SeedMnemonic []string `protobuf:"bytes,1,rep,name=seed_mnemonic,json=seedMnemonic,proto3" json:"seed_mnemonic,omitempty"` // The list of lnd clients that were initialized. InitializedLnds []string `protobuf:"bytes,2,rep,name=initialized_lnds,json=initializedLnds,proto3" json:"initialized_lnds,omitempty"` // Whether the connext wallet was initialized. InitializedConnext bool `protobuf:"varint,3,opt,name=initialized_connext,json=initializedConnext,proto3" json:"initialized_connext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateNodeResponse) Descriptor ¶
func (*CreateNodeResponse) Descriptor() ([]byte, []int)
func (*CreateNodeResponse) GetInitializedConnext ¶
func (m *CreateNodeResponse) GetInitializedConnext() bool
func (*CreateNodeResponse) GetInitializedLnds ¶
func (m *CreateNodeResponse) GetInitializedLnds() []string
func (*CreateNodeResponse) GetSeedMnemonic ¶
func (m *CreateNodeResponse) GetSeedMnemonic() []string
func (*CreateNodeResponse) ProtoMessage ¶
func (*CreateNodeResponse) ProtoMessage()
func (*CreateNodeResponse) Reset ¶
func (m *CreateNodeResponse) Reset()
func (*CreateNodeResponse) String ¶
func (m *CreateNodeResponse) String() string
func (*CreateNodeResponse) XXX_DiscardUnknown ¶
func (m *CreateNodeResponse) XXX_DiscardUnknown()
func (*CreateNodeResponse) XXX_Marshal ¶
func (m *CreateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateNodeResponse) XXX_Merge ¶
func (m *CreateNodeResponse) XXX_Merge(src proto.Message)
func (*CreateNodeResponse) XXX_Size ¶
func (m *CreateNodeResponse) XXX_Size() int
func (*CreateNodeResponse) XXX_Unmarshal ¶
func (m *CreateNodeResponse) XXX_Unmarshal(b []byte) error
type Currency ¶
type Currency struct { // The ticker symbol for this currency such as BTC, LTC, ETH, etc... Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // The payment channel network client to use for executing swaps. SwapClient Currency_SwapClient `protobuf:"varint,2,opt,name=swap_client,proto3,enum=xudrpc.Currency_SwapClient" json:"swap_client,omitempty"` // The contract address for layered tokens such as ERC20. TokenAddress string `protobuf:"bytes,3,opt,name=token_address,proto3" json:"token_address,omitempty"` // The number of places to the right of the decimal point of the smallest subunit of the currency. // For example, BTC, LTC, and others where the smallest subunits (satoshis) are 0.00000001 full // units (bitcoins) have 8 decimal places. ETH has 18. This can be thought of as the base 10 // exponent of the smallest subunit expressed as a positive integer. A default value of 8 is // used if unspecified. DecimalPlaces uint32 `protobuf:"varint,4,opt,name=decimal_places,proto3" json:"decimal_places,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Currency) Descriptor ¶
func (*Currency) GetCurrency ¶
func (*Currency) GetDecimalPlaces ¶
func (*Currency) GetSwapClient ¶
func (m *Currency) GetSwapClient() Currency_SwapClient
func (*Currency) GetTokenAddress ¶
func (*Currency) ProtoMessage ¶
func (*Currency) ProtoMessage()
func (*Currency) XXX_DiscardUnknown ¶
func (m *Currency) XXX_DiscardUnknown()
func (*Currency) XXX_Marshal ¶
func (*Currency) XXX_Unmarshal ¶
type Currency_SwapClient ¶
type Currency_SwapClient int32
const ( Currency_LND Currency_SwapClient = 0 Currency_CONNEXT Currency_SwapClient = 2 )
func (Currency_SwapClient) EnumDescriptor ¶
func (Currency_SwapClient) EnumDescriptor() ([]byte, []int)
func (Currency_SwapClient) String ¶
func (x Currency_SwapClient) String() string
type DepositRequest ¶
type DepositRequest struct { // The ticker symbol of the currency to deposit. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DepositRequest) Descriptor ¶
func (*DepositRequest) Descriptor() ([]byte, []int)
func (*DepositRequest) GetCurrency ¶
func (m *DepositRequest) GetCurrency() string
func (*DepositRequest) ProtoMessage ¶
func (*DepositRequest) ProtoMessage()
func (*DepositRequest) Reset ¶
func (m *DepositRequest) Reset()
func (*DepositRequest) String ¶
func (m *DepositRequest) String() string
func (*DepositRequest) XXX_DiscardUnknown ¶
func (m *DepositRequest) XXX_DiscardUnknown()
func (*DepositRequest) XXX_Marshal ¶
func (m *DepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositRequest) XXX_Merge ¶
func (m *DepositRequest) XXX_Merge(src proto.Message)
func (*DepositRequest) XXX_Size ¶
func (m *DepositRequest) XXX_Size() int
func (*DepositRequest) XXX_Unmarshal ¶
func (m *DepositRequest) XXX_Unmarshal(b []byte) error
type DepositResponse ¶
type DepositResponse struct { // The address to use to deposit funds. 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 (*DepositResponse) Descriptor ¶
func (*DepositResponse) Descriptor() ([]byte, []int)
func (*DepositResponse) GetAddress ¶
func (m *DepositResponse) GetAddress() string
func (*DepositResponse) ProtoMessage ¶
func (*DepositResponse) ProtoMessage()
func (*DepositResponse) Reset ¶
func (m *DepositResponse) Reset()
func (*DepositResponse) String ¶
func (m *DepositResponse) String() string
func (*DepositResponse) XXX_DiscardUnknown ¶
func (m *DepositResponse) XXX_DiscardUnknown()
func (*DepositResponse) XXX_Marshal ¶
func (m *DepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositResponse) XXX_Merge ¶
func (m *DepositResponse) XXX_Merge(src proto.Message)
func (*DepositResponse) XXX_Size ¶
func (m *DepositResponse) XXX_Size() int
func (*DepositResponse) XXX_Unmarshal ¶
func (m *DepositResponse) XXX_Unmarshal(b []byte) error
type DiscoverNodesRequest ¶
type DiscoverNodesRequest struct { // The node pub key or alias of the peer to discover nodes from. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscoverNodesRequest) Descriptor ¶
func (*DiscoverNodesRequest) Descriptor() ([]byte, []int)
func (*DiscoverNodesRequest) GetNodeIdentifier ¶
func (m *DiscoverNodesRequest) GetNodeIdentifier() string
func (*DiscoverNodesRequest) ProtoMessage ¶
func (*DiscoverNodesRequest) ProtoMessage()
func (*DiscoverNodesRequest) Reset ¶
func (m *DiscoverNodesRequest) Reset()
func (*DiscoverNodesRequest) String ¶
func (m *DiscoverNodesRequest) String() string
func (*DiscoverNodesRequest) XXX_DiscardUnknown ¶
func (m *DiscoverNodesRequest) XXX_DiscardUnknown()
func (*DiscoverNodesRequest) XXX_Marshal ¶
func (m *DiscoverNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoverNodesRequest) XXX_Merge ¶
func (m *DiscoverNodesRequest) XXX_Merge(src proto.Message)
func (*DiscoverNodesRequest) XXX_Size ¶
func (m *DiscoverNodesRequest) XXX_Size() int
func (*DiscoverNodesRequest) XXX_Unmarshal ¶
func (m *DiscoverNodesRequest) XXX_Unmarshal(b []byte) error
type DiscoverNodesResponse ¶
type DiscoverNodesResponse struct { NumNodes uint32 `protobuf:"varint,1,opt,name=num_nodes,proto3" json:"num_nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscoverNodesResponse) Descriptor ¶
func (*DiscoverNodesResponse) Descriptor() ([]byte, []int)
func (*DiscoverNodesResponse) GetNumNodes ¶
func (m *DiscoverNodesResponse) GetNumNodes() uint32
func (*DiscoverNodesResponse) ProtoMessage ¶
func (*DiscoverNodesResponse) ProtoMessage()
func (*DiscoverNodesResponse) Reset ¶
func (m *DiscoverNodesResponse) Reset()
func (*DiscoverNodesResponse) String ¶
func (m *DiscoverNodesResponse) String() string
func (*DiscoverNodesResponse) XXX_DiscardUnknown ¶
func (m *DiscoverNodesResponse) XXX_DiscardUnknown()
func (*DiscoverNodesResponse) XXX_Marshal ¶
func (m *DiscoverNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscoverNodesResponse) XXX_Merge ¶
func (m *DiscoverNodesResponse) XXX_Merge(src proto.Message)
func (*DiscoverNodesResponse) XXX_Size ¶
func (m *DiscoverNodesResponse) XXX_Size() int
func (*DiscoverNodesResponse) XXX_Unmarshal ¶
func (m *DiscoverNodesResponse) XXX_Unmarshal(b []byte) error
type ExecuteSwapRequest ¶
type ExecuteSwapRequest struct { // The order id of the maker order. OrderId string `protobuf:"bytes,1,opt,name=order_id,proto3" json:"order_id,omitempty"` // The trading pair of the swap orders. PairId string `protobuf:"bytes,2,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The node pub key of the peer which owns the maker order. This is optional but helps locate the order more quickly. PeerPubKey string `protobuf:"bytes,3,opt,name=peer_pub_key,proto3" json:"peer_pub_key,omitempty"` // The quantity to swap denominated in satoshis. The whole order will be swapped if unspecified. Quantity uint64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecuteSwapRequest) Descriptor ¶
func (*ExecuteSwapRequest) Descriptor() ([]byte, []int)
func (*ExecuteSwapRequest) GetOrderId ¶
func (m *ExecuteSwapRequest) GetOrderId() string
func (*ExecuteSwapRequest) GetPairId ¶
func (m *ExecuteSwapRequest) GetPairId() string
func (*ExecuteSwapRequest) GetPeerPubKey ¶
func (m *ExecuteSwapRequest) GetPeerPubKey() string
func (*ExecuteSwapRequest) GetQuantity ¶
func (m *ExecuteSwapRequest) GetQuantity() uint64
func (*ExecuteSwapRequest) ProtoMessage ¶
func (*ExecuteSwapRequest) ProtoMessage()
func (*ExecuteSwapRequest) Reset ¶
func (m *ExecuteSwapRequest) Reset()
func (*ExecuteSwapRequest) String ¶
func (m *ExecuteSwapRequest) String() string
func (*ExecuteSwapRequest) XXX_DiscardUnknown ¶
func (m *ExecuteSwapRequest) XXX_DiscardUnknown()
func (*ExecuteSwapRequest) XXX_Marshal ¶
func (m *ExecuteSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecuteSwapRequest) XXX_Merge ¶
func (m *ExecuteSwapRequest) XXX_Merge(src proto.Message)
func (*ExecuteSwapRequest) XXX_Size ¶
func (m *ExecuteSwapRequest) XXX_Size() int
func (*ExecuteSwapRequest) XXX_Unmarshal ¶
func (m *ExecuteSwapRequest) XXX_Unmarshal(b []byte) error
type GetBalanceRequest ¶
type GetBalanceRequest struct { // The ticker symbol of the currency to query for, if unspecified then balances for all supported // currencies are queried. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceRequest) Descriptor ¶
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
func (*GetBalanceRequest) GetCurrency ¶
func (m *GetBalanceRequest) GetCurrency() 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 (m *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 { // A map between currency ticker symbols and their balances. Balances map[string]*Balance `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBalanceResponse) Descriptor ¶
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
func (*GetBalanceResponse) GetBalances ¶
func (m *GetBalanceResponse) GetBalances() map[string]*Balance
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 (m *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 GetInfoRequest ¶
type GetInfoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInfoRequest) Descriptor ¶
func (*GetInfoRequest) Descriptor() ([]byte, []int)
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) Reset ¶
func (m *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (m *GetInfoRequest) String() string
func (*GetInfoRequest) XXX_DiscardUnknown ¶
func (m *GetInfoRequest) XXX_DiscardUnknown()
func (*GetInfoRequest) XXX_Marshal ¶
func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInfoRequest) XXX_Merge ¶
func (m *GetInfoRequest) XXX_Merge(src proto.Message)
func (*GetInfoRequest) XXX_Size ¶
func (m *GetInfoRequest) XXX_Size() int
func (*GetInfoRequest) XXX_Unmarshal ¶
func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error
type GetInfoResponse ¶
type GetInfoResponse struct { // The version of this instance of xud. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The node pub key of this node. NodePubKey string `protobuf:"bytes,2,opt,name=node_pub_key,proto3" json:"node_pub_key,omitempty"` // A list of uris that can be used to connect to this node. These are shared with peers. Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"` // The number of currently connected peers. NumPeers uint32 `protobuf:"varint,4,opt,name=num_peers,proto3" json:"num_peers,omitempty"` // The number of supported trading pairs. NumPairs uint32 `protobuf:"varint,5,opt,name=num_pairs,proto3" json:"num_pairs,omitempty"` // The number of active, standing orders in the order book. Orders *OrdersCount `protobuf:"bytes,6,opt,name=orders,proto3" json:"orders,omitempty"` Lnd map[string]*LndInfo `` /* 147-byte string literal not displayed */ // The alias of this instance of xud. Alias string `protobuf:"bytes,9,opt,name=alias,proto3" json:"alias,omitempty"` // The network of this node. Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` PendingSwapHashes []string `protobuf:"bytes,11,rep,name=pending_swap_hashes,proto3" json:"pending_swap_hashes,omitempty"` Connext *ConnextInfo `protobuf:"bytes,12,opt,name=connext,proto3" json:"connext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInfoResponse) Descriptor ¶
func (*GetInfoResponse) Descriptor() ([]byte, []int)
func (*GetInfoResponse) GetAlias ¶
func (m *GetInfoResponse) GetAlias() string
func (*GetInfoResponse) GetConnext ¶
func (m *GetInfoResponse) GetConnext() *ConnextInfo
func (*GetInfoResponse) GetLnd ¶
func (m *GetInfoResponse) GetLnd() map[string]*LndInfo
func (*GetInfoResponse) GetNetwork ¶
func (m *GetInfoResponse) GetNetwork() string
func (*GetInfoResponse) GetNodePubKey ¶
func (m *GetInfoResponse) GetNodePubKey() string
func (*GetInfoResponse) GetNumPairs ¶
func (m *GetInfoResponse) GetNumPairs() uint32
func (*GetInfoResponse) GetNumPeers ¶
func (m *GetInfoResponse) GetNumPeers() uint32
func (*GetInfoResponse) GetOrders ¶
func (m *GetInfoResponse) GetOrders() *OrdersCount
func (*GetInfoResponse) GetPendingSwapHashes ¶
func (m *GetInfoResponse) GetPendingSwapHashes() []string
func (*GetInfoResponse) GetUris ¶
func (m *GetInfoResponse) GetUris() []string
func (*GetInfoResponse) GetVersion ¶
func (m *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) Reset ¶
func (m *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (m *GetInfoResponse) String() string
func (*GetInfoResponse) XXX_DiscardUnknown ¶
func (m *GetInfoResponse) XXX_DiscardUnknown()
func (*GetInfoResponse) XXX_Marshal ¶
func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInfoResponse) XXX_Merge ¶
func (m *GetInfoResponse) XXX_Merge(src proto.Message)
func (*GetInfoResponse) XXX_Size ¶
func (m *GetInfoResponse) XXX_Size() int
func (*GetInfoResponse) XXX_Unmarshal ¶
func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error
type GetMnemonicRequest ¶ added in v1.3.0
type GetMnemonicRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMnemonicRequest) Descriptor ¶ added in v1.3.0
func (*GetMnemonicRequest) Descriptor() ([]byte, []int)
func (*GetMnemonicRequest) ProtoMessage ¶ added in v1.3.0
func (*GetMnemonicRequest) ProtoMessage()
func (*GetMnemonicRequest) Reset ¶ added in v1.3.0
func (m *GetMnemonicRequest) Reset()
func (*GetMnemonicRequest) String ¶ added in v1.3.0
func (m *GetMnemonicRequest) String() string
func (*GetMnemonicRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *GetMnemonicRequest) XXX_DiscardUnknown()
func (*GetMnemonicRequest) XXX_Marshal ¶ added in v1.3.0
func (m *GetMnemonicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMnemonicRequest) XXX_Merge ¶ added in v1.3.0
func (m *GetMnemonicRequest) XXX_Merge(src proto.Message)
func (*GetMnemonicRequest) XXX_Size ¶ added in v1.3.0
func (m *GetMnemonicRequest) XXX_Size() int
func (*GetMnemonicRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *GetMnemonicRequest) XXX_Unmarshal(b []byte) error
type GetMnemonicResponse ¶ added in v1.3.0
type GetMnemonicResponse struct { SeedMnemonic []string `protobuf:"bytes,1,rep,name=seed_mnemonic,proto3" json:"seed_mnemonic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMnemonicResponse) Descriptor ¶ added in v1.3.0
func (*GetMnemonicResponse) Descriptor() ([]byte, []int)
func (*GetMnemonicResponse) GetSeedMnemonic ¶ added in v1.3.0
func (m *GetMnemonicResponse) GetSeedMnemonic() []string
func (*GetMnemonicResponse) ProtoMessage ¶ added in v1.3.0
func (*GetMnemonicResponse) ProtoMessage()
func (*GetMnemonicResponse) Reset ¶ added in v1.3.0
func (m *GetMnemonicResponse) Reset()
func (*GetMnemonicResponse) String ¶ added in v1.3.0
func (m *GetMnemonicResponse) String() string
func (*GetMnemonicResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *GetMnemonicResponse) XXX_DiscardUnknown()
func (*GetMnemonicResponse) XXX_Marshal ¶ added in v1.3.0
func (m *GetMnemonicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMnemonicResponse) XXX_Merge ¶ added in v1.3.0
func (m *GetMnemonicResponse) XXX_Merge(src proto.Message)
func (*GetMnemonicResponse) XXX_Size ¶ added in v1.3.0
func (m *GetMnemonicResponse) XXX_Size() int
func (*GetMnemonicResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *GetMnemonicResponse) XXX_Unmarshal(b []byte) error
type GetNodeInfoRequest ¶
type GetNodeInfoRequest struct { // The node pub key or alias of the node for which to get information. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeInfoRequest) Descriptor ¶
func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
func (*GetNodeInfoRequest) GetNodeIdentifier ¶
func (m *GetNodeInfoRequest) GetNodeIdentifier() string
func (*GetNodeInfoRequest) ProtoMessage ¶
func (*GetNodeInfoRequest) ProtoMessage()
func (*GetNodeInfoRequest) Reset ¶
func (m *GetNodeInfoRequest) Reset()
func (*GetNodeInfoRequest) String ¶
func (m *GetNodeInfoRequest) String() string
func (*GetNodeInfoRequest) XXX_DiscardUnknown ¶
func (m *GetNodeInfoRequest) XXX_DiscardUnknown()
func (*GetNodeInfoRequest) XXX_Marshal ¶
func (m *GetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeInfoRequest) XXX_Merge ¶
func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message)
func (*GetNodeInfoRequest) XXX_Size ¶
func (m *GetNodeInfoRequest) XXX_Size() int
func (*GetNodeInfoRequest) XXX_Unmarshal ¶
func (m *GetNodeInfoRequest) XXX_Unmarshal(b []byte) error
type GetNodeInfoResponse ¶
type GetNodeInfoResponse struct { // The node's reputation score. Points are subtracted for unexpected or potentially malicious // behavior. Points are added when swaps are successfully executed. ReputationScore int32 `protobuf:"zigzag32,1,opt,name=reputationScore,json=reputation,proto3" json:"reputationScore,omitempty"` // Whether the node is currently banned. Banned bool `protobuf:"varint,2,opt,name=banned,proto3" json:"banned,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeInfoResponse) Descriptor ¶
func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
func (*GetNodeInfoResponse) GetBanned ¶
func (m *GetNodeInfoResponse) GetBanned() bool
func (*GetNodeInfoResponse) GetReputationScore ¶
func (m *GetNodeInfoResponse) GetReputationScore() int32
func (*GetNodeInfoResponse) ProtoMessage ¶
func (*GetNodeInfoResponse) ProtoMessage()
func (*GetNodeInfoResponse) Reset ¶
func (m *GetNodeInfoResponse) Reset()
func (*GetNodeInfoResponse) String ¶
func (m *GetNodeInfoResponse) String() string
func (*GetNodeInfoResponse) XXX_DiscardUnknown ¶
func (m *GetNodeInfoResponse) XXX_DiscardUnknown()
func (*GetNodeInfoResponse) XXX_Marshal ¶
func (m *GetNodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeInfoResponse) XXX_Merge ¶
func (m *GetNodeInfoResponse) XXX_Merge(src proto.Message)
func (*GetNodeInfoResponse) XXX_Size ¶
func (m *GetNodeInfoResponse) XXX_Size() int
func (*GetNodeInfoResponse) XXX_Unmarshal ¶
func (m *GetNodeInfoResponse) XXX_Unmarshal(b []byte) error
type ListCurrenciesRequest ¶
type ListCurrenciesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCurrenciesRequest) Descriptor ¶
func (*ListCurrenciesRequest) Descriptor() ([]byte, []int)
func (*ListCurrenciesRequest) ProtoMessage ¶
func (*ListCurrenciesRequest) ProtoMessage()
func (*ListCurrenciesRequest) Reset ¶
func (m *ListCurrenciesRequest) Reset()
func (*ListCurrenciesRequest) String ¶
func (m *ListCurrenciesRequest) String() string
func (*ListCurrenciesRequest) XXX_DiscardUnknown ¶
func (m *ListCurrenciesRequest) XXX_DiscardUnknown()
func (*ListCurrenciesRequest) XXX_Marshal ¶
func (m *ListCurrenciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCurrenciesRequest) XXX_Merge ¶
func (m *ListCurrenciesRequest) XXX_Merge(src proto.Message)
func (*ListCurrenciesRequest) XXX_Size ¶
func (m *ListCurrenciesRequest) XXX_Size() int
func (*ListCurrenciesRequest) XXX_Unmarshal ¶
func (m *ListCurrenciesRequest) XXX_Unmarshal(b []byte) error
type ListCurrenciesResponse ¶
type ListCurrenciesResponse struct { // The list of available currencies in the orderbook. Currencies []*Currency `protobuf:"bytes,1,rep,name=currencies,proto3" json:"currencies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListCurrenciesResponse) Descriptor ¶
func (*ListCurrenciesResponse) Descriptor() ([]byte, []int)
func (*ListCurrenciesResponse) GetCurrencies ¶
func (m *ListCurrenciesResponse) GetCurrencies() []*Currency
func (*ListCurrenciesResponse) ProtoMessage ¶
func (*ListCurrenciesResponse) ProtoMessage()
func (*ListCurrenciesResponse) Reset ¶
func (m *ListCurrenciesResponse) Reset()
func (*ListCurrenciesResponse) String ¶
func (m *ListCurrenciesResponse) String() string
func (*ListCurrenciesResponse) XXX_DiscardUnknown ¶
func (m *ListCurrenciesResponse) XXX_DiscardUnknown()
func (*ListCurrenciesResponse) XXX_Marshal ¶
func (m *ListCurrenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCurrenciesResponse) XXX_Merge ¶
func (m *ListCurrenciesResponse) XXX_Merge(src proto.Message)
func (*ListCurrenciesResponse) XXX_Size ¶
func (m *ListCurrenciesResponse) XXX_Size() int
func (*ListCurrenciesResponse) XXX_Unmarshal ¶
func (m *ListCurrenciesResponse) XXX_Unmarshal(b []byte) error
type ListOrdersRequest ¶
type ListOrdersRequest struct { // The trading pair for which to retrieve orders. PairId string `protobuf:"bytes,1,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // Whether only own, only peer or both orders should be included in result. Owner ListOrdersRequest_Owner `protobuf:"varint,2,opt,name=owner,proto3,enum=xudrpc.ListOrdersRequest_Owner" json:"owner,omitempty"` // The maximum number of orders to return from each side of the order book. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // Whether to include the node aliases of owners of the orders. IncludeAliases bool `protobuf:"varint,4,opt,name=include_aliases,proto3" json:"include_aliases,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListOrdersRequest) Descriptor ¶
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
func (*ListOrdersRequest) GetIncludeAliases ¶
func (m *ListOrdersRequest) GetIncludeAliases() bool
func (*ListOrdersRequest) GetLimit ¶
func (m *ListOrdersRequest) GetLimit() uint32
func (*ListOrdersRequest) GetOwner ¶
func (m *ListOrdersRequest) GetOwner() ListOrdersRequest_Owner
func (*ListOrdersRequest) GetPairId ¶
func (m *ListOrdersRequest) GetPairId() string
func (*ListOrdersRequest) ProtoMessage ¶
func (*ListOrdersRequest) ProtoMessage()
func (*ListOrdersRequest) Reset ¶
func (m *ListOrdersRequest) Reset()
func (*ListOrdersRequest) String ¶
func (m *ListOrdersRequest) String() string
func (*ListOrdersRequest) XXX_DiscardUnknown ¶
func (m *ListOrdersRequest) XXX_DiscardUnknown()
func (*ListOrdersRequest) XXX_Marshal ¶
func (m *ListOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOrdersRequest) XXX_Merge ¶
func (m *ListOrdersRequest) XXX_Merge(src proto.Message)
func (*ListOrdersRequest) XXX_Size ¶
func (m *ListOrdersRequest) XXX_Size() int
func (*ListOrdersRequest) XXX_Unmarshal ¶
func (m *ListOrdersRequest) XXX_Unmarshal(b []byte) error
type ListOrdersRequest_Owner ¶
type ListOrdersRequest_Owner int32
const ( ListOrdersRequest_BOTH ListOrdersRequest_Owner = 0 ListOrdersRequest_OWN ListOrdersRequest_Owner = 1 ListOrdersRequest_PEER ListOrdersRequest_Owner = 2 )
func (ListOrdersRequest_Owner) EnumDescriptor ¶
func (ListOrdersRequest_Owner) EnumDescriptor() ([]byte, []int)
func (ListOrdersRequest_Owner) String ¶
func (x ListOrdersRequest_Owner) String() string
type ListOrdersResponse ¶
type ListOrdersResponse struct { // A map between pair ids and their buy and sell orders. Orders map[string]*Orders `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListOrdersResponse) Descriptor ¶
func (*ListOrdersResponse) Descriptor() ([]byte, []int)
func (*ListOrdersResponse) GetOrders ¶
func (m *ListOrdersResponse) GetOrders() map[string]*Orders
func (*ListOrdersResponse) ProtoMessage ¶
func (*ListOrdersResponse) ProtoMessage()
func (*ListOrdersResponse) Reset ¶
func (m *ListOrdersResponse) Reset()
func (*ListOrdersResponse) String ¶
func (m *ListOrdersResponse) String() string
func (*ListOrdersResponse) XXX_DiscardUnknown ¶
func (m *ListOrdersResponse) XXX_DiscardUnknown()
func (*ListOrdersResponse) XXX_Marshal ¶
func (m *ListOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOrdersResponse) XXX_Merge ¶
func (m *ListOrdersResponse) XXX_Merge(src proto.Message)
func (*ListOrdersResponse) XXX_Size ¶
func (m *ListOrdersResponse) XXX_Size() int
func (*ListOrdersResponse) XXX_Unmarshal ¶
func (m *ListOrdersResponse) XXX_Unmarshal(b []byte) error
type ListPairsRequest ¶
type ListPairsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPairsRequest) Descriptor ¶
func (*ListPairsRequest) Descriptor() ([]byte, []int)
func (*ListPairsRequest) ProtoMessage ¶
func (*ListPairsRequest) ProtoMessage()
func (*ListPairsRequest) Reset ¶
func (m *ListPairsRequest) Reset()
func (*ListPairsRequest) String ¶
func (m *ListPairsRequest) String() string
func (*ListPairsRequest) XXX_DiscardUnknown ¶
func (m *ListPairsRequest) XXX_DiscardUnknown()
func (*ListPairsRequest) XXX_Marshal ¶
func (m *ListPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPairsRequest) XXX_Merge ¶
func (m *ListPairsRequest) XXX_Merge(src proto.Message)
func (*ListPairsRequest) XXX_Size ¶
func (m *ListPairsRequest) XXX_Size() int
func (*ListPairsRequest) XXX_Unmarshal ¶
func (m *ListPairsRequest) XXX_Unmarshal(b []byte) error
type ListPairsResponse ¶
type ListPairsResponse struct { // The list of supported trading pair tickers in formats like "LTC/BTC". Pairs []string `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPairsResponse) Descriptor ¶
func (*ListPairsResponse) Descriptor() ([]byte, []int)
func (*ListPairsResponse) GetPairs ¶
func (m *ListPairsResponse) GetPairs() []string
func (*ListPairsResponse) ProtoMessage ¶
func (*ListPairsResponse) ProtoMessage()
func (*ListPairsResponse) Reset ¶
func (m *ListPairsResponse) Reset()
func (*ListPairsResponse) String ¶
func (m *ListPairsResponse) String() string
func (*ListPairsResponse) XXX_DiscardUnknown ¶
func (m *ListPairsResponse) XXX_DiscardUnknown()
func (*ListPairsResponse) XXX_Marshal ¶
func (m *ListPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPairsResponse) XXX_Merge ¶
func (m *ListPairsResponse) XXX_Merge(src proto.Message)
func (*ListPairsResponse) XXX_Size ¶
func (m *ListPairsResponse) XXX_Size() int
func (*ListPairsResponse) XXX_Unmarshal ¶
func (m *ListPairsResponse) XXX_Unmarshal(b []byte) error
type ListPeersRequest ¶
type ListPeersRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPeersRequest) Descriptor ¶
func (*ListPeersRequest) Descriptor() ([]byte, []int)
func (*ListPeersRequest) ProtoMessage ¶
func (*ListPeersRequest) ProtoMessage()
func (*ListPeersRequest) Reset ¶
func (m *ListPeersRequest) Reset()
func (*ListPeersRequest) String ¶
func (m *ListPeersRequest) String() string
func (*ListPeersRequest) XXX_DiscardUnknown ¶
func (m *ListPeersRequest) XXX_DiscardUnknown()
func (*ListPeersRequest) XXX_Marshal ¶
func (m *ListPeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPeersRequest) XXX_Merge ¶
func (m *ListPeersRequest) XXX_Merge(src proto.Message)
func (*ListPeersRequest) XXX_Size ¶
func (m *ListPeersRequest) XXX_Size() int
func (*ListPeersRequest) XXX_Unmarshal ¶
func (m *ListPeersRequest) XXX_Unmarshal(b []byte) error
type ListPeersResponse ¶
type ListPeersResponse struct { // The list of connected peers. Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPeersResponse) Descriptor ¶
func (*ListPeersResponse) Descriptor() ([]byte, []int)
func (*ListPeersResponse) GetPeers ¶
func (m *ListPeersResponse) GetPeers() []*Peer
func (*ListPeersResponse) ProtoMessage ¶
func (*ListPeersResponse) ProtoMessage()
func (*ListPeersResponse) Reset ¶
func (m *ListPeersResponse) Reset()
func (*ListPeersResponse) String ¶
func (m *ListPeersResponse) String() string
func (*ListPeersResponse) XXX_DiscardUnknown ¶
func (m *ListPeersResponse) XXX_DiscardUnknown()
func (*ListPeersResponse) XXX_Marshal ¶
func (m *ListPeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPeersResponse) XXX_Merge ¶
func (m *ListPeersResponse) XXX_Merge(src proto.Message)
func (*ListPeersResponse) XXX_Size ¶
func (m *ListPeersResponse) XXX_Size() int
func (*ListPeersResponse) XXX_Unmarshal ¶
func (m *ListPeersResponse) XXX_Unmarshal(b []byte) error
type LndInfo ¶
type LndInfo struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Channels *Channels `protobuf:"bytes,2,opt,name=channels,proto3" json:"channels,omitempty"` Chains []*Chain `protobuf:"bytes,3,rep,name=chains,proto3" json:"chains,omitempty"` Blockheight uint32 `protobuf:"varint,4,opt,name=blockheight,proto3" json:"blockheight,omitempty"` Uris []string `protobuf:"bytes,5,rep,name=uris,proto3" json:"uris,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LndInfo) Descriptor ¶
func (*LndInfo) GetBlockheight ¶
func (*LndInfo) GetChannels ¶
func (*LndInfo) GetVersion ¶
func (*LndInfo) ProtoMessage ¶
func (*LndInfo) ProtoMessage()
func (*LndInfo) XXX_DiscardUnknown ¶
func (m *LndInfo) XXX_DiscardUnknown()
func (*LndInfo) XXX_Marshal ¶
func (*LndInfo) XXX_Unmarshal ¶
type LogLevel ¶ added in v1.3.0
type LogLevel int32
func (LogLevel) EnumDescriptor ¶ added in v1.3.0
type NodeIdentifier ¶
type NodeIdentifier struct { // The pub key of this node NodePubKey string `protobuf:"bytes,1,opt,name=node_pub_key,proto3" json:"node_pub_key,omitempty"` // An alias for this node deterministically generated from the pub key Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeIdentifier) Descriptor ¶
func (*NodeIdentifier) Descriptor() ([]byte, []int)
func (*NodeIdentifier) GetAlias ¶
func (m *NodeIdentifier) GetAlias() string
func (*NodeIdentifier) GetNodePubKey ¶
func (m *NodeIdentifier) GetNodePubKey() string
func (*NodeIdentifier) ProtoMessage ¶
func (*NodeIdentifier) ProtoMessage()
func (*NodeIdentifier) Reset ¶
func (m *NodeIdentifier) Reset()
func (*NodeIdentifier) String ¶
func (m *NodeIdentifier) String() string
func (*NodeIdentifier) XXX_DiscardUnknown ¶
func (m *NodeIdentifier) XXX_DiscardUnknown()
func (*NodeIdentifier) XXX_Marshal ¶
func (m *NodeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeIdentifier) XXX_Merge ¶
func (m *NodeIdentifier) XXX_Merge(src proto.Message)
func (*NodeIdentifier) XXX_Size ¶
func (m *NodeIdentifier) XXX_Size() int
func (*NodeIdentifier) XXX_Unmarshal ¶
func (m *NodeIdentifier) XXX_Unmarshal(b []byte) error
type OpenChannelRequest ¶
type OpenChannelRequest struct { // The node pub key or alias of the peer with which to open channel with. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` // The ticker symbol of the currency to open the channel for. Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` // The amount to be deposited into the channel denominated in satoshis. Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // The balance amount to be pushed to the remote side of the channel denominated in satoshis. PushAmount uint64 `protobuf:"varint,4,opt,name=push_amount,proto3" json:"push_amount,omitempty"` // The manual fee rate set in sat/byte that should be used when crafting the funding transaction in the channel. Fee uint64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenChannelRequest) Descriptor ¶
func (*OpenChannelRequest) Descriptor() ([]byte, []int)
func (*OpenChannelRequest) GetAmount ¶
func (m *OpenChannelRequest) GetAmount() uint64
func (*OpenChannelRequest) GetCurrency ¶
func (m *OpenChannelRequest) GetCurrency() string
func (*OpenChannelRequest) GetFee ¶
func (m *OpenChannelRequest) GetFee() uint64
func (*OpenChannelRequest) GetNodeIdentifier ¶
func (m *OpenChannelRequest) GetNodeIdentifier() string
func (*OpenChannelRequest) GetPushAmount ¶
func (m *OpenChannelRequest) GetPushAmount() uint64
func (*OpenChannelRequest) ProtoMessage ¶
func (*OpenChannelRequest) ProtoMessage()
func (*OpenChannelRequest) Reset ¶
func (m *OpenChannelRequest) Reset()
func (*OpenChannelRequest) String ¶
func (m *OpenChannelRequest) String() string
func (*OpenChannelRequest) XXX_DiscardUnknown ¶
func (m *OpenChannelRequest) XXX_DiscardUnknown()
func (*OpenChannelRequest) XXX_Marshal ¶
func (m *OpenChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenChannelRequest) XXX_Merge ¶
func (m *OpenChannelRequest) XXX_Merge(src proto.Message)
func (*OpenChannelRequest) XXX_Size ¶
func (m *OpenChannelRequest) XXX_Size() int
func (*OpenChannelRequest) XXX_Unmarshal ¶
func (m *OpenChannelRequest) XXX_Unmarshal(b []byte) error
type OpenChannelResponse ¶
type OpenChannelResponse struct { // The id of the transaction that opened the channel. TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,proto3" json:"transaction_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenChannelResponse) Descriptor ¶
func (*OpenChannelResponse) Descriptor() ([]byte, []int)
func (*OpenChannelResponse) GetTransactionId ¶
func (m *OpenChannelResponse) GetTransactionId() string
func (*OpenChannelResponse) ProtoMessage ¶
func (*OpenChannelResponse) ProtoMessage()
func (*OpenChannelResponse) Reset ¶
func (m *OpenChannelResponse) Reset()
func (*OpenChannelResponse) String ¶
func (m *OpenChannelResponse) String() string
func (*OpenChannelResponse) XXX_DiscardUnknown ¶
func (m *OpenChannelResponse) XXX_DiscardUnknown()
func (*OpenChannelResponse) XXX_Marshal ¶
func (m *OpenChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenChannelResponse) XXX_Merge ¶
func (m *OpenChannelResponse) XXX_Merge(src proto.Message)
func (*OpenChannelResponse) XXX_Size ¶
func (m *OpenChannelResponse) XXX_Size() int
func (*OpenChannelResponse) XXX_Unmarshal ¶
func (m *OpenChannelResponse) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct { // The price of the order. Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"` // The quantity of the order in satoshis. Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // The trading pair that this order is for. PairId string `protobuf:"bytes,3,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // A UUID for this order. Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // The identifier of the node that created this order. NodeIdentifier *NodeIdentifier `protobuf:"bytes,5,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` // The local id for this order, if applicable. LocalId string `protobuf:"bytes,6,opt,name=local_id,proto3" json:"local_id,omitempty"` // The epoch time in milliseconds when this order was created. CreatedAt uint64 `protobuf:"varint,7,opt,name=created_at,proto3" json:"created_at,omitempty"` // Whether this order is a buy or sell Side OrderSide `protobuf:"varint,8,opt,name=side,proto3,enum=xudrpc.OrderSide" json:"side,omitempty"` // Whether this order is a local own order or a remote peer order. IsOwnOrder bool `protobuf:"varint,9,opt,name=is_own_order,proto3" json:"is_own_order,omitempty"` // The quantity on hold pending swap execution. Hold uint64 `protobuf:"varint,10,opt,name=hold,proto3" json:"hold,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Order) Descriptor ¶
func (*Order) GetCreatedAt ¶
func (*Order) GetIsOwnOrder ¶
func (*Order) GetLocalId ¶
func (*Order) GetNodeIdentifier ¶
func (m *Order) GetNodeIdentifier() *NodeIdentifier
func (*Order) GetQuantity ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderBookRequest ¶ added in v1.3.0
type OrderBookRequest struct { // The trading pair for which to retrieve orders. PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` // The number of digits to the right of the decimal point for each price bucket. A negative // number rounds digits to the left of the decimal point, e.g. -2 would round to the hundreds place. Precision int32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"` // The maximum number of price "buckets" to return, if zero or unspecified then no limit is imposed. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderBookRequest) Descriptor ¶ added in v1.3.0
func (*OrderBookRequest) Descriptor() ([]byte, []int)
func (*OrderBookRequest) GetLimit ¶ added in v1.3.0
func (m *OrderBookRequest) GetLimit() uint32
func (*OrderBookRequest) GetPairId ¶ added in v1.3.0
func (m *OrderBookRequest) GetPairId() string
func (*OrderBookRequest) GetPrecision ¶ added in v1.3.0
func (m *OrderBookRequest) GetPrecision() int32
func (*OrderBookRequest) ProtoMessage ¶ added in v1.3.0
func (*OrderBookRequest) ProtoMessage()
func (*OrderBookRequest) Reset ¶ added in v1.3.0
func (m *OrderBookRequest) Reset()
func (*OrderBookRequest) String ¶ added in v1.3.0
func (m *OrderBookRequest) String() string
func (*OrderBookRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *OrderBookRequest) XXX_DiscardUnknown()
func (*OrderBookRequest) XXX_Marshal ¶ added in v1.3.0
func (m *OrderBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderBookRequest) XXX_Merge ¶ added in v1.3.0
func (m *OrderBookRequest) XXX_Merge(src proto.Message)
func (*OrderBookRequest) XXX_Size ¶ added in v1.3.0
func (m *OrderBookRequest) XXX_Size() int
func (*OrderBookRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *OrderBookRequest) XXX_Unmarshal(b []byte) error
type OrderBookResponse ¶ added in v1.3.0
type OrderBookResponse struct { // A map between currency tickers and sorted lists of order buckets Buckets map[string]*OrderBookResponse_Buckets `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderBookResponse) Descriptor ¶ added in v1.3.0
func (*OrderBookResponse) Descriptor() ([]byte, []int)
func (*OrderBookResponse) GetBuckets ¶ added in v1.3.0
func (m *OrderBookResponse) GetBuckets() map[string]*OrderBookResponse_Buckets
func (*OrderBookResponse) ProtoMessage ¶ added in v1.3.0
func (*OrderBookResponse) ProtoMessage()
func (*OrderBookResponse) Reset ¶ added in v1.3.0
func (m *OrderBookResponse) Reset()
func (*OrderBookResponse) String ¶ added in v1.3.0
func (m *OrderBookResponse) String() string
func (*OrderBookResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *OrderBookResponse) XXX_DiscardUnknown()
func (*OrderBookResponse) XXX_Marshal ¶ added in v1.3.0
func (m *OrderBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderBookResponse) XXX_Merge ¶ added in v1.3.0
func (m *OrderBookResponse) XXX_Merge(src proto.Message)
func (*OrderBookResponse) XXX_Size ¶ added in v1.3.0
func (m *OrderBookResponse) XXX_Size() int
func (*OrderBookResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *OrderBookResponse) XXX_Unmarshal(b []byte) error
type OrderBookResponse_Bucket ¶ added in v1.3.0
type OrderBookResponse_Bucket struct { // The rounded price of the bucket. Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"` // The total quantity for all orders that fall into this bucket. Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderBookResponse_Bucket) Descriptor ¶ added in v1.3.0
func (*OrderBookResponse_Bucket) Descriptor() ([]byte, []int)
func (*OrderBookResponse_Bucket) GetPrice ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) GetPrice() float64
func (*OrderBookResponse_Bucket) GetQuantity ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) GetQuantity() uint64
func (*OrderBookResponse_Bucket) ProtoMessage ¶ added in v1.3.0
func (*OrderBookResponse_Bucket) ProtoMessage()
func (*OrderBookResponse_Bucket) Reset ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) Reset()
func (*OrderBookResponse_Bucket) String ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) String() string
func (*OrderBookResponse_Bucket) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) XXX_DiscardUnknown()
func (*OrderBookResponse_Bucket) XXX_Marshal ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderBookResponse_Bucket) XXX_Merge ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) XXX_Merge(src proto.Message)
func (*OrderBookResponse_Bucket) XXX_Size ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) XXX_Size() int
func (*OrderBookResponse_Bucket) XXX_Unmarshal ¶ added in v1.3.0
func (m *OrderBookResponse_Bucket) XXX_Unmarshal(b []byte) error
type OrderBookResponse_Buckets ¶ added in v1.3.0
type OrderBookResponse_Buckets struct { // A sorted list of buckets for sell orders SellBuckets []*OrderBookResponse_Bucket `protobuf:"bytes,1,rep,name=sell_buckets,json=sellBuckets,proto3" json:"sell_buckets,omitempty"` // A sorted list of buckets for buy orders. BuyBuckets []*OrderBookResponse_Bucket `protobuf:"bytes,2,rep,name=buy_buckets,json=buyBuckets,proto3" json:"buy_buckets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderBookResponse_Buckets) Descriptor ¶ added in v1.3.0
func (*OrderBookResponse_Buckets) Descriptor() ([]byte, []int)
func (*OrderBookResponse_Buckets) GetBuyBuckets ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) GetBuyBuckets() []*OrderBookResponse_Bucket
func (*OrderBookResponse_Buckets) GetSellBuckets ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) GetSellBuckets() []*OrderBookResponse_Bucket
func (*OrderBookResponse_Buckets) ProtoMessage ¶ added in v1.3.0
func (*OrderBookResponse_Buckets) ProtoMessage()
func (*OrderBookResponse_Buckets) Reset ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) Reset()
func (*OrderBookResponse_Buckets) String ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) String() string
func (*OrderBookResponse_Buckets) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) XXX_DiscardUnknown()
func (*OrderBookResponse_Buckets) XXX_Marshal ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderBookResponse_Buckets) XXX_Merge ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) XXX_Merge(src proto.Message)
func (*OrderBookResponse_Buckets) XXX_Size ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) XXX_Size() int
func (*OrderBookResponse_Buckets) XXX_Unmarshal ¶ added in v1.3.0
func (m *OrderBookResponse_Buckets) XXX_Unmarshal(b []byte) error
type OrderRemoval ¶
type OrderRemoval struct { // The quantity removed from the order. Quantity uint64 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"` // The trading pair that the order is for. PairId string `protobuf:"bytes,2,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The global UUID for the order. OrderId string `protobuf:"bytes,3,opt,name=order_id,proto3" json:"order_id,omitempty"` // The local id for the order, if applicable. LocalId string `protobuf:"bytes,4,opt,name=local_id,proto3" json:"local_id,omitempty"` // Whether the order being removed is a local own order or a remote peer order. IsOwnOrder bool `protobuf:"varint,5,opt,name=is_own_order,proto3" json:"is_own_order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderRemoval) Descriptor ¶
func (*OrderRemoval) Descriptor() ([]byte, []int)
func (*OrderRemoval) GetIsOwnOrder ¶
func (m *OrderRemoval) GetIsOwnOrder() bool
func (*OrderRemoval) GetLocalId ¶
func (m *OrderRemoval) GetLocalId() string
func (*OrderRemoval) GetOrderId ¶
func (m *OrderRemoval) GetOrderId() string
func (*OrderRemoval) GetPairId ¶
func (m *OrderRemoval) GetPairId() string
func (*OrderRemoval) GetQuantity ¶
func (m *OrderRemoval) GetQuantity() uint64
func (*OrderRemoval) ProtoMessage ¶
func (*OrderRemoval) ProtoMessage()
func (*OrderRemoval) Reset ¶
func (m *OrderRemoval) Reset()
func (*OrderRemoval) String ¶
func (m *OrderRemoval) String() string
func (*OrderRemoval) XXX_DiscardUnknown ¶
func (m *OrderRemoval) XXX_DiscardUnknown()
func (*OrderRemoval) XXX_Marshal ¶
func (m *OrderRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderRemoval) XXX_Merge ¶
func (m *OrderRemoval) XXX_Merge(src proto.Message)
func (*OrderRemoval) XXX_Size ¶
func (m *OrderRemoval) XXX_Size() int
func (*OrderRemoval) XXX_Unmarshal ¶
func (m *OrderRemoval) XXX_Unmarshal(b []byte) error
type OrderUpdate ¶
type OrderUpdate struct { // Types that are valid to be assigned to OrderUpdate: // *OrderUpdate_Order // *OrderUpdate_OrderRemoval OrderUpdate isOrderUpdate_OrderUpdate `protobuf_oneof:"order_update"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderUpdate) Descriptor ¶
func (*OrderUpdate) Descriptor() ([]byte, []int)
func (*OrderUpdate) GetOrder ¶
func (m *OrderUpdate) GetOrder() *Order
func (*OrderUpdate) GetOrderRemoval ¶
func (m *OrderUpdate) GetOrderRemoval() *OrderRemoval
func (*OrderUpdate) GetOrderUpdate ¶
func (m *OrderUpdate) GetOrderUpdate() isOrderUpdate_OrderUpdate
func (*OrderUpdate) ProtoMessage ¶
func (*OrderUpdate) ProtoMessage()
func (*OrderUpdate) Reset ¶
func (m *OrderUpdate) Reset()
func (*OrderUpdate) String ¶
func (m *OrderUpdate) String() string
func (*OrderUpdate) XXX_DiscardUnknown ¶
func (m *OrderUpdate) XXX_DiscardUnknown()
func (*OrderUpdate) XXX_Marshal ¶
func (m *OrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderUpdate) XXX_Merge ¶
func (m *OrderUpdate) XXX_Merge(src proto.Message)
func (*OrderUpdate) XXX_OneofWrappers ¶
func (*OrderUpdate) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OrderUpdate) XXX_Size ¶
func (m *OrderUpdate) XXX_Size() int
func (*OrderUpdate) XXX_Unmarshal ¶
func (m *OrderUpdate) XXX_Unmarshal(b []byte) error
type OrderUpdate_Order ¶
type OrderUpdate_Order struct {
Order *Order `protobuf:"bytes,1,opt,name=order,proto3,oneof"`
}
type OrderUpdate_OrderRemoval ¶
type OrderUpdate_OrderRemoval struct {
OrderRemoval *OrderRemoval `protobuf:"bytes,2,opt,name=order_removal,proto3,oneof"`
}
type Orders ¶
type Orders struct { // A list of buy orders sorted by descending price. BuyOrders []*Order `protobuf:"bytes,1,rep,name=buy_orders,proto3" json:"buy_orders,omitempty"` // A list of sell orders sorted by ascending price. SellOrders []*Order `protobuf:"bytes,2,rep,name=sell_orders,proto3" json:"sell_orders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Orders) Descriptor ¶
func (*Orders) GetBuyOrders ¶
func (*Orders) GetSellOrders ¶
func (*Orders) ProtoMessage ¶
func (*Orders) ProtoMessage()
func (*Orders) XXX_DiscardUnknown ¶
func (m *Orders) XXX_DiscardUnknown()
func (*Orders) XXX_Marshal ¶
func (*Orders) XXX_Unmarshal ¶
type OrdersCount ¶
type OrdersCount struct { // The number of orders belonging to remote xud nodes. Peer uint32 `protobuf:"varint,1,opt,name=peer,proto3" json:"peer,omitempty"` // The number of orders belonging to our local xud node. Own uint32 `protobuf:"varint,2,opt,name=own,proto3" json:"own,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrdersCount) Descriptor ¶
func (*OrdersCount) Descriptor() ([]byte, []int)
func (*OrdersCount) GetOwn ¶
func (m *OrdersCount) GetOwn() uint32
func (*OrdersCount) GetPeer ¶
func (m *OrdersCount) GetPeer() uint32
func (*OrdersCount) ProtoMessage ¶
func (*OrdersCount) ProtoMessage()
func (*OrdersCount) Reset ¶
func (m *OrdersCount) Reset()
func (*OrdersCount) String ¶
func (m *OrdersCount) String() string
func (*OrdersCount) XXX_DiscardUnknown ¶
func (m *OrdersCount) XXX_DiscardUnknown()
func (*OrdersCount) XXX_Marshal ¶
func (m *OrdersCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrdersCount) XXX_Merge ¶
func (m *OrdersCount) XXX_Merge(src proto.Message)
func (*OrdersCount) XXX_Size ¶
func (m *OrdersCount) XXX_Size() int
func (*OrdersCount) XXX_Unmarshal ¶
func (m *OrdersCount) XXX_Unmarshal(b []byte) error
type Peer ¶
type Peer struct { // The socket address with host and port for this peer. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The node pub key to uniquely identify this peer. NodePubKey string `protobuf:"bytes,2,opt,name=node_pub_key,proto3" json:"node_pub_key,omitempty"` // A map of ticker symbols to lnd pub keys for this peer LndPubKeys map[string]string `` /* 165-byte string literal not displayed */ // Indicates whether this peer was connected inbound. Inbound bool `protobuf:"varint,4,opt,name=inbound,proto3" json:"inbound,omitempty"` // A list of trading pair tickers supported by this peer. Pairs []string `protobuf:"bytes,5,rep,name=pairs,proto3" json:"pairs,omitempty"` // The version of xud being used by the peer. XudVersion string `protobuf:"bytes,6,opt,name=xud_version,proto3" json:"xud_version,omitempty"` // The time in seconds that we have been connected to this peer. SecondsConnected uint32 `protobuf:"varint,7,opt,name=seconds_connected,proto3" json:"seconds_connected,omitempty"` // The alias for this peer's public key Alias string `protobuf:"bytes,9,opt,name=alias,proto3" json:"alias,omitempty"` LndUris []*Peer_LndUris `protobuf:"bytes,10,rep,name=lnd_uris,proto3" json:"lnd_uris,omitempty"` // The connext identifier for this peer ConnextIdentifier string `protobuf:"bytes,11,opt,name=connext_identifier,proto3" json:"connext_identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peer) Descriptor ¶
func (*Peer) GetAddress ¶
func (*Peer) GetConnextIdentifier ¶ added in v1.3.0
func (*Peer) GetInbound ¶
func (*Peer) GetLndPubKeys ¶
func (*Peer) GetLndUris ¶ added in v1.3.0
func (m *Peer) GetLndUris() []*Peer_LndUris
func (*Peer) GetNodePubKey ¶
func (*Peer) GetSecondsConnected ¶
func (*Peer) GetXudVersion ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Unmarshal ¶
type Peer_LndUris ¶ added in v1.3.0
type Peer_LndUris struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` Uri []string `protobuf:"bytes,2,rep,name=uri,proto3" json:"uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A map of ticker symbols to lnd uris for this peer
func (*Peer_LndUris) Descriptor ¶ added in v1.3.0
func (*Peer_LndUris) Descriptor() ([]byte, []int)
func (*Peer_LndUris) GetCurrency ¶ added in v1.3.0
func (m *Peer_LndUris) GetCurrency() string
func (*Peer_LndUris) GetUri ¶ added in v1.3.0
func (m *Peer_LndUris) GetUri() []string
func (*Peer_LndUris) ProtoMessage ¶ added in v1.3.0
func (*Peer_LndUris) ProtoMessage()
func (*Peer_LndUris) Reset ¶ added in v1.3.0
func (m *Peer_LndUris) Reset()
func (*Peer_LndUris) String ¶ added in v1.3.0
func (m *Peer_LndUris) String() string
func (*Peer_LndUris) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *Peer_LndUris) XXX_DiscardUnknown()
func (*Peer_LndUris) XXX_Marshal ¶ added in v1.3.0
func (m *Peer_LndUris) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Peer_LndUris) XXX_Merge ¶ added in v1.3.0
func (m *Peer_LndUris) XXX_Merge(src proto.Message)
func (*Peer_LndUris) XXX_Size ¶ added in v1.3.0
func (m *Peer_LndUris) XXX_Size() int
func (*Peer_LndUris) XXX_Unmarshal ¶ added in v1.3.0
func (m *Peer_LndUris) XXX_Unmarshal(b []byte) error
type PlaceOrderEvent ¶
type PlaceOrderEvent struct { // Types that are valid to be assigned to Event: // *PlaceOrderEvent_Match // *PlaceOrderEvent_SwapSuccess // *PlaceOrderEvent_RemainingOrder // *PlaceOrderEvent_SwapFailure Event isPlaceOrderEvent_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlaceOrderEvent) Descriptor ¶
func (*PlaceOrderEvent) Descriptor() ([]byte, []int)
func (*PlaceOrderEvent) GetEvent ¶
func (m *PlaceOrderEvent) GetEvent() isPlaceOrderEvent_Event
func (*PlaceOrderEvent) GetMatch ¶
func (m *PlaceOrderEvent) GetMatch() *Order
func (*PlaceOrderEvent) GetRemainingOrder ¶
func (m *PlaceOrderEvent) GetRemainingOrder() *Order
func (*PlaceOrderEvent) GetSwapFailure ¶
func (m *PlaceOrderEvent) GetSwapFailure() *SwapFailure
func (*PlaceOrderEvent) GetSwapSuccess ¶
func (m *PlaceOrderEvent) GetSwapSuccess() *SwapSuccess
func (*PlaceOrderEvent) ProtoMessage ¶
func (*PlaceOrderEvent) ProtoMessage()
func (*PlaceOrderEvent) Reset ¶
func (m *PlaceOrderEvent) Reset()
func (*PlaceOrderEvent) String ¶
func (m *PlaceOrderEvent) String() string
func (*PlaceOrderEvent) XXX_DiscardUnknown ¶
func (m *PlaceOrderEvent) XXX_DiscardUnknown()
func (*PlaceOrderEvent) XXX_Marshal ¶
func (m *PlaceOrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlaceOrderEvent) XXX_Merge ¶
func (m *PlaceOrderEvent) XXX_Merge(src proto.Message)
func (*PlaceOrderEvent) XXX_OneofWrappers ¶
func (*PlaceOrderEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PlaceOrderEvent) XXX_Size ¶
func (m *PlaceOrderEvent) XXX_Size() int
func (*PlaceOrderEvent) XXX_Unmarshal ¶
func (m *PlaceOrderEvent) XXX_Unmarshal(b []byte) error
type PlaceOrderEvent_Match ¶
type PlaceOrderEvent_Match struct {
Match *Order `protobuf:"bytes,1,opt,name=match,proto3,oneof"`
}
type PlaceOrderEvent_RemainingOrder ¶
type PlaceOrderEvent_RemainingOrder struct {
RemainingOrder *Order `protobuf:"bytes,3,opt,name=remaining_order,proto3,oneof"`
}
type PlaceOrderEvent_SwapFailure ¶
type PlaceOrderEvent_SwapFailure struct {
SwapFailure *SwapFailure `protobuf:"bytes,4,opt,name=swap_failure,proto3,oneof"`
}
type PlaceOrderEvent_SwapSuccess ¶
type PlaceOrderEvent_SwapSuccess struct {
SwapSuccess *SwapSuccess `protobuf:"bytes,2,opt,name=swap_success,proto3,oneof"`
}
type PlaceOrderRequest ¶
type PlaceOrderRequest struct { // The price of the order. Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"` // The quantity of the order denominated in satoshis. Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // The trading pair that the order is for. PairId string `protobuf:"bytes,3,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The local id to assign to the order. OrderId string `protobuf:"bytes,4,opt,name=order_id,proto3" json:"order_id,omitempty"` // Whether the order is a buy or sell. Side OrderSide `protobuf:"varint,5,opt,name=side,proto3,enum=xudrpc.OrderSide" json:"side,omitempty"` // The local id of an existing order to be replaced. If provided, the order must be successfully // found and removed before the new order is placed, otherwise an error is returned. ReplaceOrderId string `protobuf:"bytes,6,opt,name=replace_order_id,proto3" json:"replace_order_id,omitempty"` // Whether the order must be filled immediately and not allowed to enter the order book. ImmediateOrCancel bool `protobuf:"varint,7,opt,name=immediate_or_cancel,proto3" json:"immediate_or_cancel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlaceOrderRequest) Descriptor ¶
func (*PlaceOrderRequest) Descriptor() ([]byte, []int)
func (*PlaceOrderRequest) GetImmediateOrCancel ¶
func (m *PlaceOrderRequest) GetImmediateOrCancel() bool
func (*PlaceOrderRequest) GetOrderId ¶
func (m *PlaceOrderRequest) GetOrderId() string
func (*PlaceOrderRequest) GetPairId ¶
func (m *PlaceOrderRequest) GetPairId() string
func (*PlaceOrderRequest) GetPrice ¶
func (m *PlaceOrderRequest) GetPrice() float64
func (*PlaceOrderRequest) GetQuantity ¶
func (m *PlaceOrderRequest) GetQuantity() uint64
func (*PlaceOrderRequest) GetReplaceOrderId ¶
func (m *PlaceOrderRequest) GetReplaceOrderId() string
func (*PlaceOrderRequest) GetSide ¶
func (m *PlaceOrderRequest) GetSide() OrderSide
func (*PlaceOrderRequest) ProtoMessage ¶
func (*PlaceOrderRequest) ProtoMessage()
func (*PlaceOrderRequest) Reset ¶
func (m *PlaceOrderRequest) Reset()
func (*PlaceOrderRequest) String ¶
func (m *PlaceOrderRequest) String() string
func (*PlaceOrderRequest) XXX_DiscardUnknown ¶
func (m *PlaceOrderRequest) XXX_DiscardUnknown()
func (*PlaceOrderRequest) XXX_Marshal ¶
func (m *PlaceOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlaceOrderRequest) XXX_Merge ¶
func (m *PlaceOrderRequest) XXX_Merge(src proto.Message)
func (*PlaceOrderRequest) XXX_Size ¶
func (m *PlaceOrderRequest) XXX_Size() int
func (*PlaceOrderRequest) XXX_Unmarshal ¶
func (m *PlaceOrderRequest) XXX_Unmarshal(b []byte) error
type PlaceOrderResponse ¶
type PlaceOrderResponse struct { // A list of own orders (or portions thereof) that matched the newly placed order. InternalMatches []*Order `protobuf:"bytes,1,rep,name=internal_matches,proto3" json:"internal_matches,omitempty"` // A list of successful swaps of peer orders that matched the newly placed order. SwapSuccesses []*SwapSuccess `protobuf:"bytes,2,rep,name=swap_successes,proto3" json:"swap_successes,omitempty"` // The remaining portion of the order, after matches, that enters the order book. RemainingOrder *Order `protobuf:"bytes,3,opt,name=remaining_order,proto3" json:"remaining_order,omitempty"` // A list of swap attempts that failed. SwapFailures []*SwapFailure `protobuf:"bytes,4,rep,name=swap_failures,proto3" json:"swap_failures,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlaceOrderResponse) Descriptor ¶
func (*PlaceOrderResponse) Descriptor() ([]byte, []int)
func (*PlaceOrderResponse) GetInternalMatches ¶
func (m *PlaceOrderResponse) GetInternalMatches() []*Order
func (*PlaceOrderResponse) GetRemainingOrder ¶
func (m *PlaceOrderResponse) GetRemainingOrder() *Order
func (*PlaceOrderResponse) GetSwapFailures ¶
func (m *PlaceOrderResponse) GetSwapFailures() []*SwapFailure
func (*PlaceOrderResponse) GetSwapSuccesses ¶
func (m *PlaceOrderResponse) GetSwapSuccesses() []*SwapSuccess
func (*PlaceOrderResponse) ProtoMessage ¶
func (*PlaceOrderResponse) ProtoMessage()
func (*PlaceOrderResponse) Reset ¶
func (m *PlaceOrderResponse) Reset()
func (*PlaceOrderResponse) String ¶
func (m *PlaceOrderResponse) String() string
func (*PlaceOrderResponse) XXX_DiscardUnknown ¶
func (m *PlaceOrderResponse) XXX_DiscardUnknown()
func (*PlaceOrderResponse) XXX_Marshal ¶
func (m *PlaceOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlaceOrderResponse) XXX_Merge ¶
func (m *PlaceOrderResponse) XXX_Merge(src proto.Message)
func (*PlaceOrderResponse) XXX_Size ¶
func (m *PlaceOrderResponse) XXX_Size() int
func (*PlaceOrderResponse) XXX_Unmarshal ¶
func (m *PlaceOrderResponse) XXX_Unmarshal(b []byte) error
type RemoveAllOrdersRequest ¶ added in v1.3.0
type RemoveAllOrdersRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveAllOrdersRequest) Descriptor ¶ added in v1.3.0
func (*RemoveAllOrdersRequest) Descriptor() ([]byte, []int)
func (*RemoveAllOrdersRequest) ProtoMessage ¶ added in v1.3.0
func (*RemoveAllOrdersRequest) ProtoMessage()
func (*RemoveAllOrdersRequest) Reset ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) Reset()
func (*RemoveAllOrdersRequest) String ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) String() string
func (*RemoveAllOrdersRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) XXX_DiscardUnknown()
func (*RemoveAllOrdersRequest) XXX_Marshal ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveAllOrdersRequest) XXX_Merge ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) XXX_Merge(src proto.Message)
func (*RemoveAllOrdersRequest) XXX_Size ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) XXX_Size() int
func (*RemoveAllOrdersRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *RemoveAllOrdersRequest) XXX_Unmarshal(b []byte) error
type RemoveAllOrdersResponse ¶ added in v1.3.0
type RemoveAllOrdersResponse struct { // The local order ids that were successfully removed. RemovedOrderIds []string `protobuf:"bytes,1,rep,name=removed_order_ids,proto3" json:"removed_order_ids,omitempty"` // The local order ids that were on hold and failed to be removed. OnHoldOrderIds []string `protobuf:"bytes,2,rep,name=on_hold_order_ids,proto3" json:"on_hold_order_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveAllOrdersResponse) Descriptor ¶ added in v1.3.0
func (*RemoveAllOrdersResponse) Descriptor() ([]byte, []int)
func (*RemoveAllOrdersResponse) GetOnHoldOrderIds ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) GetOnHoldOrderIds() []string
func (*RemoveAllOrdersResponse) GetRemovedOrderIds ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) GetRemovedOrderIds() []string
func (*RemoveAllOrdersResponse) ProtoMessage ¶ added in v1.3.0
func (*RemoveAllOrdersResponse) ProtoMessage()
func (*RemoveAllOrdersResponse) Reset ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) Reset()
func (*RemoveAllOrdersResponse) String ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) String() string
func (*RemoveAllOrdersResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) XXX_DiscardUnknown()
func (*RemoveAllOrdersResponse) XXX_Marshal ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveAllOrdersResponse) XXX_Merge ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) XXX_Merge(src proto.Message)
func (*RemoveAllOrdersResponse) XXX_Size ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) XXX_Size() int
func (*RemoveAllOrdersResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *RemoveAllOrdersResponse) XXX_Unmarshal(b []byte) error
type RemoveCurrencyRequest ¶
type RemoveCurrencyRequest struct { // The ticker symbol for this currency such as BTC, LTC, ETH, etc... Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveCurrencyRequest) Descriptor ¶
func (*RemoveCurrencyRequest) Descriptor() ([]byte, []int)
func (*RemoveCurrencyRequest) GetCurrency ¶
func (m *RemoveCurrencyRequest) GetCurrency() string
func (*RemoveCurrencyRequest) ProtoMessage ¶
func (*RemoveCurrencyRequest) ProtoMessage()
func (*RemoveCurrencyRequest) Reset ¶
func (m *RemoveCurrencyRequest) Reset()
func (*RemoveCurrencyRequest) String ¶
func (m *RemoveCurrencyRequest) String() string
func (*RemoveCurrencyRequest) XXX_DiscardUnknown ¶
func (m *RemoveCurrencyRequest) XXX_DiscardUnknown()
func (*RemoveCurrencyRequest) XXX_Marshal ¶
func (m *RemoveCurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveCurrencyRequest) XXX_Merge ¶
func (m *RemoveCurrencyRequest) XXX_Merge(src proto.Message)
func (*RemoveCurrencyRequest) XXX_Size ¶
func (m *RemoveCurrencyRequest) XXX_Size() int
func (*RemoveCurrencyRequest) XXX_Unmarshal ¶
func (m *RemoveCurrencyRequest) XXX_Unmarshal(b []byte) error
type RemoveCurrencyResponse ¶
type RemoveCurrencyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveCurrencyResponse) Descriptor ¶
func (*RemoveCurrencyResponse) Descriptor() ([]byte, []int)
func (*RemoveCurrencyResponse) ProtoMessage ¶
func (*RemoveCurrencyResponse) ProtoMessage()
func (*RemoveCurrencyResponse) Reset ¶
func (m *RemoveCurrencyResponse) Reset()
func (*RemoveCurrencyResponse) String ¶
func (m *RemoveCurrencyResponse) String() string
func (*RemoveCurrencyResponse) XXX_DiscardUnknown ¶
func (m *RemoveCurrencyResponse) XXX_DiscardUnknown()
func (*RemoveCurrencyResponse) XXX_Marshal ¶
func (m *RemoveCurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveCurrencyResponse) XXX_Merge ¶
func (m *RemoveCurrencyResponse) XXX_Merge(src proto.Message)
func (*RemoveCurrencyResponse) XXX_Size ¶
func (m *RemoveCurrencyResponse) XXX_Size() int
func (*RemoveCurrencyResponse) XXX_Unmarshal ¶
func (m *RemoveCurrencyResponse) XXX_Unmarshal(b []byte) error
type RemoveOrderRequest ¶
type RemoveOrderRequest struct { // The local id of the order to remove. OrderId string `protobuf:"bytes,1,opt,name=order_id,proto3" json:"order_id,omitempty"` // The quantity to remove from the order denominated in satoshis. // If zero or unspecified then the entire order is removed. Quantity uint64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveOrderRequest) Descriptor ¶
func (*RemoveOrderRequest) Descriptor() ([]byte, []int)
func (*RemoveOrderRequest) GetOrderId ¶
func (m *RemoveOrderRequest) GetOrderId() string
func (*RemoveOrderRequest) GetQuantity ¶
func (m *RemoveOrderRequest) GetQuantity() uint64
func (*RemoveOrderRequest) ProtoMessage ¶
func (*RemoveOrderRequest) ProtoMessage()
func (*RemoveOrderRequest) Reset ¶
func (m *RemoveOrderRequest) Reset()
func (*RemoveOrderRequest) String ¶
func (m *RemoveOrderRequest) String() string
func (*RemoveOrderRequest) XXX_DiscardUnknown ¶
func (m *RemoveOrderRequest) XXX_DiscardUnknown()
func (*RemoveOrderRequest) XXX_Marshal ¶
func (m *RemoveOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveOrderRequest) XXX_Merge ¶
func (m *RemoveOrderRequest) XXX_Merge(src proto.Message)
func (*RemoveOrderRequest) XXX_Size ¶
func (m *RemoveOrderRequest) XXX_Size() int
func (*RemoveOrderRequest) XXX_Unmarshal ¶
func (m *RemoveOrderRequest) XXX_Unmarshal(b []byte) error
type RemoveOrderResponse ¶
type RemoveOrderResponse struct { // Any portion of the order that was on hold due to ongoing swaps at the time of the request // and could not be removed until after the swaps finish. QuantityOnHold uint64 `protobuf:"varint,1,opt,name=quantity_on_hold,json=hold,proto3" json:"quantity_on_hold,omitempty"` // Remaining portion of the order if it was a partial removal. RemainingQuantity uint64 `protobuf:"varint,2,opt,name=remaining_quantity,proto3" json:"remaining_quantity,omitempty"` // Successfully removed portion of the order. RemovedQuantity uint64 `protobuf:"varint,3,opt,name=removed_quantity,proto3" json:"removed_quantity,omitempty"` // Removed order's pairId. (e.g. ETH/BTC) PairId string `protobuf:"bytes,4,opt,name=pair_id,proto3" json:"pair_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveOrderResponse) Descriptor ¶
func (*RemoveOrderResponse) Descriptor() ([]byte, []int)
func (*RemoveOrderResponse) GetPairId ¶ added in v1.3.0
func (m *RemoveOrderResponse) GetPairId() string
func (*RemoveOrderResponse) GetQuantityOnHold ¶
func (m *RemoveOrderResponse) GetQuantityOnHold() uint64
func (*RemoveOrderResponse) GetRemainingQuantity ¶ added in v1.3.0
func (m *RemoveOrderResponse) GetRemainingQuantity() uint64
func (*RemoveOrderResponse) GetRemovedQuantity ¶ added in v1.3.0
func (m *RemoveOrderResponse) GetRemovedQuantity() uint64
func (*RemoveOrderResponse) ProtoMessage ¶
func (*RemoveOrderResponse) ProtoMessage()
func (*RemoveOrderResponse) Reset ¶
func (m *RemoveOrderResponse) Reset()
func (*RemoveOrderResponse) String ¶
func (m *RemoveOrderResponse) String() string
func (*RemoveOrderResponse) XXX_DiscardUnknown ¶
func (m *RemoveOrderResponse) XXX_DiscardUnknown()
func (*RemoveOrderResponse) XXX_Marshal ¶
func (m *RemoveOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveOrderResponse) XXX_Merge ¶
func (m *RemoveOrderResponse) XXX_Merge(src proto.Message)
func (*RemoveOrderResponse) XXX_Size ¶
func (m *RemoveOrderResponse) XXX_Size() int
func (*RemoveOrderResponse) XXX_Unmarshal ¶
func (m *RemoveOrderResponse) XXX_Unmarshal(b []byte) error
type RemovePairRequest ¶
type RemovePairRequest struct { // The trading pair ticker to remove in a format such as "LTC/BTC". PairId string `protobuf:"bytes,1,opt,name=pair_id,proto3" json:"pair_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePairRequest) Descriptor ¶
func (*RemovePairRequest) Descriptor() ([]byte, []int)
func (*RemovePairRequest) GetPairId ¶
func (m *RemovePairRequest) GetPairId() string
func (*RemovePairRequest) ProtoMessage ¶
func (*RemovePairRequest) ProtoMessage()
func (*RemovePairRequest) Reset ¶
func (m *RemovePairRequest) Reset()
func (*RemovePairRequest) String ¶
func (m *RemovePairRequest) String() string
func (*RemovePairRequest) XXX_DiscardUnknown ¶
func (m *RemovePairRequest) XXX_DiscardUnknown()
func (*RemovePairRequest) XXX_Marshal ¶
func (m *RemovePairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePairRequest) XXX_Merge ¶
func (m *RemovePairRequest) XXX_Merge(src proto.Message)
func (*RemovePairRequest) XXX_Size ¶
func (m *RemovePairRequest) XXX_Size() int
func (*RemovePairRequest) XXX_Unmarshal ¶
func (m *RemovePairRequest) XXX_Unmarshal(b []byte) error
type RemovePairResponse ¶
type RemovePairResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePairResponse) Descriptor ¶
func (*RemovePairResponse) Descriptor() ([]byte, []int)
func (*RemovePairResponse) ProtoMessage ¶
func (*RemovePairResponse) ProtoMessage()
func (*RemovePairResponse) Reset ¶
func (m *RemovePairResponse) Reset()
func (*RemovePairResponse) String ¶
func (m *RemovePairResponse) String() string
func (*RemovePairResponse) XXX_DiscardUnknown ¶
func (m *RemovePairResponse) XXX_DiscardUnknown()
func (*RemovePairResponse) XXX_Marshal ¶
func (m *RemovePairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePairResponse) XXX_Merge ¶
func (m *RemovePairResponse) XXX_Merge(src proto.Message)
func (*RemovePairResponse) XXX_Size ¶
func (m *RemovePairResponse) XXX_Size() int
func (*RemovePairResponse) XXX_Unmarshal ¶
func (m *RemovePairResponse) XXX_Unmarshal(b []byte) error
type RestoreNodeRequest ¶
type RestoreNodeRequest struct { // The 24 word mnemonic to recover the xud identity key and underlying wallets SeedMnemonic []string `protobuf:"bytes,1,rep,name=seed_mnemonic,json=seedMnemonic,proto3" json:"seed_mnemonic,omitempty"` // The password in utf-8 with which to encrypt the restored xud node key as well // as any restored underlying wallets. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // A map between the currency of the LND and its multi channel SCB LndBackups map[string][]byte `` /* 179-byte string literal not displayed */ // The XUD database backup XudDatabase []byte `protobuf:"bytes,6,opt,name=xud_database,json=xudDatabase,proto3" json:"xud_database,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreNodeRequest) Descriptor ¶
func (*RestoreNodeRequest) Descriptor() ([]byte, []int)
func (*RestoreNodeRequest) GetLndBackups ¶
func (m *RestoreNodeRequest) GetLndBackups() map[string][]byte
func (*RestoreNodeRequest) GetPassword ¶
func (m *RestoreNodeRequest) GetPassword() string
func (*RestoreNodeRequest) GetSeedMnemonic ¶
func (m *RestoreNodeRequest) GetSeedMnemonic() []string
func (*RestoreNodeRequest) GetXudDatabase ¶
func (m *RestoreNodeRequest) GetXudDatabase() []byte
func (*RestoreNodeRequest) ProtoMessage ¶
func (*RestoreNodeRequest) ProtoMessage()
func (*RestoreNodeRequest) Reset ¶
func (m *RestoreNodeRequest) Reset()
func (*RestoreNodeRequest) String ¶
func (m *RestoreNodeRequest) String() string
func (*RestoreNodeRequest) XXX_DiscardUnknown ¶
func (m *RestoreNodeRequest) XXX_DiscardUnknown()
func (*RestoreNodeRequest) XXX_Marshal ¶
func (m *RestoreNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreNodeRequest) XXX_Merge ¶
func (m *RestoreNodeRequest) XXX_Merge(src proto.Message)
func (*RestoreNodeRequest) XXX_Size ¶
func (m *RestoreNodeRequest) XXX_Size() int
func (*RestoreNodeRequest) XXX_Unmarshal ¶
func (m *RestoreNodeRequest) XXX_Unmarshal(b []byte) error
type RestoreNodeResponse ¶
type RestoreNodeResponse struct { // The list of lnd clients that were initialized. RestoredLnds []string `protobuf:"bytes,1,rep,name=restored_lnds,json=restoredLnds,proto3" json:"restored_lnds,omitempty"` // Whether the connext wallet was initialized. RestoredConnext bool `protobuf:"varint,2,opt,name=restored_connext,json=restoredConnext,proto3" json:"restored_connext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreNodeResponse) Descriptor ¶
func (*RestoreNodeResponse) Descriptor() ([]byte, []int)
func (*RestoreNodeResponse) GetRestoredConnext ¶
func (m *RestoreNodeResponse) GetRestoredConnext() bool
func (*RestoreNodeResponse) GetRestoredLnds ¶
func (m *RestoreNodeResponse) GetRestoredLnds() []string
func (*RestoreNodeResponse) ProtoMessage ¶
func (*RestoreNodeResponse) ProtoMessage()
func (*RestoreNodeResponse) Reset ¶
func (m *RestoreNodeResponse) Reset()
func (*RestoreNodeResponse) String ¶
func (m *RestoreNodeResponse) String() string
func (*RestoreNodeResponse) XXX_DiscardUnknown ¶
func (m *RestoreNodeResponse) XXX_DiscardUnknown()
func (*RestoreNodeResponse) XXX_Marshal ¶
func (m *RestoreNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreNodeResponse) XXX_Merge ¶
func (m *RestoreNodeResponse) XXX_Merge(src proto.Message)
func (*RestoreNodeResponse) XXX_Size ¶
func (m *RestoreNodeResponse) XXX_Size() int
func (*RestoreNodeResponse) XXX_Unmarshal ¶
func (m *RestoreNodeResponse) XXX_Unmarshal(b []byte) error
type SetLogLevelRequest ¶ added in v1.3.0
type SetLogLevelRequest struct { LogLevel LogLevel `protobuf:"varint,1,opt,name=log_level,proto3,enum=xudrpc.LogLevel" json:"log_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetLogLevelRequest) Descriptor ¶ added in v1.3.0
func (*SetLogLevelRequest) Descriptor() ([]byte, []int)
func (*SetLogLevelRequest) GetLogLevel ¶ added in v1.3.0
func (m *SetLogLevelRequest) GetLogLevel() LogLevel
func (*SetLogLevelRequest) ProtoMessage ¶ added in v1.3.0
func (*SetLogLevelRequest) ProtoMessage()
func (*SetLogLevelRequest) Reset ¶ added in v1.3.0
func (m *SetLogLevelRequest) Reset()
func (*SetLogLevelRequest) String ¶ added in v1.3.0
func (m *SetLogLevelRequest) String() string
func (*SetLogLevelRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *SetLogLevelRequest) XXX_DiscardUnknown()
func (*SetLogLevelRequest) XXX_Marshal ¶ added in v1.3.0
func (m *SetLogLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetLogLevelRequest) XXX_Merge ¶ added in v1.3.0
func (m *SetLogLevelRequest) XXX_Merge(src proto.Message)
func (*SetLogLevelRequest) XXX_Size ¶ added in v1.3.0
func (m *SetLogLevelRequest) XXX_Size() int
func (*SetLogLevelRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *SetLogLevelRequest) XXX_Unmarshal(b []byte) error
type SetLogLevelResponse ¶ added in v1.3.0
type SetLogLevelResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetLogLevelResponse) Descriptor ¶ added in v1.3.0
func (*SetLogLevelResponse) Descriptor() ([]byte, []int)
func (*SetLogLevelResponse) ProtoMessage ¶ added in v1.3.0
func (*SetLogLevelResponse) ProtoMessage()
func (*SetLogLevelResponse) Reset ¶ added in v1.3.0
func (m *SetLogLevelResponse) Reset()
func (*SetLogLevelResponse) String ¶ added in v1.3.0
func (m *SetLogLevelResponse) String() string
func (*SetLogLevelResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *SetLogLevelResponse) XXX_DiscardUnknown()
func (*SetLogLevelResponse) XXX_Marshal ¶ added in v1.3.0
func (m *SetLogLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetLogLevelResponse) XXX_Merge ¶ added in v1.3.0
func (m *SetLogLevelResponse) XXX_Merge(src proto.Message)
func (*SetLogLevelResponse) XXX_Size ¶ added in v1.3.0
func (m *SetLogLevelResponse) XXX_Size() int
func (*SetLogLevelResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *SetLogLevelResponse) XXX_Unmarshal(b []byte) error
type ShutdownRequest ¶
type ShutdownRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShutdownRequest) Descriptor ¶
func (*ShutdownRequest) Descriptor() ([]byte, []int)
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) Reset ¶
func (m *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (m *ShutdownRequest) String() string
func (*ShutdownRequest) XXX_DiscardUnknown ¶
func (m *ShutdownRequest) XXX_DiscardUnknown()
func (*ShutdownRequest) XXX_Marshal ¶
func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShutdownRequest) XXX_Merge ¶
func (m *ShutdownRequest) XXX_Merge(src proto.Message)
func (*ShutdownRequest) XXX_Size ¶
func (m *ShutdownRequest) XXX_Size() int
func (*ShutdownRequest) XXX_Unmarshal ¶
func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error
type ShutdownResponse ¶
type ShutdownResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShutdownResponse) Descriptor ¶
func (*ShutdownResponse) Descriptor() ([]byte, []int)
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) Reset ¶
func (m *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (m *ShutdownResponse) String() string
func (*ShutdownResponse) XXX_DiscardUnknown ¶
func (m *ShutdownResponse) XXX_DiscardUnknown()
func (*ShutdownResponse) XXX_Marshal ¶
func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShutdownResponse) XXX_Merge ¶
func (m *ShutdownResponse) XXX_Merge(src proto.Message)
func (*ShutdownResponse) XXX_Size ¶
func (m *ShutdownResponse) XXX_Size() int
func (*ShutdownResponse) XXX_Unmarshal ¶
func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error
type SubscribeOrdersRequest ¶
type SubscribeOrdersRequest struct { // Whether to transmit all existing active orders upon establishing the stream. Existing bool `protobuf:"varint,1,opt,name=existing,proto3" json:"existing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscribeOrdersRequest) Descriptor ¶
func (*SubscribeOrdersRequest) Descriptor() ([]byte, []int)
func (*SubscribeOrdersRequest) GetExisting ¶
func (m *SubscribeOrdersRequest) GetExisting() bool
func (*SubscribeOrdersRequest) ProtoMessage ¶
func (*SubscribeOrdersRequest) ProtoMessage()
func (*SubscribeOrdersRequest) Reset ¶
func (m *SubscribeOrdersRequest) Reset()
func (*SubscribeOrdersRequest) String ¶
func (m *SubscribeOrdersRequest) String() string
func (*SubscribeOrdersRequest) XXX_DiscardUnknown ¶
func (m *SubscribeOrdersRequest) XXX_DiscardUnknown()
func (*SubscribeOrdersRequest) XXX_Marshal ¶
func (m *SubscribeOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeOrdersRequest) XXX_Merge ¶
func (m *SubscribeOrdersRequest) XXX_Merge(src proto.Message)
func (*SubscribeOrdersRequest) XXX_Size ¶
func (m *SubscribeOrdersRequest) XXX_Size() int
func (*SubscribeOrdersRequest) XXX_Unmarshal ¶
func (m *SubscribeOrdersRequest) XXX_Unmarshal(b []byte) error
type SubscribeSwapsAcceptedRequest ¶
type SubscribeSwapsAcceptedRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscribeSwapsAcceptedRequest) Descriptor ¶
func (*SubscribeSwapsAcceptedRequest) Descriptor() ([]byte, []int)
func (*SubscribeSwapsAcceptedRequest) ProtoMessage ¶
func (*SubscribeSwapsAcceptedRequest) ProtoMessage()
func (*SubscribeSwapsAcceptedRequest) Reset ¶
func (m *SubscribeSwapsAcceptedRequest) Reset()
func (*SubscribeSwapsAcceptedRequest) String ¶
func (m *SubscribeSwapsAcceptedRequest) String() string
func (*SubscribeSwapsAcceptedRequest) XXX_DiscardUnknown ¶
func (m *SubscribeSwapsAcceptedRequest) XXX_DiscardUnknown()
func (*SubscribeSwapsAcceptedRequest) XXX_Marshal ¶
func (m *SubscribeSwapsAcceptedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeSwapsAcceptedRequest) XXX_Merge ¶
func (m *SubscribeSwapsAcceptedRequest) XXX_Merge(src proto.Message)
func (*SubscribeSwapsAcceptedRequest) XXX_Size ¶
func (m *SubscribeSwapsAcceptedRequest) XXX_Size() int
func (*SubscribeSwapsAcceptedRequest) XXX_Unmarshal ¶
func (m *SubscribeSwapsAcceptedRequest) XXX_Unmarshal(b []byte) error
type SubscribeSwapsRequest ¶
type SubscribeSwapsRequest struct { // Whether to include the results for swaps initiated via the PlaceOrder or ExecuteSwap calls. // These swap results are also returned in the responses for the respective calls. IncludeTaker bool `protobuf:"varint,1,opt,name=include_taker,proto3" json:"include_taker,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscribeSwapsRequest) Descriptor ¶
func (*SubscribeSwapsRequest) Descriptor() ([]byte, []int)
func (*SubscribeSwapsRequest) GetIncludeTaker ¶
func (m *SubscribeSwapsRequest) GetIncludeTaker() bool
func (*SubscribeSwapsRequest) ProtoMessage ¶
func (*SubscribeSwapsRequest) ProtoMessage()
func (*SubscribeSwapsRequest) Reset ¶
func (m *SubscribeSwapsRequest) Reset()
func (*SubscribeSwapsRequest) String ¶
func (m *SubscribeSwapsRequest) String() string
func (*SubscribeSwapsRequest) XXX_DiscardUnknown ¶
func (m *SubscribeSwapsRequest) XXX_DiscardUnknown()
func (*SubscribeSwapsRequest) XXX_Marshal ¶
func (m *SubscribeSwapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeSwapsRequest) XXX_Merge ¶
func (m *SubscribeSwapsRequest) XXX_Merge(src proto.Message)
func (*SubscribeSwapsRequest) XXX_Size ¶
func (m *SubscribeSwapsRequest) XXX_Size() int
func (*SubscribeSwapsRequest) XXX_Unmarshal ¶
func (m *SubscribeSwapsRequest) XXX_Unmarshal(b []byte) error
type SwapAccepted ¶
type SwapAccepted struct { // The global UUID for the order that was accepted to be swapped. OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // The local id for the order that was accepted to be swapped. LocalId string `protobuf:"bytes,2,opt,name=local_id,proto3" json:"local_id,omitempty"` // The trading pair that the swap is for. PairId string `protobuf:"bytes,3,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The order quantity that was accepted to be swapped. Quantity uint64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // The price for the swap. Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"` // The node pub key of the peer that executed this order. PeerPubKey string `protobuf:"bytes,6,opt,name=peer_pub_key,proto3" json:"peer_pub_key,omitempty"` // The hex-encoded payment hash for the swap. RHash string `protobuf:"bytes,7,opt,name=r_hash,proto3" json:"r_hash,omitempty"` // The amount received denominated in satoshis. AmountReceiving uint64 `protobuf:"varint,8,opt,name=amount_receiving,proto3" json:"amount_receiving,omitempty"` // The amount sent denominated in satoshis. AmountSending uint64 `protobuf:"varint,9,opt,name=amount_sending,proto3" json:"amount_sending,omitempty"` // The ticker symbol of the currency received. CurrencyReceiving string `protobuf:"bytes,10,opt,name=currency_receiving,proto3" json:"currency_receiving,omitempty"` // The ticker symbol of the currency sent. CurrencySending string `protobuf:"bytes,11,opt,name=currency_sending,proto3" json:"currency_sending,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SwapAccepted) Descriptor ¶
func (*SwapAccepted) Descriptor() ([]byte, []int)
func (*SwapAccepted) GetAmountReceiving ¶
func (m *SwapAccepted) GetAmountReceiving() uint64
func (*SwapAccepted) GetAmountSending ¶
func (m *SwapAccepted) GetAmountSending() uint64
func (*SwapAccepted) GetCurrencyReceiving ¶
func (m *SwapAccepted) GetCurrencyReceiving() string
func (*SwapAccepted) GetCurrencySending ¶
func (m *SwapAccepted) GetCurrencySending() string
func (*SwapAccepted) GetLocalId ¶
func (m *SwapAccepted) GetLocalId() string
func (*SwapAccepted) GetOrderId ¶
func (m *SwapAccepted) GetOrderId() string
func (*SwapAccepted) GetPairId ¶
func (m *SwapAccepted) GetPairId() string
func (*SwapAccepted) GetPeerPubKey ¶
func (m *SwapAccepted) GetPeerPubKey() string
func (*SwapAccepted) GetPrice ¶
func (m *SwapAccepted) GetPrice() float64
func (*SwapAccepted) GetQuantity ¶
func (m *SwapAccepted) GetQuantity() uint64
func (*SwapAccepted) GetRHash ¶
func (m *SwapAccepted) GetRHash() string
func (*SwapAccepted) ProtoMessage ¶
func (*SwapAccepted) ProtoMessage()
func (*SwapAccepted) Reset ¶
func (m *SwapAccepted) Reset()
func (*SwapAccepted) String ¶
func (m *SwapAccepted) String() string
func (*SwapAccepted) XXX_DiscardUnknown ¶
func (m *SwapAccepted) XXX_DiscardUnknown()
func (*SwapAccepted) XXX_Marshal ¶
func (m *SwapAccepted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapAccepted) XXX_Merge ¶
func (m *SwapAccepted) XXX_Merge(src proto.Message)
func (*SwapAccepted) XXX_Size ¶
func (m *SwapAccepted) XXX_Size() int
func (*SwapAccepted) XXX_Unmarshal ¶
func (m *SwapAccepted) XXX_Unmarshal(b []byte) error
type SwapFailure ¶
type SwapFailure struct { // The global UUID for the order that failed the swap. OrderId string `protobuf:"bytes,1,opt,name=order_id,proto3" json:"order_id,omitempty"` // The trading pair that the swap is for. PairId string `protobuf:"bytes,2,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The order quantity that was attempted to be swapped. Quantity uint64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` // The node pub key of the peer that we attempted to swap with. PeerPubKey string `protobuf:"bytes,4,opt,name=peer_pub_key,proto3" json:"peer_pub_key,omitempty"` // The reason why the swap failed. FailureReason string `protobuf:"bytes,5,opt,name=failure_reason,proto3" json:"failure_reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SwapFailure) Descriptor ¶
func (*SwapFailure) Descriptor() ([]byte, []int)
func (*SwapFailure) GetFailureReason ¶
func (m *SwapFailure) GetFailureReason() string
func (*SwapFailure) GetOrderId ¶
func (m *SwapFailure) GetOrderId() string
func (*SwapFailure) GetPairId ¶
func (m *SwapFailure) GetPairId() string
func (*SwapFailure) GetPeerPubKey ¶
func (m *SwapFailure) GetPeerPubKey() string
func (*SwapFailure) GetQuantity ¶
func (m *SwapFailure) GetQuantity() uint64
func (*SwapFailure) ProtoMessage ¶
func (*SwapFailure) ProtoMessage()
func (*SwapFailure) Reset ¶
func (m *SwapFailure) Reset()
func (*SwapFailure) String ¶
func (m *SwapFailure) String() string
func (*SwapFailure) XXX_DiscardUnknown ¶
func (m *SwapFailure) XXX_DiscardUnknown()
func (*SwapFailure) XXX_Marshal ¶
func (m *SwapFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapFailure) XXX_Merge ¶
func (m *SwapFailure) XXX_Merge(src proto.Message)
func (*SwapFailure) XXX_Size ¶
func (m *SwapFailure) XXX_Size() int
func (*SwapFailure) XXX_Unmarshal ¶
func (m *SwapFailure) XXX_Unmarshal(b []byte) error
type SwapSuccess ¶
type SwapSuccess struct { // The global UUID for the order that was swapped. OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // The local id for the order that was swapped. LocalId string `protobuf:"bytes,2,opt,name=local_id,proto3" json:"local_id,omitempty"` // The trading pair that the swap is for. PairId string `protobuf:"bytes,3,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The order quantity that was swapped. Quantity uint64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // The hex-encoded payment hash for the swap. RHash string `protobuf:"bytes,5,opt,name=r_hash,proto3" json:"r_hash,omitempty"` // The amount received denominated in satoshis. AmountReceived uint64 `protobuf:"varint,8,opt,name=amount_received,proto3" json:"amount_received,omitempty"` // The amount sent denominated in satoshis. AmountSent uint64 `protobuf:"varint,9,opt,name=amount_sent,proto3" json:"amount_sent,omitempty"` // The node pub key of the peer that executed this order. PeerPubKey string `protobuf:"bytes,10,opt,name=peer_pub_key,proto3" json:"peer_pub_key,omitempty"` // Our role in the swap, either MAKER or TAKER. Role Role `protobuf:"varint,11,opt,name=role,proto3,enum=xudrpc.Role" json:"role,omitempty"` // The ticker symbol of the currency received. CurrencyReceived string `protobuf:"bytes,12,opt,name=currency_received,proto3" json:"currency_received,omitempty"` // The ticker symbol of the currency sent. CurrencySent string `protobuf:"bytes,13,opt,name=currency_sent,proto3" json:"currency_sent,omitempty"` // The hex-encoded preimage. RPreimage string `protobuf:"bytes,14,opt,name=r_preimage,proto3" json:"r_preimage,omitempty"` // The price used for the swap. Price float64 `protobuf:"fixed64,15,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SwapSuccess) Descriptor ¶
func (*SwapSuccess) Descriptor() ([]byte, []int)
func (*SwapSuccess) GetAmountReceived ¶
func (m *SwapSuccess) GetAmountReceived() uint64
func (*SwapSuccess) GetAmountSent ¶
func (m *SwapSuccess) GetAmountSent() uint64
func (*SwapSuccess) GetCurrencyReceived ¶
func (m *SwapSuccess) GetCurrencyReceived() string
func (*SwapSuccess) GetCurrencySent ¶
func (m *SwapSuccess) GetCurrencySent() string
func (*SwapSuccess) GetLocalId ¶
func (m *SwapSuccess) GetLocalId() string
func (*SwapSuccess) GetOrderId ¶
func (m *SwapSuccess) GetOrderId() string
func (*SwapSuccess) GetPairId ¶
func (m *SwapSuccess) GetPairId() string
func (*SwapSuccess) GetPeerPubKey ¶
func (m *SwapSuccess) GetPeerPubKey() string
func (*SwapSuccess) GetPrice ¶
func (m *SwapSuccess) GetPrice() float64
func (*SwapSuccess) GetQuantity ¶
func (m *SwapSuccess) GetQuantity() uint64
func (*SwapSuccess) GetRHash ¶
func (m *SwapSuccess) GetRHash() string
func (*SwapSuccess) GetRPreimage ¶
func (m *SwapSuccess) GetRPreimage() string
func (*SwapSuccess) GetRole ¶
func (m *SwapSuccess) GetRole() Role
func (*SwapSuccess) ProtoMessage ¶
func (*SwapSuccess) ProtoMessage()
func (*SwapSuccess) Reset ¶
func (m *SwapSuccess) Reset()
func (*SwapSuccess) String ¶
func (m *SwapSuccess) String() string
func (*SwapSuccess) XXX_DiscardUnknown ¶
func (m *SwapSuccess) XXX_DiscardUnknown()
func (*SwapSuccess) XXX_Marshal ¶
func (m *SwapSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapSuccess) XXX_Merge ¶
func (m *SwapSuccess) XXX_Merge(src proto.Message)
func (*SwapSuccess) XXX_Size ¶
func (m *SwapSuccess) XXX_Size() int
func (*SwapSuccess) XXX_Unmarshal ¶
func (m *SwapSuccess) XXX_Unmarshal(b []byte) error
type Trade ¶
type Trade struct { // The maker order involved in this trade. MakerOrder *Order `protobuf:"bytes,1,opt,name=maker_order,proto3" json:"maker_order,omitempty"` // The taker order involved in this trade. Note that when a trade occurs from // a remote peer filling one of our orders, we do not receive the order (only a // swap request) and this field will be empty. TakerOrder *Order `protobuf:"bytes,2,opt,name=taker_order,proto3" json:"taker_order,omitempty"` // The payment hash involved in this trade. RHash string `protobuf:"bytes,3,opt,name=r_hash,proto3" json:"r_hash,omitempty"` // The quantity transacted in this trade. Quantity uint64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` // The trading pair for this trade. PairId string `protobuf:"bytes,5,opt,name=pair_id,proto3" json:"pair_id,omitempty"` // The price used for the trade. Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"` // Our role in the trade. Role Role `protobuf:"varint,7,opt,name=role,proto3,enum=xudrpc.Role" json:"role,omitempty"` // The epoch time in milliseconds that this trade was executed ExecutedAt uint64 `protobuf:"varint,8,opt,name=executed_at,proto3" json:"executed_at,omitempty"` // Whether this node was on the buy or sell side of the trade - or both in case of internal trades. Side OrderSide `protobuf:"varint,9,opt,name=side,proto3,enum=xudrpc.OrderSide" json:"side,omitempty"` // The counterparty to this trade, if applicable. Counterparty *NodeIdentifier `protobuf:"bytes,10,opt,name=counterparty,proto3" json:"counterparty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trade) Descriptor ¶
func (*Trade) GetCounterparty ¶
func (m *Trade) GetCounterparty() *NodeIdentifier
func (*Trade) GetExecutedAt ¶
func (*Trade) GetMakerOrder ¶
func (*Trade) GetQuantity ¶
func (*Trade) GetTakerOrder ¶
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) XXX_DiscardUnknown ¶
func (m *Trade) XXX_DiscardUnknown()
func (*Trade) XXX_Marshal ¶
func (*Trade) XXX_Unmarshal ¶
type TradeHistoryRequest ¶
type TradeHistoryRequest struct { // The maximum number of trades to return Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradeHistoryRequest) Descriptor ¶
func (*TradeHistoryRequest) Descriptor() ([]byte, []int)
func (*TradeHistoryRequest) GetLimit ¶
func (m *TradeHistoryRequest) GetLimit() uint32
func (*TradeHistoryRequest) ProtoMessage ¶
func (*TradeHistoryRequest) ProtoMessage()
func (*TradeHistoryRequest) Reset ¶
func (m *TradeHistoryRequest) Reset()
func (*TradeHistoryRequest) String ¶
func (m *TradeHistoryRequest) String() string
func (*TradeHistoryRequest) XXX_DiscardUnknown ¶
func (m *TradeHistoryRequest) XXX_DiscardUnknown()
func (*TradeHistoryRequest) XXX_Marshal ¶
func (m *TradeHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeHistoryRequest) XXX_Merge ¶
func (m *TradeHistoryRequest) XXX_Merge(src proto.Message)
func (*TradeHistoryRequest) XXX_Size ¶
func (m *TradeHistoryRequest) XXX_Size() int
func (*TradeHistoryRequest) XXX_Unmarshal ¶
func (m *TradeHistoryRequest) XXX_Unmarshal(b []byte) error
type TradeHistoryResponse ¶
type TradeHistoryResponse struct { Trades []*Trade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradeHistoryResponse) Descriptor ¶
func (*TradeHistoryResponse) Descriptor() ([]byte, []int)
func (*TradeHistoryResponse) GetTrades ¶
func (m *TradeHistoryResponse) GetTrades() []*Trade
func (*TradeHistoryResponse) ProtoMessage ¶
func (*TradeHistoryResponse) ProtoMessage()
func (*TradeHistoryResponse) Reset ¶
func (m *TradeHistoryResponse) Reset()
func (*TradeHistoryResponse) String ¶
func (m *TradeHistoryResponse) String() string
func (*TradeHistoryResponse) XXX_DiscardUnknown ¶
func (m *TradeHistoryResponse) XXX_DiscardUnknown()
func (*TradeHistoryResponse) XXX_Marshal ¶
func (m *TradeHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeHistoryResponse) XXX_Merge ¶
func (m *TradeHistoryResponse) XXX_Merge(src proto.Message)
func (*TradeHistoryResponse) XXX_Size ¶
func (m *TradeHistoryResponse) XXX_Size() int
func (*TradeHistoryResponse) XXX_Unmarshal ¶
func (m *TradeHistoryResponse) XXX_Unmarshal(b []byte) error
type TradingLimits ¶
type TradingLimits struct { // Maximum outbound limit for a sell order denominated in satoshis. MaxSell uint64 `protobuf:"varint,1,opt,name=max_sell,proto3" json:"max_sell,omitempty"` // Maximum inbound limit for a buy order denominated in satoshis. MaxBuy uint64 `protobuf:"varint,2,opt,name=max_buy,proto3" json:"max_buy,omitempty"` // The outbound amount reserved for open sell orders. ReservedSell uint64 `protobuf:"varint,3,opt,name=reserved_sell,proto3" json:"reserved_sell,omitempty"` // The inbound amount reserved for open buy orders. ReservedBuy uint64 `protobuf:"varint,4,opt,name=reserved_buy,proto3" json:"reserved_buy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradingLimits) Descriptor ¶
func (*TradingLimits) Descriptor() ([]byte, []int)
func (*TradingLimits) GetMaxBuy ¶
func (m *TradingLimits) GetMaxBuy() uint64
func (*TradingLimits) GetMaxSell ¶
func (m *TradingLimits) GetMaxSell() uint64
func (*TradingLimits) GetReservedBuy ¶
func (m *TradingLimits) GetReservedBuy() uint64
func (*TradingLimits) GetReservedSell ¶
func (m *TradingLimits) GetReservedSell() uint64
func (*TradingLimits) ProtoMessage ¶
func (*TradingLimits) ProtoMessage()
func (*TradingLimits) Reset ¶
func (m *TradingLimits) Reset()
func (*TradingLimits) String ¶
func (m *TradingLimits) String() string
func (*TradingLimits) XXX_DiscardUnknown ¶
func (m *TradingLimits) XXX_DiscardUnknown()
func (*TradingLimits) XXX_Marshal ¶
func (m *TradingLimits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingLimits) XXX_Merge ¶
func (m *TradingLimits) XXX_Merge(src proto.Message)
func (*TradingLimits) XXX_Size ¶
func (m *TradingLimits) XXX_Size() int
func (*TradingLimits) XXX_Unmarshal ¶
func (m *TradingLimits) XXX_Unmarshal(b []byte) error
type TradingLimitsRequest ¶
type TradingLimitsRequest struct { // The ticker symbol of the currency to query for, if unspecified then trading limits for all supported // currencies are queried. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradingLimitsRequest) Descriptor ¶
func (*TradingLimitsRequest) Descriptor() ([]byte, []int)
func (*TradingLimitsRequest) GetCurrency ¶
func (m *TradingLimitsRequest) GetCurrency() string
func (*TradingLimitsRequest) ProtoMessage ¶
func (*TradingLimitsRequest) ProtoMessage()
func (*TradingLimitsRequest) Reset ¶
func (m *TradingLimitsRequest) Reset()
func (*TradingLimitsRequest) String ¶
func (m *TradingLimitsRequest) String() string
func (*TradingLimitsRequest) XXX_DiscardUnknown ¶
func (m *TradingLimitsRequest) XXX_DiscardUnknown()
func (*TradingLimitsRequest) XXX_Marshal ¶
func (m *TradingLimitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingLimitsRequest) XXX_Merge ¶
func (m *TradingLimitsRequest) XXX_Merge(src proto.Message)
func (*TradingLimitsRequest) XXX_Size ¶
func (m *TradingLimitsRequest) XXX_Size() int
func (*TradingLimitsRequest) XXX_Unmarshal ¶
func (m *TradingLimitsRequest) XXX_Unmarshal(b []byte) error
type TradingLimitsResponse ¶
type TradingLimitsResponse struct { // A map between currency ticker symbols and their trading limits. Limits map[string]*TradingLimits `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradingLimitsResponse) Descriptor ¶
func (*TradingLimitsResponse) Descriptor() ([]byte, []int)
func (*TradingLimitsResponse) GetLimits ¶
func (m *TradingLimitsResponse) GetLimits() map[string]*TradingLimits
func (*TradingLimitsResponse) ProtoMessage ¶
func (*TradingLimitsResponse) ProtoMessage()
func (*TradingLimitsResponse) Reset ¶
func (m *TradingLimitsResponse) Reset()
func (*TradingLimitsResponse) String ¶
func (m *TradingLimitsResponse) String() string
func (*TradingLimitsResponse) XXX_DiscardUnknown ¶
func (m *TradingLimitsResponse) XXX_DiscardUnknown()
func (*TradingLimitsResponse) XXX_Marshal ¶
func (m *TradingLimitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradingLimitsResponse) XXX_Merge ¶
func (m *TradingLimitsResponse) XXX_Merge(src proto.Message)
func (*TradingLimitsResponse) XXX_Size ¶
func (m *TradingLimitsResponse) XXX_Size() int
func (*TradingLimitsResponse) XXX_Unmarshal ¶
func (m *TradingLimitsResponse) XXX_Unmarshal(b []byte) error
type UnbanRequest ¶
type UnbanRequest struct { // The node pub key or alias of the peer to unban. NodeIdentifier string `protobuf:"bytes,1,opt,name=node_identifier,proto3" json:"node_identifier,omitempty"` // Whether to attempt to connect to the peer after it is unbanned. Reconnect bool `protobuf:"varint,2,opt,name=reconnect,proto3" json:"reconnect,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnbanRequest) Descriptor ¶
func (*UnbanRequest) Descriptor() ([]byte, []int)
func (*UnbanRequest) GetNodeIdentifier ¶
func (m *UnbanRequest) GetNodeIdentifier() string
func (*UnbanRequest) GetReconnect ¶
func (m *UnbanRequest) GetReconnect() bool
func (*UnbanRequest) ProtoMessage ¶
func (*UnbanRequest) ProtoMessage()
func (*UnbanRequest) Reset ¶
func (m *UnbanRequest) Reset()
func (*UnbanRequest) String ¶
func (m *UnbanRequest) String() string
func (*UnbanRequest) XXX_DiscardUnknown ¶
func (m *UnbanRequest) XXX_DiscardUnknown()
func (*UnbanRequest) XXX_Marshal ¶
func (m *UnbanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbanRequest) XXX_Merge ¶
func (m *UnbanRequest) XXX_Merge(src proto.Message)
func (*UnbanRequest) XXX_Size ¶
func (m *UnbanRequest) XXX_Size() int
func (*UnbanRequest) XXX_Unmarshal ¶
func (m *UnbanRequest) XXX_Unmarshal(b []byte) error
type UnbanResponse ¶
type UnbanResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnbanResponse) Descriptor ¶
func (*UnbanResponse) Descriptor() ([]byte, []int)
func (*UnbanResponse) ProtoMessage ¶
func (*UnbanResponse) ProtoMessage()
func (*UnbanResponse) Reset ¶
func (m *UnbanResponse) Reset()
func (*UnbanResponse) String ¶
func (m *UnbanResponse) String() string
func (*UnbanResponse) XXX_DiscardUnknown ¶
func (m *UnbanResponse) XXX_DiscardUnknown()
func (*UnbanResponse) XXX_Marshal ¶
func (m *UnbanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbanResponse) XXX_Merge ¶
func (m *UnbanResponse) XXX_Merge(src proto.Message)
func (*UnbanResponse) XXX_Size ¶
func (m *UnbanResponse) XXX_Size() int
func (*UnbanResponse) XXX_Unmarshal ¶
func (m *UnbanResponse) XXX_Unmarshal(b []byte) error
type UnlockNodeRequest ¶
type UnlockNodeRequest struct { // The password in utf-8 with which to unlock an existing xud node key as // well as underlying client wallets such as lnd. Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnlockNodeRequest) Descriptor ¶
func (*UnlockNodeRequest) Descriptor() ([]byte, []int)
func (*UnlockNodeRequest) GetPassword ¶
func (m *UnlockNodeRequest) GetPassword() string
func (*UnlockNodeRequest) ProtoMessage ¶
func (*UnlockNodeRequest) ProtoMessage()
func (*UnlockNodeRequest) Reset ¶
func (m *UnlockNodeRequest) Reset()
func (*UnlockNodeRequest) String ¶
func (m *UnlockNodeRequest) String() string
func (*UnlockNodeRequest) XXX_DiscardUnknown ¶
func (m *UnlockNodeRequest) XXX_DiscardUnknown()
func (*UnlockNodeRequest) XXX_Marshal ¶
func (m *UnlockNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlockNodeRequest) XXX_Merge ¶
func (m *UnlockNodeRequest) XXX_Merge(src proto.Message)
func (*UnlockNodeRequest) XXX_Size ¶
func (m *UnlockNodeRequest) XXX_Size() int
func (*UnlockNodeRequest) XXX_Unmarshal ¶
func (m *UnlockNodeRequest) XXX_Unmarshal(b []byte) error
type UnlockNodeResponse ¶
type UnlockNodeResponse struct { // The list of lnd clients that were unlocked. UnlockedLnds []string `protobuf:"bytes,1,rep,name=unlocked_lnds,json=unlockedLnds,proto3" json:"unlocked_lnds,omitempty"` // The list of lnd clients that could not be unlocked. LockedLnds []string `protobuf:"bytes,3,rep,name=locked_lnds,json=lockedLnds,proto3" json:"locked_lnds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnlockNodeResponse) Descriptor ¶
func (*UnlockNodeResponse) Descriptor() ([]byte, []int)
func (*UnlockNodeResponse) GetLockedLnds ¶
func (m *UnlockNodeResponse) GetLockedLnds() []string
func (*UnlockNodeResponse) GetUnlockedLnds ¶
func (m *UnlockNodeResponse) GetUnlockedLnds() []string
func (*UnlockNodeResponse) ProtoMessage ¶
func (*UnlockNodeResponse) ProtoMessage()
func (*UnlockNodeResponse) Reset ¶
func (m *UnlockNodeResponse) Reset()
func (*UnlockNodeResponse) String ¶
func (m *UnlockNodeResponse) String() string
func (*UnlockNodeResponse) XXX_DiscardUnknown ¶
func (m *UnlockNodeResponse) XXX_DiscardUnknown()
func (*UnlockNodeResponse) XXX_Marshal ¶
func (m *UnlockNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlockNodeResponse) XXX_Merge ¶
func (m *UnlockNodeResponse) XXX_Merge(src proto.Message)
func (*UnlockNodeResponse) XXX_Size ¶
func (m *UnlockNodeResponse) XXX_Size() int
func (*UnlockNodeResponse) XXX_Unmarshal ¶
func (m *UnlockNodeResponse) XXX_Unmarshal(b []byte) error
type WithdrawRequest ¶
type WithdrawRequest struct { // The ticker symbol of the currency to withdraw. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // The address to withdraw funds to. Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // The amount to withdraw denominated in satoshis Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Whether to withdraw all available funds for this currency. // If true, the amount field is ignored. All bool `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"` // The fee to use for the withdrawal transaction denominated in satoshis per byte. Fee uint32 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WithdrawRequest) Descriptor ¶
func (*WithdrawRequest) Descriptor() ([]byte, []int)
func (*WithdrawRequest) GetAll ¶
func (m *WithdrawRequest) GetAll() bool
func (*WithdrawRequest) GetAmount ¶
func (m *WithdrawRequest) GetAmount() uint64
func (*WithdrawRequest) GetCurrency ¶
func (m *WithdrawRequest) GetCurrency() string
func (*WithdrawRequest) GetDestination ¶
func (m *WithdrawRequest) GetDestination() string
func (*WithdrawRequest) GetFee ¶
func (m *WithdrawRequest) GetFee() uint32
func (*WithdrawRequest) ProtoMessage ¶
func (*WithdrawRequest) ProtoMessage()
func (*WithdrawRequest) Reset ¶
func (m *WithdrawRequest) Reset()
func (*WithdrawRequest) String ¶
func (m *WithdrawRequest) String() string
func (*WithdrawRequest) XXX_DiscardUnknown ¶
func (m *WithdrawRequest) XXX_DiscardUnknown()
func (*WithdrawRequest) XXX_Marshal ¶
func (m *WithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawRequest) XXX_Merge ¶
func (m *WithdrawRequest) XXX_Merge(src proto.Message)
func (*WithdrawRequest) XXX_Size ¶
func (m *WithdrawRequest) XXX_Size() int
func (*WithdrawRequest) XXX_Unmarshal ¶
func (m *WithdrawRequest) XXX_Unmarshal(b []byte) error
type WithdrawResponse ¶
type WithdrawResponse struct { // The id of the withdrawal transaction. TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,proto3" json:"transaction_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WithdrawResponse) Descriptor ¶
func (*WithdrawResponse) Descriptor() ([]byte, []int)
func (*WithdrawResponse) GetTransactionId ¶
func (m *WithdrawResponse) GetTransactionId() string
func (*WithdrawResponse) ProtoMessage ¶
func (*WithdrawResponse) ProtoMessage()
func (*WithdrawResponse) Reset ¶
func (m *WithdrawResponse) Reset()
func (*WithdrawResponse) String ¶
func (m *WithdrawResponse) String() string
func (*WithdrawResponse) XXX_DiscardUnknown ¶
func (m *WithdrawResponse) XXX_DiscardUnknown()
func (*WithdrawResponse) XXX_Marshal ¶
func (m *WithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawResponse) XXX_Merge ¶
func (m *WithdrawResponse) XXX_Merge(src proto.Message)
func (*WithdrawResponse) XXX_Size ¶
func (m *WithdrawResponse) XXX_Size() int
func (*WithdrawResponse) XXX_Unmarshal ¶
func (m *WithdrawResponse) XXX_Unmarshal(b []byte) error
type XudClient ¶
type XudClient interface { // Adds a currency to the list of supported currencies. Once added, the currency may be used for // new trading pairs. // shell: xucli addcurrency <currency> <swap_client> [decimal_places] [token_address] AddCurrency(ctx context.Context, in *Currency, opts ...grpc.CallOption) (*AddCurrencyResponse, error) // Adds a trading pair to the list of supported trading pairs. The newly supported pair is // advertised to peers so they may begin sending orders for it. // shell: xucli addpair <base_currency> <quote_currency> AddPair(ctx context.Context, in *AddPairRequest, opts ...grpc.CallOption) (*AddPairResponse, error) // Bans a node and immediately disconnects from it. This can be used to prevent any connections // to a specific node. // shell: xucli ban <node_identifier> Ban(ctx context.Context, in *BanRequest, opts ...grpc.CallOption) (*BanResponse, error) // Changes the xud master password, including the wallet passwords for any underlying clients. // shell: xucli changepass ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) // Closes any existing payment channels with a peer for the specified currency. // shell: xucli closechannel <currency> [node_identifier ] [--force] CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (*CloseChannelResponse, error) // Attempts to connect to a node. Once connected, the node is added to the list of peers and // becomes available for swaps and trading. A handshake exchanges information about the peer's // supported trading and swap clients. Orders will be shared with the peer upon connection and // upon new order placements. // shell: xucli connect <node_uri> Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error) // Gets an address to deposit a given currency into the xud wallets. // shell: xucli walletdeposit <currency> WalletDeposit(ctx context.Context, in *DepositRequest, opts ...grpc.CallOption) (*DepositResponse, error) // Gets an address to deposit a given currency directly into a channel. // shell: xucli deposit <currency> Deposit(ctx context.Context, in *DepositRequest, opts ...grpc.CallOption) (*DepositResponse, error) // Discover nodes from a specific peer and apply new connections DiscoverNodes(ctx context.Context, in *DiscoverNodesRequest, opts ...grpc.CallOption) (*DiscoverNodesResponse, error) // Gets the total balance available across all payment channels and wallets for one or all currencies. // shell: xucli getbalance [currency] GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) // Gets general information about this node. // shell: xucli getinfo GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) // Gets the master seed mnemonic . // shell: xucli getnemonic GetMnemonic(ctx context.Context, in *GetMnemonicRequest, opts ...grpc.CallOption) (*GetMnemonicResponse, error) // Gets general information about a node. // shell: xucli getnodeinfo <node_identifier> GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error) // Gets orders from the order book. This call returns the state of the order book at a given point // in time, although it is not guaranteed to still be vaild by the time a response is received // and processed by a client. It accepts an optional trading pair id parameter. If specified, only // orders for that particular trading pair are returned. Otherwise, all orders are returned. Orders // are separated into buys and sells for each trading pair, but unsorted. // shell: xucli listorders [pair_id] [include_own_orders] [limit] ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) // Gets a list of this node's supported currencies. // shell: xucli listcurrencies ListCurrencies(ctx context.Context, in *ListCurrenciesRequest, opts ...grpc.CallOption) (*ListCurrenciesResponse, error) // Gets a list of this nodes suported trading pairs. // shell: xucli listpairs ListPairs(ctx context.Context, in *ListPairsRequest, opts ...grpc.CallOption) (*ListPairsResponse, error) // Gets a list of connected peers. // shell: xucli listpeers ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error) // Opens a payment channel to a peer for the specified amount and currency. // shell: xucli openchannel <currency> <amount> [node_identifier] [push_amount] OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*OpenChannelResponse, error) // Gets an order book depth chart where orders are grouped into "buckets" // according to their price rounded to a given level of precision. // shell: xucli orderbook [pair_id] [precision] OrderBook(ctx context.Context, in *OrderBookRequest, opts ...grpc.CallOption) (*OrderBookResponse, error) // Adds an order to the order book. // If price is zero or unspecified a market order will get added. PlaceOrder(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (Xud_PlaceOrderClient, error) // The synchronous, non-streaming version of PlaceOrder. // shell: xucli buy <quantity> <pair_id> <price> [order_id] [stream] // shell: xucli sell <quantity> <pair_id> <price> [order_id] [stream] PlaceOrderSync(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*PlaceOrderResponse, error) // Executes a swap on a maker peer order. ExecuteSwap(ctx context.Context, in *ExecuteSwapRequest, opts ...grpc.CallOption) (*SwapSuccess, error) // Removes a currency from the list of supported currencies. Only currencies that are not in use // for any currently supported trading pairs may be removed. Once removed, the currency can no // longer be used for any supported trading pairs. // shell: xucli removecurrency <currency> RemoveCurrency(ctx context.Context, in *RemoveCurrencyRequest, opts ...grpc.CallOption) (*RemoveCurrencyResponse, error) // Removes an order from the order book by its local id. This should be called when an order is // canceled or filled outside of xud. Removed orders become immediately unavailable for swaps, // and peers are notified that the order is no longer valid. Any portion of the order that is // on hold due to ongoing swaps will not be removed until after the swap attempts complete. // shell: xucli removeorder <order_id> [quantity] RemoveOrder(ctx context.Context, in *RemoveOrderRequest, opts ...grpc.CallOption) (*RemoveOrderResponse, error) // Removes all orders from the order book. Removed orders become immediately unavailable for swaps, // and peers are notified that the orders are no longer valid. Any portion of the orders that is // on hold due to ongoing swaps will not be removed until after the swap attempts complete. // shell: xucli removeallorders RemoveAllOrders(ctx context.Context, in *RemoveAllOrdersRequest, opts ...grpc.CallOption) (*RemoveAllOrdersResponse, error) // Removes a trading pair from the list of currently supported trading pair. This call will // effectively cancel any standing orders for that trading pair. Peers are informed when a pair // is no longer supported so that they will know to stop sending orders for it. // shell: xucli removepair <pair_id> RemovePair(ctx context.Context, in *RemovePairRequest, opts ...grpc.CallOption) (*RemovePairResponse, error) // Set the logging level. // shell: xucli loglevel <level> SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) // Begin gracefully shutting down xud. // shell: xucli shutdown Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) // Subscribes to orders being added to and removed from the order book. This call allows the client // to maintain an up-to-date view of the order book. For example, an exchange that wants to show // its users a real time view of the orders available to them would subscribe to this streaming // call to be alerted as new orders are added and expired orders are removed. SubscribeOrders(ctx context.Context, in *SubscribeOrdersRequest, opts ...grpc.CallOption) (Xud_SubscribeOrdersClient, error) // Subscribes to failed swaps. By default, only swaps that are initiated by a remote peer are // transmitted unless a flag is set to include swaps initiated by the local node. This call allows // the client to get real-time notifications when swap attempts are failing. It can be used for // status monitoring, debugging, and testing purposes. SubscribeSwapFailures(ctx context.Context, in *SubscribeSwapsRequest, opts ...grpc.CallOption) (Xud_SubscribeSwapFailuresClient, error) // Subscribes to completed swaps. By default, only swaps that are initiated by a remote peer are // transmitted unless a flag is set to include swaps initiated by the local node. This call allows // the client to get real-time notifications when its orders are filled by a peer. It can be used // for tracking order executions, updating balances, and informing a trader when one of their orders // is settled through the Exchange Union network. SubscribeSwaps(ctx context.Context, in *SubscribeSwapsRequest, opts ...grpc.CallOption) (Xud_SubscribeSwapsClient, error) // Subscribes to accepted swaps. This stream emits a message when the local xud node // accepts a swap request from a peer, but before the swap has actually succeeded. SubscribeSwapsAccepted(ctx context.Context, in *SubscribeSwapsAcceptedRequest, opts ...grpc.CallOption) (Xud_SubscribeSwapsAcceptedClient, error) // Gets a list of completed trades. // shell: xucli tradehistory [limit] TradeHistory(ctx context.Context, in *TradeHistoryRequest, opts ...grpc.CallOption) (*TradeHistoryResponse, error) // Gets the trading limits for one or all currencies. // shell: xucli tradinglimits [currency] TradingLimits(ctx context.Context, in *TradingLimitsRequest, opts ...grpc.CallOption) (*TradingLimitsResponse, error) // Removes a ban from a node manually and, optionally, attempts to connect to it. // shell: xucli unban <node_identifier> [reconnect] Unban(ctx context.Context, in *UnbanRequest, opts ...grpc.CallOption) (*UnbanResponse, error) // Withdraws a given currency from the xud wallets to a specified address. // shell: xucli withdraw [amount] [currency] <destination> [fee] WalletWithdraw(ctx context.Context, in *WithdrawRequest, opts ...grpc.CallOption) (*WithdrawResponse, error) }
XudClient is the client API for Xud service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXudClient ¶
func NewXudClient(cc *grpc.ClientConn) XudClient
type XudInitClient ¶
type XudInitClient interface { // Creates an xud identity node key and underlying wallets. The node key and // wallets are derived from a single seed and encrypted using a single // password provided as a parameter to the call. // shell: xucli create CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeResponse, error) // Restores an xud instance and underlying wallets from a seed. // shell: xucli restore [backup_directory] RestoreNode(ctx context.Context, in *RestoreNodeRequest, opts ...grpc.CallOption) (*RestoreNodeResponse, error) // Unlocks and decrypts the xud node key and any underlying wallets. // shell: xucli unlock UnlockNode(ctx context.Context, in *UnlockNodeRequest, opts ...grpc.CallOption) (*UnlockNodeResponse, error) }
XudInitClient is the client API for XudInit service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXudInitClient ¶
func NewXudInitClient(cc *grpc.ClientConn) XudInitClient
type XudInitServer ¶
type XudInitServer interface { // Creates an xud identity node key and underlying wallets. The node key and // wallets are derived from a single seed and encrypted using a single // password provided as a parameter to the call. // shell: xucli create CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeResponse, error) // Restores an xud instance and underlying wallets from a seed. // shell: xucli restore [backup_directory] RestoreNode(context.Context, *RestoreNodeRequest) (*RestoreNodeResponse, error) // Unlocks and decrypts the xud node key and any underlying wallets. // shell: xucli unlock UnlockNode(context.Context, *UnlockNodeRequest) (*UnlockNodeResponse, error) }
XudInitServer is the server API for XudInit service.
type XudServer ¶
type XudServer interface { // Adds a currency to the list of supported currencies. Once added, the currency may be used for // new trading pairs. // shell: xucli addcurrency <currency> <swap_client> [decimal_places] [token_address] AddCurrency(context.Context, *Currency) (*AddCurrencyResponse, error) // Adds a trading pair to the list of supported trading pairs. The newly supported pair is // advertised to peers so they may begin sending orders for it. // shell: xucli addpair <base_currency> <quote_currency> AddPair(context.Context, *AddPairRequest) (*AddPairResponse, error) // Bans a node and immediately disconnects from it. This can be used to prevent any connections // to a specific node. // shell: xucli ban <node_identifier> Ban(context.Context, *BanRequest) (*BanResponse, error) // Changes the xud master password, including the wallet passwords for any underlying clients. // shell: xucli changepass ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) // Closes any existing payment channels with a peer for the specified currency. // shell: xucli closechannel <currency> [node_identifier ] [--force] CloseChannel(context.Context, *CloseChannelRequest) (*CloseChannelResponse, error) // Attempts to connect to a node. Once connected, the node is added to the list of peers and // becomes available for swaps and trading. A handshake exchanges information about the peer's // supported trading and swap clients. Orders will be shared with the peer upon connection and // upon new order placements. // shell: xucli connect <node_uri> Connect(context.Context, *ConnectRequest) (*ConnectResponse, error) // Gets an address to deposit a given currency into the xud wallets. // shell: xucli walletdeposit <currency> WalletDeposit(context.Context, *DepositRequest) (*DepositResponse, error) // Gets an address to deposit a given currency directly into a channel. // shell: xucli deposit <currency> Deposit(context.Context, *DepositRequest) (*DepositResponse, error) // Discover nodes from a specific peer and apply new connections DiscoverNodes(context.Context, *DiscoverNodesRequest) (*DiscoverNodesResponse, error) // Gets the total balance available across all payment channels and wallets for one or all currencies. // shell: xucli getbalance [currency] GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error) // Gets general information about this node. // shell: xucli getinfo GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // Gets the master seed mnemonic . // shell: xucli getnemonic GetMnemonic(context.Context, *GetMnemonicRequest) (*GetMnemonicResponse, error) // Gets general information about a node. // shell: xucli getnodeinfo <node_identifier> GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error) // Gets orders from the order book. This call returns the state of the order book at a given point // in time, although it is not guaranteed to still be vaild by the time a response is received // and processed by a client. It accepts an optional trading pair id parameter. If specified, only // orders for that particular trading pair are returned. Otherwise, all orders are returned. Orders // are separated into buys and sells for each trading pair, but unsorted. // shell: xucli listorders [pair_id] [include_own_orders] [limit] ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error) // Gets a list of this node's supported currencies. // shell: xucli listcurrencies ListCurrencies(context.Context, *ListCurrenciesRequest) (*ListCurrenciesResponse, error) // Gets a list of this nodes suported trading pairs. // shell: xucli listpairs ListPairs(context.Context, *ListPairsRequest) (*ListPairsResponse, error) // Gets a list of connected peers. // shell: xucli listpeers ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error) // Opens a payment channel to a peer for the specified amount and currency. // shell: xucli openchannel <currency> <amount> [node_identifier] [push_amount] OpenChannel(context.Context, *OpenChannelRequest) (*OpenChannelResponse, error) // Gets an order book depth chart where orders are grouped into "buckets" // according to their price rounded to a given level of precision. // shell: xucli orderbook [pair_id] [precision] OrderBook(context.Context, *OrderBookRequest) (*OrderBookResponse, error) // Adds an order to the order book. // If price is zero or unspecified a market order will get added. PlaceOrder(*PlaceOrderRequest, Xud_PlaceOrderServer) error // The synchronous, non-streaming version of PlaceOrder. // shell: xucli buy <quantity> <pair_id> <price> [order_id] [stream] // shell: xucli sell <quantity> <pair_id> <price> [order_id] [stream] PlaceOrderSync(context.Context, *PlaceOrderRequest) (*PlaceOrderResponse, error) // Executes a swap on a maker peer order. ExecuteSwap(context.Context, *ExecuteSwapRequest) (*SwapSuccess, error) // Removes a currency from the list of supported currencies. Only currencies that are not in use // for any currently supported trading pairs may be removed. Once removed, the currency can no // longer be used for any supported trading pairs. // shell: xucli removecurrency <currency> RemoveCurrency(context.Context, *RemoveCurrencyRequest) (*RemoveCurrencyResponse, error) // Removes an order from the order book by its local id. This should be called when an order is // canceled or filled outside of xud. Removed orders become immediately unavailable for swaps, // and peers are notified that the order is no longer valid. Any portion of the order that is // on hold due to ongoing swaps will not be removed until after the swap attempts complete. // shell: xucli removeorder <order_id> [quantity] RemoveOrder(context.Context, *RemoveOrderRequest) (*RemoveOrderResponse, error) // Removes all orders from the order book. Removed orders become immediately unavailable for swaps, // and peers are notified that the orders are no longer valid. Any portion of the orders that is // on hold due to ongoing swaps will not be removed until after the swap attempts complete. // shell: xucli removeallorders RemoveAllOrders(context.Context, *RemoveAllOrdersRequest) (*RemoveAllOrdersResponse, error) // Removes a trading pair from the list of currently supported trading pair. This call will // effectively cancel any standing orders for that trading pair. Peers are informed when a pair // is no longer supported so that they will know to stop sending orders for it. // shell: xucli removepair <pair_id> RemovePair(context.Context, *RemovePairRequest) (*RemovePairResponse, error) // Set the logging level. // shell: xucli loglevel <level> SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error) // Begin gracefully shutting down xud. // shell: xucli shutdown Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) // Subscribes to orders being added to and removed from the order book. This call allows the client // to maintain an up-to-date view of the order book. For example, an exchange that wants to show // its users a real time view of the orders available to them would subscribe to this streaming // call to be alerted as new orders are added and expired orders are removed. SubscribeOrders(*SubscribeOrdersRequest, Xud_SubscribeOrdersServer) error // Subscribes to failed swaps. By default, only swaps that are initiated by a remote peer are // transmitted unless a flag is set to include swaps initiated by the local node. This call allows // the client to get real-time notifications when swap attempts are failing. It can be used for // status monitoring, debugging, and testing purposes. SubscribeSwapFailures(*SubscribeSwapsRequest, Xud_SubscribeSwapFailuresServer) error // Subscribes to completed swaps. By default, only swaps that are initiated by a remote peer are // transmitted unless a flag is set to include swaps initiated by the local node. This call allows // the client to get real-time notifications when its orders are filled by a peer. It can be used // for tracking order executions, updating balances, and informing a trader when one of their orders // is settled through the Exchange Union network. SubscribeSwaps(*SubscribeSwapsRequest, Xud_SubscribeSwapsServer) error // Subscribes to accepted swaps. This stream emits a message when the local xud node // accepts a swap request from a peer, but before the swap has actually succeeded. SubscribeSwapsAccepted(*SubscribeSwapsAcceptedRequest, Xud_SubscribeSwapsAcceptedServer) error // Gets a list of completed trades. // shell: xucli tradehistory [limit] TradeHistory(context.Context, *TradeHistoryRequest) (*TradeHistoryResponse, error) // Gets the trading limits for one or all currencies. // shell: xucli tradinglimits [currency] TradingLimits(context.Context, *TradingLimitsRequest) (*TradingLimitsResponse, error) // Removes a ban from a node manually and, optionally, attempts to connect to it. // shell: xucli unban <node_identifier> [reconnect] Unban(context.Context, *UnbanRequest) (*UnbanResponse, error) // Withdraws a given currency from the xud wallets to a specified address. // shell: xucli withdraw [amount] [currency] <destination> [fee] WalletWithdraw(context.Context, *WithdrawRequest) (*WithdrawResponse, error) }
XudServer is the server API for Xud service.
type Xud_PlaceOrderClient ¶
type Xud_PlaceOrderClient interface { Recv() (*PlaceOrderEvent, error) grpc.ClientStream }
type Xud_PlaceOrderServer ¶
type Xud_PlaceOrderServer interface { Send(*PlaceOrderEvent) error grpc.ServerStream }
type Xud_SubscribeOrdersClient ¶
type Xud_SubscribeOrdersClient interface { Recv() (*OrderUpdate, error) grpc.ClientStream }
type Xud_SubscribeOrdersServer ¶
type Xud_SubscribeOrdersServer interface { Send(*OrderUpdate) error grpc.ServerStream }
type Xud_SubscribeSwapFailuresClient ¶
type Xud_SubscribeSwapFailuresClient interface { Recv() (*SwapFailure, error) grpc.ClientStream }
type Xud_SubscribeSwapFailuresServer ¶
type Xud_SubscribeSwapFailuresServer interface { Send(*SwapFailure) error grpc.ServerStream }
type Xud_SubscribeSwapsAcceptedClient ¶
type Xud_SubscribeSwapsAcceptedClient interface { Recv() (*SwapAccepted, error) grpc.ClientStream }
type Xud_SubscribeSwapsAcceptedServer ¶
type Xud_SubscribeSwapsAcceptedServer interface { Send(*SwapAccepted) error grpc.ServerStream }
type Xud_SubscribeSwapsClient ¶
type Xud_SubscribeSwapsClient interface { Recv() (*SwapSuccess, error) grpc.ClientStream }
type Xud_SubscribeSwapsServer ¶
type Xud_SubscribeSwapsServer interface { Send(*SwapSuccess) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.