Documentation
¶
Overview ¶
Package poolrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterTraderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTraderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TraderClient) error
- func RegisterTraderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTraderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TraderServer) error
- func RegisterTraderServer(s *grpc.Server, srv TraderServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAvailableBalance() uint64
- func (m *Account) GetExpirationHeight() uint32
- func (m *Account) GetLatestTxid() []byte
- func (m *Account) GetOutpoint() *auctioneerrpc.OutPoint
- func (m *Account) GetState() AccountState
- func (m *Account) GetTraderKey() []byte
- func (m *Account) GetValue() uint64
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountState
- type Ask
- func (*Ask) Descriptor() ([]byte, []int)
- func (m *Ask) GetDetails() *Order
- func (m *Ask) GetLeaseDurationBlocks() uint32
- func (m *Ask) GetVersion() uint32
- func (*Ask) ProtoMessage()
- func (m *Ask) Reset()
- func (m *Ask) String() string
- func (m *Ask) XXX_DiscardUnknown()
- func (m *Ask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ask) XXX_Merge(src proto.Message)
- func (m *Ask) XXX_Size() int
- func (m *Ask) XXX_Unmarshal(b []byte) error
- type AuctionFeeRequest
- func (*AuctionFeeRequest) Descriptor() ([]byte, []int)
- func (*AuctionFeeRequest) ProtoMessage()
- func (m *AuctionFeeRequest) Reset()
- func (m *AuctionFeeRequest) String() string
- func (m *AuctionFeeRequest) XXX_DiscardUnknown()
- func (m *AuctionFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionFeeRequest) XXX_Merge(src proto.Message)
- func (m *AuctionFeeRequest) XXX_Size() int
- func (m *AuctionFeeRequest) XXX_Unmarshal(b []byte) error
- type AuctionFeeResponse
- func (*AuctionFeeResponse) Descriptor() ([]byte, []int)
- func (m *AuctionFeeResponse) GetExecutionFee() *auctioneerrpc.ExecutionFee
- func (*AuctionFeeResponse) ProtoMessage()
- func (m *AuctionFeeResponse) Reset()
- func (m *AuctionFeeResponse) String() string
- func (m *AuctionFeeResponse) XXX_DiscardUnknown()
- func (m *AuctionFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionFeeResponse) XXX_Merge(src proto.Message)
- func (m *AuctionFeeResponse) XXX_Size() int
- func (m *AuctionFeeResponse) XXX_Unmarshal(b []byte) error
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (m *Bid) GetDetails() *Order
- func (m *Bid) GetLeaseDurationBlocks() uint32
- func (m *Bid) GetMinNodeTier() auctioneerrpc.NodeTier
- func (m *Bid) GetSelfChanBalance() uint64
- func (m *Bid) GetSidecarTicket() string
- func (m *Bid) GetVersion() uint32
- func (*Bid) ProtoMessage()
- func (m *Bid) Reset()
- func (m *Bid) String() string
- func (m *Bid) XXX_DiscardUnknown()
- func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bid) XXX_Merge(src proto.Message)
- func (m *Bid) XXX_Size() int
- func (m *Bid) XXX_Unmarshal(b []byte) error
- type BumpAccountFeeRequest
- func (*BumpAccountFeeRequest) Descriptor() ([]byte, []int)
- func (m *BumpAccountFeeRequest) GetFeeRateSatPerKw() uint64
- func (m *BumpAccountFeeRequest) GetTraderKey() []byte
- func (*BumpAccountFeeRequest) ProtoMessage()
- func (m *BumpAccountFeeRequest) Reset()
- func (m *BumpAccountFeeRequest) String() string
- func (m *BumpAccountFeeRequest) XXX_DiscardUnknown()
- func (m *BumpAccountFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BumpAccountFeeRequest) XXX_Merge(src proto.Message)
- func (m *BumpAccountFeeRequest) XXX_Size() int
- func (m *BumpAccountFeeRequest) XXX_Unmarshal(b []byte) error
- type BumpAccountFeeResponse
- func (*BumpAccountFeeResponse) Descriptor() ([]byte, []int)
- func (*BumpAccountFeeResponse) ProtoMessage()
- func (m *BumpAccountFeeResponse) Reset()
- func (m *BumpAccountFeeResponse) String() string
- func (m *BumpAccountFeeResponse) XXX_DiscardUnknown()
- func (m *BumpAccountFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BumpAccountFeeResponse) XXX_Merge(src proto.Message)
- func (m *BumpAccountFeeResponse) XXX_Size() int
- func (m *BumpAccountFeeResponse) XXX_Unmarshal(b []byte) error
- type CancelOrderRequest
- func (*CancelOrderRequest) Descriptor() ([]byte, []int)
- func (m *CancelOrderRequest) GetOrderNonce() []byte
- func (*CancelOrderRequest) ProtoMessage()
- func (m *CancelOrderRequest) Reset()
- func (m *CancelOrderRequest) String() string
- func (m *CancelOrderRequest) XXX_DiscardUnknown()
- func (m *CancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelOrderRequest) XXX_Merge(src proto.Message)
- func (m *CancelOrderRequest) XXX_Size() int
- func (m *CancelOrderRequest) XXX_Unmarshal(b []byte) error
- type CancelOrderResponse
- func (*CancelOrderResponse) Descriptor() ([]byte, []int)
- func (*CancelOrderResponse) ProtoMessage()
- func (m *CancelOrderResponse) Reset()
- func (m *CancelOrderResponse) String() string
- func (m *CancelOrderResponse) XXX_DiscardUnknown()
- func (m *CancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelOrderResponse) XXX_Merge(src proto.Message)
- func (m *CancelOrderResponse) XXX_Size() int
- func (m *CancelOrderResponse) XXX_Unmarshal(b []byte) error
- type CloseAccountRequest
- func (*CloseAccountRequest) Descriptor() ([]byte, []int)
- func (m *CloseAccountRequest) GetFundsDestination() isCloseAccountRequest_FundsDestination
- func (m *CloseAccountRequest) GetOutputWithFee() *OutputWithFee
- func (m *CloseAccountRequest) GetOutputs() *OutputsWithImplicitFee
- func (m *CloseAccountRequest) GetTraderKey() []byte
- func (*CloseAccountRequest) ProtoMessage()
- func (m *CloseAccountRequest) Reset()
- func (m *CloseAccountRequest) String() string
- func (m *CloseAccountRequest) XXX_DiscardUnknown()
- func (m *CloseAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseAccountRequest) XXX_Merge(src proto.Message)
- func (*CloseAccountRequest) XXX_OneofWrappers() []interface{}
- func (m *CloseAccountRequest) XXX_Size() int
- func (m *CloseAccountRequest) XXX_Unmarshal(b []byte) error
- type CloseAccountRequest_OutputWithFee
- type CloseAccountRequest_Outputs
- type CloseAccountResponse
- func (*CloseAccountResponse) Descriptor() ([]byte, []int)
- func (m *CloseAccountResponse) GetCloseTxid() []byte
- func (*CloseAccountResponse) ProtoMessage()
- func (m *CloseAccountResponse) Reset()
- func (m *CloseAccountResponse) String() string
- func (m *CloseAccountResponse) XXX_DiscardUnknown()
- func (m *CloseAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseAccountResponse) XXX_Merge(src proto.Message)
- func (m *CloseAccountResponse) XXX_Size() int
- func (m *CloseAccountResponse) XXX_Unmarshal(b []byte) error
- type DepositAccountRequest
- func (*DepositAccountRequest) Descriptor() ([]byte, []int)
- func (m *DepositAccountRequest) GetAmountSat() uint64
- func (m *DepositAccountRequest) GetFeeRateSatPerKw() uint64
- func (m *DepositAccountRequest) GetTraderKey() []byte
- func (*DepositAccountRequest) ProtoMessage()
- func (m *DepositAccountRequest) Reset()
- func (m *DepositAccountRequest) String() string
- func (m *DepositAccountRequest) XXX_DiscardUnknown()
- func (m *DepositAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositAccountRequest) XXX_Merge(src proto.Message)
- func (m *DepositAccountRequest) XXX_Size() int
- func (m *DepositAccountRequest) XXX_Unmarshal(b []byte) error
- type DepositAccountResponse
- func (*DepositAccountResponse) Descriptor() ([]byte, []int)
- func (m *DepositAccountResponse) GetAccount() *Account
- func (m *DepositAccountResponse) GetDepositTxid() []byte
- func (*DepositAccountResponse) ProtoMessage()
- func (m *DepositAccountResponse) Reset()
- func (m *DepositAccountResponse) String() string
- func (m *DepositAccountResponse) XXX_DiscardUnknown()
- func (m *DepositAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositAccountResponse) XXX_Merge(src proto.Message)
- func (m *DepositAccountResponse) XXX_Size() int
- func (m *DepositAccountResponse) XXX_Unmarshal(b []byte) error
- type ExpectSidecarChannelRequest
- func (*ExpectSidecarChannelRequest) Descriptor() ([]byte, []int)
- func (m *ExpectSidecarChannelRequest) GetTicket() string
- func (*ExpectSidecarChannelRequest) ProtoMessage()
- func (m *ExpectSidecarChannelRequest) Reset()
- func (m *ExpectSidecarChannelRequest) String() string
- func (m *ExpectSidecarChannelRequest) XXX_DiscardUnknown()
- func (m *ExpectSidecarChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpectSidecarChannelRequest) XXX_Merge(src proto.Message)
- func (m *ExpectSidecarChannelRequest) XXX_Size() int
- func (m *ExpectSidecarChannelRequest) XXX_Unmarshal(b []byte) error
- type ExpectSidecarChannelResponse
- func (*ExpectSidecarChannelResponse) Descriptor() ([]byte, []int)
- func (*ExpectSidecarChannelResponse) ProtoMessage()
- func (m *ExpectSidecarChannelResponse) Reset()
- func (m *ExpectSidecarChannelResponse) String() string
- func (m *ExpectSidecarChannelResponse) XXX_DiscardUnknown()
- func (m *ExpectSidecarChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpectSidecarChannelResponse) XXX_Merge(src proto.Message)
- func (m *ExpectSidecarChannelResponse) XXX_Size() int
- func (m *ExpectSidecarChannelResponse) 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) GetAccountsActive() uint32
- func (m *GetInfoResponse) GetAccountsActiveExpired() uint32
- func (m *GetInfoResponse) GetAccountsArchived() uint32
- func (m *GetInfoResponse) GetAccountsTotal() uint32
- func (m *GetInfoResponse) GetBatchesInvolved() uint32
- func (m *GetInfoResponse) GetCurrentBlockHeight() uint32
- func (m *GetInfoResponse) GetLsatTokens() uint32
- func (m *GetInfoResponse) GetMarketInfo() map[uint32]*auctioneerrpc.MarketInfo
- func (m *GetInfoResponse) GetNewNodesOnly() bool
- func (m *GetInfoResponse) GetNodeRating() *auctioneerrpc.NodeRating
- func (m *GetInfoResponse) GetOrdersActive() uint32
- func (m *GetInfoResponse) GetOrdersArchived() uint32
- func (m *GetInfoResponse) GetOrdersTotal() uint32
- func (m *GetInfoResponse) GetSubscribedToAuctioneer() bool
- 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 InitAccountRequest
- func (*InitAccountRequest) Descriptor() ([]byte, []int)
- func (m *InitAccountRequest) GetAbsoluteHeight() uint32
- func (m *InitAccountRequest) GetAccountExpiry() isInitAccountRequest_AccountExpiry
- func (m *InitAccountRequest) GetAccountValue() uint64
- func (m *InitAccountRequest) GetConfTarget() uint32
- func (m *InitAccountRequest) GetFees() isInitAccountRequest_Fees
- func (m *InitAccountRequest) GetInitiator() string
- func (m *InitAccountRequest) GetRelativeHeight() uint32
- func (*InitAccountRequest) ProtoMessage()
- func (m *InitAccountRequest) Reset()
- func (m *InitAccountRequest) String() string
- func (m *InitAccountRequest) XXX_DiscardUnknown()
- func (m *InitAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitAccountRequest) XXX_Merge(src proto.Message)
- func (*InitAccountRequest) XXX_OneofWrappers() []interface{}
- func (m *InitAccountRequest) XXX_Size() int
- func (m *InitAccountRequest) XXX_Unmarshal(b []byte) error
- type InitAccountRequest_AbsoluteHeight
- type InitAccountRequest_ConfTarget
- type InitAccountRequest_RelativeHeight
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)
- func (m *Lease) GetChainFeeSat() uint64
- func (m *Lease) GetChannelAmtSat() uint64
- func (m *Lease) GetChannelDurationBlocks() uint32
- func (m *Lease) GetChannelLeaseExpiry() uint32
- func (m *Lease) GetChannelNodeTier() auctioneerrpc.NodeTier
- func (m *Lease) GetChannelPoint() *auctioneerrpc.OutPoint
- func (m *Lease) GetChannelRemoteNodeKey() []byte
- func (m *Lease) GetClearingRatePrice() uint64
- func (m *Lease) GetExecutionFeeSat() uint64
- func (m *Lease) GetOrderFixedRate() uint64
- func (m *Lease) GetOrderNonce() []byte
- func (m *Lease) GetPremiumSat() uint64
- func (m *Lease) GetPurchased() bool
- func (m *Lease) GetSelfChanBalance() uint64
- func (m *Lease) GetSidecarChannel() bool
- func (*Lease) ProtoMessage()
- func (m *Lease) Reset()
- func (m *Lease) String() string
- func (m *Lease) XXX_DiscardUnknown()
- func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Lease) XXX_Merge(src proto.Message)
- func (m *Lease) XXX_Size() int
- func (m *Lease) XXX_Unmarshal(b []byte) error
- type LeaseDurationRequest
- func (*LeaseDurationRequest) Descriptor() ([]byte, []int)
- func (*LeaseDurationRequest) ProtoMessage()
- func (m *LeaseDurationRequest) Reset()
- func (m *LeaseDurationRequest) String() string
- func (m *LeaseDurationRequest) XXX_DiscardUnknown()
- func (m *LeaseDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeaseDurationRequest) XXX_Merge(src proto.Message)
- func (m *LeaseDurationRequest) XXX_Size() int
- func (m *LeaseDurationRequest) XXX_Unmarshal(b []byte) error
- type LeaseDurationResponse
- func (*LeaseDurationResponse) Descriptor() ([]byte, []int)
- func (m *LeaseDurationResponse) GetLeaseDurationBuckets() map[uint32]auctioneerrpc.DurationBucketState
- func (m *LeaseDurationResponse) GetLeaseDurations() map[uint32]booldeprecated
- func (*LeaseDurationResponse) ProtoMessage()
- func (m *LeaseDurationResponse) Reset()
- func (m *LeaseDurationResponse) String() string
- func (m *LeaseDurationResponse) XXX_DiscardUnknown()
- func (m *LeaseDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeaseDurationResponse) XXX_Merge(src proto.Message)
- func (m *LeaseDurationResponse) XXX_Size() int
- func (m *LeaseDurationResponse) XXX_Unmarshal(b []byte) error
- type LeasesRequest
- func (*LeasesRequest) Descriptor() ([]byte, []int)
- func (m *LeasesRequest) GetAccounts() [][]byte
- func (m *LeasesRequest) GetBatchIds() [][]byte
- func (*LeasesRequest) ProtoMessage()
- func (m *LeasesRequest) Reset()
- func (m *LeasesRequest) String() string
- func (m *LeasesRequest) XXX_DiscardUnknown()
- func (m *LeasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeasesRequest) XXX_Merge(src proto.Message)
- func (m *LeasesRequest) XXX_Size() int
- func (m *LeasesRequest) XXX_Unmarshal(b []byte) error
- type LeasesResponse
- func (*LeasesResponse) Descriptor() ([]byte, []int)
- func (m *LeasesResponse) GetLeases() []*Lease
- func (m *LeasesResponse) GetTotalAmtEarnedSat() uint64
- func (m *LeasesResponse) GetTotalAmtPaidSat() uint64
- func (*LeasesResponse) ProtoMessage()
- func (m *LeasesResponse) Reset()
- func (m *LeasesResponse) String() string
- func (m *LeasesResponse) XXX_DiscardUnknown()
- func (m *LeasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeasesResponse) XXX_Merge(src proto.Message)
- func (m *LeasesResponse) XXX_Size() int
- func (m *LeasesResponse) XXX_Unmarshal(b []byte) error
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)
- func (m *ListAccountsRequest) GetActiveOnly() bool
- func (*ListAccountsRequest) ProtoMessage()
- func (m *ListAccountsRequest) Reset()
- func (m *ListAccountsRequest) String() string
- func (m *ListAccountsRequest) XXX_DiscardUnknown()
- func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountsRequest) XXX_Merge(src proto.Message)
- func (m *ListAccountsRequest) XXX_Size() int
- func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)
- func (m *ListAccountsResponse) GetAccounts() []*Account
- func (*ListAccountsResponse) ProtoMessage()
- func (m *ListAccountsResponse) Reset()
- func (m *ListAccountsResponse) String() string
- func (m *ListAccountsResponse) XXX_DiscardUnknown()
- func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountsResponse) XXX_Merge(src proto.Message)
- func (m *ListAccountsResponse) XXX_Size() int
- func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error
- type ListOrdersRequest
- func (*ListOrdersRequest) Descriptor() ([]byte, []int)
- func (m *ListOrdersRequest) GetActiveOnly() bool
- func (m *ListOrdersRequest) GetVerbose() bool
- 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 ListOrdersResponse
- func (*ListOrdersResponse) Descriptor() ([]byte, []int)
- func (m *ListOrdersResponse) GetAsks() []*Ask
- func (m *ListOrdersResponse) GetBids() []*Bid
- 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 LsatToken
- func (*LsatToken) Descriptor() ([]byte, []int)
- func (m *LsatToken) GetAmountPaidMsat() int64
- func (m *LsatToken) GetBaseMacaroon() []byte
- func (m *LsatToken) GetExpired() bool
- func (m *LsatToken) GetPaymentHash() []byte
- func (m *LsatToken) GetPaymentPreimage() []byte
- func (m *LsatToken) GetRoutingFeePaidMsat() int64
- func (m *LsatToken) GetStorageName() string
- func (m *LsatToken) GetTimeCreated() int64
- func (*LsatToken) ProtoMessage()
- func (m *LsatToken) Reset()
- func (m *LsatToken) String() string
- func (m *LsatToken) XXX_DiscardUnknown()
- func (m *LsatToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LsatToken) XXX_Merge(src proto.Message)
- func (m *LsatToken) XXX_Size() int
- func (m *LsatToken) XXX_Unmarshal(b []byte) error
- type MatchEvent
- func (*MatchEvent) Descriptor() ([]byte, []int)
- func (m *MatchEvent) GetMatchState() MatchState
- func (m *MatchEvent) GetMatchedOrder() []byte
- func (m *MatchEvent) GetRejectReason() MatchRejectReason
- func (m *MatchEvent) GetUnitsFilled() uint32
- func (*MatchEvent) ProtoMessage()
- func (m *MatchEvent) Reset()
- func (m *MatchEvent) String() string
- func (m *MatchEvent) XXX_DiscardUnknown()
- func (m *MatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchEvent) XXX_Merge(src proto.Message)
- func (m *MatchEvent) XXX_Size() int
- func (m *MatchEvent) XXX_Unmarshal(b []byte) error
- type MatchRejectReason
- type MatchState
- type NextBatchInfoRequest
- func (*NextBatchInfoRequest) Descriptor() ([]byte, []int)
- func (*NextBatchInfoRequest) ProtoMessage()
- func (m *NextBatchInfoRequest) Reset()
- func (m *NextBatchInfoRequest) String() string
- func (m *NextBatchInfoRequest) XXX_DiscardUnknown()
- func (m *NextBatchInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NextBatchInfoRequest) XXX_Merge(src proto.Message)
- func (m *NextBatchInfoRequest) XXX_Size() int
- func (m *NextBatchInfoRequest) XXX_Unmarshal(b []byte) error
- type NextBatchInfoResponse
- func (*NextBatchInfoResponse) Descriptor() ([]byte, []int)
- func (m *NextBatchInfoResponse) GetClearTimestamp() uint64
- func (m *NextBatchInfoResponse) GetConfTarget() uint32
- func (m *NextBatchInfoResponse) GetFeeRateSatPerKw() uint64
- func (*NextBatchInfoResponse) ProtoMessage()
- func (m *NextBatchInfoResponse) Reset()
- func (m *NextBatchInfoResponse) String() string
- func (m *NextBatchInfoResponse) XXX_DiscardUnknown()
- func (m *NextBatchInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NextBatchInfoResponse) XXX_Merge(src proto.Message)
- func (m *NextBatchInfoResponse) XXX_Size() int
- func (m *NextBatchInfoResponse) XXX_Unmarshal(b []byte) error
- type NodeRatingRequest
- func (*NodeRatingRequest) Descriptor() ([]byte, []int)
- func (m *NodeRatingRequest) GetNodePubkeys() [][]byte
- func (*NodeRatingRequest) ProtoMessage()
- func (m *NodeRatingRequest) Reset()
- func (m *NodeRatingRequest) String() string
- func (m *NodeRatingRequest) XXX_DiscardUnknown()
- func (m *NodeRatingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeRatingRequest) XXX_Merge(src proto.Message)
- func (m *NodeRatingRequest) XXX_Size() int
- func (m *NodeRatingRequest) XXX_Unmarshal(b []byte) error
- type NodeRatingResponse
- func (*NodeRatingResponse) Descriptor() ([]byte, []int)
- func (m *NodeRatingResponse) GetNodeRatings() []*auctioneerrpc.NodeRating
- func (*NodeRatingResponse) ProtoMessage()
- func (m *NodeRatingResponse) Reset()
- func (m *NodeRatingResponse) String() string
- func (m *NodeRatingResponse) XXX_DiscardUnknown()
- func (m *NodeRatingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeRatingResponse) XXX_Merge(src proto.Message)
- func (m *NodeRatingResponse) XXX_Size() int
- func (m *NodeRatingResponse) XXX_Unmarshal(b []byte) error
- type OfferSidecarRequest
- func (*OfferSidecarRequest) Descriptor() ([]byte, []int)
- func (m *OfferSidecarRequest) GetAutoNegotiate() bool
- func (m *OfferSidecarRequest) GetBid() *Bid
- func (*OfferSidecarRequest) ProtoMessage()
- func (m *OfferSidecarRequest) Reset()
- func (m *OfferSidecarRequest) String() string
- func (m *OfferSidecarRequest) XXX_DiscardUnknown()
- func (m *OfferSidecarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OfferSidecarRequest) XXX_Merge(src proto.Message)
- func (m *OfferSidecarRequest) XXX_Size() int
- func (m *OfferSidecarRequest) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetAmt() uint64
- func (m *Order) GetCreationTimestampNs() uint64
- func (m *Order) GetEvents() []*OrderEvent
- func (m *Order) GetMaxBatchFeeRateSatPerKw() uint64
- func (m *Order) GetMinUnitsMatch() uint32
- func (m *Order) GetOrderNonce() []byte
- func (m *Order) GetRateFixed() uint32
- func (m *Order) GetReservedValueSat() uint64
- func (m *Order) GetState() auctioneerrpc.OrderState
- func (m *Order) GetTraderKey() []byte
- func (m *Order) GetUnits() uint32
- func (m *Order) GetUnitsUnfulfilled() uint32
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderEvent
- func (*OrderEvent) Descriptor() ([]byte, []int)
- func (m *OrderEvent) GetEvent() isOrderEvent_Event
- func (m *OrderEvent) GetEventStr() string
- func (m *OrderEvent) GetMatched() *MatchEvent
- func (m *OrderEvent) GetStateChange() *UpdatedEvent
- func (m *OrderEvent) GetTimestampNs() int64
- func (*OrderEvent) ProtoMessage()
- func (m *OrderEvent) Reset()
- func (m *OrderEvent) String() string
- func (m *OrderEvent) XXX_DiscardUnknown()
- func (m *OrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderEvent) XXX_Merge(src proto.Message)
- func (*OrderEvent) XXX_OneofWrappers() []interface{}
- func (m *OrderEvent) XXX_Size() int
- func (m *OrderEvent) XXX_Unmarshal(b []byte) error
- type OrderEvent_Matched
- type OrderEvent_StateChange
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) GetAddress() string
- func (m *Output) GetValueSat() uint64
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) String() string
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type OutputWithFee
- func (*OutputWithFee) Descriptor() ([]byte, []int)
- func (m *OutputWithFee) GetAddress() string
- func (m *OutputWithFee) GetConfTarget() uint32
- func (m *OutputWithFee) GetFeeRateSatPerKw() uint64
- func (m *OutputWithFee) GetFees() isOutputWithFee_Fees
- func (*OutputWithFee) ProtoMessage()
- func (m *OutputWithFee) Reset()
- func (m *OutputWithFee) String() string
- func (m *OutputWithFee) XXX_DiscardUnknown()
- func (m *OutputWithFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputWithFee) XXX_Merge(src proto.Message)
- func (*OutputWithFee) XXX_OneofWrappers() []interface{}
- func (m *OutputWithFee) XXX_Size() int
- func (m *OutputWithFee) XXX_Unmarshal(b []byte) error
- type OutputWithFee_ConfTarget
- type OutputWithFee_FeeRateSatPerKw
- type OutputsWithImplicitFee
- func (*OutputsWithImplicitFee) Descriptor() ([]byte, []int)
- func (m *OutputsWithImplicitFee) GetOutputs() []*Output
- func (*OutputsWithImplicitFee) ProtoMessage()
- func (m *OutputsWithImplicitFee) Reset()
- func (m *OutputsWithImplicitFee) String() string
- func (m *OutputsWithImplicitFee) XXX_DiscardUnknown()
- func (m *OutputsWithImplicitFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputsWithImplicitFee) XXX_Merge(src proto.Message)
- func (m *OutputsWithImplicitFee) XXX_Size() int
- func (m *OutputsWithImplicitFee) XXX_Unmarshal(b []byte) error
- type QuoteAccountRequest
- func (*QuoteAccountRequest) Descriptor() ([]byte, []int)
- func (m *QuoteAccountRequest) GetAccountValue() uint64
- func (m *QuoteAccountRequest) GetConfTarget() uint32
- func (m *QuoteAccountRequest) GetFees() isQuoteAccountRequest_Fees
- func (*QuoteAccountRequest) ProtoMessage()
- func (m *QuoteAccountRequest) Reset()
- func (m *QuoteAccountRequest) String() string
- func (m *QuoteAccountRequest) XXX_DiscardUnknown()
- func (m *QuoteAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuoteAccountRequest) XXX_Merge(src proto.Message)
- func (*QuoteAccountRequest) XXX_OneofWrappers() []interface{}
- func (m *QuoteAccountRequest) XXX_Size() int
- func (m *QuoteAccountRequest) XXX_Unmarshal(b []byte) error
- type QuoteAccountRequest_ConfTarget
- type QuoteAccountResponse
- func (*QuoteAccountResponse) Descriptor() ([]byte, []int)
- func (m *QuoteAccountResponse) GetMinerFeeRateSatPerKw() uint64
- func (m *QuoteAccountResponse) GetMinerFeeTotal() uint64
- func (*QuoteAccountResponse) ProtoMessage()
- func (m *QuoteAccountResponse) Reset()
- func (m *QuoteAccountResponse) String() string
- func (m *QuoteAccountResponse) XXX_DiscardUnknown()
- func (m *QuoteAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuoteAccountResponse) XXX_Merge(src proto.Message)
- func (m *QuoteAccountResponse) XXX_Size() int
- func (m *QuoteAccountResponse) XXX_Unmarshal(b []byte) error
- type QuoteOrderRequest
- func (*QuoteOrderRequest) Descriptor() ([]byte, []int)
- func (m *QuoteOrderRequest) GetAmt() uint64
- func (m *QuoteOrderRequest) GetLeaseDurationBlocks() uint32
- func (m *QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw() uint64
- func (m *QuoteOrderRequest) GetMinUnitsMatch() uint32
- func (m *QuoteOrderRequest) GetRateFixed() uint32
- func (*QuoteOrderRequest) ProtoMessage()
- func (m *QuoteOrderRequest) Reset()
- func (m *QuoteOrderRequest) String() string
- func (m *QuoteOrderRequest) XXX_DiscardUnknown()
- func (m *QuoteOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuoteOrderRequest) XXX_Merge(src proto.Message)
- func (m *QuoteOrderRequest) XXX_Size() int
- func (m *QuoteOrderRequest) XXX_Unmarshal(b []byte) error
- type QuoteOrderResponse
- func (*QuoteOrderResponse) Descriptor() ([]byte, []int)
- func (m *QuoteOrderResponse) GetRatePerBlock() float64
- func (m *QuoteOrderResponse) GetRatePercent() float64
- func (m *QuoteOrderResponse) GetTotalExecutionFeeSat() uint64
- func (m *QuoteOrderResponse) GetTotalPremiumSat() uint64
- func (m *QuoteOrderResponse) GetWorstCaseChainFeeSat() uint64
- func (*QuoteOrderResponse) ProtoMessage()
- func (m *QuoteOrderResponse) Reset()
- func (m *QuoteOrderResponse) String() string
- func (m *QuoteOrderResponse) XXX_DiscardUnknown()
- func (m *QuoteOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuoteOrderResponse) XXX_Merge(src proto.Message)
- func (m *QuoteOrderResponse) XXX_Size() int
- func (m *QuoteOrderResponse) XXX_Unmarshal(b []byte) error
- type RecoverAccountsRequest
- func (*RecoverAccountsRequest) Descriptor() ([]byte, []int)
- func (*RecoverAccountsRequest) ProtoMessage()
- func (m *RecoverAccountsRequest) Reset()
- func (m *RecoverAccountsRequest) String() string
- func (m *RecoverAccountsRequest) XXX_DiscardUnknown()
- func (m *RecoverAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecoverAccountsRequest) XXX_Merge(src proto.Message)
- func (m *RecoverAccountsRequest) XXX_Size() int
- func (m *RecoverAccountsRequest) XXX_Unmarshal(b []byte) error
- type RecoverAccountsResponse
- func (*RecoverAccountsResponse) Descriptor() ([]byte, []int)
- func (m *RecoverAccountsResponse) GetNumRecoveredAccounts() uint32
- func (*RecoverAccountsResponse) ProtoMessage()
- func (m *RecoverAccountsResponse) Reset()
- func (m *RecoverAccountsResponse) String() string
- func (m *RecoverAccountsResponse) XXX_DiscardUnknown()
- func (m *RecoverAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecoverAccountsResponse) XXX_Merge(src proto.Message)
- func (m *RecoverAccountsResponse) XXX_Size() int
- func (m *RecoverAccountsResponse) XXX_Unmarshal(b []byte) error
- type RegisterSidecarRequest
- func (*RegisterSidecarRequest) Descriptor() ([]byte, []int)
- func (m *RegisterSidecarRequest) GetAutoNegotiate() bool
- func (m *RegisterSidecarRequest) GetTicket() string
- func (*RegisterSidecarRequest) ProtoMessage()
- func (m *RegisterSidecarRequest) Reset()
- func (m *RegisterSidecarRequest) String() string
- func (m *RegisterSidecarRequest) XXX_DiscardUnknown()
- func (m *RegisterSidecarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterSidecarRequest) XXX_Merge(src proto.Message)
- func (m *RegisterSidecarRequest) XXX_Size() int
- func (m *RegisterSidecarRequest) XXX_Unmarshal(b []byte) error
- type RenewAccountRequest
- func (*RenewAccountRequest) Descriptor() ([]byte, []int)
- func (m *RenewAccountRequest) GetAbsoluteExpiry() uint32
- func (m *RenewAccountRequest) GetAccountExpiry() isRenewAccountRequest_AccountExpiry
- func (m *RenewAccountRequest) GetAccountKey() []byte
- func (m *RenewAccountRequest) GetFeeRateSatPerKw() uint64
- func (m *RenewAccountRequest) GetRelativeExpiry() uint32
- func (*RenewAccountRequest) ProtoMessage()
- func (m *RenewAccountRequest) Reset()
- func (m *RenewAccountRequest) String() string
- func (m *RenewAccountRequest) XXX_DiscardUnknown()
- func (m *RenewAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewAccountRequest) XXX_Merge(src proto.Message)
- func (*RenewAccountRequest) XXX_OneofWrappers() []interface{}
- func (m *RenewAccountRequest) XXX_Size() int
- func (m *RenewAccountRequest) XXX_Unmarshal(b []byte) error
- type RenewAccountRequest_AbsoluteExpiry
- type RenewAccountRequest_RelativeExpiry
- type RenewAccountResponse
- func (*RenewAccountResponse) Descriptor() ([]byte, []int)
- func (m *RenewAccountResponse) GetAccount() *Account
- func (m *RenewAccountResponse) GetRenewalTxid() []byte
- func (*RenewAccountResponse) ProtoMessage()
- func (m *RenewAccountResponse) Reset()
- func (m *RenewAccountResponse) String() string
- func (m *RenewAccountResponse) XXX_DiscardUnknown()
- func (m *RenewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewAccountResponse) XXX_Merge(src proto.Message)
- func (m *RenewAccountResponse) XXX_Size() int
- func (m *RenewAccountResponse) XXX_Unmarshal(b []byte) error
- type SidecarTicket
- func (*SidecarTicket) Descriptor() ([]byte, []int)
- func (m *SidecarTicket) GetTicket() string
- func (*SidecarTicket) ProtoMessage()
- func (m *SidecarTicket) Reset()
- func (m *SidecarTicket) String() string
- func (m *SidecarTicket) XXX_DiscardUnknown()
- func (m *SidecarTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SidecarTicket) XXX_Merge(src proto.Message)
- func (m *SidecarTicket) XXX_Size() int
- func (m *SidecarTicket) XXX_Unmarshal(b []byte) error
- type StopDaemonRequest
- func (*StopDaemonRequest) Descriptor() ([]byte, []int)
- func (*StopDaemonRequest) ProtoMessage()
- func (m *StopDaemonRequest) Reset()
- func (m *StopDaemonRequest) String() string
- func (m *StopDaemonRequest) XXX_DiscardUnknown()
- func (m *StopDaemonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopDaemonRequest) XXX_Merge(src proto.Message)
- func (m *StopDaemonRequest) XXX_Size() int
- func (m *StopDaemonRequest) XXX_Unmarshal(b []byte) error
- type StopDaemonResponse
- func (*StopDaemonResponse) Descriptor() ([]byte, []int)
- func (*StopDaemonResponse) ProtoMessage()
- func (m *StopDaemonResponse) Reset()
- func (m *StopDaemonResponse) String() string
- func (m *StopDaemonResponse) XXX_DiscardUnknown()
- func (m *StopDaemonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopDaemonResponse) XXX_Merge(src proto.Message)
- func (m *StopDaemonResponse) XXX_Size() int
- func (m *StopDaemonResponse) XXX_Unmarshal(b []byte) error
- type SubmitOrderRequest
- func (*SubmitOrderRequest) Descriptor() ([]byte, []int)
- func (m *SubmitOrderRequest) GetAsk() *Ask
- func (m *SubmitOrderRequest) GetBid() *Bid
- func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details
- func (m *SubmitOrderRequest) GetInitiator() string
- func (*SubmitOrderRequest) ProtoMessage()
- func (m *SubmitOrderRequest) Reset()
- func (m *SubmitOrderRequest) String() string
- func (m *SubmitOrderRequest) XXX_DiscardUnknown()
- func (m *SubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitOrderRequest) XXX_Merge(src proto.Message)
- func (*SubmitOrderRequest) XXX_OneofWrappers() []interface{}
- func (m *SubmitOrderRequest) XXX_Size() int
- func (m *SubmitOrderRequest) XXX_Unmarshal(b []byte) error
- type SubmitOrderRequest_Ask
- type SubmitOrderRequest_Bid
- type SubmitOrderResponse
- func (*SubmitOrderResponse) Descriptor() ([]byte, []int)
- func (m *SubmitOrderResponse) GetAcceptedOrderNonce() []byte
- func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details
- func (m *SubmitOrderResponse) GetInvalidOrder() *auctioneerrpc.InvalidOrder
- func (*SubmitOrderResponse) ProtoMessage()
- func (m *SubmitOrderResponse) Reset()
- func (m *SubmitOrderResponse) String() string
- func (m *SubmitOrderResponse) XXX_DiscardUnknown()
- func (m *SubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitOrderResponse) XXX_Merge(src proto.Message)
- func (*SubmitOrderResponse) XXX_OneofWrappers() []interface{}
- func (m *SubmitOrderResponse) XXX_Size() int
- func (m *SubmitOrderResponse) XXX_Unmarshal(b []byte) error
- type SubmitOrderResponse_AcceptedOrderNonce
- type SubmitOrderResponse_InvalidOrder
- type TokensRequest
- func (*TokensRequest) Descriptor() ([]byte, []int)
- func (*TokensRequest) ProtoMessage()
- func (m *TokensRequest) Reset()
- func (m *TokensRequest) String() string
- func (m *TokensRequest) XXX_DiscardUnknown()
- func (m *TokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokensRequest) XXX_Merge(src proto.Message)
- func (m *TokensRequest) XXX_Size() int
- func (m *TokensRequest) XXX_Unmarshal(b []byte) error
- type TokensResponse
- func (*TokensResponse) Descriptor() ([]byte, []int)
- func (m *TokensResponse) GetTokens() []*LsatToken
- func (*TokensResponse) ProtoMessage()
- func (m *TokensResponse) Reset()
- func (m *TokensResponse) String() string
- func (m *TokensResponse) XXX_DiscardUnknown()
- func (m *TokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokensResponse) XXX_Merge(src proto.Message)
- func (m *TokensResponse) XXX_Size() int
- func (m *TokensResponse) XXX_Unmarshal(b []byte) error
- type TraderClient
- type TraderServer
- type UnimplementedTraderServer
- func (*UnimplementedTraderServer) AuctionFee(ctx context.Context, req *AuctionFeeRequest) (*AuctionFeeResponse, error)
- func (*UnimplementedTraderServer) BatchSnapshot(ctx context.Context, req *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
- func (*UnimplementedTraderServer) BatchSnapshots(ctx context.Context, req *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
- func (*UnimplementedTraderServer) BumpAccountFee(ctx context.Context, req *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
- func (*UnimplementedTraderServer) CancelOrder(ctx context.Context, req *CancelOrderRequest) (*CancelOrderResponse, error)
- func (*UnimplementedTraderServer) CloseAccount(ctx context.Context, req *CloseAccountRequest) (*CloseAccountResponse, error)
- func (*UnimplementedTraderServer) DepositAccount(ctx context.Context, req *DepositAccountRequest) (*DepositAccountResponse, error)
- func (*UnimplementedTraderServer) ExpectSidecarChannel(ctx context.Context, req *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error)
- func (*UnimplementedTraderServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*GetInfoResponse, error)
- func (*UnimplementedTraderServer) GetLsatTokens(ctx context.Context, req *TokensRequest) (*TokensResponse, error)
- func (*UnimplementedTraderServer) InitAccount(ctx context.Context, req *InitAccountRequest) (*Account, error)
- func (*UnimplementedTraderServer) LeaseDurations(ctx context.Context, req *LeaseDurationRequest) (*LeaseDurationResponse, error)
- func (*UnimplementedTraderServer) Leases(ctx context.Context, req *LeasesRequest) (*LeasesResponse, error)
- func (*UnimplementedTraderServer) ListAccounts(ctx context.Context, req *ListAccountsRequest) (*ListAccountsResponse, error)
- func (*UnimplementedTraderServer) ListOrders(ctx context.Context, req *ListOrdersRequest) (*ListOrdersResponse, error)
- func (*UnimplementedTraderServer) NextBatchInfo(ctx context.Context, req *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
- func (*UnimplementedTraderServer) NodeRatings(ctx context.Context, req *NodeRatingRequest) (*NodeRatingResponse, error)
- func (*UnimplementedTraderServer) OfferSidecar(ctx context.Context, req *OfferSidecarRequest) (*SidecarTicket, error)
- func (*UnimplementedTraderServer) QuoteAccount(ctx context.Context, req *QuoteAccountRequest) (*QuoteAccountResponse, error)
- func (*UnimplementedTraderServer) QuoteOrder(ctx context.Context, req *QuoteOrderRequest) (*QuoteOrderResponse, error)
- func (*UnimplementedTraderServer) RecoverAccounts(ctx context.Context, req *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
- func (*UnimplementedTraderServer) RegisterSidecar(ctx context.Context, req *RegisterSidecarRequest) (*SidecarTicket, error)
- func (*UnimplementedTraderServer) RenewAccount(ctx context.Context, req *RenewAccountRequest) (*RenewAccountResponse, error)
- func (*UnimplementedTraderServer) StopDaemon(ctx context.Context, req *StopDaemonRequest) (*StopDaemonResponse, error)
- func (*UnimplementedTraderServer) SubmitOrder(ctx context.Context, req *SubmitOrderRequest) (*SubmitOrderResponse, error)
- func (*UnimplementedTraderServer) WithdrawAccount(ctx context.Context, req *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
- type UpdatedEvent
- func (*UpdatedEvent) Descriptor() ([]byte, []int)
- func (m *UpdatedEvent) GetNewState() auctioneerrpc.OrderState
- func (m *UpdatedEvent) GetPreviousState() auctioneerrpc.OrderState
- func (m *UpdatedEvent) GetUnitsFilled() uint32
- func (*UpdatedEvent) ProtoMessage()
- func (m *UpdatedEvent) Reset()
- func (m *UpdatedEvent) String() string
- func (m *UpdatedEvent) XXX_DiscardUnknown()
- func (m *UpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatedEvent) XXX_Merge(src proto.Message)
- func (m *UpdatedEvent) XXX_Size() int
- func (m *UpdatedEvent) XXX_Unmarshal(b []byte) error
- type WithdrawAccountRequest
- func (*WithdrawAccountRequest) Descriptor() ([]byte, []int)
- func (m *WithdrawAccountRequest) GetFeeRateSatPerKw() uint64
- func (m *WithdrawAccountRequest) GetOutputs() []*Output
- func (m *WithdrawAccountRequest) GetTraderKey() []byte
- func (*WithdrawAccountRequest) ProtoMessage()
- func (m *WithdrawAccountRequest) Reset()
- func (m *WithdrawAccountRequest) String() string
- func (m *WithdrawAccountRequest) XXX_DiscardUnknown()
- func (m *WithdrawAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawAccountRequest) XXX_Merge(src proto.Message)
- func (m *WithdrawAccountRequest) XXX_Size() int
- func (m *WithdrawAccountRequest) XXX_Unmarshal(b []byte) error
- type WithdrawAccountResponse
- func (*WithdrawAccountResponse) Descriptor() ([]byte, []int)
- func (m *WithdrawAccountResponse) GetAccount() *Account
- func (m *WithdrawAccountResponse) GetWithdrawTxid() []byte
- func (*WithdrawAccountResponse) ProtoMessage()
- func (m *WithdrawAccountResponse) Reset()
- func (m *WithdrawAccountResponse) String() string
- func (m *WithdrawAccountResponse) XXX_DiscardUnknown()
- func (m *WithdrawAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawAccountResponse) XXX_Merge(src proto.Message)
- func (m *WithdrawAccountResponse) XXX_Size() int
- func (m *WithdrawAccountResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var AccountState_name = map[int32]string{
0: "PENDING_OPEN",
1: "PENDING_UPDATE",
2: "OPEN",
3: "EXPIRED",
4: "PENDING_CLOSED",
5: "CLOSED",
6: "RECOVERY_FAILED",
7: "PENDING_BATCH",
}
var AccountState_value = map[string]int32{
"PENDING_OPEN": 0,
"PENDING_UPDATE": 1,
"OPEN": 2,
"EXPIRED": 3,
"PENDING_CLOSED": 4,
"CLOSED": 5,
"RECOVERY_FAILED": 6,
"PENDING_BATCH": 7,
}
var MatchRejectReason_name = map[int32]string{
0: "NONE",
1: "SERVER_MISBEHAVIOR",
2: "BATCH_VERSION_MISMATCH",
3: "PARTIAL_REJECT_COLLATERAL",
4: "PARTIAL_REJECT_DUPLICATE_PEER",
5: "PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",
}
var MatchRejectReason_value = map[string]int32{
"NONE": 0,
"SERVER_MISBEHAVIOR": 1,
"BATCH_VERSION_MISMATCH": 2,
"PARTIAL_REJECT_COLLATERAL": 3,
"PARTIAL_REJECT_DUPLICATE_PEER": 4,
"PARTIAL_REJECT_CHANNEL_FUNDING_FAILED": 5,
}
var MatchState_name = map[int32]string{
0: "PREPARE",
1: "ACCEPTED",
2: "REJECTED",
3: "SIGNED",
4: "FINALIZED",
}
var MatchState_value = map[string]int32{
"PREPARE": 0,
"ACCEPTED": 1,
"REJECTED": 2,
"SIGNED": 3,
"FINALIZED": 4,
}
Functions ¶
func RegisterTraderHandler ¶
RegisterTraderHandler registers the http handlers for service Trader to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTraderHandlerClient ¶
func RegisterTraderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TraderClient) error
RegisterTraderHandlerClient registers the http handlers for service Trader to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TraderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TraderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TraderClient" to call the correct interceptors.
func RegisterTraderHandlerFromEndpoint ¶
func RegisterTraderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTraderHandlerFromEndpoint is same as RegisterTraderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTraderHandlerServer ¶
func RegisterTraderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TraderServer) error
RegisterTraderHandlerServer registers the http handlers for service Trader to "mux". UnaryRPC :call TraderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterTraderServer ¶
func RegisterTraderServer(s *grpc.Server, srv TraderServer)
Types ¶
type Account ¶
type Account struct {
//
//The identifying component of an account. This is the key used for the trader
//in the 2-of-2 multi-sig construction of an account with an auctioneer.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//The current outpoint associated with the account. This will change every
//time the account has been updated.
Outpoint *auctioneerrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
// The current total amount of satoshis in the account.
Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
//
//The amount of satoshis in the account that is available, meaning not
//allocated to any oustanding orders.
AvailableBalance uint64 `protobuf:"varint,4,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
// The height at which the account will expire.
ExpirationHeight uint32 `protobuf:"varint,5,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
// The current state of the account.
State AccountState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.AccountState" json:"state,omitempty"`
// The hash of the account's latest transaction.
LatestTxid []byte `protobuf:"bytes,7,opt,name=latest_txid,json=latestTxid,proto3" json:"latest_txid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Account) Descriptor ¶
func (*Account) GetAvailableBalance ¶
func (*Account) GetExpirationHeight ¶
func (*Account) GetLatestTxid ¶
func (*Account) GetOutpoint ¶
func (m *Account) GetOutpoint() *auctioneerrpc.OutPoint
func (*Account) GetState ¶
func (m *Account) GetState() AccountState
func (*Account) GetTraderKey ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountState ¶
type AccountState int32
const ( // The state of an account when it is pending its confirmation on-chain. AccountState_PENDING_OPEN AccountState = 0 // //The state of an account when it has undergone an update on-chain either as //part of a matched order or a trader modification and it is pending its //confirmation on-chain. AccountState_PENDING_UPDATE AccountState = 1 // The state of an account once it has confirmed on-chain. AccountState_OPEN AccountState = 2 // //The state of an account once its expiration has been reached and its closing //transaction has confirmed. AccountState_EXPIRED AccountState = 3 // //The state of an account when we're waiting for the closing transaction of //an account to confirm that required cooperation with the auctioneer. AccountState_PENDING_CLOSED AccountState = 4 // The state of an account once its closing transaction has confirmed. AccountState_CLOSED AccountState = 5 // //The state of an account that indicates that the account was attempted to be //recovered but failed because the opening transaction wasn't found by lnd. //This could be because it was never published or it never confirmed. Then the //funds are SAFU and the account can be considered to never have been opened //in the first place. AccountState_RECOVERY_FAILED AccountState = 6 // //The account has recently participated in a batch and is not yet confirmed. AccountState_PENDING_BATCH AccountState = 7 )
func (AccountState) EnumDescriptor ¶
func (AccountState) EnumDescriptor() ([]byte, []int)
func (AccountState) String ¶
func (x AccountState) String() string
type Ask ¶
type Ask struct {
//
//The common fields shared between both ask and bid order types.
Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
//
//The number of blocks the liquidity provider is willing to provide the
//channel funds for.
LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
//
//The version of the order format that is used. Will be increased once new
//features are added.
Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Ask) Descriptor ¶
func (*Ask) GetDetails ¶
func (*Ask) GetLeaseDurationBlocks ¶
func (*Ask) GetVersion ¶
func (*Ask) ProtoMessage ¶
func (*Ask) ProtoMessage()
func (*Ask) XXX_DiscardUnknown ¶
func (m *Ask) XXX_DiscardUnknown()
func (*Ask) XXX_Unmarshal ¶
type AuctionFeeRequest ¶
type AuctionFeeRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuctionFeeRequest) Descriptor ¶
func (*AuctionFeeRequest) Descriptor() ([]byte, []int)
func (*AuctionFeeRequest) ProtoMessage ¶
func (*AuctionFeeRequest) ProtoMessage()
func (*AuctionFeeRequest) Reset ¶
func (m *AuctionFeeRequest) Reset()
func (*AuctionFeeRequest) String ¶
func (m *AuctionFeeRequest) String() string
func (*AuctionFeeRequest) XXX_DiscardUnknown ¶
func (m *AuctionFeeRequest) XXX_DiscardUnknown()
func (*AuctionFeeRequest) XXX_Marshal ¶
func (m *AuctionFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionFeeRequest) XXX_Merge ¶
func (m *AuctionFeeRequest) XXX_Merge(src proto.Message)
func (*AuctionFeeRequest) XXX_Size ¶
func (m *AuctionFeeRequest) XXX_Size() int
func (*AuctionFeeRequest) XXX_Unmarshal ¶
func (m *AuctionFeeRequest) XXX_Unmarshal(b []byte) error
type AuctionFeeResponse ¶
type AuctionFeeResponse struct {
//
//The execution fee charged per matched order.
ExecutionFee *auctioneerrpc.ExecutionFee `protobuf:"bytes,1,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuctionFeeResponse) Descriptor ¶
func (*AuctionFeeResponse) Descriptor() ([]byte, []int)
func (*AuctionFeeResponse) GetExecutionFee ¶
func (m *AuctionFeeResponse) GetExecutionFee() *auctioneerrpc.ExecutionFee
func (*AuctionFeeResponse) ProtoMessage ¶
func (*AuctionFeeResponse) ProtoMessage()
func (*AuctionFeeResponse) Reset ¶
func (m *AuctionFeeResponse) Reset()
func (*AuctionFeeResponse) String ¶
func (m *AuctionFeeResponse) String() string
func (*AuctionFeeResponse) XXX_DiscardUnknown ¶
func (m *AuctionFeeResponse) XXX_DiscardUnknown()
func (*AuctionFeeResponse) XXX_Marshal ¶
func (m *AuctionFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionFeeResponse) XXX_Merge ¶
func (m *AuctionFeeResponse) XXX_Merge(src proto.Message)
func (*AuctionFeeResponse) XXX_Size ¶
func (m *AuctionFeeResponse) XXX_Size() int
func (*AuctionFeeResponse) XXX_Unmarshal ¶
func (m *AuctionFeeResponse) XXX_Unmarshal(b []byte) error
type Bid ¶
type Bid struct {
//
//The common fields shared between both ask and bid order types.
Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
//
//Required number of blocks that a channel opened as a result of this bid
//should be kept open.
LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
//
//The version of the order format that is used. Will be increased once new
//features are added.
Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
//
//The minimum node tier this order should be matched with. Only asks backed by
//a node this tier or higher will be eligible for matching with this bid.
MinNodeTier auctioneerrpc.NodeTier `protobuf:"varint,4,opt,name=min_node_tier,json=minNodeTier,proto3,enum=poolrpc.NodeTier" json:"min_node_tier,omitempty"`
//
//Give the incoming channel that results from this bid being matched an
//initial outbound balance by adding additional funds from the taker's account
//into the channel. As a simplification for the execution protocol and the
//channel reserve calculations, the self_chan_balance can be at most the same
//as the order amount and the min_chan_amt must be set to the full order
//amount.
SelfChanBalance uint64 `protobuf:"varint,5,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"`
//
//If this bid order is meant to lease a channel for another node (which is
//dubbed a "sidecar channel") then this ticket contains all information
//required for setting up that sidecar channel. The ticket is expected to be
//the base64 encoded ticket, including the prefix and the checksum.
SidecarTicket string `protobuf:"bytes,6,opt,name=sidecar_ticket,json=sidecarTicket,proto3" json:"sidecar_ticket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Bid) Descriptor ¶
func (*Bid) GetDetails ¶
func (*Bid) GetLeaseDurationBlocks ¶
func (*Bid) GetMinNodeTier ¶
func (m *Bid) GetMinNodeTier() auctioneerrpc.NodeTier
func (*Bid) GetSelfChanBalance ¶
func (*Bid) GetSidecarTicket ¶
func (*Bid) GetVersion ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) XXX_DiscardUnknown ¶
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Unmarshal ¶
type BumpAccountFeeRequest ¶
type BumpAccountFeeRequest struct {
//
//The trader key associated with the account that will have its fee bumped.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//The new fee rate, in satoshis per kw, to use for the child of the account
//transaction.
FeeRateSatPerKw uint64 `protobuf:"varint,2,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BumpAccountFeeRequest) Descriptor ¶
func (*BumpAccountFeeRequest) Descriptor() ([]byte, []int)
func (*BumpAccountFeeRequest) GetFeeRateSatPerKw ¶
func (m *BumpAccountFeeRequest) GetFeeRateSatPerKw() uint64
func (*BumpAccountFeeRequest) GetTraderKey ¶
func (m *BumpAccountFeeRequest) GetTraderKey() []byte
func (*BumpAccountFeeRequest) ProtoMessage ¶
func (*BumpAccountFeeRequest) ProtoMessage()
func (*BumpAccountFeeRequest) Reset ¶
func (m *BumpAccountFeeRequest) Reset()
func (*BumpAccountFeeRequest) String ¶
func (m *BumpAccountFeeRequest) String() string
func (*BumpAccountFeeRequest) XXX_DiscardUnknown ¶
func (m *BumpAccountFeeRequest) XXX_DiscardUnknown()
func (*BumpAccountFeeRequest) XXX_Marshal ¶
func (m *BumpAccountFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BumpAccountFeeRequest) XXX_Merge ¶
func (m *BumpAccountFeeRequest) XXX_Merge(src proto.Message)
func (*BumpAccountFeeRequest) XXX_Size ¶
func (m *BumpAccountFeeRequest) XXX_Size() int
func (*BumpAccountFeeRequest) XXX_Unmarshal ¶
func (m *BumpAccountFeeRequest) XXX_Unmarshal(b []byte) error
type BumpAccountFeeResponse ¶
type BumpAccountFeeResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BumpAccountFeeResponse) Descriptor ¶
func (*BumpAccountFeeResponse) Descriptor() ([]byte, []int)
func (*BumpAccountFeeResponse) ProtoMessage ¶
func (*BumpAccountFeeResponse) ProtoMessage()
func (*BumpAccountFeeResponse) Reset ¶
func (m *BumpAccountFeeResponse) Reset()
func (*BumpAccountFeeResponse) String ¶
func (m *BumpAccountFeeResponse) String() string
func (*BumpAccountFeeResponse) XXX_DiscardUnknown ¶
func (m *BumpAccountFeeResponse) XXX_DiscardUnknown()
func (*BumpAccountFeeResponse) XXX_Marshal ¶
func (m *BumpAccountFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BumpAccountFeeResponse) XXX_Merge ¶
func (m *BumpAccountFeeResponse) XXX_Merge(src proto.Message)
func (*BumpAccountFeeResponse) XXX_Size ¶
func (m *BumpAccountFeeResponse) XXX_Size() int
func (*BumpAccountFeeResponse) XXX_Unmarshal ¶
func (m *BumpAccountFeeResponse) XXX_Unmarshal(b []byte) error
type CancelOrderRequest ¶
type CancelOrderRequest struct {
OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CancelOrderRequest) Descriptor ¶
func (*CancelOrderRequest) Descriptor() ([]byte, []int)
func (*CancelOrderRequest) GetOrderNonce ¶
func (m *CancelOrderRequest) GetOrderNonce() []byte
func (*CancelOrderRequest) ProtoMessage ¶
func (*CancelOrderRequest) ProtoMessage()
func (*CancelOrderRequest) Reset ¶
func (m *CancelOrderRequest) Reset()
func (*CancelOrderRequest) String ¶
func (m *CancelOrderRequest) String() string
func (*CancelOrderRequest) XXX_DiscardUnknown ¶
func (m *CancelOrderRequest) XXX_DiscardUnknown()
func (*CancelOrderRequest) XXX_Marshal ¶
func (m *CancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelOrderRequest) XXX_Merge ¶
func (m *CancelOrderRequest) XXX_Merge(src proto.Message)
func (*CancelOrderRequest) XXX_Size ¶
func (m *CancelOrderRequest) XXX_Size() int
func (*CancelOrderRequest) XXX_Unmarshal ¶
func (m *CancelOrderRequest) XXX_Unmarshal(b []byte) error
type CancelOrderResponse ¶
type CancelOrderResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CancelOrderResponse) Descriptor ¶
func (*CancelOrderResponse) Descriptor() ([]byte, []int)
func (*CancelOrderResponse) ProtoMessage ¶
func (*CancelOrderResponse) ProtoMessage()
func (*CancelOrderResponse) Reset ¶
func (m *CancelOrderResponse) Reset()
func (*CancelOrderResponse) String ¶
func (m *CancelOrderResponse) String() string
func (*CancelOrderResponse) XXX_DiscardUnknown ¶
func (m *CancelOrderResponse) XXX_DiscardUnknown()
func (*CancelOrderResponse) XXX_Marshal ¶
func (m *CancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelOrderResponse) XXX_Merge ¶
func (m *CancelOrderResponse) XXX_Merge(src proto.Message)
func (*CancelOrderResponse) XXX_Size ¶
func (m *CancelOrderResponse) XXX_Size() int
func (*CancelOrderResponse) XXX_Unmarshal ¶
func (m *CancelOrderResponse) XXX_Unmarshal(b []byte) error
type CloseAccountRequest ¶
type CloseAccountRequest struct {
// The trader key associated with the account that will be closed.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
// Types that are valid to be assigned to FundsDestination:
// *CloseAccountRequest_OutputWithFee
// *CloseAccountRequest_Outputs
FundsDestination isCloseAccountRequest_FundsDestination `protobuf_oneof:"funds_destination"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CloseAccountRequest) Descriptor ¶
func (*CloseAccountRequest) Descriptor() ([]byte, []int)
func (*CloseAccountRequest) GetFundsDestination ¶
func (m *CloseAccountRequest) GetFundsDestination() isCloseAccountRequest_FundsDestination
func (*CloseAccountRequest) GetOutputWithFee ¶
func (m *CloseAccountRequest) GetOutputWithFee() *OutputWithFee
func (*CloseAccountRequest) GetOutputs ¶
func (m *CloseAccountRequest) GetOutputs() *OutputsWithImplicitFee
func (*CloseAccountRequest) GetTraderKey ¶
func (m *CloseAccountRequest) GetTraderKey() []byte
func (*CloseAccountRequest) ProtoMessage ¶
func (*CloseAccountRequest) ProtoMessage()
func (*CloseAccountRequest) Reset ¶
func (m *CloseAccountRequest) Reset()
func (*CloseAccountRequest) String ¶
func (m *CloseAccountRequest) String() string
func (*CloseAccountRequest) XXX_DiscardUnknown ¶
func (m *CloseAccountRequest) XXX_DiscardUnknown()
func (*CloseAccountRequest) XXX_Marshal ¶
func (m *CloseAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseAccountRequest) XXX_Merge ¶
func (m *CloseAccountRequest) XXX_Merge(src proto.Message)
func (*CloseAccountRequest) XXX_OneofWrappers ¶
func (*CloseAccountRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CloseAccountRequest) XXX_Size ¶
func (m *CloseAccountRequest) XXX_Size() int
func (*CloseAccountRequest) XXX_Unmarshal ¶
func (m *CloseAccountRequest) XXX_Unmarshal(b []byte) error
type CloseAccountRequest_OutputWithFee ¶
type CloseAccountRequest_OutputWithFee struct {
OutputWithFee *OutputWithFee `protobuf:"bytes,2,opt,name=output_with_fee,json=outputWithFee,proto3,oneof"`
}
type CloseAccountRequest_Outputs ¶
type CloseAccountRequest_Outputs struct {
Outputs *OutputsWithImplicitFee `protobuf:"bytes,3,opt,name=outputs,proto3,oneof"`
}
type CloseAccountResponse ¶
type CloseAccountResponse struct {
// The hash of the closing transaction.
CloseTxid []byte `protobuf:"bytes,1,opt,name=close_txid,json=closeTxid,proto3" json:"close_txid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CloseAccountResponse) Descriptor ¶
func (*CloseAccountResponse) Descriptor() ([]byte, []int)
func (*CloseAccountResponse) GetCloseTxid ¶
func (m *CloseAccountResponse) GetCloseTxid() []byte
func (*CloseAccountResponse) ProtoMessage ¶
func (*CloseAccountResponse) ProtoMessage()
func (*CloseAccountResponse) Reset ¶
func (m *CloseAccountResponse) Reset()
func (*CloseAccountResponse) String ¶
func (m *CloseAccountResponse) String() string
func (*CloseAccountResponse) XXX_DiscardUnknown ¶
func (m *CloseAccountResponse) XXX_DiscardUnknown()
func (*CloseAccountResponse) XXX_Marshal ¶
func (m *CloseAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseAccountResponse) XXX_Merge ¶
func (m *CloseAccountResponse) XXX_Merge(src proto.Message)
func (*CloseAccountResponse) XXX_Size ¶
func (m *CloseAccountResponse) XXX_Size() int
func (*CloseAccountResponse) XXX_Unmarshal ¶
func (m *CloseAccountResponse) XXX_Unmarshal(b []byte) error
type DepositAccountRequest ¶
type DepositAccountRequest struct {
//
//The trader key associated with the account that funds will be deposited
//into.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
// The amount in satoshis to deposit into the account.
AmountSat uint64 `protobuf:"varint,2,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
//
//The fee rate, in satoshis per kw, to use for the deposit transaction.
FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DepositAccountRequest) Descriptor ¶
func (*DepositAccountRequest) Descriptor() ([]byte, []int)
func (*DepositAccountRequest) GetAmountSat ¶
func (m *DepositAccountRequest) GetAmountSat() uint64
func (*DepositAccountRequest) GetFeeRateSatPerKw ¶
func (m *DepositAccountRequest) GetFeeRateSatPerKw() uint64
func (*DepositAccountRequest) GetTraderKey ¶
func (m *DepositAccountRequest) GetTraderKey() []byte
func (*DepositAccountRequest) ProtoMessage ¶
func (*DepositAccountRequest) ProtoMessage()
func (*DepositAccountRequest) Reset ¶
func (m *DepositAccountRequest) Reset()
func (*DepositAccountRequest) String ¶
func (m *DepositAccountRequest) String() string
func (*DepositAccountRequest) XXX_DiscardUnknown ¶
func (m *DepositAccountRequest) XXX_DiscardUnknown()
func (*DepositAccountRequest) XXX_Marshal ¶
func (m *DepositAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositAccountRequest) XXX_Merge ¶
func (m *DepositAccountRequest) XXX_Merge(src proto.Message)
func (*DepositAccountRequest) XXX_Size ¶
func (m *DepositAccountRequest) XXX_Size() int
func (*DepositAccountRequest) XXX_Unmarshal ¶
func (m *DepositAccountRequest) XXX_Unmarshal(b []byte) error
type DepositAccountResponse ¶
type DepositAccountResponse struct {
// The state of the account after processing the deposit.
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// The transaction used to deposit funds into the account.
DepositTxid []byte `protobuf:"bytes,2,opt,name=deposit_txid,json=depositTxid,proto3" json:"deposit_txid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DepositAccountResponse) Descriptor ¶
func (*DepositAccountResponse) Descriptor() ([]byte, []int)
func (*DepositAccountResponse) GetAccount ¶
func (m *DepositAccountResponse) GetAccount() *Account
func (*DepositAccountResponse) GetDepositTxid ¶
func (m *DepositAccountResponse) GetDepositTxid() []byte
func (*DepositAccountResponse) ProtoMessage ¶
func (*DepositAccountResponse) ProtoMessage()
func (*DepositAccountResponse) Reset ¶
func (m *DepositAccountResponse) Reset()
func (*DepositAccountResponse) String ¶
func (m *DepositAccountResponse) String() string
func (*DepositAccountResponse) XXX_DiscardUnknown ¶
func (m *DepositAccountResponse) XXX_DiscardUnknown()
func (*DepositAccountResponse) XXX_Marshal ¶
func (m *DepositAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositAccountResponse) XXX_Merge ¶
func (m *DepositAccountResponse) XXX_Merge(src proto.Message)
func (*DepositAccountResponse) XXX_Size ¶
func (m *DepositAccountResponse) XXX_Size() int
func (*DepositAccountResponse) XXX_Unmarshal ¶
func (m *DepositAccountResponse) XXX_Unmarshal(b []byte) error
type ExpectSidecarChannelRequest ¶
type ExpectSidecarChannelRequest struct {
//
//The sidecar ticket to expect an incoming channel for. The ticket must be in
//the state "ordered".
Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ExpectSidecarChannelRequest) Descriptor ¶
func (*ExpectSidecarChannelRequest) Descriptor() ([]byte, []int)
func (*ExpectSidecarChannelRequest) GetTicket ¶
func (m *ExpectSidecarChannelRequest) GetTicket() string
func (*ExpectSidecarChannelRequest) ProtoMessage ¶
func (*ExpectSidecarChannelRequest) ProtoMessage()
func (*ExpectSidecarChannelRequest) Reset ¶
func (m *ExpectSidecarChannelRequest) Reset()
func (*ExpectSidecarChannelRequest) String ¶
func (m *ExpectSidecarChannelRequest) String() string
func (*ExpectSidecarChannelRequest) XXX_DiscardUnknown ¶
func (m *ExpectSidecarChannelRequest) XXX_DiscardUnknown()
func (*ExpectSidecarChannelRequest) XXX_Marshal ¶
func (m *ExpectSidecarChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExpectSidecarChannelRequest) XXX_Merge ¶
func (m *ExpectSidecarChannelRequest) XXX_Merge(src proto.Message)
func (*ExpectSidecarChannelRequest) XXX_Size ¶
func (m *ExpectSidecarChannelRequest) XXX_Size() int
func (*ExpectSidecarChannelRequest) XXX_Unmarshal ¶
func (m *ExpectSidecarChannelRequest) XXX_Unmarshal(b []byte) error
type ExpectSidecarChannelResponse ¶
type ExpectSidecarChannelResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ExpectSidecarChannelResponse) Descriptor ¶
func (*ExpectSidecarChannelResponse) Descriptor() ([]byte, []int)
func (*ExpectSidecarChannelResponse) ProtoMessage ¶
func (*ExpectSidecarChannelResponse) ProtoMessage()
func (*ExpectSidecarChannelResponse) Reset ¶
func (m *ExpectSidecarChannelResponse) Reset()
func (*ExpectSidecarChannelResponse) String ¶
func (m *ExpectSidecarChannelResponse) String() string
func (*ExpectSidecarChannelResponse) XXX_DiscardUnknown ¶
func (m *ExpectSidecarChannelResponse) XXX_DiscardUnknown()
func (*ExpectSidecarChannelResponse) XXX_Marshal ¶
func (m *ExpectSidecarChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExpectSidecarChannelResponse) XXX_Merge ¶
func (m *ExpectSidecarChannelResponse) XXX_Merge(src proto.Message)
func (*ExpectSidecarChannelResponse) XXX_Size ¶
func (m *ExpectSidecarChannelResponse) XXX_Size() int
func (*ExpectSidecarChannelResponse) XXX_Unmarshal ¶
func (m *ExpectSidecarChannelResponse) 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 the Pool daemon that is running.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// The total number of accounts in the local database.
AccountsTotal uint32 `protobuf:"varint,2,opt,name=accounts_total,json=accountsTotal,proto3" json:"accounts_total,omitempty"`
//
//The total number of accounts that are in an active, non-archived state,
//including expired accounts.
AccountsActive uint32 `protobuf:"varint,3,opt,name=accounts_active,json=accountsActive,proto3" json:"accounts_active,omitempty"`
// The total number of accounts that are active but have expired.
AccountsActiveExpired uint32 `` /* 127-byte string literal not displayed */
// The total number of accounts that are in an archived/closed state.
AccountsArchived uint32 `protobuf:"varint,5,opt,name=accounts_archived,json=accountsArchived,proto3" json:"accounts_archived,omitempty"`
// The total number of orders in the local database.
OrdersTotal uint32 `protobuf:"varint,6,opt,name=orders_total,json=ordersTotal,proto3" json:"orders_total,omitempty"`
//
//The total number of active/pending orders that are still waiting for
//execution.
OrdersActive uint32 `protobuf:"varint,7,opt,name=orders_active,json=ordersActive,proto3" json:"orders_active,omitempty"`
// The total number of orders that have been archived.
OrdersArchived uint32 `protobuf:"varint,8,opt,name=orders_archived,json=ordersArchived,proto3" json:"orders_archived,omitempty"`
// The current block height as seen by the connected lnd node.
CurrentBlockHeight uint32 `protobuf:"varint,9,opt,name=current_block_height,json=currentBlockHeight,proto3" json:"current_block_height,omitempty"`
// The number of batches an account of this node was ever involved in.
BatchesInvolved uint32 `protobuf:"varint,10,opt,name=batches_involved,json=batchesInvolved,proto3" json:"batches_involved,omitempty"`
// Our lnd node's rating as judged by the auctioneer server.
NodeRating *auctioneerrpc.NodeRating `protobuf:"bytes,11,opt,name=node_rating,json=nodeRating,proto3" json:"node_rating,omitempty"`
// The number of available LSAT tokens.
LsatTokens uint32 `protobuf:"varint,12,opt,name=lsat_tokens,json=lsatTokens,proto3" json:"lsat_tokens,omitempty"`
//
//Indicates whether there is an active subscription connection to the
//auctioneer. This will never be true if there is no active account. If there
//are active accounts, this value represents the network connection status to
//the auctioneer server.
SubscribedToAuctioneer bool `` /* 131-byte string literal not displayed */
//
//Indicates whether the global `--newnodesonly` command line flag or
//`newnodesonly=true` configuration parameter was set on the Pool trader
//daemon.
NewNodesOnly bool `protobuf:"varint,14,opt,name=new_nodes_only,json=newNodesOnly,proto3" json:"new_nodes_only,omitempty"`
//
//A map of all markets identified by their lease duration and the current
//set of statistics such as number of open orders and total units of open
//interest.
MarketInfo map[uint32]*auctioneerrpc.MarketInfo `` /* 181-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetInfoResponse) Descriptor ¶
func (*GetInfoResponse) Descriptor() ([]byte, []int)
func (*GetInfoResponse) GetAccountsActive ¶
func (m *GetInfoResponse) GetAccountsActive() uint32
func (*GetInfoResponse) GetAccountsActiveExpired ¶
func (m *GetInfoResponse) GetAccountsActiveExpired() uint32
func (*GetInfoResponse) GetAccountsArchived ¶
func (m *GetInfoResponse) GetAccountsArchived() uint32
func (*GetInfoResponse) GetAccountsTotal ¶
func (m *GetInfoResponse) GetAccountsTotal() uint32
func (*GetInfoResponse) GetBatchesInvolved ¶
func (m *GetInfoResponse) GetBatchesInvolved() uint32
func (*GetInfoResponse) GetCurrentBlockHeight ¶
func (m *GetInfoResponse) GetCurrentBlockHeight() uint32
func (*GetInfoResponse) GetLsatTokens ¶
func (m *GetInfoResponse) GetLsatTokens() uint32
func (*GetInfoResponse) GetMarketInfo ¶
func (m *GetInfoResponse) GetMarketInfo() map[uint32]*auctioneerrpc.MarketInfo
func (*GetInfoResponse) GetNewNodesOnly ¶
func (m *GetInfoResponse) GetNewNodesOnly() bool
func (*GetInfoResponse) GetNodeRating ¶
func (m *GetInfoResponse) GetNodeRating() *auctioneerrpc.NodeRating
func (*GetInfoResponse) GetOrdersActive ¶
func (m *GetInfoResponse) GetOrdersActive() uint32
func (*GetInfoResponse) GetOrdersArchived ¶
func (m *GetInfoResponse) GetOrdersArchived() uint32
func (*GetInfoResponse) GetOrdersTotal ¶
func (m *GetInfoResponse) GetOrdersTotal() uint32
func (*GetInfoResponse) GetSubscribedToAuctioneer ¶
func (m *GetInfoResponse) GetSubscribedToAuctioneer() bool
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 InitAccountRequest ¶
type InitAccountRequest struct {
AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
// Types that are valid to be assigned to AccountExpiry:
// *InitAccountRequest_AbsoluteHeight
// *InitAccountRequest_RelativeHeight
AccountExpiry isInitAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"`
// Types that are valid to be assigned to Fees:
// *InitAccountRequest_ConfTarget
Fees isInitAccountRequest_Fees `protobuf_oneof:"fees"`
//
//An optional identification string that will be appended to the user agent
//string sent to the server to give information about the usage of pool. This
//initiator part is meant for user interfaces to add their name to give the
//full picture of the binary used (poold, LiT) and the method used for opening
//the account (pool CLI, LiT UI, other 3rd party UI).
Initiator string `protobuf:"bytes,5,opt,name=initiator,proto3" json:"initiator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*InitAccountRequest) Descriptor ¶
func (*InitAccountRequest) Descriptor() ([]byte, []int)
func (*InitAccountRequest) GetAbsoluteHeight ¶
func (m *InitAccountRequest) GetAbsoluteHeight() uint32
func (*InitAccountRequest) GetAccountExpiry ¶
func (m *InitAccountRequest) GetAccountExpiry() isInitAccountRequest_AccountExpiry
func (*InitAccountRequest) GetAccountValue ¶
func (m *InitAccountRequest) GetAccountValue() uint64
func (*InitAccountRequest) GetConfTarget ¶
func (m *InitAccountRequest) GetConfTarget() uint32
func (*InitAccountRequest) GetFees ¶
func (m *InitAccountRequest) GetFees() isInitAccountRequest_Fees
func (*InitAccountRequest) GetInitiator ¶
func (m *InitAccountRequest) GetInitiator() string
func (*InitAccountRequest) GetRelativeHeight ¶
func (m *InitAccountRequest) GetRelativeHeight() uint32
func (*InitAccountRequest) ProtoMessage ¶
func (*InitAccountRequest) ProtoMessage()
func (*InitAccountRequest) Reset ¶
func (m *InitAccountRequest) Reset()
func (*InitAccountRequest) String ¶
func (m *InitAccountRequest) String() string
func (*InitAccountRequest) XXX_DiscardUnknown ¶
func (m *InitAccountRequest) XXX_DiscardUnknown()
func (*InitAccountRequest) XXX_Marshal ¶
func (m *InitAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitAccountRequest) XXX_Merge ¶
func (m *InitAccountRequest) XXX_Merge(src proto.Message)
func (*InitAccountRequest) XXX_OneofWrappers ¶
func (*InitAccountRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*InitAccountRequest) XXX_Size ¶
func (m *InitAccountRequest) XXX_Size() int
func (*InitAccountRequest) XXX_Unmarshal ¶
func (m *InitAccountRequest) XXX_Unmarshal(b []byte) error
type InitAccountRequest_AbsoluteHeight ¶
type InitAccountRequest_AbsoluteHeight struct {
AbsoluteHeight uint32 `protobuf:"varint,2,opt,name=absolute_height,json=absoluteHeight,proto3,oneof"`
}
type InitAccountRequest_ConfTarget ¶
type InitAccountRequest_ConfTarget struct {
ConfTarget uint32 `protobuf:"varint,4,opt,name=conf_target,json=confTarget,proto3,oneof"`
}
type InitAccountRequest_RelativeHeight ¶
type InitAccountRequest_RelativeHeight struct {
RelativeHeight uint32 `protobuf:"varint,3,opt,name=relative_height,json=relativeHeight,proto3,oneof"`
}
type Lease ¶
type Lease struct {
// The outpoint of the channel created.
ChannelPoint *auctioneerrpc.OutPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
// The amount, in satoshis, of the channel created.
ChannelAmtSat uint64 `protobuf:"varint,2,opt,name=channel_amt_sat,json=channelAmtSat,proto3" json:"channel_amt_sat,omitempty"`
// The intended duration, in blocks, of the channel created.
ChannelDurationBlocks uint32 `` /* 127-byte string literal not displayed */
// The absolute height that this channel lease expires.
ChannelLeaseExpiry uint32 `protobuf:"varint,4,opt,name=channel_lease_expiry,json=channelLeaseExpiry,proto3" json:"channel_lease_expiry,omitempty"`
//
//The premium, in satoshis, either paid or received for the offered liquidity.
PremiumSat uint64 `protobuf:"varint,5,opt,name=premium_sat,json=premiumSat,proto3" json:"premium_sat,omitempty"`
//
//The execution fee, in satoshis, charged by the auctioneer for the channel
//created.
ExecutionFeeSat uint64 `protobuf:"varint,6,opt,name=execution_fee_sat,json=executionFeeSat,proto3" json:"execution_fee_sat,omitempty"`
//
//The fee, in satoshis, charged by the auctioneer for the batch execution
//transaction that created this lease.
ChainFeeSat uint64 `protobuf:"varint,7,opt,name=chain_fee_sat,json=chainFeeSat,proto3" json:"chain_fee_sat,omitempty"`
//
//The actual fixed rate expressed in parts per billionth this lease was
//bought/sold at.
ClearingRatePrice uint64 `protobuf:"varint,8,opt,name=clearing_rate_price,json=clearingRatePrice,proto3" json:"clearing_rate_price,omitempty"`
//
//The actual fixed rate of the bid/ask, this should always be 'better' than
//the clearing_rate_price.
OrderFixedRate uint64 `protobuf:"varint,9,opt,name=order_fixed_rate,json=orderFixedRate,proto3" json:"order_fixed_rate,omitempty"`
// The order executed that resulted in the channel created.
OrderNonce []byte `protobuf:"bytes,10,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
// Whether this channel was purchased from another trader or not.
Purchased bool `protobuf:"varint,11,opt,name=purchased,proto3" json:"purchased,omitempty"`
// The pubkey of the node that this channel was bought/sold from.
ChannelRemoteNodeKey []byte `` /* 126-byte string literal not displayed */
// The tier of the node that this channel was bought/sold from.
ChannelNodeTier auctioneerrpc.NodeTier `` /* 132-byte string literal not displayed */
// The self channel balance that was pushed to the recipient.
SelfChanBalance uint64 `protobuf:"varint,14,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"`
// Whether the channel was leased as a sidecar channel (bid orders only).
SidecarChannel bool `protobuf:"varint,15,opt,name=sidecar_channel,json=sidecarChannel,proto3" json:"sidecar_channel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Lease) Descriptor ¶
func (*Lease) GetChainFeeSat ¶
func (*Lease) GetChannelAmtSat ¶
func (*Lease) GetChannelDurationBlocks ¶
func (*Lease) GetChannelLeaseExpiry ¶
func (*Lease) GetChannelNodeTier ¶
func (m *Lease) GetChannelNodeTier() auctioneerrpc.NodeTier
func (*Lease) GetChannelPoint ¶
func (m *Lease) GetChannelPoint() *auctioneerrpc.OutPoint
func (*Lease) GetChannelRemoteNodeKey ¶
func (*Lease) GetClearingRatePrice ¶
func (*Lease) GetExecutionFeeSat ¶
func (*Lease) GetOrderFixedRate ¶
func (*Lease) GetOrderNonce ¶
func (*Lease) GetPremiumSat ¶
func (*Lease) GetPurchased ¶
func (*Lease) GetSelfChanBalance ¶
func (*Lease) GetSidecarChannel ¶
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) XXX_DiscardUnknown ¶
func (m *Lease) XXX_DiscardUnknown()
func (*Lease) XXX_Marshal ¶
func (*Lease) XXX_Unmarshal ¶
type LeaseDurationRequest ¶
type LeaseDurationRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LeaseDurationRequest) Descriptor ¶
func (*LeaseDurationRequest) Descriptor() ([]byte, []int)
func (*LeaseDurationRequest) ProtoMessage ¶
func (*LeaseDurationRequest) ProtoMessage()
func (*LeaseDurationRequest) Reset ¶
func (m *LeaseDurationRequest) Reset()
func (*LeaseDurationRequest) String ¶
func (m *LeaseDurationRequest) String() string
func (*LeaseDurationRequest) XXX_DiscardUnknown ¶
func (m *LeaseDurationRequest) XXX_DiscardUnknown()
func (*LeaseDurationRequest) XXX_Marshal ¶
func (m *LeaseDurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaseDurationRequest) XXX_Merge ¶
func (m *LeaseDurationRequest) XXX_Merge(src proto.Message)
func (*LeaseDurationRequest) XXX_Size ¶
func (m *LeaseDurationRequest) XXX_Size() int
func (*LeaseDurationRequest) XXX_Unmarshal ¶
func (m *LeaseDurationRequest) XXX_Unmarshal(b []byte) error
type LeaseDurationResponse ¶
type LeaseDurationResponse struct {
//
//Deprecated, use lease_duration_buckets.
LeaseDurations map[uint32]bool `` // Deprecated: Do not use.
/* 193-byte string literal not displayed */
//
//The set of lease durations the market is currently accepting and the state
//the duration buckets currently are in.
LeaseDurationBuckets map[uint32]auctioneerrpc.DurationBucketState `` /* 246-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LeaseDurationResponse) Descriptor ¶
func (*LeaseDurationResponse) Descriptor() ([]byte, []int)
func (*LeaseDurationResponse) GetLeaseDurationBuckets ¶
func (m *LeaseDurationResponse) GetLeaseDurationBuckets() map[uint32]auctioneerrpc.DurationBucketState
func (*LeaseDurationResponse) GetLeaseDurations
deprecated
func (m *LeaseDurationResponse) GetLeaseDurations() map[uint32]bool
Deprecated: Do not use.
func (*LeaseDurationResponse) ProtoMessage ¶
func (*LeaseDurationResponse) ProtoMessage()
func (*LeaseDurationResponse) Reset ¶
func (m *LeaseDurationResponse) Reset()
func (*LeaseDurationResponse) String ¶
func (m *LeaseDurationResponse) String() string
func (*LeaseDurationResponse) XXX_DiscardUnknown ¶
func (m *LeaseDurationResponse) XXX_DiscardUnknown()
func (*LeaseDurationResponse) XXX_Marshal ¶
func (m *LeaseDurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaseDurationResponse) XXX_Merge ¶
func (m *LeaseDurationResponse) XXX_Merge(src proto.Message)
func (*LeaseDurationResponse) XXX_Size ¶
func (m *LeaseDurationResponse) XXX_Size() int
func (*LeaseDurationResponse) XXX_Unmarshal ¶
func (m *LeaseDurationResponse) XXX_Unmarshal(b []byte) error
type LeasesRequest ¶
type LeasesRequest struct {
//
//An optional list of batches to retrieve the leases of. If empty, leases
//throughout all batches are returned.
BatchIds [][]byte `protobuf:"bytes,1,rep,name=batch_ids,json=batchIds,proto3" json:"batch_ids,omitempty"`
//
//An optional list of accounts to retrieve the leases of. If empty, leases
//for all accounts are returned.
Accounts [][]byte `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LeasesRequest) Descriptor ¶
func (*LeasesRequest) Descriptor() ([]byte, []int)
func (*LeasesRequest) GetAccounts ¶
func (m *LeasesRequest) GetAccounts() [][]byte
func (*LeasesRequest) GetBatchIds ¶
func (m *LeasesRequest) GetBatchIds() [][]byte
func (*LeasesRequest) ProtoMessage ¶
func (*LeasesRequest) ProtoMessage()
func (*LeasesRequest) Reset ¶
func (m *LeasesRequest) Reset()
func (*LeasesRequest) String ¶
func (m *LeasesRequest) String() string
func (*LeasesRequest) XXX_DiscardUnknown ¶
func (m *LeasesRequest) XXX_DiscardUnknown()
func (*LeasesRequest) XXX_Marshal ¶
func (m *LeasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeasesRequest) XXX_Merge ¶
func (m *LeasesRequest) XXX_Merge(src proto.Message)
func (*LeasesRequest) XXX_Size ¶
func (m *LeasesRequest) XXX_Size() int
func (*LeasesRequest) XXX_Unmarshal ¶
func (m *LeasesRequest) XXX_Unmarshal(b []byte) error
type LeasesResponse ¶
type LeasesResponse struct {
// The relevant list of leases purchased or sold within the auction.
Leases []*Lease `protobuf:"bytes,1,rep,name=leases,proto3" json:"leases,omitempty"`
// The total amount of satoshis earned from the leases returned.
TotalAmtEarnedSat uint64 `protobuf:"varint,2,opt,name=total_amt_earned_sat,json=totalAmtEarnedSat,proto3" json:"total_amt_earned_sat,omitempty"`
// The total amount of satoshis paid for the leases returned.
TotalAmtPaidSat uint64 `protobuf:"varint,3,opt,name=total_amt_paid_sat,json=totalAmtPaidSat,proto3" json:"total_amt_paid_sat,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LeasesResponse) Descriptor ¶
func (*LeasesResponse) Descriptor() ([]byte, []int)
func (*LeasesResponse) GetLeases ¶
func (m *LeasesResponse) GetLeases() []*Lease
func (*LeasesResponse) GetTotalAmtEarnedSat ¶
func (m *LeasesResponse) GetTotalAmtEarnedSat() uint64
func (*LeasesResponse) GetTotalAmtPaidSat ¶
func (m *LeasesResponse) GetTotalAmtPaidSat() uint64
func (*LeasesResponse) ProtoMessage ¶
func (*LeasesResponse) ProtoMessage()
func (*LeasesResponse) Reset ¶
func (m *LeasesResponse) Reset()
func (*LeasesResponse) String ¶
func (m *LeasesResponse) String() string
func (*LeasesResponse) XXX_DiscardUnknown ¶
func (m *LeasesResponse) XXX_DiscardUnknown()
func (*LeasesResponse) XXX_Marshal ¶
func (m *LeasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeasesResponse) XXX_Merge ¶
func (m *LeasesResponse) XXX_Merge(src proto.Message)
func (*LeasesResponse) XXX_Size ¶
func (m *LeasesResponse) XXX_Size() int
func (*LeasesResponse) XXX_Unmarshal ¶
func (m *LeasesResponse) XXX_Unmarshal(b []byte) error
type ListAccountsRequest ¶
type ListAccountsRequest struct {
//
//Only list accounts that are still active.
ActiveOnly bool `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListAccountsRequest) Descriptor ¶
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
func (*ListAccountsRequest) GetActiveOnly ¶
func (m *ListAccountsRequest) GetActiveOnly() bool
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) Reset ¶
func (m *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (m *ListAccountsRequest) String() string
func (*ListAccountsRequest) XXX_DiscardUnknown ¶
func (m *ListAccountsRequest) XXX_DiscardUnknown()
func (*ListAccountsRequest) XXX_Marshal ¶
func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountsRequest) XXX_Merge ¶
func (m *ListAccountsRequest) XXX_Merge(src proto.Message)
func (*ListAccountsRequest) XXX_Size ¶
func (m *ListAccountsRequest) XXX_Size() int
func (*ListAccountsRequest) XXX_Unmarshal ¶
func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error
type ListAccountsResponse ¶
type ListAccountsResponse struct {
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListAccountsResponse) Descriptor ¶
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
func (*ListAccountsResponse) GetAccounts ¶
func (m *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) Reset ¶
func (m *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (m *ListAccountsResponse) String() string
func (*ListAccountsResponse) XXX_DiscardUnknown ¶
func (m *ListAccountsResponse) XXX_DiscardUnknown()
func (*ListAccountsResponse) XXX_Marshal ¶
func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountsResponse) XXX_Merge ¶
func (m *ListAccountsResponse) XXX_Merge(src proto.Message)
func (*ListAccountsResponse) XXX_Size ¶
func (m *ListAccountsResponse) XXX_Size() int
func (*ListAccountsResponse) XXX_Unmarshal ¶
func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error
type ListOrdersRequest ¶
type ListOrdersRequest struct {
//
//Can be set to true to list the orders including all events, which can be
//very verbose.
Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"`
//
//Only list orders that are still active.
ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListOrdersRequest) Descriptor ¶
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
func (*ListOrdersRequest) GetActiveOnly ¶
func (m *ListOrdersRequest) GetActiveOnly() bool
func (*ListOrdersRequest) GetVerbose ¶
func (m *ListOrdersRequest) GetVerbose() bool
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 ListOrdersResponse ¶
type ListOrdersResponse struct {
Asks []*Ask `protobuf:"bytes,1,rep,name=asks,proto3" json:"asks,omitempty"`
Bids []*Bid `protobuf:"bytes,2,rep,name=bids,proto3" json:"bids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListOrdersResponse) Descriptor ¶
func (*ListOrdersResponse) Descriptor() ([]byte, []int)
func (*ListOrdersResponse) GetAsks ¶
func (m *ListOrdersResponse) GetAsks() []*Ask
func (*ListOrdersResponse) GetBids ¶
func (m *ListOrdersResponse) GetBids() []*Bid
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 LsatToken ¶
type LsatToken struct {
//*
//The base macaroon that was baked by the auth server.
BaseMacaroon []byte `protobuf:"bytes,1,opt,name=base_macaroon,json=baseMacaroon,proto3" json:"base_macaroon,omitempty"`
//*
//The payment hash of the payment that was paid to obtain the token.
PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
//*
//The preimage of the payment hash, knowledge of this is proof that the
//payment has been paid. If the preimage is set to all zeros, this means the
//payment is still pending and the token is not yet fully valid.
PaymentPreimage []byte `protobuf:"bytes,3,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
//*
//The amount of millisatoshis that was paid to get the token.
AmountPaidMsat int64 `protobuf:"varint,4,opt,name=amount_paid_msat,json=amountPaidMsat,proto3" json:"amount_paid_msat,omitempty"`
//*
//The amount of millisatoshis paid in routing fee to pay for the token.
RoutingFeePaidMsat int64 `protobuf:"varint,5,opt,name=routing_fee_paid_msat,json=routingFeePaidMsat,proto3" json:"routing_fee_paid_msat,omitempty"`
//*
//The creation time of the token as UNIX timestamp in seconds.
TimeCreated int64 `protobuf:"varint,6,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
//*
//Indicates whether the token is expired or still valid.
Expired bool `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
//*
//Identifying attribute of this token in the store. Currently represents the
//file name of the token where it's stored on the file system.
StorageName string `protobuf:"bytes,8,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LsatToken) Descriptor ¶
func (*LsatToken) GetAmountPaidMsat ¶
func (*LsatToken) GetBaseMacaroon ¶
func (*LsatToken) GetExpired ¶
func (*LsatToken) GetPaymentHash ¶
func (*LsatToken) GetPaymentPreimage ¶
func (*LsatToken) GetRoutingFeePaidMsat ¶
func (*LsatToken) GetStorageName ¶
func (*LsatToken) GetTimeCreated ¶
func (*LsatToken) ProtoMessage ¶
func (*LsatToken) ProtoMessage()
func (*LsatToken) XXX_DiscardUnknown ¶
func (m *LsatToken) XXX_DiscardUnknown()
func (*LsatToken) XXX_Marshal ¶
func (*LsatToken) XXX_Unmarshal ¶
type MatchEvent ¶
type MatchEvent struct {
// The state of the match making process the order went through.
MatchState MatchState `protobuf:"varint,1,opt,name=match_state,json=matchState,proto3,enum=poolrpc.MatchState" json:"match_state,omitempty"`
// The number of units that would be (or were) filled with this match.
UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
// The nonce of the order we were matched to.
MatchedOrder []byte `protobuf:"bytes,3,opt,name=matched_order,json=matchedOrder,proto3" json:"matched_order,omitempty"`
//
//The reason why the trader daemon rejected the order. Is only set if
//match_state is set to REJECTED.
RejectReason MatchRejectReason `` /* 129-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchEvent) Descriptor ¶
func (*MatchEvent) Descriptor() ([]byte, []int)
func (*MatchEvent) GetMatchState ¶
func (m *MatchEvent) GetMatchState() MatchState
func (*MatchEvent) GetMatchedOrder ¶
func (m *MatchEvent) GetMatchedOrder() []byte
func (*MatchEvent) GetRejectReason ¶
func (m *MatchEvent) GetRejectReason() MatchRejectReason
func (*MatchEvent) GetUnitsFilled ¶
func (m *MatchEvent) GetUnitsFilled() uint32
func (*MatchEvent) ProtoMessage ¶
func (*MatchEvent) ProtoMessage()
func (*MatchEvent) Reset ¶
func (m *MatchEvent) Reset()
func (*MatchEvent) String ¶
func (m *MatchEvent) String() string
func (*MatchEvent) XXX_DiscardUnknown ¶
func (m *MatchEvent) XXX_DiscardUnknown()
func (*MatchEvent) XXX_Marshal ¶
func (m *MatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchEvent) XXX_Merge ¶
func (m *MatchEvent) XXX_Merge(src proto.Message)
func (*MatchEvent) XXX_Size ¶
func (m *MatchEvent) XXX_Size() int
func (*MatchEvent) XXX_Unmarshal ¶
func (m *MatchEvent) XXX_Unmarshal(b []byte) error
type MatchRejectReason ¶
type MatchRejectReason int32
const ( // No reject occurred, this is the default value. MatchRejectReason_NONE MatchRejectReason = 0 // //The client didn't come up with the same result as the server and is //rejecting the batch because of that. MatchRejectReason_SERVER_MISBEHAVIOR MatchRejectReason = 1 // //The client doesn't support the current batch verification version the //server is using. MatchRejectReason_BATCH_VERSION_MISMATCH MatchRejectReason = 2 // //The client rejects some of the orders, not the full batch. This reason is //set on matches for orders that were in the same batch as partial reject ones //but were not themselves rejected. MatchRejectReason_PARTIAL_REJECT_COLLATERAL MatchRejectReason = 3 // //The trader's client has a preference to only match orders with peers it //doesn't already have channels with. The order that is rejected with this //reason type comes from a peer that the trader already has channels with. MatchRejectReason_PARTIAL_REJECT_DUPLICATE_PEER MatchRejectReason = 4 // //The trader's client couldn't connect to the remote node of the matched //order or the channel funding could not be initialized for another //reason. This could also be the rejecting node's fault if their //connection is not stable. Using this code can have a negative impact on //the reputation score of both nodes, depending on the number of errors //recorded. MatchRejectReason_PARTIAL_REJECT_CHANNEL_FUNDING_FAILED MatchRejectReason = 5 )
func (MatchRejectReason) EnumDescriptor ¶
func (MatchRejectReason) EnumDescriptor() ([]byte, []int)
func (MatchRejectReason) String ¶
func (x MatchRejectReason) String() string
type MatchState ¶
type MatchState int32
const ( // //The OrderMatchPrepare message from the auctioneer was received initially. MatchState_PREPARE MatchState = 0 // //The OrderMatchPrepare message from the auctioneer was processed successfully //and the batch was accepted. MatchState_ACCEPTED MatchState = 1 // //The order was rejected by the trader daemon, either as an answer to a //OrderMatchSignBegin or OrderMatchFinalize message from the auctioneer. MatchState_REJECTED MatchState = 2 // //The OrderMatchSignBegin message from the auctioneer was processed //successfully. MatchState_SIGNED MatchState = 3 // //The OrderMatchFinalize message from the auctioneer was processed //successfully. MatchState_FINALIZED MatchState = 4 )
func (MatchState) EnumDescriptor ¶
func (MatchState) EnumDescriptor() ([]byte, []int)
func (MatchState) String ¶
func (x MatchState) String() string
type NextBatchInfoRequest ¶
type NextBatchInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NextBatchInfoRequest) Descriptor ¶
func (*NextBatchInfoRequest) Descriptor() ([]byte, []int)
func (*NextBatchInfoRequest) ProtoMessage ¶
func (*NextBatchInfoRequest) ProtoMessage()
func (*NextBatchInfoRequest) Reset ¶
func (m *NextBatchInfoRequest) Reset()
func (*NextBatchInfoRequest) String ¶
func (m *NextBatchInfoRequest) String() string
func (*NextBatchInfoRequest) XXX_DiscardUnknown ¶
func (m *NextBatchInfoRequest) XXX_DiscardUnknown()
func (*NextBatchInfoRequest) XXX_Marshal ¶
func (m *NextBatchInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NextBatchInfoRequest) XXX_Merge ¶
func (m *NextBatchInfoRequest) XXX_Merge(src proto.Message)
func (*NextBatchInfoRequest) XXX_Size ¶
func (m *NextBatchInfoRequest) XXX_Size() int
func (*NextBatchInfoRequest) XXX_Unmarshal ¶
func (m *NextBatchInfoRequest) XXX_Unmarshal(b []byte) error
type NextBatchInfoResponse ¶
type NextBatchInfoResponse struct {
//
//The confirmation target the auctioneer will use for fee estimation of the
//next batch.
ConfTarget uint32 `protobuf:"varint,5,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
//
//The fee rate, in satoshis per kiloweight, estimated by the auctioneer to use
//for the next batch.
FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
//
//The absolute unix timestamp in seconds at which the auctioneer will attempt
//to clear the next batch.
ClearTimestamp uint64 `protobuf:"varint,7,opt,name=clear_timestamp,json=clearTimestamp,proto3" json:"clear_timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NextBatchInfoResponse) Descriptor ¶
func (*NextBatchInfoResponse) Descriptor() ([]byte, []int)
func (*NextBatchInfoResponse) GetClearTimestamp ¶
func (m *NextBatchInfoResponse) GetClearTimestamp() uint64
func (*NextBatchInfoResponse) GetConfTarget ¶
func (m *NextBatchInfoResponse) GetConfTarget() uint32
func (*NextBatchInfoResponse) GetFeeRateSatPerKw ¶
func (m *NextBatchInfoResponse) GetFeeRateSatPerKw() uint64
func (*NextBatchInfoResponse) ProtoMessage ¶
func (*NextBatchInfoResponse) ProtoMessage()
func (*NextBatchInfoResponse) Reset ¶
func (m *NextBatchInfoResponse) Reset()
func (*NextBatchInfoResponse) String ¶
func (m *NextBatchInfoResponse) String() string
func (*NextBatchInfoResponse) XXX_DiscardUnknown ¶
func (m *NextBatchInfoResponse) XXX_DiscardUnknown()
func (*NextBatchInfoResponse) XXX_Marshal ¶
func (m *NextBatchInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NextBatchInfoResponse) XXX_Merge ¶
func (m *NextBatchInfoResponse) XXX_Merge(src proto.Message)
func (*NextBatchInfoResponse) XXX_Size ¶
func (m *NextBatchInfoResponse) XXX_Size() int
func (*NextBatchInfoResponse) XXX_Unmarshal ¶
func (m *NextBatchInfoResponse) XXX_Unmarshal(b []byte) error
type NodeRatingRequest ¶
type NodeRatingRequest struct {
// The target node to obtain ratings information for.
NodePubkeys [][]byte `protobuf:"bytes,1,rep,name=node_pubkeys,json=nodePubkeys,proto3" json:"node_pubkeys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NodeRatingRequest) Descriptor ¶
func (*NodeRatingRequest) Descriptor() ([]byte, []int)
func (*NodeRatingRequest) GetNodePubkeys ¶
func (m *NodeRatingRequest) GetNodePubkeys() [][]byte
func (*NodeRatingRequest) ProtoMessage ¶
func (*NodeRatingRequest) ProtoMessage()
func (*NodeRatingRequest) Reset ¶
func (m *NodeRatingRequest) Reset()
func (*NodeRatingRequest) String ¶
func (m *NodeRatingRequest) String() string
func (*NodeRatingRequest) XXX_DiscardUnknown ¶
func (m *NodeRatingRequest) XXX_DiscardUnknown()
func (*NodeRatingRequest) XXX_Marshal ¶
func (m *NodeRatingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeRatingRequest) XXX_Merge ¶
func (m *NodeRatingRequest) XXX_Merge(src proto.Message)
func (*NodeRatingRequest) XXX_Size ¶
func (m *NodeRatingRequest) XXX_Size() int
func (*NodeRatingRequest) XXX_Unmarshal ¶
func (m *NodeRatingRequest) XXX_Unmarshal(b []byte) error
type NodeRatingResponse ¶
type NodeRatingResponse struct {
// A series of node ratings for each of the queried nodes.
NodeRatings []*auctioneerrpc.NodeRating `protobuf:"bytes,1,rep,name=node_ratings,json=nodeRatings,proto3" json:"node_ratings,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NodeRatingResponse) Descriptor ¶
func (*NodeRatingResponse) Descriptor() ([]byte, []int)
func (*NodeRatingResponse) GetNodeRatings ¶
func (m *NodeRatingResponse) GetNodeRatings() []*auctioneerrpc.NodeRating
func (*NodeRatingResponse) ProtoMessage ¶
func (*NodeRatingResponse) ProtoMessage()
func (*NodeRatingResponse) Reset ¶
func (m *NodeRatingResponse) Reset()
func (*NodeRatingResponse) String ¶
func (m *NodeRatingResponse) String() string
func (*NodeRatingResponse) XXX_DiscardUnknown ¶
func (m *NodeRatingResponse) XXX_DiscardUnknown()
func (*NodeRatingResponse) XXX_Marshal ¶
func (m *NodeRatingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeRatingResponse) XXX_Merge ¶
func (m *NodeRatingResponse) XXX_Merge(src proto.Message)
func (*NodeRatingResponse) XXX_Size ¶
func (m *NodeRatingResponse) XXX_Size() int
func (*NodeRatingResponse) XXX_Unmarshal ¶
func (m *NodeRatingResponse) XXX_Unmarshal(b []byte) error
type OfferSidecarRequest ¶
type OfferSidecarRequest struct {
//
//If false, then only the trader_key, unit, self_chan_balance, and
//lease_duration_blocks need to be set in the bid below. Otherwise, the
//fields as they're set when submitting a bid need to be filled in.
AutoNegotiate bool `protobuf:"varint,1,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"`
//
//The bid template that will be used to populate the initial sidecar ticket
//as well as auto negotiate the remainig steps of the sidecar channel if
//needed.
Bid *Bid `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OfferSidecarRequest) Descriptor ¶
func (*OfferSidecarRequest) Descriptor() ([]byte, []int)
func (*OfferSidecarRequest) GetAutoNegotiate ¶
func (m *OfferSidecarRequest) GetAutoNegotiate() bool
func (*OfferSidecarRequest) GetBid ¶
func (m *OfferSidecarRequest) GetBid() *Bid
func (*OfferSidecarRequest) ProtoMessage ¶
func (*OfferSidecarRequest) ProtoMessage()
func (*OfferSidecarRequest) Reset ¶
func (m *OfferSidecarRequest) Reset()
func (*OfferSidecarRequest) String ¶
func (m *OfferSidecarRequest) String() string
func (*OfferSidecarRequest) XXX_DiscardUnknown ¶
func (m *OfferSidecarRequest) XXX_DiscardUnknown()
func (*OfferSidecarRequest) XXX_Marshal ¶
func (m *OfferSidecarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OfferSidecarRequest) XXX_Merge ¶
func (m *OfferSidecarRequest) XXX_Merge(src proto.Message)
func (*OfferSidecarRequest) XXX_Size ¶
func (m *OfferSidecarRequest) XXX_Size() int
func (*OfferSidecarRequest) XXX_Unmarshal ¶
func (m *OfferSidecarRequest) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct {
//
//The trader's account key of the account that is used for the order.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//Fixed order rate in parts per billion.
RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"`
//
//Order amount in satoshis.
Amt uint64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
//
//Maximum fee rate the trader is willing to pay for the batch transaction,
//expressed in satoshis per 1000 weight units (sat/KW).
MaxBatchFeeRateSatPerKw uint64 `` /* 141-byte string literal not displayed */
//
//Order nonce, acts as unique order identifier.
OrderNonce []byte `protobuf:"bytes,5,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
//
//The state the order currently is in.
State auctioneerrpc.OrderState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.OrderState" json:"state,omitempty"`
//
//The number of order units the amount corresponds to.
Units uint32 `protobuf:"varint,7,opt,name=units,proto3" json:"units,omitempty"`
//
//The number of currently unfilled units of this order. This will be equal to
//the total amount of units until the order has reached the state PARTIAL_FILL
//or EXECUTED.
UnitsUnfulfilled uint32 `protobuf:"varint,8,opt,name=units_unfulfilled,json=unitsUnfulfilled,proto3" json:"units_unfulfilled,omitempty"`
// The value reserved from the account by this order to ensure the account
// can pay execution and chain fees in case it gets matched.
ReservedValueSat uint64 `protobuf:"varint,9,opt,name=reserved_value_sat,json=reservedValueSat,proto3" json:"reserved_value_sat,omitempty"`
// The unix timestamp in nanoseconds the order was first created/submitted.
CreationTimestampNs uint64 `protobuf:"varint,10,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"`
//
//A list of events that were emitted for this order. This field is only set
//when the verbose flag is set to true in the request.
Events []*OrderEvent `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"`
// The minimum number of order units that must be matched per order pair.
MinUnitsMatch uint32 `protobuf:"varint,12,opt,name=min_units_match,json=minUnitsMatch,proto3" json:"min_units_match,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Order) Descriptor ¶
func (*Order) GetCreationTimestampNs ¶
func (*Order) GetEvents ¶
func (m *Order) GetEvents() []*OrderEvent
func (*Order) GetMaxBatchFeeRateSatPerKw ¶
func (*Order) GetMinUnitsMatch ¶
func (*Order) GetOrderNonce ¶
func (*Order) GetRateFixed ¶
func (*Order) GetReservedValueSat ¶
func (*Order) GetState ¶
func (m *Order) GetState() auctioneerrpc.OrderState
func (*Order) GetTraderKey ¶
func (*Order) GetUnitsUnfulfilled ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderEvent ¶
type OrderEvent struct {
//
//The unix timestamp in nanoseconds the event was emitted at. This is the
//primary key of the event and is unique across the database.
TimestampNs int64 `protobuf:"varint,1,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
// The human readable representation of the event.
EventStr string `protobuf:"bytes,2,opt,name=event_str,json=eventStr,proto3" json:"event_str,omitempty"`
// Types that are valid to be assigned to Event:
// *OrderEvent_StateChange
// *OrderEvent_Matched
Event isOrderEvent_Event `protobuf_oneof:"event"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderEvent) Descriptor ¶
func (*OrderEvent) Descriptor() ([]byte, []int)
func (*OrderEvent) GetEvent ¶
func (m *OrderEvent) GetEvent() isOrderEvent_Event
func (*OrderEvent) GetEventStr ¶
func (m *OrderEvent) GetEventStr() string
func (*OrderEvent) GetMatched ¶
func (m *OrderEvent) GetMatched() *MatchEvent
func (*OrderEvent) GetStateChange ¶
func (m *OrderEvent) GetStateChange() *UpdatedEvent
func (*OrderEvent) GetTimestampNs ¶
func (m *OrderEvent) GetTimestampNs() int64
func (*OrderEvent) ProtoMessage ¶
func (*OrderEvent) ProtoMessage()
func (*OrderEvent) Reset ¶
func (m *OrderEvent) Reset()
func (*OrderEvent) String ¶
func (m *OrderEvent) String() string
func (*OrderEvent) XXX_DiscardUnknown ¶
func (m *OrderEvent) XXX_DiscardUnknown()
func (*OrderEvent) XXX_Marshal ¶
func (m *OrderEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderEvent) XXX_Merge ¶
func (m *OrderEvent) XXX_Merge(src proto.Message)
func (*OrderEvent) XXX_OneofWrappers ¶
func (*OrderEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OrderEvent) XXX_Size ¶
func (m *OrderEvent) XXX_Size() int
func (*OrderEvent) XXX_Unmarshal ¶
func (m *OrderEvent) XXX_Unmarshal(b []byte) error
type OrderEvent_Matched ¶
type OrderEvent_Matched struct {
Matched *MatchEvent `protobuf:"bytes,4,opt,name=matched,proto3,oneof"`
}
type OrderEvent_StateChange ¶
type OrderEvent_StateChange struct {
StateChange *UpdatedEvent `protobuf:"bytes,3,opt,name=state_change,json=stateChange,proto3,oneof"`
}
type Output ¶
type Output struct {
// The value, in satoshis, of the output.
ValueSat uint64 `protobuf:"varint,1,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"`
// The address corresponding to the output.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Output) Descriptor ¶
func (*Output) GetAddress ¶
func (*Output) GetValueSat ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type OutputWithFee ¶
type OutputWithFee struct {
// The address corresponding to the output.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Types that are valid to be assigned to Fees:
// *OutputWithFee_ConfTarget
// *OutputWithFee_FeeRateSatPerKw
Fees isOutputWithFee_Fees `protobuf_oneof:"fees"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OutputWithFee) Descriptor ¶
func (*OutputWithFee) Descriptor() ([]byte, []int)
func (*OutputWithFee) GetAddress ¶
func (m *OutputWithFee) GetAddress() string
func (*OutputWithFee) GetConfTarget ¶
func (m *OutputWithFee) GetConfTarget() uint32
func (*OutputWithFee) GetFeeRateSatPerKw ¶
func (m *OutputWithFee) GetFeeRateSatPerKw() uint64
func (*OutputWithFee) GetFees ¶
func (m *OutputWithFee) GetFees() isOutputWithFee_Fees
func (*OutputWithFee) ProtoMessage ¶
func (*OutputWithFee) ProtoMessage()
func (*OutputWithFee) Reset ¶
func (m *OutputWithFee) Reset()
func (*OutputWithFee) String ¶
func (m *OutputWithFee) String() string
func (*OutputWithFee) XXX_DiscardUnknown ¶
func (m *OutputWithFee) XXX_DiscardUnknown()
func (*OutputWithFee) XXX_Marshal ¶
func (m *OutputWithFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputWithFee) XXX_Merge ¶
func (m *OutputWithFee) XXX_Merge(src proto.Message)
func (*OutputWithFee) XXX_OneofWrappers ¶
func (*OutputWithFee) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OutputWithFee) XXX_Size ¶
func (m *OutputWithFee) XXX_Size() int
func (*OutputWithFee) XXX_Unmarshal ¶
func (m *OutputWithFee) XXX_Unmarshal(b []byte) error
type OutputWithFee_ConfTarget ¶
type OutputWithFee_ConfTarget struct {
ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"`
}
type OutputWithFee_FeeRateSatPerKw ¶
type OutputWithFee_FeeRateSatPerKw struct {
FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3,oneof"`
}
type OutputsWithImplicitFee ¶
type OutputsWithImplicitFee struct {
Outputs []*Output `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OutputsWithImplicitFee) Descriptor ¶
func (*OutputsWithImplicitFee) Descriptor() ([]byte, []int)
func (*OutputsWithImplicitFee) GetOutputs ¶
func (m *OutputsWithImplicitFee) GetOutputs() []*Output
func (*OutputsWithImplicitFee) ProtoMessage ¶
func (*OutputsWithImplicitFee) ProtoMessage()
func (*OutputsWithImplicitFee) Reset ¶
func (m *OutputsWithImplicitFee) Reset()
func (*OutputsWithImplicitFee) String ¶
func (m *OutputsWithImplicitFee) String() string
func (*OutputsWithImplicitFee) XXX_DiscardUnknown ¶
func (m *OutputsWithImplicitFee) XXX_DiscardUnknown()
func (*OutputsWithImplicitFee) XXX_Marshal ¶
func (m *OutputsWithImplicitFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputsWithImplicitFee) XXX_Merge ¶
func (m *OutputsWithImplicitFee) XXX_Merge(src proto.Message)
func (*OutputsWithImplicitFee) XXX_Size ¶
func (m *OutputsWithImplicitFee) XXX_Size() int
func (*OutputsWithImplicitFee) XXX_Unmarshal ¶
func (m *OutputsWithImplicitFee) XXX_Unmarshal(b []byte) error
type QuoteAccountRequest ¶
type QuoteAccountRequest struct {
AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
// Types that are valid to be assigned to Fees:
// *QuoteAccountRequest_ConfTarget
Fees isQuoteAccountRequest_Fees `protobuf_oneof:"fees"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QuoteAccountRequest) Descriptor ¶
func (*QuoteAccountRequest) Descriptor() ([]byte, []int)
func (*QuoteAccountRequest) GetAccountValue ¶
func (m *QuoteAccountRequest) GetAccountValue() uint64
func (*QuoteAccountRequest) GetConfTarget ¶
func (m *QuoteAccountRequest) GetConfTarget() uint32
func (*QuoteAccountRequest) GetFees ¶
func (m *QuoteAccountRequest) GetFees() isQuoteAccountRequest_Fees
func (*QuoteAccountRequest) ProtoMessage ¶
func (*QuoteAccountRequest) ProtoMessage()
func (*QuoteAccountRequest) Reset ¶
func (m *QuoteAccountRequest) Reset()
func (*QuoteAccountRequest) String ¶
func (m *QuoteAccountRequest) String() string
func (*QuoteAccountRequest) XXX_DiscardUnknown ¶
func (m *QuoteAccountRequest) XXX_DiscardUnknown()
func (*QuoteAccountRequest) XXX_Marshal ¶
func (m *QuoteAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuoteAccountRequest) XXX_Merge ¶
func (m *QuoteAccountRequest) XXX_Merge(src proto.Message)
func (*QuoteAccountRequest) XXX_OneofWrappers ¶
func (*QuoteAccountRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*QuoteAccountRequest) XXX_Size ¶
func (m *QuoteAccountRequest) XXX_Size() int
func (*QuoteAccountRequest) XXX_Unmarshal ¶
func (m *QuoteAccountRequest) XXX_Unmarshal(b []byte) error
type QuoteAccountRequest_ConfTarget ¶
type QuoteAccountRequest_ConfTarget struct {
ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"`
}
type QuoteAccountResponse ¶
type QuoteAccountResponse struct {
MinerFeeRateSatPerKw uint64 `` /* 130-byte string literal not displayed */
MinerFeeTotal uint64 `protobuf:"varint,2,opt,name=miner_fee_total,json=minerFeeTotal,proto3" json:"miner_fee_total,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QuoteAccountResponse) Descriptor ¶
func (*QuoteAccountResponse) Descriptor() ([]byte, []int)
func (*QuoteAccountResponse) GetMinerFeeRateSatPerKw ¶
func (m *QuoteAccountResponse) GetMinerFeeRateSatPerKw() uint64
func (*QuoteAccountResponse) GetMinerFeeTotal ¶
func (m *QuoteAccountResponse) GetMinerFeeTotal() uint64
func (*QuoteAccountResponse) ProtoMessage ¶
func (*QuoteAccountResponse) ProtoMessage()
func (*QuoteAccountResponse) Reset ¶
func (m *QuoteAccountResponse) Reset()
func (*QuoteAccountResponse) String ¶
func (m *QuoteAccountResponse) String() string
func (*QuoteAccountResponse) XXX_DiscardUnknown ¶
func (m *QuoteAccountResponse) XXX_DiscardUnknown()
func (*QuoteAccountResponse) XXX_Marshal ¶
func (m *QuoteAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuoteAccountResponse) XXX_Merge ¶
func (m *QuoteAccountResponse) XXX_Merge(src proto.Message)
func (*QuoteAccountResponse) XXX_Size ¶
func (m *QuoteAccountResponse) XXX_Size() int
func (*QuoteAccountResponse) XXX_Unmarshal ¶
func (m *QuoteAccountResponse) XXX_Unmarshal(b []byte) error
type QuoteOrderRequest ¶
type QuoteOrderRequest struct {
//
//Order amount in satoshis.
Amt uint64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
//
//Fixed order rate in parts per billion.
RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"`
//
//Required number of blocks that a channel opened as a result of this bid
//should be kept open.
LeaseDurationBlocks uint32 `protobuf:"varint,3,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
//
//Maximum fee rate the trader is willing to pay for the batch transaction,
//expressed in satoshis per 1000 weight units (sat/KW).
MaxBatchFeeRateSatPerKw uint64 `` /* 141-byte string literal not displayed */
// The minimum number of order units that must be matched per order pair.
MinUnitsMatch uint32 `protobuf:"varint,5,opt,name=min_units_match,json=minUnitsMatch,proto3" json:"min_units_match,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QuoteOrderRequest) Descriptor ¶
func (*QuoteOrderRequest) Descriptor() ([]byte, []int)
func (*QuoteOrderRequest) GetAmt ¶
func (m *QuoteOrderRequest) GetAmt() uint64
func (*QuoteOrderRequest) GetLeaseDurationBlocks ¶
func (m *QuoteOrderRequest) GetLeaseDurationBlocks() uint32
func (*QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw ¶
func (m *QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw() uint64
func (*QuoteOrderRequest) GetMinUnitsMatch ¶
func (m *QuoteOrderRequest) GetMinUnitsMatch() uint32
func (*QuoteOrderRequest) GetRateFixed ¶
func (m *QuoteOrderRequest) GetRateFixed() uint32
func (*QuoteOrderRequest) ProtoMessage ¶
func (*QuoteOrderRequest) ProtoMessage()
func (*QuoteOrderRequest) Reset ¶
func (m *QuoteOrderRequest) Reset()
func (*QuoteOrderRequest) String ¶
func (m *QuoteOrderRequest) String() string
func (*QuoteOrderRequest) XXX_DiscardUnknown ¶
func (m *QuoteOrderRequest) XXX_DiscardUnknown()
func (*QuoteOrderRequest) XXX_Marshal ¶
func (m *QuoteOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuoteOrderRequest) XXX_Merge ¶
func (m *QuoteOrderRequest) XXX_Merge(src proto.Message)
func (*QuoteOrderRequest) XXX_Size ¶
func (m *QuoteOrderRequest) XXX_Size() int
func (*QuoteOrderRequest) XXX_Unmarshal ¶
func (m *QuoteOrderRequest) XXX_Unmarshal(b []byte) error
type QuoteOrderResponse ¶
type QuoteOrderResponse struct {
//
//The total order premium in satoshis for filling the entire order. This
//represents the interest amount paid to the maker by the taker excluding any
//execution or chain fees.
TotalPremiumSat uint64 `protobuf:"varint,1,opt,name=total_premium_sat,json=totalPremiumSat,proto3" json:"total_premium_sat,omitempty"`
//
//The fixed order rate expressed as a fraction instead of parts per billion.
RatePerBlock float64 `protobuf:"fixed64,2,opt,name=rate_per_block,json=ratePerBlock,proto3" json:"rate_per_block,omitempty"`
//
//The fixed order rate expressed as a percentage instead of parts per billion.
RatePercent float64 `protobuf:"fixed64,3,opt,name=rate_percent,json=ratePercent,proto3" json:"rate_percent,omitempty"`
//
//The total execution fee in satoshis that needs to be paid to the auctioneer
//for executing the entire order.
TotalExecutionFeeSat uint64 `` /* 126-byte string literal not displayed */
//
//The worst case chain fees that need to be paid if fee rates spike up to the
//max_batch_fee_rate_sat_per_kw value specified in the request. This value is
//highly dependent on the min_units_match parameter as well since the
//calculation assumes chain fees for the chain footprint of opening
//amt/min_units_match channels (hence worst case calculation).
WorstCaseChainFeeSat uint64 `` /* 128-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QuoteOrderResponse) Descriptor ¶
func (*QuoteOrderResponse) Descriptor() ([]byte, []int)
func (*QuoteOrderResponse) GetRatePerBlock ¶
func (m *QuoteOrderResponse) GetRatePerBlock() float64
func (*QuoteOrderResponse) GetRatePercent ¶
func (m *QuoteOrderResponse) GetRatePercent() float64
func (*QuoteOrderResponse) GetTotalExecutionFeeSat ¶
func (m *QuoteOrderResponse) GetTotalExecutionFeeSat() uint64
func (*QuoteOrderResponse) GetTotalPremiumSat ¶
func (m *QuoteOrderResponse) GetTotalPremiumSat() uint64
func (*QuoteOrderResponse) GetWorstCaseChainFeeSat ¶
func (m *QuoteOrderResponse) GetWorstCaseChainFeeSat() uint64
func (*QuoteOrderResponse) ProtoMessage ¶
func (*QuoteOrderResponse) ProtoMessage()
func (*QuoteOrderResponse) Reset ¶
func (m *QuoteOrderResponse) Reset()
func (*QuoteOrderResponse) String ¶
func (m *QuoteOrderResponse) String() string
func (*QuoteOrderResponse) XXX_DiscardUnknown ¶
func (m *QuoteOrderResponse) XXX_DiscardUnknown()
func (*QuoteOrderResponse) XXX_Marshal ¶
func (m *QuoteOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuoteOrderResponse) XXX_Merge ¶
func (m *QuoteOrderResponse) XXX_Merge(src proto.Message)
func (*QuoteOrderResponse) XXX_Size ¶
func (m *QuoteOrderResponse) XXX_Size() int
func (*QuoteOrderResponse) XXX_Unmarshal ¶
func (m *QuoteOrderResponse) XXX_Unmarshal(b []byte) error
type RecoverAccountsRequest ¶
type RecoverAccountsRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RecoverAccountsRequest) Descriptor ¶
func (*RecoverAccountsRequest) Descriptor() ([]byte, []int)
func (*RecoverAccountsRequest) ProtoMessage ¶
func (*RecoverAccountsRequest) ProtoMessage()
func (*RecoverAccountsRequest) Reset ¶
func (m *RecoverAccountsRequest) Reset()
func (*RecoverAccountsRequest) String ¶
func (m *RecoverAccountsRequest) String() string
func (*RecoverAccountsRequest) XXX_DiscardUnknown ¶
func (m *RecoverAccountsRequest) XXX_DiscardUnknown()
func (*RecoverAccountsRequest) XXX_Marshal ¶
func (m *RecoverAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecoverAccountsRequest) XXX_Merge ¶
func (m *RecoverAccountsRequest) XXX_Merge(src proto.Message)
func (*RecoverAccountsRequest) XXX_Size ¶
func (m *RecoverAccountsRequest) XXX_Size() int
func (*RecoverAccountsRequest) XXX_Unmarshal ¶
func (m *RecoverAccountsRequest) XXX_Unmarshal(b []byte) error
type RecoverAccountsResponse ¶
type RecoverAccountsResponse struct {
// The number of accounts that were recovered.
NumRecoveredAccounts uint32 `protobuf:"varint,1,opt,name=num_recovered_accounts,json=numRecoveredAccounts,proto3" json:"num_recovered_accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RecoverAccountsResponse) Descriptor ¶
func (*RecoverAccountsResponse) Descriptor() ([]byte, []int)
func (*RecoverAccountsResponse) GetNumRecoveredAccounts ¶
func (m *RecoverAccountsResponse) GetNumRecoveredAccounts() uint32
func (*RecoverAccountsResponse) ProtoMessage ¶
func (*RecoverAccountsResponse) ProtoMessage()
func (*RecoverAccountsResponse) Reset ¶
func (m *RecoverAccountsResponse) Reset()
func (*RecoverAccountsResponse) String ¶
func (m *RecoverAccountsResponse) String() string
func (*RecoverAccountsResponse) XXX_DiscardUnknown ¶
func (m *RecoverAccountsResponse) XXX_DiscardUnknown()
func (*RecoverAccountsResponse) XXX_Marshal ¶
func (m *RecoverAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecoverAccountsResponse) XXX_Merge ¶
func (m *RecoverAccountsResponse) XXX_Merge(src proto.Message)
func (*RecoverAccountsResponse) XXX_Size ¶
func (m *RecoverAccountsResponse) XXX_Size() int
func (*RecoverAccountsResponse) XXX_Unmarshal ¶
func (m *RecoverAccountsResponse) XXX_Unmarshal(b []byte) error
type RegisterSidecarRequest ¶
type RegisterSidecarRequest struct {
//
//The sidecar ticket to register and add the node and channel funding
//information to. The ticket must be in the state "offered".
Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
//
//If this value is True, then the daemon will attempt to finish negotiating
//the details of the sidecar channel automatically in the background. The
//progress of the ticket can be monitored using the SidecarState RPC. In
//addition, if this flag is set, then this method will _block_ until the
//sidecar negotiation either finishes or breaks down.
AutoNegotiate bool `protobuf:"varint,2,opt,name=auto_negotiate,json=autoNegotiate,proto3" json:"auto_negotiate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RegisterSidecarRequest) Descriptor ¶
func (*RegisterSidecarRequest) Descriptor() ([]byte, []int)
func (*RegisterSidecarRequest) GetAutoNegotiate ¶
func (m *RegisterSidecarRequest) GetAutoNegotiate() bool
func (*RegisterSidecarRequest) GetTicket ¶
func (m *RegisterSidecarRequest) GetTicket() string
func (*RegisterSidecarRequest) ProtoMessage ¶
func (*RegisterSidecarRequest) ProtoMessage()
func (*RegisterSidecarRequest) Reset ¶
func (m *RegisterSidecarRequest) Reset()
func (*RegisterSidecarRequest) String ¶
func (m *RegisterSidecarRequest) String() string
func (*RegisterSidecarRequest) XXX_DiscardUnknown ¶
func (m *RegisterSidecarRequest) XXX_DiscardUnknown()
func (*RegisterSidecarRequest) XXX_Marshal ¶
func (m *RegisterSidecarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterSidecarRequest) XXX_Merge ¶
func (m *RegisterSidecarRequest) XXX_Merge(src proto.Message)
func (*RegisterSidecarRequest) XXX_Size ¶
func (m *RegisterSidecarRequest) XXX_Size() int
func (*RegisterSidecarRequest) XXX_Unmarshal ¶
func (m *RegisterSidecarRequest) XXX_Unmarshal(b []byte) error
type RenewAccountRequest ¶
type RenewAccountRequest struct {
// The key associated with the account to renew.
AccountKey []byte `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"`
// Types that are valid to be assigned to AccountExpiry:
// *RenewAccountRequest_AbsoluteExpiry
// *RenewAccountRequest_RelativeExpiry
AccountExpiry isRenewAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"`
// The fee rate, in satoshis per kw, to use for the renewal transaction.
FeeRateSatPerKw uint64 `protobuf:"varint,4,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RenewAccountRequest) Descriptor ¶
func (*RenewAccountRequest) Descriptor() ([]byte, []int)
func (*RenewAccountRequest) GetAbsoluteExpiry ¶
func (m *RenewAccountRequest) GetAbsoluteExpiry() uint32
func (*RenewAccountRequest) GetAccountExpiry ¶
func (m *RenewAccountRequest) GetAccountExpiry() isRenewAccountRequest_AccountExpiry
func (*RenewAccountRequest) GetAccountKey ¶
func (m *RenewAccountRequest) GetAccountKey() []byte
func (*RenewAccountRequest) GetFeeRateSatPerKw ¶
func (m *RenewAccountRequest) GetFeeRateSatPerKw() uint64
func (*RenewAccountRequest) GetRelativeExpiry ¶
func (m *RenewAccountRequest) GetRelativeExpiry() uint32
func (*RenewAccountRequest) ProtoMessage ¶
func (*RenewAccountRequest) ProtoMessage()
func (*RenewAccountRequest) Reset ¶
func (m *RenewAccountRequest) Reset()
func (*RenewAccountRequest) String ¶
func (m *RenewAccountRequest) String() string
func (*RenewAccountRequest) XXX_DiscardUnknown ¶
func (m *RenewAccountRequest) XXX_DiscardUnknown()
func (*RenewAccountRequest) XXX_Marshal ¶
func (m *RenewAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewAccountRequest) XXX_Merge ¶
func (m *RenewAccountRequest) XXX_Merge(src proto.Message)
func (*RenewAccountRequest) XXX_OneofWrappers ¶
func (*RenewAccountRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RenewAccountRequest) XXX_Size ¶
func (m *RenewAccountRequest) XXX_Size() int
func (*RenewAccountRequest) XXX_Unmarshal ¶
func (m *RenewAccountRequest) XXX_Unmarshal(b []byte) error
type RenewAccountRequest_AbsoluteExpiry ¶
type RenewAccountRequest_AbsoluteExpiry struct {
AbsoluteExpiry uint32 `protobuf:"varint,2,opt,name=absolute_expiry,json=absoluteExpiry,proto3,oneof"`
}
type RenewAccountRequest_RelativeExpiry ¶
type RenewAccountRequest_RelativeExpiry struct {
RelativeExpiry uint32 `protobuf:"varint,3,opt,name=relative_expiry,json=relativeExpiry,proto3,oneof"`
}
type RenewAccountResponse ¶
type RenewAccountResponse struct {
// The state of the account after processing the renewal.
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// The transaction used to renew the expiration of the account.
RenewalTxid []byte `protobuf:"bytes,2,opt,name=renewal_txid,json=renewalTxid,proto3" json:"renewal_txid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RenewAccountResponse) Descriptor ¶
func (*RenewAccountResponse) Descriptor() ([]byte, []int)
func (*RenewAccountResponse) GetAccount ¶
func (m *RenewAccountResponse) GetAccount() *Account
func (*RenewAccountResponse) GetRenewalTxid ¶
func (m *RenewAccountResponse) GetRenewalTxid() []byte
func (*RenewAccountResponse) ProtoMessage ¶
func (*RenewAccountResponse) ProtoMessage()
func (*RenewAccountResponse) Reset ¶
func (m *RenewAccountResponse) Reset()
func (*RenewAccountResponse) String ¶
func (m *RenewAccountResponse) String() string
func (*RenewAccountResponse) XXX_DiscardUnknown ¶
func (m *RenewAccountResponse) XXX_DiscardUnknown()
func (*RenewAccountResponse) XXX_Marshal ¶
func (m *RenewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewAccountResponse) XXX_Merge ¶
func (m *RenewAccountResponse) XXX_Merge(src proto.Message)
func (*RenewAccountResponse) XXX_Size ¶
func (m *RenewAccountResponse) XXX_Size() int
func (*RenewAccountResponse) XXX_Unmarshal ¶
func (m *RenewAccountResponse) XXX_Unmarshal(b []byte) error
type SidecarTicket ¶
type SidecarTicket struct {
//
//The complete sidecar ticket in its string encoded form which is base64 URL
//encoded, has a human readable prefix ('sidecar...') and a checksum built in.
//The string encoded version will only be used on the trader side of the API.
//All requests to the auctioneer expect the ticket to be in its raw, tlv
//encoded byte form.
Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SidecarTicket) Descriptor ¶
func (*SidecarTicket) Descriptor() ([]byte, []int)
func (*SidecarTicket) GetTicket ¶
func (m *SidecarTicket) GetTicket() string
func (*SidecarTicket) ProtoMessage ¶
func (*SidecarTicket) ProtoMessage()
func (*SidecarTicket) Reset ¶
func (m *SidecarTicket) Reset()
func (*SidecarTicket) String ¶
func (m *SidecarTicket) String() string
func (*SidecarTicket) XXX_DiscardUnknown ¶
func (m *SidecarTicket) XXX_DiscardUnknown()
func (*SidecarTicket) XXX_Marshal ¶
func (m *SidecarTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SidecarTicket) XXX_Merge ¶
func (m *SidecarTicket) XXX_Merge(src proto.Message)
func (*SidecarTicket) XXX_Size ¶
func (m *SidecarTicket) XXX_Size() int
func (*SidecarTicket) XXX_Unmarshal ¶
func (m *SidecarTicket) XXX_Unmarshal(b []byte) error
type StopDaemonRequest ¶
type StopDaemonRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StopDaemonRequest) Descriptor ¶
func (*StopDaemonRequest) Descriptor() ([]byte, []int)
func (*StopDaemonRequest) ProtoMessage ¶
func (*StopDaemonRequest) ProtoMessage()
func (*StopDaemonRequest) Reset ¶
func (m *StopDaemonRequest) Reset()
func (*StopDaemonRequest) String ¶
func (m *StopDaemonRequest) String() string
func (*StopDaemonRequest) XXX_DiscardUnknown ¶
func (m *StopDaemonRequest) XXX_DiscardUnknown()
func (*StopDaemonRequest) XXX_Marshal ¶
func (m *StopDaemonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopDaemonRequest) XXX_Merge ¶
func (m *StopDaemonRequest) XXX_Merge(src proto.Message)
func (*StopDaemonRequest) XXX_Size ¶
func (m *StopDaemonRequest) XXX_Size() int
func (*StopDaemonRequest) XXX_Unmarshal ¶
func (m *StopDaemonRequest) XXX_Unmarshal(b []byte) error
type StopDaemonResponse ¶
type StopDaemonResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StopDaemonResponse) Descriptor ¶
func (*StopDaemonResponse) Descriptor() ([]byte, []int)
func (*StopDaemonResponse) ProtoMessage ¶
func (*StopDaemonResponse) ProtoMessage()
func (*StopDaemonResponse) Reset ¶
func (m *StopDaemonResponse) Reset()
func (*StopDaemonResponse) String ¶
func (m *StopDaemonResponse) String() string
func (*StopDaemonResponse) XXX_DiscardUnknown ¶
func (m *StopDaemonResponse) XXX_DiscardUnknown()
func (*StopDaemonResponse) XXX_Marshal ¶
func (m *StopDaemonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopDaemonResponse) XXX_Merge ¶
func (m *StopDaemonResponse) XXX_Merge(src proto.Message)
func (*StopDaemonResponse) XXX_Size ¶
func (m *StopDaemonResponse) XXX_Size() int
func (*StopDaemonResponse) XXX_Unmarshal ¶
func (m *StopDaemonResponse) XXX_Unmarshal(b []byte) error
type SubmitOrderRequest ¶
type SubmitOrderRequest struct {
// Types that are valid to be assigned to Details:
// *SubmitOrderRequest_Ask
// *SubmitOrderRequest_Bid
Details isSubmitOrderRequest_Details `protobuf_oneof:"details"`
//
//An optional identification string that will be appended to the user agent
//string sent to the server to give information about the usage of pool. This
//initiator part is meant for user interfaces to add their name to give the
//full picture of the binary used (poold, LiT) and the method used for
//submitting the order (pool CLI, LiT UI, other 3rd party UI).
Initiator string `protobuf:"bytes,3,opt,name=initiator,proto3" json:"initiator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SubmitOrderRequest) Descriptor ¶
func (*SubmitOrderRequest) Descriptor() ([]byte, []int)
func (*SubmitOrderRequest) GetAsk ¶
func (m *SubmitOrderRequest) GetAsk() *Ask
func (*SubmitOrderRequest) GetBid ¶
func (m *SubmitOrderRequest) GetBid() *Bid
func (*SubmitOrderRequest) GetDetails ¶
func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details
func (*SubmitOrderRequest) GetInitiator ¶
func (m *SubmitOrderRequest) GetInitiator() string
func (*SubmitOrderRequest) ProtoMessage ¶
func (*SubmitOrderRequest) ProtoMessage()
func (*SubmitOrderRequest) Reset ¶
func (m *SubmitOrderRequest) Reset()
func (*SubmitOrderRequest) String ¶
func (m *SubmitOrderRequest) String() string
func (*SubmitOrderRequest) XXX_DiscardUnknown ¶
func (m *SubmitOrderRequest) XXX_DiscardUnknown()
func (*SubmitOrderRequest) XXX_Marshal ¶
func (m *SubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitOrderRequest) XXX_Merge ¶
func (m *SubmitOrderRequest) XXX_Merge(src proto.Message)
func (*SubmitOrderRequest) XXX_OneofWrappers ¶
func (*SubmitOrderRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SubmitOrderRequest) XXX_Size ¶
func (m *SubmitOrderRequest) XXX_Size() int
func (*SubmitOrderRequest) XXX_Unmarshal ¶
func (m *SubmitOrderRequest) XXX_Unmarshal(b []byte) error
type SubmitOrderRequest_Ask ¶
type SubmitOrderRequest_Ask struct {
Ask *Ask `protobuf:"bytes,1,opt,name=ask,proto3,oneof"`
}
type SubmitOrderRequest_Bid ¶
type SubmitOrderRequest_Bid struct {
Bid *Bid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"`
}
type SubmitOrderResponse ¶
type SubmitOrderResponse struct {
// Types that are valid to be assigned to Details:
// *SubmitOrderResponse_InvalidOrder
// *SubmitOrderResponse_AcceptedOrderNonce
Details isSubmitOrderResponse_Details `protobuf_oneof:"details"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SubmitOrderResponse) Descriptor ¶
func (*SubmitOrderResponse) Descriptor() ([]byte, []int)
func (*SubmitOrderResponse) GetAcceptedOrderNonce ¶
func (m *SubmitOrderResponse) GetAcceptedOrderNonce() []byte
func (*SubmitOrderResponse) GetDetails ¶
func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details
func (*SubmitOrderResponse) GetInvalidOrder ¶
func (m *SubmitOrderResponse) GetInvalidOrder() *auctioneerrpc.InvalidOrder
func (*SubmitOrderResponse) ProtoMessage ¶
func (*SubmitOrderResponse) ProtoMessage()
func (*SubmitOrderResponse) Reset ¶
func (m *SubmitOrderResponse) Reset()
func (*SubmitOrderResponse) String ¶
func (m *SubmitOrderResponse) String() string
func (*SubmitOrderResponse) XXX_DiscardUnknown ¶
func (m *SubmitOrderResponse) XXX_DiscardUnknown()
func (*SubmitOrderResponse) XXX_Marshal ¶
func (m *SubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitOrderResponse) XXX_Merge ¶
func (m *SubmitOrderResponse) XXX_Merge(src proto.Message)
func (*SubmitOrderResponse) XXX_OneofWrappers ¶
func (*SubmitOrderResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SubmitOrderResponse) XXX_Size ¶
func (m *SubmitOrderResponse) XXX_Size() int
func (*SubmitOrderResponse) XXX_Unmarshal ¶
func (m *SubmitOrderResponse) XXX_Unmarshal(b []byte) error
type SubmitOrderResponse_AcceptedOrderNonce ¶
type SubmitOrderResponse_AcceptedOrderNonce struct {
AcceptedOrderNonce []byte `protobuf:"bytes,2,opt,name=accepted_order_nonce,json=acceptedOrderNonce,proto3,oneof"`
}
type SubmitOrderResponse_InvalidOrder ¶
type SubmitOrderResponse_InvalidOrder struct {
InvalidOrder *auctioneerrpc.InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"`
}
type TokensRequest ¶
type TokensRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TokensRequest) Descriptor ¶
func (*TokensRequest) Descriptor() ([]byte, []int)
func (*TokensRequest) ProtoMessage ¶
func (*TokensRequest) ProtoMessage()
func (*TokensRequest) Reset ¶
func (m *TokensRequest) Reset()
func (*TokensRequest) String ¶
func (m *TokensRequest) String() string
func (*TokensRequest) XXX_DiscardUnknown ¶
func (m *TokensRequest) XXX_DiscardUnknown()
func (*TokensRequest) XXX_Marshal ¶
func (m *TokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokensRequest) XXX_Merge ¶
func (m *TokensRequest) XXX_Merge(src proto.Message)
func (*TokensRequest) XXX_Size ¶
func (m *TokensRequest) XXX_Size() int
func (*TokensRequest) XXX_Unmarshal ¶
func (m *TokensRequest) XXX_Unmarshal(b []byte) error
type TokensResponse ¶
type TokensResponse struct {
//*
//List of all tokens the daemon knows of, including old/expired tokens.
Tokens []*LsatToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TokensResponse) Descriptor ¶
func (*TokensResponse) Descriptor() ([]byte, []int)
func (*TokensResponse) GetTokens ¶
func (m *TokensResponse) GetTokens() []*LsatToken
func (*TokensResponse) ProtoMessage ¶
func (*TokensResponse) ProtoMessage()
func (*TokensResponse) Reset ¶
func (m *TokensResponse) Reset()
func (*TokensResponse) String ¶
func (m *TokensResponse) String() string
func (*TokensResponse) XXX_DiscardUnknown ¶
func (m *TokensResponse) XXX_DiscardUnknown()
func (*TokensResponse) XXX_Marshal ¶
func (m *TokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokensResponse) XXX_Merge ¶
func (m *TokensResponse) XXX_Merge(src proto.Message)
func (*TokensResponse) XXX_Size ¶
func (m *TokensResponse) XXX_Size() int
func (*TokensResponse) XXX_Unmarshal ¶
func (m *TokensResponse) XXX_Unmarshal(b []byte) error
type TraderClient ¶
type TraderClient interface {
// pool: `getinfo`
//GetInfo returns general information about the state of the Pool trader
//daemon.
GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
// pool: `stop`
//Stop gracefully shuts down the Pool trader daemon.
StopDaemon(ctx context.Context, in *StopDaemonRequest, opts ...grpc.CallOption) (*StopDaemonResponse, error)
//
//QuoteAccount gets a fee quote to fund an account of the given size with the
//given confirmation target. If the connected lnd wallet doesn't have enough
//balance to fund an account of the requested size, an error is returned.
QuoteAccount(ctx context.Context, in *QuoteAccountRequest, opts ...grpc.CallOption) (*QuoteAccountResponse, error)
// pool: `accounts new`
//InitAccount creates a new account with the requested size and expiration,
//funding it from the wallet of the connected lnd node.
InitAccount(ctx context.Context, in *InitAccountRequest, opts ...grpc.CallOption) (*Account, error)
// pool: `accounts list`
//ListAccounts returns a list of all accounts known to the trader daemon and
//their current state.
ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
// pool: `accounts close`
//CloseAccount closes an account and returns the funds locked in that account
//to the connected lnd node's wallet.
CloseAccount(ctx context.Context, in *CloseAccountRequest, opts ...grpc.CallOption) (*CloseAccountResponse, error)
// pool: `accounts withdraw`
//WithdrawAccount splits off parts of the account balance into the specified
//outputs while recreating the account with a reduced balance.
WithdrawAccount(ctx context.Context, in *WithdrawAccountRequest, opts ...grpc.CallOption) (*WithdrawAccountResponse, error)
// pool: `accounts deposit`
//DepositAccount adds more funds from the connected lnd node's wallet to an
//account.
DepositAccount(ctx context.Context, in *DepositAccountRequest, opts ...grpc.CallOption) (*DepositAccountResponse, error)
// pool: `accounts renew`
//RenewAccount renews the expiration of an account.
RenewAccount(ctx context.Context, in *RenewAccountRequest, opts ...grpc.CallOption) (*RenewAccountResponse, error)
// pool: `accounts bumpfee`
//BumpAccountFee attempts to bump the fee of an account's transaction through
//child-pays-for-parent (CPFP). Since the CPFP is performed through the
//backing lnd node, the account transaction must contain an output under its
//control for a successful bump. If a CPFP has already been performed for an
//account, and this RPC is invoked again, then a replacing transaction (RBF)
//of the child will be broadcast.
BumpAccountFee(ctx context.Context, in *BumpAccountFeeRequest, opts ...grpc.CallOption) (*BumpAccountFeeResponse, error)
// pool: `accounts recover`
//RecoverAccounts queries the auction server for this trader daemon's accounts
//in case we lost our local account database.
RecoverAccounts(ctx context.Context, in *RecoverAccountsRequest, opts ...grpc.CallOption) (*RecoverAccountsResponse, error)
// pool: `orders submit`
//SubmitOrder creates a new ask or bid order and submits for the given account
//and submits it to the auction server for matching.
SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error)
// pool: `orders list`
//ListOrders returns a list of all active and archived orders that are
//currently known to the trader daemon.
ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
// pool: `orders cancel`
//CancelOrder cancels an active order with the auction server to remove it
//from future matching.
CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
//
//QuoteOrder calculates the premium, execution fees and max batch fee rate for
//an order based on the given order parameters.
QuoteOrder(ctx context.Context, in *QuoteOrderRequest, opts ...grpc.CallOption) (*QuoteOrderResponse, error)
// pool: `auction fee`
//AuctionFee returns the current auction order execution fee specified by the
//auction server.
AuctionFee(ctx context.Context, in *AuctionFeeRequest, opts ...grpc.CallOption) (*AuctionFeeResponse, error)
// pool: `auction leasedurations`
//LeaseDurations returns the current set of valid lease duration in the
//market as is, and also information w.r.t if the market is currently active.
LeaseDurations(ctx context.Context, in *LeaseDurationRequest, opts ...grpc.CallOption) (*LeaseDurationResponse, error)
// pool: `auction nextbatchinfo`
//NextBatchInfo returns information about the next batch the auctioneer will
//perform.
NextBatchInfo(ctx context.Context, in *NextBatchInfoRequest, opts ...grpc.CallOption) (*NextBatchInfoResponse, error)
// pool: `auction snapshot`
//BatchSnapshot returns the snapshot of a past batch identified by its ID.
//If no ID is provided, the snapshot of the last finalized batch is returned.
//Deprecated, use BatchSnapshots instead.
BatchSnapshot(ctx context.Context, in *auctioneerrpc.BatchSnapshotRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotResponse, error)
// pool: `listauth`
//GetLsatTokens returns all LSAT tokens the daemon ever paid for.
GetLsatTokens(ctx context.Context, in *TokensRequest, opts ...grpc.CallOption) (*TokensResponse, error)
// pool: `auction leases`
//Leases returns the list of channels that were either purchased or sold by
//the trader within the auction.
Leases(ctx context.Context, in *LeasesRequest, opts ...grpc.CallOption) (*LeasesResponse, error)
// pool: `auction ratings`
//Returns the Node Tier information for this target Lightning node, and other
//related ranking information.
NodeRatings(ctx context.Context, in *NodeRatingRequest, opts ...grpc.CallOption) (*NodeRatingResponse, error)
// pool: `auction snapshot`
//BatchSnapshots returns a list of batch snapshots starting at the start batch
//ID and going back through the history of batches, returning at most the
//number of specified batches. A maximum of 100 snapshots can be queried in
//one call. If no start batch ID is provided, the most recent finalized batch
//is used as the starting point to go back from.
BatchSnapshots(ctx context.Context, in *auctioneerrpc.BatchSnapshotsRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotsResponse, error)
// pool: `sidecar offer`
//OfferSidecar is step 1/4 of the sidecar negotiation between the provider
//(the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the provider. The result is a sidecar ticket with
//an offer to lease a sidecar channel for the recipient. The offer will be
//signed with the provider's lnd node public key. The ticket returned by this
//call will have the state "offered".
OfferSidecar(ctx context.Context, in *OfferSidecarRequest, opts ...grpc.CallOption) (*SidecarTicket, error)
// pool: `sidecar register`
//RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the
//provider (the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the recipient. The result is a sidecar ticket with
//the recipient's node information and channel funding multisig pubkey filled
//in. The ticket returned by this call will have the state "registered".
RegisterSidecar(ctx context.Context, in *RegisterSidecarRequest, opts ...grpc.CallOption) (*SidecarTicket, error)
// pool: `sidecar expectchannel`
//ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the
//provider (the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the recipient once the provider has submitted the
//bid order for the sidecar channel. From this point onwards the Pool trader
//daemon of both the provider as well as the recipient need to be online to
//receive and react to match making events from the server.
ExpectSidecarChannel(ctx context.Context, in *ExpectSidecarChannelRequest, opts ...grpc.CallOption) (*ExpectSidecarChannelResponse, error)
}
TraderClient is the client API for Trader service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTraderClient ¶
func NewTraderClient(cc *grpc.ClientConn) TraderClient
type TraderServer ¶
type TraderServer interface {
// pool: `getinfo`
//GetInfo returns general information about the state of the Pool trader
//daemon.
GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
// pool: `stop`
//Stop gracefully shuts down the Pool trader daemon.
StopDaemon(context.Context, *StopDaemonRequest) (*StopDaemonResponse, error)
//
//QuoteAccount gets a fee quote to fund an account of the given size with the
//given confirmation target. If the connected lnd wallet doesn't have enough
//balance to fund an account of the requested size, an error is returned.
QuoteAccount(context.Context, *QuoteAccountRequest) (*QuoteAccountResponse, error)
// pool: `accounts new`
//InitAccount creates a new account with the requested size and expiration,
//funding it from the wallet of the connected lnd node.
InitAccount(context.Context, *InitAccountRequest) (*Account, error)
// pool: `accounts list`
//ListAccounts returns a list of all accounts known to the trader daemon and
//their current state.
ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
// pool: `accounts close`
//CloseAccount closes an account and returns the funds locked in that account
//to the connected lnd node's wallet.
CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error)
// pool: `accounts withdraw`
//WithdrawAccount splits off parts of the account balance into the specified
//outputs while recreating the account with a reduced balance.
WithdrawAccount(context.Context, *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
// pool: `accounts deposit`
//DepositAccount adds more funds from the connected lnd node's wallet to an
//account.
DepositAccount(context.Context, *DepositAccountRequest) (*DepositAccountResponse, error)
// pool: `accounts renew`
//RenewAccount renews the expiration of an account.
RenewAccount(context.Context, *RenewAccountRequest) (*RenewAccountResponse, error)
// pool: `accounts bumpfee`
//BumpAccountFee attempts to bump the fee of an account's transaction through
//child-pays-for-parent (CPFP). Since the CPFP is performed through the
//backing lnd node, the account transaction must contain an output under its
//control for a successful bump. If a CPFP has already been performed for an
//account, and this RPC is invoked again, then a replacing transaction (RBF)
//of the child will be broadcast.
BumpAccountFee(context.Context, *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
// pool: `accounts recover`
//RecoverAccounts queries the auction server for this trader daemon's accounts
//in case we lost our local account database.
RecoverAccounts(context.Context, *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
// pool: `orders submit`
//SubmitOrder creates a new ask or bid order and submits for the given account
//and submits it to the auction server for matching.
SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
// pool: `orders list`
//ListOrders returns a list of all active and archived orders that are
//currently known to the trader daemon.
ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
// pool: `orders cancel`
//CancelOrder cancels an active order with the auction server to remove it
//from future matching.
CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
//
//QuoteOrder calculates the premium, execution fees and max batch fee rate for
//an order based on the given order parameters.
QuoteOrder(context.Context, *QuoteOrderRequest) (*QuoteOrderResponse, error)
// pool: `auction fee`
//AuctionFee returns the current auction order execution fee specified by the
//auction server.
AuctionFee(context.Context, *AuctionFeeRequest) (*AuctionFeeResponse, error)
// pool: `auction leasedurations`
//LeaseDurations returns the current set of valid lease duration in the
//market as is, and also information w.r.t if the market is currently active.
LeaseDurations(context.Context, *LeaseDurationRequest) (*LeaseDurationResponse, error)
// pool: `auction nextbatchinfo`
//NextBatchInfo returns information about the next batch the auctioneer will
//perform.
NextBatchInfo(context.Context, *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
// pool: `auction snapshot`
//BatchSnapshot returns the snapshot of a past batch identified by its ID.
//If no ID is provided, the snapshot of the last finalized batch is returned.
//Deprecated, use BatchSnapshots instead.
BatchSnapshot(context.Context, *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
// pool: `listauth`
//GetLsatTokens returns all LSAT tokens the daemon ever paid for.
GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error)
// pool: `auction leases`
//Leases returns the list of channels that were either purchased or sold by
//the trader within the auction.
Leases(context.Context, *LeasesRequest) (*LeasesResponse, error)
// pool: `auction ratings`
//Returns the Node Tier information for this target Lightning node, and other
//related ranking information.
NodeRatings(context.Context, *NodeRatingRequest) (*NodeRatingResponse, error)
// pool: `auction snapshot`
//BatchSnapshots returns a list of batch snapshots starting at the start batch
//ID and going back through the history of batches, returning at most the
//number of specified batches. A maximum of 100 snapshots can be queried in
//one call. If no start batch ID is provided, the most recent finalized batch
//is used as the starting point to go back from.
BatchSnapshots(context.Context, *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
// pool: `sidecar offer`
//OfferSidecar is step 1/4 of the sidecar negotiation between the provider
//(the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the provider. The result is a sidecar ticket with
//an offer to lease a sidecar channel for the recipient. The offer will be
//signed with the provider's lnd node public key. The ticket returned by this
//call will have the state "offered".
OfferSidecar(context.Context, *OfferSidecarRequest) (*SidecarTicket, error)
// pool: `sidecar register`
//RegisterSidecarRequest is step 2/4 of the sidecar negotiation between the
//provider (the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the recipient. The result is a sidecar ticket with
//the recipient's node information and channel funding multisig pubkey filled
//in. The ticket returned by this call will have the state "registered".
RegisterSidecar(context.Context, *RegisterSidecarRequest) (*SidecarTicket, error)
// pool: `sidecar expectchannel`
//ExpectSidecarChannel is step 4/4 of the sidecar negotiation between the
//provider (the trader submitting the bid order) and the recipient (the trader
//receiving the sidecar channel).
//This step must be run by the recipient once the provider has submitted the
//bid order for the sidecar channel. From this point onwards the Pool trader
//daemon of both the provider as well as the recipient need to be online to
//receive and react to match making events from the server.
ExpectSidecarChannel(context.Context, *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error)
}
TraderServer is the server API for Trader service.
type UnimplementedTraderServer ¶
type UnimplementedTraderServer struct {
}
UnimplementedTraderServer can be embedded to have forward compatible implementations.
func (*UnimplementedTraderServer) AuctionFee ¶
func (*UnimplementedTraderServer) AuctionFee(ctx context.Context, req *AuctionFeeRequest) (*AuctionFeeResponse, error)
func (*UnimplementedTraderServer) BatchSnapshot ¶
func (*UnimplementedTraderServer) BatchSnapshot(ctx context.Context, req *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
func (*UnimplementedTraderServer) BatchSnapshots ¶
func (*UnimplementedTraderServer) BatchSnapshots(ctx context.Context, req *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
func (*UnimplementedTraderServer) BumpAccountFee ¶
func (*UnimplementedTraderServer) BumpAccountFee(ctx context.Context, req *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
func (*UnimplementedTraderServer) CancelOrder ¶
func (*UnimplementedTraderServer) CancelOrder(ctx context.Context, req *CancelOrderRequest) (*CancelOrderResponse, error)
func (*UnimplementedTraderServer) CloseAccount ¶
func (*UnimplementedTraderServer) CloseAccount(ctx context.Context, req *CloseAccountRequest) (*CloseAccountResponse, error)
func (*UnimplementedTraderServer) DepositAccount ¶
func (*UnimplementedTraderServer) DepositAccount(ctx context.Context, req *DepositAccountRequest) (*DepositAccountResponse, error)
func (*UnimplementedTraderServer) ExpectSidecarChannel ¶
func (*UnimplementedTraderServer) ExpectSidecarChannel(ctx context.Context, req *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error)
func (*UnimplementedTraderServer) GetInfo ¶
func (*UnimplementedTraderServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*GetInfoResponse, error)
func (*UnimplementedTraderServer) GetLsatTokens ¶
func (*UnimplementedTraderServer) GetLsatTokens(ctx context.Context, req *TokensRequest) (*TokensResponse, error)
func (*UnimplementedTraderServer) InitAccount ¶
func (*UnimplementedTraderServer) InitAccount(ctx context.Context, req *InitAccountRequest) (*Account, error)
func (*UnimplementedTraderServer) LeaseDurations ¶
func (*UnimplementedTraderServer) LeaseDurations(ctx context.Context, req *LeaseDurationRequest) (*LeaseDurationResponse, error)
func (*UnimplementedTraderServer) Leases ¶
func (*UnimplementedTraderServer) Leases(ctx context.Context, req *LeasesRequest) (*LeasesResponse, error)
func (*UnimplementedTraderServer) ListAccounts ¶
func (*UnimplementedTraderServer) ListAccounts(ctx context.Context, req *ListAccountsRequest) (*ListAccountsResponse, error)
func (*UnimplementedTraderServer) ListOrders ¶
func (*UnimplementedTraderServer) ListOrders(ctx context.Context, req *ListOrdersRequest) (*ListOrdersResponse, error)
func (*UnimplementedTraderServer) NextBatchInfo ¶
func (*UnimplementedTraderServer) NextBatchInfo(ctx context.Context, req *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
func (*UnimplementedTraderServer) NodeRatings ¶
func (*UnimplementedTraderServer) NodeRatings(ctx context.Context, req *NodeRatingRequest) (*NodeRatingResponse, error)
func (*UnimplementedTraderServer) OfferSidecar ¶
func (*UnimplementedTraderServer) OfferSidecar(ctx context.Context, req *OfferSidecarRequest) (*SidecarTicket, error)
func (*UnimplementedTraderServer) QuoteAccount ¶
func (*UnimplementedTraderServer) QuoteAccount(ctx context.Context, req *QuoteAccountRequest) (*QuoteAccountResponse, error)
func (*UnimplementedTraderServer) QuoteOrder ¶
func (*UnimplementedTraderServer) QuoteOrder(ctx context.Context, req *QuoteOrderRequest) (*QuoteOrderResponse, error)
func (*UnimplementedTraderServer) RecoverAccounts ¶
func (*UnimplementedTraderServer) RecoverAccounts(ctx context.Context, req *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
func (*UnimplementedTraderServer) RegisterSidecar ¶
func (*UnimplementedTraderServer) RegisterSidecar(ctx context.Context, req *RegisterSidecarRequest) (*SidecarTicket, error)
func (*UnimplementedTraderServer) RenewAccount ¶
func (*UnimplementedTraderServer) RenewAccount(ctx context.Context, req *RenewAccountRequest) (*RenewAccountResponse, error)
func (*UnimplementedTraderServer) StopDaemon ¶
func (*UnimplementedTraderServer) StopDaemon(ctx context.Context, req *StopDaemonRequest) (*StopDaemonResponse, error)
func (*UnimplementedTraderServer) SubmitOrder ¶
func (*UnimplementedTraderServer) SubmitOrder(ctx context.Context, req *SubmitOrderRequest) (*SubmitOrderResponse, error)
func (*UnimplementedTraderServer) WithdrawAccount ¶
func (*UnimplementedTraderServer) WithdrawAccount(ctx context.Context, req *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
type UpdatedEvent ¶
type UpdatedEvent struct {
//
//The state of the order previous to the change. This is what the state
//changed from.
PreviousState auctioneerrpc.OrderState `protobuf:"varint,1,opt,name=previous_state,json=previousState,proto3,enum=poolrpc.OrderState" json:"previous_state,omitempty"`
//
//The new state of the order after the change. This is what the state changed
//to.
NewState auctioneerrpc.OrderState `protobuf:"varint,2,opt,name=new_state,json=newState,proto3,enum=poolrpc.OrderState" json:"new_state,omitempty"`
// The units that were filled at the time of the event.
UnitsFilled uint32 `protobuf:"varint,3,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UpdatedEvent) Descriptor ¶
func (*UpdatedEvent) Descriptor() ([]byte, []int)
func (*UpdatedEvent) GetNewState ¶
func (m *UpdatedEvent) GetNewState() auctioneerrpc.OrderState
func (*UpdatedEvent) GetPreviousState ¶
func (m *UpdatedEvent) GetPreviousState() auctioneerrpc.OrderState
func (*UpdatedEvent) GetUnitsFilled ¶
func (m *UpdatedEvent) GetUnitsFilled() uint32
func (*UpdatedEvent) ProtoMessage ¶
func (*UpdatedEvent) ProtoMessage()
func (*UpdatedEvent) Reset ¶
func (m *UpdatedEvent) Reset()
func (*UpdatedEvent) String ¶
func (m *UpdatedEvent) String() string
func (*UpdatedEvent) XXX_DiscardUnknown ¶
func (m *UpdatedEvent) XXX_DiscardUnknown()
func (*UpdatedEvent) XXX_Marshal ¶
func (m *UpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatedEvent) XXX_Merge ¶
func (m *UpdatedEvent) XXX_Merge(src proto.Message)
func (*UpdatedEvent) XXX_Size ¶
func (m *UpdatedEvent) XXX_Size() int
func (*UpdatedEvent) XXX_Unmarshal ¶
func (m *UpdatedEvent) XXX_Unmarshal(b []byte) error
type WithdrawAccountRequest ¶
type WithdrawAccountRequest struct {
//
//The trader key associated with the account that funds will be withdrawed
//from.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
// The outputs we'll withdraw funds from the account into.
Outputs []*Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
//
//The fee rate, in satoshis per kw, to use for the withdrawal transaction.
FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*WithdrawAccountRequest) Descriptor ¶
func (*WithdrawAccountRequest) Descriptor() ([]byte, []int)
func (*WithdrawAccountRequest) GetFeeRateSatPerKw ¶
func (m *WithdrawAccountRequest) GetFeeRateSatPerKw() uint64
func (*WithdrawAccountRequest) GetOutputs ¶
func (m *WithdrawAccountRequest) GetOutputs() []*Output
func (*WithdrawAccountRequest) GetTraderKey ¶
func (m *WithdrawAccountRequest) GetTraderKey() []byte
func (*WithdrawAccountRequest) ProtoMessage ¶
func (*WithdrawAccountRequest) ProtoMessage()
func (*WithdrawAccountRequest) Reset ¶
func (m *WithdrawAccountRequest) Reset()
func (*WithdrawAccountRequest) String ¶
func (m *WithdrawAccountRequest) String() string
func (*WithdrawAccountRequest) XXX_DiscardUnknown ¶
func (m *WithdrawAccountRequest) XXX_DiscardUnknown()
func (*WithdrawAccountRequest) XXX_Marshal ¶
func (m *WithdrawAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawAccountRequest) XXX_Merge ¶
func (m *WithdrawAccountRequest) XXX_Merge(src proto.Message)
func (*WithdrawAccountRequest) XXX_Size ¶
func (m *WithdrawAccountRequest) XXX_Size() int
func (*WithdrawAccountRequest) XXX_Unmarshal ¶
func (m *WithdrawAccountRequest) XXX_Unmarshal(b []byte) error
type WithdrawAccountResponse ¶
type WithdrawAccountResponse struct {
// The state of the account after processing the withdrawal.
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// The transaction used to withdraw funds from the account.
WithdrawTxid []byte `protobuf:"bytes,2,opt,name=withdraw_txid,json=withdrawTxid,proto3" json:"withdraw_txid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*WithdrawAccountResponse) Descriptor ¶
func (*WithdrawAccountResponse) Descriptor() ([]byte, []int)
func (*WithdrawAccountResponse) GetAccount ¶
func (m *WithdrawAccountResponse) GetAccount() *Account
func (*WithdrawAccountResponse) GetWithdrawTxid ¶
func (m *WithdrawAccountResponse) GetWithdrawTxid() []byte
func (*WithdrawAccountResponse) ProtoMessage ¶
func (*WithdrawAccountResponse) ProtoMessage()
func (*WithdrawAccountResponse) Reset ¶
func (m *WithdrawAccountResponse) Reset()
func (*WithdrawAccountResponse) String ¶
func (m *WithdrawAccountResponse) String() string
func (*WithdrawAccountResponse) XXX_DiscardUnknown ¶
func (m *WithdrawAccountResponse) XXX_DiscardUnknown()
func (*WithdrawAccountResponse) XXX_Marshal ¶
func (m *WithdrawAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawAccountResponse) XXX_Merge ¶
func (m *WithdrawAccountResponse) XXX_Merge(src proto.Message)
func (*WithdrawAccountResponse) XXX_Size ¶
func (m *WithdrawAccountResponse) XXX_Size() int
func (*WithdrawAccountResponse) XXX_Unmarshal ¶
func (m *WithdrawAccountResponse) XXX_Unmarshal(b []byte) error