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 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 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 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) GetInitializedLnds() []string
- func (m *CreateNodeResponse) GetInitializedRaiden() bool
- 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 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) 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) GetRaiden() *RaidenInfo
- 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 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) 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 ListTradesRequest
- func (*ListTradesRequest) Descriptor() ([]byte, []int)
- func (m *ListTradesRequest) GetLimit() int32
- func (*ListTradesRequest) ProtoMessage()
- func (m *ListTradesRequest) Reset()
- func (m *ListTradesRequest) String() string
- func (m *ListTradesRequest) XXX_DiscardUnknown()
- func (m *ListTradesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTradesRequest) XXX_Merge(src proto.Message)
- func (m *ListTradesRequest) XXX_Size() int
- func (m *ListTradesRequest) XXX_Unmarshal(b []byte) error
- type ListTradesResponse
- func (*ListTradesResponse) Descriptor() ([]byte, []int)
- func (m *ListTradesResponse) GetTrades() []*Trade
- func (*ListTradesResponse) ProtoMessage()
- func (m *ListTradesResponse) Reset()
- func (m *ListTradesResponse) String() string
- func (m *ListTradesResponse) XXX_DiscardUnknown()
- func (m *ListTradesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListTradesResponse) XXX_Merge(src proto.Message)
- func (m *ListTradesResponse) XXX_Size() int
- func (m *ListTradesResponse) 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 OpenChannelRequest
- func (*OpenChannelRequest) Descriptor() ([]byte, []int)
- func (m *OpenChannelRequest) GetAmount() int64
- func (m *OpenChannelRequest) GetCurrency() string
- func (m *OpenChannelRequest) GetNodeIdentifier() string
- func (m *OpenChannelRequest) GetPushAmount() int64
- 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 (*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) GetOwnOrPeer() isOrder_OwnOrPeer
- func (m *Order) GetPairId() string
- func (m *Order) GetPeerPubKey() 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 (*Order) XXX_OneofWrappers() []interface{}
- func (m *Order) XXX_Size() int
- func (m *Order) 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 Order_LocalId
- type Order_PeerPubKey
- 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) GetInbound() bool
- func (m *Peer) GetLndPubKeys() map[string]string
- func (m *Peer) GetNodePubKey() string
- func (m *Peer) GetPairs() []string
- func (m *Peer) GetRaidenAddress() 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 PlaceOrderEvent
- func (*PlaceOrderEvent) Descriptor() ([]byte, []int)
- func (m *PlaceOrderEvent) GetEvent() isPlaceOrderEvent_Event
- func (m *PlaceOrderEvent) GetInternalMatch() *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_InternalMatch
- 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 RaidenInfo
- func (*RaidenInfo) Descriptor() ([]byte, []int)
- func (m *RaidenInfo) GetAddress() string
- func (m *RaidenInfo) GetChain() string
- func (m *RaidenInfo) GetChannels() *Channels
- func (m *RaidenInfo) GetStatus() string
- func (m *RaidenInfo) GetVersion() string
- func (*RaidenInfo) ProtoMessage()
- func (m *RaidenInfo) Reset()
- func (m *RaidenInfo) String() string
- func (m *RaidenInfo) XXX_DiscardUnknown()
- func (m *RaidenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RaidenInfo) XXX_Merge(src proto.Message)
- func (m *RaidenInfo) XXX_Size() int
- func (m *RaidenInfo) 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) GetQuantityOnHold() 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) GetRaidenDatabase() []byte
- func (m *RestoreNodeRequest) GetRaidenDatabasePath() 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) GetRestoredLnds() []string
- func (m *RestoreNodeResponse) GetRestoredRaiden() bool
- 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 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 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 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() SwapSuccess_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 SwapSuccess_Role
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)
- func (m *Trade) GetMakerOrder() *Order
- func (m *Trade) GetPairId() string
- func (m *Trade) GetQuantity() int64
- func (m *Trade) GetRHash() string
- 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 TradingLimits
- func (*TradingLimits) Descriptor() ([]byte, []int)
- func (m *TradingLimits) GetMaxBuy() uint64
- func (m *TradingLimits) GetMaxSell() 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 (m *UnlockNodeResponse) GetUnlockedRaiden() bool
- 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 Xud
- 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_SubscribeSwapsClient
- type Xud_SubscribeSwapsServer
Constants ¶
This section is empty.
Variables ¶
var Currency_SwapClient_name = map[int32]string{
0: "LND",
1: "RAIDEN",
}
var Currency_SwapClient_value = map[string]int32{
"LND": 0,
"RAIDEN": 1,
}
var ListOrdersRequest_Owner_name = map[int32]string{
0: "BOTH",
1: "OWN",
2: "PEER",
}
var ListOrdersRequest_Owner_value = map[string]int32{
"BOTH": 0,
"OWN": 1,
"PEER": 2,
}
var OrderSide_name = map[int32]string{
0: "BUY",
1: "SELL",
}
var OrderSide_value = map[string]int32{
"BUY": 0,
"SELL": 1,
}
var SwapSuccess_Role_name = map[int32]string{
0: "TAKER",
1: "MAKER",
}
var SwapSuccess_Role_value = map[string]int32{
"TAKER": 0,
"MAKER": 1,
}
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 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 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 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 raiden was initialized. InitializedRaiden bool `protobuf:"varint,3,opt,name=initialized_raiden,json=initializedRaiden,proto3" json:"initialized_raiden,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateNodeResponse) Descriptor ¶
func (*CreateNodeResponse) Descriptor() ([]byte, []int)
func (*CreateNodeResponse) GetInitializedLnds ¶
func (m *CreateNodeResponse) GetInitializedLnds() []string
func (*CreateNodeResponse) GetInitializedRaiden ¶
func (m *CreateNodeResponse) GetInitializedRaiden() bool
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_RAIDEN Currency_SwapClient = 1 )
func (Currency_SwapClient) EnumDescriptor ¶
func (Currency_SwapClient) EnumDescriptor() ([]byte, []int)
func (Currency_SwapClient) String ¶
func (x Currency_SwapClient) String() string
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 `` /* 169-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 */ Raiden *RaidenInfo `protobuf:"bytes,8,opt,name=raiden,proto3" json:"raiden,omitempty"` // 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"` 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) 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) GetRaiden ¶
func (m *GetInfoResponse) GetRaiden() *RaidenInfo
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 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListOrdersRequest) Descriptor ¶
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
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 ListTradesRequest ¶
type ListTradesRequest struct { // The maximum number of trades to return Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListTradesRequest) Descriptor ¶
func (*ListTradesRequest) Descriptor() ([]byte, []int)
func (*ListTradesRequest) GetLimit ¶
func (m *ListTradesRequest) GetLimit() int32
func (*ListTradesRequest) ProtoMessage ¶
func (*ListTradesRequest) ProtoMessage()
func (*ListTradesRequest) Reset ¶
func (m *ListTradesRequest) Reset()
func (*ListTradesRequest) String ¶
func (m *ListTradesRequest) String() string
func (*ListTradesRequest) XXX_DiscardUnknown ¶
func (m *ListTradesRequest) XXX_DiscardUnknown()
func (*ListTradesRequest) XXX_Marshal ¶
func (m *ListTradesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTradesRequest) XXX_Merge ¶
func (m *ListTradesRequest) XXX_Merge(src proto.Message)
func (*ListTradesRequest) XXX_Size ¶
func (m *ListTradesRequest) XXX_Size() int
func (*ListTradesRequest) XXX_Unmarshal ¶
func (m *ListTradesRequest) XXX_Unmarshal(b []byte) error
type ListTradesResponse ¶
type ListTradesResponse 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 (*ListTradesResponse) Descriptor ¶
func (*ListTradesResponse) Descriptor() ([]byte, []int)
func (*ListTradesResponse) GetTrades ¶
func (m *ListTradesResponse) GetTrades() []*Trade
func (*ListTradesResponse) ProtoMessage ¶
func (*ListTradesResponse) ProtoMessage()
func (*ListTradesResponse) Reset ¶
func (m *ListTradesResponse) Reset()
func (*ListTradesResponse) String ¶
func (m *ListTradesResponse) String() string
func (*ListTradesResponse) XXX_DiscardUnknown ¶
func (m *ListTradesResponse) XXX_DiscardUnknown()
func (*ListTradesResponse) XXX_Marshal ¶
func (m *ListTradesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListTradesResponse) XXX_Merge ¶
func (m *ListTradesResponse) XXX_Merge(src proto.Message)
func (*ListTradesResponse) XXX_Size ¶
func (m *ListTradesResponse) XXX_Size() int
func (*ListTradesResponse) XXX_Unmarshal ¶
func (m *ListTradesResponse) 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 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 int64 `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 int64 `protobuf:"varint,4,opt,name=push_amount,proto3" json:"push_amount,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() int64
func (*OpenChannelRequest) GetCurrency ¶
func (m *OpenChannelRequest) GetCurrency() string
func (*OpenChannelRequest) GetNodeIdentifier ¶
func (m *OpenChannelRequest) GetNodeIdentifier() string
func (*OpenChannelRequest) GetPushAmount ¶
func (m *OpenChannelRequest) GetPushAmount() int64
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenChannelResponse) Descriptor ¶
func (*OpenChannelResponse) Descriptor() ([]byte, []int)
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"` // Types that are valid to be assigned to OwnOrPeer: // *Order_PeerPubKey // *Order_LocalId OwnOrPeer isOrder_OwnOrPeer `protobuf_oneof:"own_or_peer"` // The epoch time 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) GetOwnOrPeer ¶
func (m *Order) GetOwnOrPeer() isOrder_OwnOrPeer
func (*Order) GetPeerPubKey ¶
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_OneofWrappers ¶
func (*Order) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Order) XXX_Unmarshal ¶
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 Order_LocalId ¶
type Order_LocalId struct {
LocalId string `protobuf:"bytes,6,opt,name=local_id,proto3,oneof"`
}
type Order_PeerPubKey ¶
type Order_PeerPubKey struct {
PeerPubKey string `protobuf:"bytes,5,opt,name=peer_pub_key,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 raiden address for this peer RaidenAddress string `protobuf:"bytes,8,opt,name=raiden_address,proto3" json:"raiden_address,omitempty"` // The alias for this peer's public key Alias string `protobuf:"bytes,9,opt,name=alias,proto3" json:"alias,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peer) Descriptor ¶
func (*Peer) GetAddress ¶
func (*Peer) GetInbound ¶
func (*Peer) GetLndPubKeys ¶
func (*Peer) GetNodePubKey ¶
func (*Peer) GetRaidenAddress ¶
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 PlaceOrderEvent ¶
type PlaceOrderEvent struct { // Types that are valid to be assigned to Event: // *PlaceOrderEvent_InternalMatch // *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) GetInternalMatch ¶
func (m *PlaceOrderEvent) GetInternalMatch() *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_InternalMatch ¶
type PlaceOrderEvent_InternalMatch struct {
InternalMatch *Order `protobuf:"bytes,1,opt,name=internal_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 RaidenInfo ¶
type RaidenInfo 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"` Channels *Channels `protobuf:"bytes,3,opt,name=channels,proto3" json:"channels,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 (*RaidenInfo) Descriptor ¶
func (*RaidenInfo) Descriptor() ([]byte, []int)
func (*RaidenInfo) GetAddress ¶
func (m *RaidenInfo) GetAddress() string
func (*RaidenInfo) GetChain ¶
func (m *RaidenInfo) GetChain() string
func (*RaidenInfo) GetChannels ¶
func (m *RaidenInfo) GetChannels() *Channels
func (*RaidenInfo) GetStatus ¶
func (m *RaidenInfo) GetStatus() string
func (*RaidenInfo) GetVersion ¶
func (m *RaidenInfo) GetVersion() string
func (*RaidenInfo) ProtoMessage ¶
func (*RaidenInfo) ProtoMessage()
func (*RaidenInfo) Reset ¶
func (m *RaidenInfo) Reset()
func (*RaidenInfo) String ¶
func (m *RaidenInfo) String() string
func (*RaidenInfo) XXX_DiscardUnknown ¶
func (m *RaidenInfo) XXX_DiscardUnknown()
func (*RaidenInfo) XXX_Marshal ¶
func (m *RaidenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RaidenInfo) XXX_Merge ¶
func (m *RaidenInfo) XXX_Merge(src proto.Message)
func (*RaidenInfo) XXX_Size ¶
func (m *RaidenInfo) XXX_Size() int
func (*RaidenInfo) XXX_Unmarshal ¶
func (m *RaidenInfo) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveOrderResponse) Descriptor ¶
func (*RemoveOrderResponse) Descriptor() ([]byte, []int)
func (*RemoveOrderResponse) GetQuantityOnHold ¶
func (m *RemoveOrderResponse) GetQuantityOnHold() 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 Raiden database backup RaidenDatabase []byte `protobuf:"bytes,4,opt,name=raiden_database,json=raidenDatabase,proto3" json:"raiden_database,omitempty"` // Path to where the Raiden database backup should be written RaidenDatabasePath string `protobuf:"bytes,5,opt,name=raiden_database_path,json=raidenDatabasePath,proto3" json:"raiden_database_path,omitempty"` // 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) GetRaidenDatabase ¶
func (m *RestoreNodeRequest) GetRaidenDatabase() []byte
func (*RestoreNodeRequest) GetRaidenDatabasePath ¶
func (m *RestoreNodeRequest) GetRaidenDatabasePath() 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 raiden was initialized. RestoredRaiden bool `protobuf:"varint,2,opt,name=restored_raiden,json=restoredRaiden,proto3" json:"restored_raiden,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreNodeResponse) Descriptor ¶
func (*RestoreNodeResponse) Descriptor() ([]byte, []int)
func (*RestoreNodeResponse) GetRestoredLnds ¶
func (m *RestoreNodeResponse) GetRestoredLnds() []string
func (*RestoreNodeResponse) GetRestoredRaiden ¶
func (m *RestoreNodeResponse) GetRestoredRaiden() bool
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 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 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 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 SwapSuccess_Role `protobuf:"varint,11,opt,name=role,proto3,enum=xudrpc.SwapSuccess_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() SwapSuccess_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 SwapSuccess_Role ¶
type SwapSuccess_Role int32
const ( SwapSuccess_TAKER SwapSuccess_Role = 0 SwapSuccess_MAKER SwapSuccess_Role = 1 )
func (SwapSuccess_Role) EnumDescriptor ¶
func (SwapSuccess_Role) EnumDescriptor() ([]byte, []int)
func (SwapSuccess_Role) String ¶
func (x SwapSuccess_Role) String() string
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. TakerOrder *Order `protobuf:"bytes,2,opt,name=taker_order,json=taker_order_id,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 int64 `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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trade) Descriptor ¶
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 TradingLimits ¶
type TradingLimits struct { // Max outbound capacity for a distinct channel denominated in satoshis. MaxSell uint64 `protobuf:"varint,1,opt,name=MaxSell,json=max_sell,proto3" json:"MaxSell,omitempty"` // Max inbound capacity for a distinct channel denominated in satoshis. MaxBuy uint64 `protobuf:"varint,2,opt,name=MaxBuy,json=max_buy,proto3" json:"MaxBuy,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) 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"` // Whether raiden was unlocked. UnlockedRaiden bool `protobuf:"varint,2,opt,name=unlocked_raiden,json=unlockedRaiden,proto3" json:"unlocked_raiden,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) GetUnlockedRaiden ¶
func (m *UnlockNodeResponse) GetUnlockedRaiden() bool
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 Xud ¶
type Xud struct { Host string `long:"xud.host" default:"127.0.0.1" description:"XUD gRPC service host"` Port int `long:"xud.port" default:"28886" description:"XUD gRPC service port"` Certificate string `long:"xud.certificatepath" description:"Path to the certificate of the XUD gRPC interface"` // contains filtered or unexported fields }
func (*Xud) GetInfo ¶
func (xud *Xud) GetInfo() (*GetInfoResponse, error)
func (*Xud) ListPeers ¶
func (xud *Xud) ListPeers() (*ListPeersResponse, error)
func (*Xud) OpenChannel ¶
func (xud *Xud) OpenChannel(request *OpenChannelRequest) (*OpenChannelResponse, 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_key> Ban(ctx context.Context, in *BanRequest, opts ...grpc.CallOption) (*BanResponse, 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) // 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 general information about a node. // shell: xucli getnodeinfo <node_key> 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) // Gets a list of completed trades. // shell: xucli listtrades [limit] ListTrades(ctx context.Context, in *ListTradesRequest, opts ...grpc.CallOption) (*ListTradesResponse, error) // Opens a payment channel to a peer with the given node pub key for the specified amount and currency. // shell: xucli openchannel <node_key> <currency> <amount> OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*OpenChannelResponse, 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 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) // 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 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 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) // 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_key> [reconnect] Unban(ctx context.Context, in *UnbanRequest, opts ...grpc.CallOption) (*UnbanResponse, 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] [raiden_database_path] 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] [raiden_database_path] 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_key> Ban(context.Context, *BanRequest) (*BanResponse, 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) // 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 general information about a node. // shell: xucli getnodeinfo <node_key> 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) // Gets a list of completed trades. // shell: xucli listtrades [limit] ListTrades(context.Context, *ListTradesRequest) (*ListTradesResponse, error) // Opens a payment channel to a peer with the given node pub key for the specified amount and currency. // shell: xucli openchannel <node_key> <currency> <amount> OpenChannel(context.Context, *OpenChannelRequest) (*OpenChannelResponse, 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 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) // 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 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 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 // 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_key> [reconnect] Unban(context.Context, *UnbanRequest) (*UnbanResponse, 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_SubscribeSwapsClient ¶
type Xud_SubscribeSwapsClient interface { Recv() (*SwapSuccess, error) grpc.ClientStream }
type Xud_SubscribeSwapsServer ¶
type Xud_SubscribeSwapsServer interface { Send(*SwapSuccess) error grpc.ServerStream }