Documentation ¶
Overview ¶
Package poolrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func PrintMsg(message proto.Message) string
- 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 RegisterTraderJSONCallbacks(...)
- func RegisterTraderServer(s grpc.ServiceRegistrar, srv TraderServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAvailableBalance() uint64
- func (x *Account) GetExpirationHeight() uint32
- func (x *Account) GetLatestTxid() []byte
- func (x *Account) GetOutpoint() *auctioneerrpc.OutPoint
- func (x *Account) GetState() AccountState
- func (x *Account) GetTraderKey() []byte
- func (x *Account) GetValue() uint64
- func (x *Account) GetVersion() AccountVersion
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountModificationFee
- func (*AccountModificationFee) Descriptor() ([]byte, []int)deprecated
- func (x *AccountModificationFee) GetAction() string
- func (x *AccountModificationFee) GetBlockHeight() int32
- func (m *AccountModificationFee) GetFee() isAccountModificationFee_Fee
- func (x *AccountModificationFee) GetFeeNull() bool
- func (x *AccountModificationFee) GetFeeValue() int64
- func (x *AccountModificationFee) GetOutputAmount() int64
- func (x *AccountModificationFee) GetTimestamp() int64
- func (x *AccountModificationFee) GetTxid() string
- func (*AccountModificationFee) ProtoMessage()
- func (x *AccountModificationFee) ProtoReflect() protoreflect.Message
- func (x *AccountModificationFee) Reset()
- func (x *AccountModificationFee) String() string
- type AccountModificationFee_FeeNull
- type AccountModificationFee_FeeValue
- type AccountModificationFeesRequest
- func (*AccountModificationFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (*AccountModificationFeesRequest) ProtoMessage()
- func (x *AccountModificationFeesRequest) ProtoReflect() protoreflect.Message
- func (x *AccountModificationFeesRequest) Reset()
- func (x *AccountModificationFeesRequest) String() string
- type AccountModificationFeesResponse
- func (*AccountModificationFeesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountModificationFeesResponse) GetAccounts() map[string]*ListOfAccountModificationFees
- func (*AccountModificationFeesResponse) ProtoMessage()
- func (x *AccountModificationFeesResponse) ProtoReflect() protoreflect.Message
- func (x *AccountModificationFeesResponse) Reset()
- func (x *AccountModificationFeesResponse) String() string
- type AccountState
- func (AccountState) Descriptor() protoreflect.EnumDescriptor
- func (x AccountState) Enum() *AccountState
- func (AccountState) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountState) Number() protoreflect.EnumNumber
- func (x AccountState) String() string
- func (AccountState) Type() protoreflect.EnumType
- type AccountVersion
- func (AccountVersion) Descriptor() protoreflect.EnumDescriptor
- func (x AccountVersion) Enum() *AccountVersion
- func (AccountVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountVersion) Number() protoreflect.EnumNumber
- func (x AccountVersion) String() string
- func (AccountVersion) Type() protoreflect.EnumType
- type Ask
- func (*Ask) Descriptor() ([]byte, []int)deprecated
- func (x *Ask) GetAnnouncementConstraints() auctioneerrpc.ChannelAnnouncementConstraints
- func (x *Ask) GetConfirmationConstraints() auctioneerrpc.ChannelConfirmationConstraints
- func (x *Ask) GetDetails() *Order
- func (x *Ask) GetLeaseDurationBlocks() uint32
- func (x *Ask) GetVersion() uint32
- func (*Ask) ProtoMessage()
- func (x *Ask) ProtoReflect() protoreflect.Message
- func (x *Ask) Reset()
- func (x *Ask) String() string
- type AuctionFeeRequest
- type AuctionFeeResponse
- func (*AuctionFeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuctionFeeResponse) GetExecutionFee() *auctioneerrpc.ExecutionFee
- func (*AuctionFeeResponse) ProtoMessage()
- func (x *AuctionFeeResponse) ProtoReflect() protoreflect.Message
- func (x *AuctionFeeResponse) Reset()
- func (x *AuctionFeeResponse) String() string
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)deprecated
- func (x *Bid) GetDetails() *Order
- func (x *Bid) GetLeaseDurationBlocks() uint32
- func (x *Bid) GetMinNodeTier() auctioneerrpc.NodeTier
- func (x *Bid) GetSelfChanBalance() uint64
- func (x *Bid) GetSidecarTicket() string
- func (x *Bid) GetUnannouncedChannel() bool
- func (x *Bid) GetVersion() uint32
- func (x *Bid) GetZeroConfChannel() bool
- func (*Bid) ProtoMessage()
- func (x *Bid) ProtoReflect() protoreflect.Message
- func (x *Bid) Reset()
- func (x *Bid) String() string
- type BumpAccountFeeRequest
- func (*BumpAccountFeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BumpAccountFeeRequest) GetFeeRateSatPerKw() uint64
- func (x *BumpAccountFeeRequest) GetTraderKey() []byte
- func (*BumpAccountFeeRequest) ProtoMessage()
- func (x *BumpAccountFeeRequest) ProtoReflect() protoreflect.Message
- func (x *BumpAccountFeeRequest) Reset()
- func (x *BumpAccountFeeRequest) String() string
- type BumpAccountFeeResponse
- type CancelOrderRequest
- func (*CancelOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOrderRequest) GetOrderNonce() []byte
- func (*CancelOrderRequest) ProtoMessage()
- func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
- func (x *CancelOrderRequest) Reset()
- func (x *CancelOrderRequest) String() string
- type CancelOrderResponse
- type CancelSidecarRequest
- func (*CancelSidecarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelSidecarRequest) GetSidecarId() []byte
- func (*CancelSidecarRequest) ProtoMessage()
- func (x *CancelSidecarRequest) ProtoReflect() protoreflect.Message
- func (x *CancelSidecarRequest) Reset()
- func (x *CancelSidecarRequest) String() string
- type CancelSidecarResponse
- type CloseAccountRequest
- func (*CloseAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (m *CloseAccountRequest) GetFundsDestination() isCloseAccountRequest_FundsDestination
- func (x *CloseAccountRequest) GetOutputWithFee() *OutputWithFee
- func (x *CloseAccountRequest) GetOutputs() *OutputsWithImplicitFee
- func (x *CloseAccountRequest) GetTraderKey() []byte
- func (*CloseAccountRequest) ProtoMessage()
- func (x *CloseAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CloseAccountRequest) Reset()
- func (x *CloseAccountRequest) String() string
- type CloseAccountRequest_OutputWithFee
- type CloseAccountRequest_Outputs
- type CloseAccountResponse
- func (*CloseAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CloseAccountResponse) GetCloseTxid() []byte
- func (*CloseAccountResponse) ProtoMessage()
- func (x *CloseAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CloseAccountResponse) Reset()
- func (x *CloseAccountResponse) String() string
- type DecodedSidecarTicket
- func (*DecodedSidecarTicket) Descriptor() ([]byte, []int)deprecated
- func (x *DecodedSidecarTicket) GetEncodedTicket() string
- func (x *DecodedSidecarTicket) GetExecutionPendingChannelId() []byte
- func (x *DecodedSidecarTicket) GetId() []byte
- func (x *DecodedSidecarTicket) GetOfferAuto() bool
- func (x *DecodedSidecarTicket) GetOfferCapacity() uint64
- func (x *DecodedSidecarTicket) GetOfferLeaseDurationBlocks() uint32
- func (x *DecodedSidecarTicket) GetOfferPushAmount() uint64
- func (x *DecodedSidecarTicket) GetOfferSignPubkey() []byte
- func (x *DecodedSidecarTicket) GetOfferSignature() []byte
- func (x *DecodedSidecarTicket) GetOfferUnannouncedChannel() bool
- func (x *DecodedSidecarTicket) GetOfferZeroConfChannel() bool
- func (x *DecodedSidecarTicket) GetOrderBidNonce() []byte
- func (x *DecodedSidecarTicket) GetOrderSignature() []byte
- func (x *DecodedSidecarTicket) GetRecipientMultisigPubkey() []byte
- func (x *DecodedSidecarTicket) GetRecipientMultisigPubkeyIndex() uint32
- func (x *DecodedSidecarTicket) GetRecipientNodePubkey() []byte
- func (x *DecodedSidecarTicket) GetState() string
- func (x *DecodedSidecarTicket) GetVersion() uint32
- func (*DecodedSidecarTicket) ProtoMessage()
- func (x *DecodedSidecarTicket) ProtoReflect() protoreflect.Message
- func (x *DecodedSidecarTicket) Reset()
- func (x *DecodedSidecarTicket) String() string
- type DepositAccountRequest
- func (*DepositAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DepositAccountRequest) GetAbsoluteExpiry() uint32
- func (m *DepositAccountRequest) GetAccountExpiry() isDepositAccountRequest_AccountExpiry
- func (x *DepositAccountRequest) GetAmountSat() uint64
- func (x *DepositAccountRequest) GetFeeRateSatPerKw() uint64
- func (x *DepositAccountRequest) GetNewVersion() AccountVersion
- func (x *DepositAccountRequest) GetRelativeExpiry() uint32
- func (x *DepositAccountRequest) GetTraderKey() []byte
- func (*DepositAccountRequest) ProtoMessage()
- func (x *DepositAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DepositAccountRequest) Reset()
- func (x *DepositAccountRequest) String() string
- type DepositAccountRequest_AbsoluteExpiry
- type DepositAccountRequest_RelativeExpiry
- type DepositAccountResponse
- func (*DepositAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DepositAccountResponse) GetAccount() *Account
- func (x *DepositAccountResponse) GetDepositTxid() []byte
- func (*DepositAccountResponse) ProtoMessage()
- func (x *DepositAccountResponse) ProtoReflect() protoreflect.Message
- func (x *DepositAccountResponse) Reset()
- func (x *DepositAccountResponse) String() string
- type ExpectSidecarChannelRequest
- func (*ExpectSidecarChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpectSidecarChannelRequest) GetTicket() string
- func (*ExpectSidecarChannelRequest) ProtoMessage()
- func (x *ExpectSidecarChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ExpectSidecarChannelRequest) Reset()
- func (x *ExpectSidecarChannelRequest) String() string
- type ExpectSidecarChannelResponse
- func (*ExpectSidecarChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (*ExpectSidecarChannelResponse) ProtoMessage()
- func (x *ExpectSidecarChannelResponse) ProtoReflect() protoreflect.Message
- func (x *ExpectSidecarChannelResponse) Reset()
- func (x *ExpectSidecarChannelResponse) String() string
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetAccountsActive() uint32
- func (x *GetInfoResponse) GetAccountsActiveExpired() uint32
- func (x *GetInfoResponse) GetAccountsArchived() uint32
- func (x *GetInfoResponse) GetAccountsTotal() uint32
- func (x *GetInfoResponse) GetBatchesInvolved() uint32
- func (x *GetInfoResponse) GetCurrentBlockHeight() uint32
- func (x *GetInfoResponse) GetLsatTokens() uint32
- func (x *GetInfoResponse) GetMarketInfo() map[uint32]*auctioneerrpc.MarketInfo
- func (x *GetInfoResponse) GetNewNodesOnly() bool
- func (x *GetInfoResponse) GetNodeRating() *auctioneerrpc.NodeRating
- func (x *GetInfoResponse) GetOrdersActive() uint32
- func (x *GetInfoResponse) GetOrdersArchived() uint32
- func (x *GetInfoResponse) GetOrdersTotal() uint32
- func (x *GetInfoResponse) GetSubscribedToAuctioneer() bool
- func (x *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type InitAccountRequest
- func (*InitAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitAccountRequest) GetAbsoluteHeight() uint32
- func (m *InitAccountRequest) GetAccountExpiry() isInitAccountRequest_AccountExpiry
- func (x *InitAccountRequest) GetAccountValue() uint64
- func (x *InitAccountRequest) GetConfTarget() uint32
- func (x *InitAccountRequest) GetFeeRateSatPerKw() uint64
- func (m *InitAccountRequest) GetFees() isInitAccountRequest_Fees
- func (x *InitAccountRequest) GetInitiator() string
- func (x *InitAccountRequest) GetRelativeHeight() uint32
- func (x *InitAccountRequest) GetVersion() AccountVersion
- func (*InitAccountRequest) ProtoMessage()
- func (x *InitAccountRequest) ProtoReflect() protoreflect.Message
- func (x *InitAccountRequest) Reset()
- func (x *InitAccountRequest) String() string
- type InitAccountRequest_AbsoluteHeight
- type InitAccountRequest_ConfTarget
- type InitAccountRequest_FeeRateSatPerKw
- type InitAccountRequest_RelativeHeight
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)deprecated
- func (x *Lease) GetChainFeeSat() uint64
- func (x *Lease) GetChannelAmtSat() uint64
- func (x *Lease) GetChannelDurationBlocks() uint32
- func (x *Lease) GetChannelLeaseExpiry() uint32
- func (x *Lease) GetChannelNodeTier() auctioneerrpc.NodeTier
- func (x *Lease) GetChannelPoint() *auctioneerrpc.OutPoint
- func (x *Lease) GetChannelRemoteNodeKey() []byte
- func (x *Lease) GetClearingRatePrice() uint64
- func (x *Lease) GetExecutionFeeSat() uint64
- func (x *Lease) GetMatchedOrderNonce() []byte
- func (x *Lease) GetOrderFixedRate() uint64
- func (x *Lease) GetOrderNonce() []byte
- func (x *Lease) GetPremiumSat() uint64
- func (x *Lease) GetPurchased() bool
- func (x *Lease) GetSelfChanBalance() uint64
- func (x *Lease) GetSidecarChannel() bool
- func (*Lease) ProtoMessage()
- func (x *Lease) ProtoReflect() protoreflect.Message
- func (x *Lease) Reset()
- func (x *Lease) String() string
- type LeaseDurationRequest
- type LeaseDurationResponse
- func (*LeaseDurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaseDurationResponse) GetLeaseDurationBuckets() map[uint32]auctioneerrpc.DurationBucketState
- func (x *LeaseDurationResponse) GetLeaseDurations() map[uint32]booldeprecated
- func (*LeaseDurationResponse) ProtoMessage()
- func (x *LeaseDurationResponse) ProtoReflect() protoreflect.Message
- func (x *LeaseDurationResponse) Reset()
- func (x *LeaseDurationResponse) String() string
- type LeasesRequest
- func (*LeasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeasesRequest) GetAccounts() [][]byte
- func (x *LeasesRequest) GetBatchIds() [][]byte
- func (*LeasesRequest) ProtoMessage()
- func (x *LeasesRequest) ProtoReflect() protoreflect.Message
- func (x *LeasesRequest) Reset()
- func (x *LeasesRequest) String() string
- type LeasesResponse
- func (*LeasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeasesResponse) GetLeases() []*Lease
- func (x *LeasesResponse) GetTotalAmtEarnedSat() uint64
- func (x *LeasesResponse) GetTotalAmtPaidSat() uint64
- func (*LeasesResponse) ProtoMessage()
- func (x *LeasesResponse) ProtoReflect() protoreflect.Message
- func (x *LeasesResponse) Reset()
- func (x *LeasesResponse) String() string
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetActiveOnly() bool
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsResponse) GetAccounts() []*Account
- func (*ListAccountsResponse) ProtoMessage()
- func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountsResponse) Reset()
- func (x *ListAccountsResponse) String() string
- type ListOfAccountModificationFees
- func (*ListOfAccountModificationFees) Descriptor() ([]byte, []int)deprecated
- func (x *ListOfAccountModificationFees) GetModificationFees() []*AccountModificationFee
- func (*ListOfAccountModificationFees) ProtoMessage()
- func (x *ListOfAccountModificationFees) ProtoReflect() protoreflect.Message
- func (x *ListOfAccountModificationFees) Reset()
- func (x *ListOfAccountModificationFees) String() string
- type ListOrdersRequest
- func (*ListOrdersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrdersRequest) GetActiveOnly() bool
- func (x *ListOrdersRequest) GetVerbose() bool
- func (*ListOrdersRequest) ProtoMessage()
- func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrdersRequest) Reset()
- func (x *ListOrdersRequest) String() string
- type ListOrdersResponse
- func (*ListOrdersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrdersResponse) GetAsks() []*Ask
- func (x *ListOrdersResponse) GetBids() []*Bid
- func (*ListOrdersResponse) ProtoMessage()
- func (x *ListOrdersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrdersResponse) Reset()
- func (x *ListOrdersResponse) String() string
- type ListSidecarsRequest
- func (*ListSidecarsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSidecarsRequest) GetSidecarId() []byte
- func (*ListSidecarsRequest) ProtoMessage()
- func (x *ListSidecarsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSidecarsRequest) Reset()
- func (x *ListSidecarsRequest) String() string
- type ListSidecarsResponse
- func (*ListSidecarsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSidecarsResponse) GetTickets() []*DecodedSidecarTicket
- func (*ListSidecarsResponse) ProtoMessage()
- func (x *ListSidecarsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSidecarsResponse) Reset()
- func (x *ListSidecarsResponse) String() string
- type LsatToken
- func (*LsatToken) Descriptor() ([]byte, []int)deprecated
- func (x *LsatToken) GetAmountPaidMsat() int64
- func (x *LsatToken) GetBaseMacaroon() []byte
- func (x *LsatToken) GetExpired() bool
- func (x *LsatToken) GetPaymentHash() []byte
- func (x *LsatToken) GetPaymentPreimage() []byte
- func (x *LsatToken) GetRoutingFeePaidMsat() int64
- func (x *LsatToken) GetStorageName() string
- func (x *LsatToken) GetTimeCreated() int64
- func (*LsatToken) ProtoMessage()
- func (x *LsatToken) ProtoReflect() protoreflect.Message
- func (x *LsatToken) Reset()
- func (x *LsatToken) String() string
- type MatchEvent
- func (*MatchEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MatchEvent) GetMatchState() MatchState
- func (x *MatchEvent) GetMatchedOrder() []byte
- func (x *MatchEvent) GetRejectReason() MatchRejectReason
- func (x *MatchEvent) GetUnitsFilled() uint32
- func (*MatchEvent) ProtoMessage()
- func (x *MatchEvent) ProtoReflect() protoreflect.Message
- func (x *MatchEvent) Reset()
- func (x *MatchEvent) String() string
- type MatchRejectReason
- func (MatchRejectReason) Descriptor() protoreflect.EnumDescriptor
- func (x MatchRejectReason) Enum() *MatchRejectReason
- func (MatchRejectReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchRejectReason) Number() protoreflect.EnumNumber
- func (x MatchRejectReason) String() string
- func (MatchRejectReason) Type() protoreflect.EnumType
- type MatchState
- type NextBatchInfoRequest
- type NextBatchInfoResponse
- func (*NextBatchInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextBatchInfoResponse) GetAutoRenewExtensionBlocks() uint32
- func (x *NextBatchInfoResponse) GetClearTimestamp() uint64
- func (x *NextBatchInfoResponse) GetConfTarget() uint32
- func (x *NextBatchInfoResponse) GetFeeRateSatPerKw() uint64
- func (*NextBatchInfoResponse) ProtoMessage()
- func (x *NextBatchInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NextBatchInfoResponse) Reset()
- func (x *NextBatchInfoResponse) String() string
- type NodeRatingRequest
- func (*NodeRatingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeRatingRequest) GetNodePubkeys() [][]byte
- func (*NodeRatingRequest) ProtoMessage()
- func (x *NodeRatingRequest) ProtoReflect() protoreflect.Message
- func (x *NodeRatingRequest) Reset()
- func (x *NodeRatingRequest) String() string
- type NodeRatingResponse
- func (*NodeRatingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeRatingResponse) GetNodeRatings() []*auctioneerrpc.NodeRating
- func (*NodeRatingResponse) ProtoMessage()
- func (x *NodeRatingResponse) ProtoReflect() protoreflect.Message
- func (x *NodeRatingResponse) Reset()
- func (x *NodeRatingResponse) String() string
- type OfferSidecarRequest
- func (*OfferSidecarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OfferSidecarRequest) GetAutoNegotiate() bool
- func (x *OfferSidecarRequest) GetBid() *Bid
- func (*OfferSidecarRequest) ProtoMessage()
- func (x *OfferSidecarRequest) ProtoReflect() protoreflect.Message
- func (x *OfferSidecarRequest) Reset()
- func (x *OfferSidecarRequest) String() string
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetAllowedNodeIds() [][]byte
- func (x *Order) GetAmt() uint64
- func (x *Order) GetAuctionType() auctioneerrpc.AuctionType
- func (x *Order) GetChannelType() auctioneerrpc.OrderChannelType
- func (x *Order) GetCreationTimestampNs() uint64
- func (x *Order) GetEvents() []*OrderEvent
- func (x *Order) GetIsPublic() bool
- func (x *Order) GetMaxBatchFeeRateSatPerKw() uint64
- func (x *Order) GetMinUnitsMatch() uint32
- func (x *Order) GetNotAllowedNodeIds() [][]byte
- func (x *Order) GetOrderNonce() []byte
- func (x *Order) GetRateFixed() uint32
- func (x *Order) GetReservedValueSat() uint64
- func (x *Order) GetState() auctioneerrpc.OrderState
- func (x *Order) GetTraderKey() []byte
- func (x *Order) GetUnits() uint32
- func (x *Order) GetUnitsUnfulfilled() uint32
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type OrderEvent
- func (*OrderEvent) Descriptor() ([]byte, []int)deprecated
- func (m *OrderEvent) GetEvent() isOrderEvent_Event
- func (x *OrderEvent) GetEventStr() string
- func (x *OrderEvent) GetMatched() *MatchEvent
- func (x *OrderEvent) GetStateChange() *UpdatedEvent
- func (x *OrderEvent) GetTimestampNs() int64
- func (*OrderEvent) ProtoMessage()
- func (x *OrderEvent) ProtoReflect() protoreflect.Message
- func (x *OrderEvent) Reset()
- func (x *OrderEvent) String() string
- type OrderEvent_Matched
- type OrderEvent_StateChange
- type Output
- type OutputWithFee
- func (*OutputWithFee) Descriptor() ([]byte, []int)deprecated
- func (x *OutputWithFee) GetAddress() string
- func (x *OutputWithFee) GetConfTarget() uint32
- func (x *OutputWithFee) GetFeeRateSatPerKw() uint64
- func (m *OutputWithFee) GetFees() isOutputWithFee_Fees
- func (*OutputWithFee) ProtoMessage()
- func (x *OutputWithFee) ProtoReflect() protoreflect.Message
- func (x *OutputWithFee) Reset()
- func (x *OutputWithFee) String() string
- type OutputWithFee_ConfTarget
- type OutputWithFee_FeeRateSatPerKw
- type OutputsWithImplicitFee
- func (*OutputsWithImplicitFee) Descriptor() ([]byte, []int)deprecated
- func (x *OutputsWithImplicitFee) GetOutputs() []*Output
- func (*OutputsWithImplicitFee) ProtoMessage()
- func (x *OutputsWithImplicitFee) ProtoReflect() protoreflect.Message
- func (x *OutputsWithImplicitFee) Reset()
- func (x *OutputsWithImplicitFee) String() string
- type QuoteAccountRequest
- func (*QuoteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuoteAccountRequest) GetAccountValue() uint64
- func (x *QuoteAccountRequest) GetConfTarget() uint32
- func (m *QuoteAccountRequest) GetFees() isQuoteAccountRequest_Fees
- func (*QuoteAccountRequest) ProtoMessage()
- func (x *QuoteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QuoteAccountRequest) Reset()
- func (x *QuoteAccountRequest) String() string
- type QuoteAccountRequest_ConfTarget
- type QuoteAccountResponse
- func (*QuoteAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuoteAccountResponse) GetMinerFeeRateSatPerKw() uint64
- func (x *QuoteAccountResponse) GetMinerFeeTotal() uint64
- func (*QuoteAccountResponse) ProtoMessage()
- func (x *QuoteAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QuoteAccountResponse) Reset()
- func (x *QuoteAccountResponse) String() string
- type QuoteOrderRequest
- func (*QuoteOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuoteOrderRequest) GetAmt() uint64
- func (x *QuoteOrderRequest) GetLeaseDurationBlocks() uint32
- func (x *QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw() uint64
- func (x *QuoteOrderRequest) GetMinUnitsMatch() uint32
- func (x *QuoteOrderRequest) GetRateFixed() uint32
- func (*QuoteOrderRequest) ProtoMessage()
- func (x *QuoteOrderRequest) ProtoReflect() protoreflect.Message
- func (x *QuoteOrderRequest) Reset()
- func (x *QuoteOrderRequest) String() string
- type QuoteOrderResponse
- func (*QuoteOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuoteOrderResponse) GetRatePerBlock() float64
- func (x *QuoteOrderResponse) GetRatePercent() float64
- func (x *QuoteOrderResponse) GetTotalExecutionFeeSat() uint64
- func (x *QuoteOrderResponse) GetTotalPremiumSat() uint64
- func (x *QuoteOrderResponse) GetWorstCaseChainFeeSat() uint64
- func (*QuoteOrderResponse) ProtoMessage()
- func (x *QuoteOrderResponse) ProtoReflect() protoreflect.Message
- func (x *QuoteOrderResponse) Reset()
- func (x *QuoteOrderResponse) String() string
- type RecoverAccountsRequest
- func (*RecoverAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverAccountsRequest) GetAccountTarget() uint32
- func (x *RecoverAccountsRequest) GetAuctioneerKey() string
- func (x *RecoverAccountsRequest) GetBitcoinHost() string
- func (x *RecoverAccountsRequest) GetBitcoinHttppostmode() bool
- func (x *RecoverAccountsRequest) GetBitcoinPassword() string
- func (x *RecoverAccountsRequest) GetBitcoinTlspath() string
- func (x *RecoverAccountsRequest) GetBitcoinUser() string
- func (x *RecoverAccountsRequest) GetBitcoinUsetls() bool
- func (x *RecoverAccountsRequest) GetFullClient() bool
- func (x *RecoverAccountsRequest) GetHeightHint() uint32
- func (*RecoverAccountsRequest) ProtoMessage()
- func (x *RecoverAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *RecoverAccountsRequest) Reset()
- func (x *RecoverAccountsRequest) String() string
- type RecoverAccountsResponse
- func (*RecoverAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverAccountsResponse) GetNumRecoveredAccounts() uint32
- func (*RecoverAccountsResponse) ProtoMessage()
- func (x *RecoverAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *RecoverAccountsResponse) Reset()
- func (x *RecoverAccountsResponse) String() string
- type RegisterSidecarRequest
- func (*RegisterSidecarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSidecarRequest) GetAutoNegotiate() bool
- func (x *RegisterSidecarRequest) GetTicket() string
- func (*RegisterSidecarRequest) ProtoMessage()
- func (x *RegisterSidecarRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterSidecarRequest) Reset()
- func (x *RegisterSidecarRequest) String() string
- type RenewAccountRequest
- func (*RenewAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenewAccountRequest) GetAbsoluteExpiry() uint32
- func (m *RenewAccountRequest) GetAccountExpiry() isRenewAccountRequest_AccountExpiry
- func (x *RenewAccountRequest) GetAccountKey() []byte
- func (x *RenewAccountRequest) GetFeeRateSatPerKw() uint64
- func (x *RenewAccountRequest) GetNewVersion() AccountVersion
- func (x *RenewAccountRequest) GetRelativeExpiry() uint32
- func (*RenewAccountRequest) ProtoMessage()
- func (x *RenewAccountRequest) ProtoReflect() protoreflect.Message
- func (x *RenewAccountRequest) Reset()
- func (x *RenewAccountRequest) String() string
- type RenewAccountRequest_AbsoluteExpiry
- type RenewAccountRequest_RelativeExpiry
- type RenewAccountResponse
- func (*RenewAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenewAccountResponse) GetAccount() *Account
- func (x *RenewAccountResponse) GetRenewalTxid() []byte
- func (*RenewAccountResponse) ProtoMessage()
- func (x *RenewAccountResponse) ProtoReflect() protoreflect.Message
- func (x *RenewAccountResponse) Reset()
- func (x *RenewAccountResponse) String() string
- type SidecarTicket
- type StopDaemonRequest
- type StopDaemonResponse
- type SubmitOrderRequest
- func (*SubmitOrderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitOrderRequest) GetAsk() *Ask
- func (x *SubmitOrderRequest) GetBid() *Bid
- func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details
- func (x *SubmitOrderRequest) GetInitiator() string
- func (*SubmitOrderRequest) ProtoMessage()
- func (x *SubmitOrderRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitOrderRequest) Reset()
- func (x *SubmitOrderRequest) String() string
- type SubmitOrderRequest_Ask
- type SubmitOrderRequest_Bid
- type SubmitOrderResponse
- func (*SubmitOrderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitOrderResponse) GetAcceptedOrderNonce() []byte
- func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details
- func (x *SubmitOrderResponse) GetInvalidOrder() *auctioneerrpc.InvalidOrder
- func (x *SubmitOrderResponse) GetUpdatedSidecarTicket() string
- func (*SubmitOrderResponse) ProtoMessage()
- func (x *SubmitOrderResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitOrderResponse) Reset()
- func (x *SubmitOrderResponse) String() string
- type SubmitOrderResponse_AcceptedOrderNonce
- type SubmitOrderResponse_InvalidOrder
- type TokensRequest
- type TokensResponse
- type TraderClient
- type TraderServer
- type UnimplementedTraderServer
- func (UnimplementedTraderServer) AccountModificationFees(context.Context, *AccountModificationFeesRequest) (*AccountModificationFeesResponse, error)
- func (UnimplementedTraderServer) AuctionFee(context.Context, *AuctionFeeRequest) (*AuctionFeeResponse, error)
- func (UnimplementedTraderServer) BatchSnapshot(context.Context, *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
- func (UnimplementedTraderServer) BatchSnapshots(context.Context, *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
- func (UnimplementedTraderServer) BumpAccountFee(context.Context, *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
- func (UnimplementedTraderServer) CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
- func (UnimplementedTraderServer) CancelSidecar(context.Context, *CancelSidecarRequest) (*CancelSidecarResponse, error)
- func (UnimplementedTraderServer) CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error)
- func (UnimplementedTraderServer) DecodeSidecarTicket(context.Context, *SidecarTicket) (*DecodedSidecarTicket, error)
- func (UnimplementedTraderServer) DepositAccount(context.Context, *DepositAccountRequest) (*DepositAccountResponse, error)
- func (UnimplementedTraderServer) ExpectSidecarChannel(context.Context, *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error)
- func (UnimplementedTraderServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedTraderServer) GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error)
- func (UnimplementedTraderServer) InitAccount(context.Context, *InitAccountRequest) (*Account, error)
- func (UnimplementedTraderServer) LeaseDurations(context.Context, *LeaseDurationRequest) (*LeaseDurationResponse, error)
- func (UnimplementedTraderServer) Leases(context.Context, *LeasesRequest) (*LeasesResponse, error)
- func (UnimplementedTraderServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
- func (UnimplementedTraderServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
- func (UnimplementedTraderServer) ListSidecars(context.Context, *ListSidecarsRequest) (*ListSidecarsResponse, error)
- func (UnimplementedTraderServer) NextBatchInfo(context.Context, *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
- func (UnimplementedTraderServer) NodeRatings(context.Context, *NodeRatingRequest) (*NodeRatingResponse, error)
- func (UnimplementedTraderServer) OfferSidecar(context.Context, *OfferSidecarRequest) (*SidecarTicket, error)
- func (UnimplementedTraderServer) QuoteAccount(context.Context, *QuoteAccountRequest) (*QuoteAccountResponse, error)
- func (UnimplementedTraderServer) QuoteOrder(context.Context, *QuoteOrderRequest) (*QuoteOrderResponse, error)
- func (UnimplementedTraderServer) RecoverAccounts(context.Context, *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
- func (UnimplementedTraderServer) RegisterSidecar(context.Context, *RegisterSidecarRequest) (*SidecarTicket, error)
- func (UnimplementedTraderServer) RenewAccount(context.Context, *RenewAccountRequest) (*RenewAccountResponse, error)
- func (UnimplementedTraderServer) StopDaemon(context.Context, *StopDaemonRequest) (*StopDaemonResponse, error)
- func (UnimplementedTraderServer) SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
- func (UnimplementedTraderServer) WithdrawAccount(context.Context, *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
- type UnsafeTraderServer
- type UpdatedEvent
- func (*UpdatedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatedEvent) GetNewState() auctioneerrpc.OrderState
- func (x *UpdatedEvent) GetPreviousState() auctioneerrpc.OrderState
- func (x *UpdatedEvent) GetUnitsFilled() uint32
- func (*UpdatedEvent) ProtoMessage()
- func (x *UpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *UpdatedEvent) Reset()
- func (x *UpdatedEvent) String() string
- type WithdrawAccountRequest
- func (*WithdrawAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawAccountRequest) GetAbsoluteExpiry() uint32
- func (m *WithdrawAccountRequest) GetAccountExpiry() isWithdrawAccountRequest_AccountExpiry
- func (x *WithdrawAccountRequest) GetFeeRateSatPerKw() uint64
- func (x *WithdrawAccountRequest) GetNewVersion() AccountVersion
- func (x *WithdrawAccountRequest) GetOutputs() []*Output
- func (x *WithdrawAccountRequest) GetRelativeExpiry() uint32
- func (x *WithdrawAccountRequest) GetTraderKey() []byte
- func (*WithdrawAccountRequest) ProtoMessage()
- func (x *WithdrawAccountRequest) ProtoReflect() protoreflect.Message
- func (x *WithdrawAccountRequest) Reset()
- func (x *WithdrawAccountRequest) String() string
- type WithdrawAccountRequest_AbsoluteExpiry
- type WithdrawAccountRequest_RelativeExpiry
- type WithdrawAccountResponse
- func (*WithdrawAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawAccountResponse) GetAccount() *Account
- func (x *WithdrawAccountResponse) GetWithdrawTxid() []byte
- func (*WithdrawAccountResponse) ProtoMessage()
- func (x *WithdrawAccountResponse) ProtoReflect() protoreflect.Message
- func (x *WithdrawAccountResponse) Reset()
- func (x *WithdrawAccountResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AccountVersion_name = map[int32]string{ 0: "ACCOUNT_VERSION_LND_DEPENDENT", 1: "ACCOUNT_VERSION_LEGACY", 2: "ACCOUNT_VERSION_TAPROOT", 3: "ACCOUNT_VERSION_TAPROOT_V2", } AccountVersion_value = map[string]int32{ "ACCOUNT_VERSION_LND_DEPENDENT": 0, "ACCOUNT_VERSION_LEGACY": 1, "ACCOUNT_VERSION_TAPROOT": 2, "ACCOUNT_VERSION_TAPROOT_V2": 3, } )
Enum value maps for AccountVersion.
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", } 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, } )
Enum value maps for AccountState.
var ( MatchState_name = map[int32]string{ 0: "PREPARE", 1: "ACCEPTED", 2: "REJECTED", 3: "SIGNED", 4: "FINALIZED", } MatchState_value = map[string]int32{ "PREPARE": 0, "ACCEPTED": 1, "REJECTED": 2, "SIGNED": 3, "FINALIZED": 4, } )
Enum value maps for MatchState.
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", } 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, } )
Enum value maps for MatchRejectReason.
var File_trader_proto protoreflect.FileDescriptor
var Trader_ServiceDesc = grpc.ServiceDesc{ ServiceName: "poolrpc.Trader", HandlerType: (*TraderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _Trader_GetInfo_Handler, }, { MethodName: "StopDaemon", Handler: _Trader_StopDaemon_Handler, }, { MethodName: "QuoteAccount", Handler: _Trader_QuoteAccount_Handler, }, { MethodName: "InitAccount", Handler: _Trader_InitAccount_Handler, }, { MethodName: "ListAccounts", Handler: _Trader_ListAccounts_Handler, }, { MethodName: "CloseAccount", Handler: _Trader_CloseAccount_Handler, }, { MethodName: "WithdrawAccount", Handler: _Trader_WithdrawAccount_Handler, }, { MethodName: "DepositAccount", Handler: _Trader_DepositAccount_Handler, }, { MethodName: "RenewAccount", Handler: _Trader_RenewAccount_Handler, }, { MethodName: "BumpAccountFee", Handler: _Trader_BumpAccountFee_Handler, }, { MethodName: "RecoverAccounts", Handler: _Trader_RecoverAccounts_Handler, }, { MethodName: "AccountModificationFees", Handler: _Trader_AccountModificationFees_Handler, }, { MethodName: "SubmitOrder", Handler: _Trader_SubmitOrder_Handler, }, { MethodName: "ListOrders", Handler: _Trader_ListOrders_Handler, }, { MethodName: "CancelOrder", Handler: _Trader_CancelOrder_Handler, }, { MethodName: "QuoteOrder", Handler: _Trader_QuoteOrder_Handler, }, { MethodName: "AuctionFee", Handler: _Trader_AuctionFee_Handler, }, { MethodName: "LeaseDurations", Handler: _Trader_LeaseDurations_Handler, }, { MethodName: "NextBatchInfo", Handler: _Trader_NextBatchInfo_Handler, }, { MethodName: "BatchSnapshot", Handler: _Trader_BatchSnapshot_Handler, }, { MethodName: "GetLsatTokens", Handler: _Trader_GetLsatTokens_Handler, }, { MethodName: "Leases", Handler: _Trader_Leases_Handler, }, { MethodName: "NodeRatings", Handler: _Trader_NodeRatings_Handler, }, { MethodName: "BatchSnapshots", Handler: _Trader_BatchSnapshots_Handler, }, { MethodName: "OfferSidecar", Handler: _Trader_OfferSidecar_Handler, }, { MethodName: "RegisterSidecar", Handler: _Trader_RegisterSidecar_Handler, }, { MethodName: "ExpectSidecarChannel", Handler: _Trader_ExpectSidecarChannel_Handler, }, { MethodName: "DecodeSidecarTicket", Handler: _Trader_DecodeSidecarTicket_Handler, }, { MethodName: "ListSidecars", Handler: _Trader_ListSidecars_Handler, }, { MethodName: "CancelSidecar", Handler: _Trader_CancelSidecar_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "trader.proto", }
Trader_ServiceDesc is the grpc.ServiceDesc for Trader service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func PrintMsg ¶
PrintMsg prints a protobuf message as JSON, suitable for logging (without any indentation).
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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTraderHandlerFromEndpoint instead.
func RegisterTraderServer ¶
func RegisterTraderServer(s grpc.ServiceRegistrar, 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"` // The current version of the account. Version AccountVersion `protobuf:"varint,8,opt,name=version,proto3,enum=poolrpc.AccountVersion" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAvailableBalance ¶
func (*Account) GetExpirationHeight ¶
func (*Account) GetLatestTxid ¶
func (*Account) GetOutpoint ¶
func (x *Account) GetOutpoint() *auctioneerrpc.OutPoint
func (*Account) GetState ¶
func (x *Account) GetState() AccountState
func (*Account) GetTraderKey ¶
func (*Account) GetVersion ¶
func (x *Account) GetVersion() AccountVersion
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountModificationFee ¶
type AccountModificationFee struct { // Modification action type. Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // Transaction ID. Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` // Action transaction block height. BlockHeight int32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Action transaction timestamp. Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Action transaction output amount. OutputAmount int64 `protobuf:"varint,5,opt,name=output_amount,json=outputAmount,proto3" json:"output_amount,omitempty"` // Action transaction fee. // // Types that are assignable to Fee: // // *AccountModificationFee_FeeNull // *AccountModificationFee_FeeValue Fee isAccountModificationFee_Fee `protobuf_oneof:"fee"` // contains filtered or unexported fields }
func (*AccountModificationFee) Descriptor
deprecated
func (*AccountModificationFee) Descriptor() ([]byte, []int)
Deprecated: Use AccountModificationFee.ProtoReflect.Descriptor instead.
func (*AccountModificationFee) GetAction ¶
func (x *AccountModificationFee) GetAction() string
func (*AccountModificationFee) GetBlockHeight ¶
func (x *AccountModificationFee) GetBlockHeight() int32
func (*AccountModificationFee) GetFee ¶
func (m *AccountModificationFee) GetFee() isAccountModificationFee_Fee
func (*AccountModificationFee) GetFeeNull ¶
func (x *AccountModificationFee) GetFeeNull() bool
func (*AccountModificationFee) GetFeeValue ¶
func (x *AccountModificationFee) GetFeeValue() int64
func (*AccountModificationFee) GetOutputAmount ¶
func (x *AccountModificationFee) GetOutputAmount() int64
func (*AccountModificationFee) GetTimestamp ¶
func (x *AccountModificationFee) GetTimestamp() int64
func (*AccountModificationFee) GetTxid ¶
func (x *AccountModificationFee) GetTxid() string
func (*AccountModificationFee) ProtoMessage ¶
func (*AccountModificationFee) ProtoMessage()
func (*AccountModificationFee) ProtoReflect ¶
func (x *AccountModificationFee) ProtoReflect() protoreflect.Message
func (*AccountModificationFee) Reset ¶
func (x *AccountModificationFee) Reset()
func (*AccountModificationFee) String ¶
func (x *AccountModificationFee) String() string
type AccountModificationFee_FeeNull ¶
type AccountModificationFee_FeeNull struct { // A flag which is true if fee value has not been set, and is otherwise // false. FeeNull bool `protobuf:"varint,6,opt,name=fee_null,json=feeNull,proto3,oneof"` }
type AccountModificationFee_FeeValue ¶
type AccountModificationFee_FeeValue struct { // Action transaction fee value. FeeValue int64 `protobuf:"varint,7,opt,name=fee_value,json=feeValue,proto3,oneof"` }
type AccountModificationFeesRequest ¶
type AccountModificationFeesRequest struct {
// contains filtered or unexported fields
}
func (*AccountModificationFeesRequest) Descriptor
deprecated
func (*AccountModificationFeesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountModificationFeesRequest.ProtoReflect.Descriptor instead.
func (*AccountModificationFeesRequest) ProtoMessage ¶
func (*AccountModificationFeesRequest) ProtoMessage()
func (*AccountModificationFeesRequest) ProtoReflect ¶
func (x *AccountModificationFeesRequest) ProtoReflect() protoreflect.Message
func (*AccountModificationFeesRequest) Reset ¶
func (x *AccountModificationFeesRequest) Reset()
func (*AccountModificationFeesRequest) String ¶
func (x *AccountModificationFeesRequest) String() string
type AccountModificationFeesResponse ¶
type AccountModificationFeesResponse struct { // A map from account key to an ordered list of account modification fees. Accounts map[string]*ListOfAccountModificationFees `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AccountModificationFeesResponse) Descriptor
deprecated
func (*AccountModificationFeesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountModificationFeesResponse.ProtoReflect.Descriptor instead.
func (*AccountModificationFeesResponse) GetAccounts ¶
func (x *AccountModificationFeesResponse) GetAccounts() map[string]*ListOfAccountModificationFees
func (*AccountModificationFeesResponse) ProtoMessage ¶
func (*AccountModificationFeesResponse) ProtoMessage()
func (*AccountModificationFeesResponse) ProtoReflect ¶
func (x *AccountModificationFeesResponse) ProtoReflect() protoreflect.Message
func (*AccountModificationFeesResponse) Reset ¶
func (x *AccountModificationFeesResponse) Reset()
func (*AccountModificationFeesResponse) String ¶
func (x *AccountModificationFeesResponse) String() string
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) Descriptor ¶
func (AccountState) Descriptor() protoreflect.EnumDescriptor
func (AccountState) Enum ¶
func (x AccountState) Enum() *AccountState
func (AccountState) EnumDescriptor
deprecated
func (AccountState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountState.Descriptor instead.
func (AccountState) Number ¶
func (x AccountState) Number() protoreflect.EnumNumber
func (AccountState) String ¶
func (x AccountState) String() string
func (AccountState) Type ¶
func (AccountState) Type() protoreflect.EnumType
type AccountVersion ¶
type AccountVersion int32
const ( // Let the version of lnd decide. If a version of lnd >= 0.15.0-beta is // detected then a Taproot account is created. For earlier versions a legacy // account is created. If a version of lnd >= 0.16.0-beta is detected, then a // Taproot v2 account is created. AccountVersion_ACCOUNT_VERSION_LND_DEPENDENT AccountVersion = 0 // A legacy SegWit v0 p2wsh account with a single script. AccountVersion_ACCOUNT_VERSION_LEGACY AccountVersion = 1 // A Taproot enabled account with MuSig2 combined internal key and the expiry // script as a single tap script leaf. AccountVersion_ACCOUNT_VERSION_TAPROOT AccountVersion = 2 // A Taproot enabled account with MuSig2 combined internal key and the expiry // script as a single tap script leaf. This version uses the MuSig2 v1.0.0-rc2 // protocol for creating the combined internal key. This can only be selected // when the connected lnd version is >= 0.16.0-beta. AccountVersion_ACCOUNT_VERSION_TAPROOT_V2 AccountVersion = 3 )
func (AccountVersion) Descriptor ¶
func (AccountVersion) Descriptor() protoreflect.EnumDescriptor
func (AccountVersion) Enum ¶
func (x AccountVersion) Enum() *AccountVersion
func (AccountVersion) EnumDescriptor
deprecated
func (AccountVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountVersion.Descriptor instead.
func (AccountVersion) Number ¶
func (x AccountVersion) Number() protoreflect.EnumNumber
func (AccountVersion) String ¶
func (x AccountVersion) String() string
func (AccountVersion) Type ¶
func (AccountVersion) Type() protoreflect.EnumType
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"` // The constraints for selling the liquidity based on channel discoverability. AnnouncementConstraints auctioneerrpc.ChannelAnnouncementConstraints `` /* 175-byte string literal not displayed */ // The constraints for selling the liquidity based on the number of // blocks before considering the channel confirmed. ConfirmationConstraints auctioneerrpc.ChannelConfirmationConstraints `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Ask) Descriptor
deprecated
func (*Ask) GetAnnouncementConstraints ¶
func (x *Ask) GetAnnouncementConstraints() auctioneerrpc.ChannelAnnouncementConstraints
func (*Ask) GetConfirmationConstraints ¶
func (x *Ask) GetConfirmationConstraints() auctioneerrpc.ChannelConfirmationConstraints
func (*Ask) GetDetails ¶
func (*Ask) GetLeaseDurationBlocks ¶
func (*Ask) GetVersion ¶
func (*Ask) ProtoMessage ¶
func (*Ask) ProtoMessage()
func (*Ask) ProtoReflect ¶
func (x *Ask) ProtoReflect() protoreflect.Message
type AuctionFeeRequest ¶
type AuctionFeeRequest struct {
// contains filtered or unexported fields
}
func (*AuctionFeeRequest) Descriptor
deprecated
func (*AuctionFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuctionFeeRequest.ProtoReflect.Descriptor instead.
func (*AuctionFeeRequest) ProtoMessage ¶
func (*AuctionFeeRequest) ProtoMessage()
func (*AuctionFeeRequest) ProtoReflect ¶
func (x *AuctionFeeRequest) ProtoReflect() protoreflect.Message
func (*AuctionFeeRequest) Reset ¶
func (x *AuctionFeeRequest) Reset()
func (*AuctionFeeRequest) String ¶
func (x *AuctionFeeRequest) String() string
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"` // contains filtered or unexported fields }
func (*AuctionFeeResponse) Descriptor
deprecated
func (*AuctionFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuctionFeeResponse.ProtoReflect.Descriptor instead.
func (*AuctionFeeResponse) GetExecutionFee ¶
func (x *AuctionFeeResponse) GetExecutionFee() *auctioneerrpc.ExecutionFee
func (*AuctionFeeResponse) ProtoMessage ¶
func (*AuctionFeeResponse) ProtoMessage()
func (*AuctionFeeResponse) ProtoReflect ¶
func (x *AuctionFeeResponse) ProtoReflect() protoreflect.Message
func (*AuctionFeeResponse) Reset ¶
func (x *AuctionFeeResponse) Reset()
func (*AuctionFeeResponse) String ¶
func (x *AuctionFeeResponse) String() string
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 min_chan_amt must be set to the full order // amount. For the inbound liquidity market the self_chan_balance can be at // most the same as the 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 base58 encoded ticket, including the prefix and the checksum. SidecarTicket string `protobuf:"bytes,6,opt,name=sidecar_ticket,json=sidecarTicket,proto3" json:"sidecar_ticket,omitempty"` // Signals if this bid is interested in an announced or unannounced channel. UnannouncedChannel bool `protobuf:"varint,7,opt,name=unannounced_channel,json=unannouncedChannel,proto3" json:"unannounced_channel,omitempty"` // Signals if this bid is interested in a zero conf channel or not. ZeroConfChannel bool `protobuf:"varint,8,opt,name=zero_conf_channel,json=zeroConfChannel,proto3" json:"zero_conf_channel,omitempty"` // contains filtered or unexported fields }
func (*Bid) Descriptor
deprecated
func (*Bid) GetDetails ¶
func (*Bid) GetLeaseDurationBlocks ¶
func (*Bid) GetMinNodeTier ¶
func (x *Bid) GetMinNodeTier() auctioneerrpc.NodeTier
func (*Bid) GetSelfChanBalance ¶
func (*Bid) GetSidecarTicket ¶
func (*Bid) GetUnannouncedChannel ¶
func (*Bid) GetVersion ¶
func (*Bid) GetZeroConfChannel ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) ProtoReflect ¶
func (x *Bid) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*BumpAccountFeeRequest) Descriptor
deprecated
func (*BumpAccountFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use BumpAccountFeeRequest.ProtoReflect.Descriptor instead.
func (*BumpAccountFeeRequest) GetFeeRateSatPerKw ¶
func (x *BumpAccountFeeRequest) GetFeeRateSatPerKw() uint64
func (*BumpAccountFeeRequest) GetTraderKey ¶
func (x *BumpAccountFeeRequest) GetTraderKey() []byte
func (*BumpAccountFeeRequest) ProtoMessage ¶
func (*BumpAccountFeeRequest) ProtoMessage()
func (*BumpAccountFeeRequest) ProtoReflect ¶
func (x *BumpAccountFeeRequest) ProtoReflect() protoreflect.Message
func (*BumpAccountFeeRequest) Reset ¶
func (x *BumpAccountFeeRequest) Reset()
func (*BumpAccountFeeRequest) String ¶
func (x *BumpAccountFeeRequest) String() string
type BumpAccountFeeResponse ¶
type BumpAccountFeeResponse struct {
// contains filtered or unexported fields
}
func (*BumpAccountFeeResponse) Descriptor
deprecated
func (*BumpAccountFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use BumpAccountFeeResponse.ProtoReflect.Descriptor instead.
func (*BumpAccountFeeResponse) ProtoMessage ¶
func (*BumpAccountFeeResponse) ProtoMessage()
func (*BumpAccountFeeResponse) ProtoReflect ¶
func (x *BumpAccountFeeResponse) ProtoReflect() protoreflect.Message
func (*BumpAccountFeeResponse) Reset ¶
func (x *BumpAccountFeeResponse) Reset()
func (*BumpAccountFeeResponse) String ¶
func (x *BumpAccountFeeResponse) String() string
type CancelOrderRequest ¶
type CancelOrderRequest struct { OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"` // contains filtered or unexported fields }
func (*CancelOrderRequest) Descriptor
deprecated
func (*CancelOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.
func (*CancelOrderRequest) GetOrderNonce ¶
func (x *CancelOrderRequest) GetOrderNonce() []byte
func (*CancelOrderRequest) ProtoMessage ¶
func (*CancelOrderRequest) ProtoMessage()
func (*CancelOrderRequest) ProtoReflect ¶
func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
func (*CancelOrderRequest) Reset ¶
func (x *CancelOrderRequest) Reset()
func (*CancelOrderRequest) String ¶
func (x *CancelOrderRequest) String() string
type CancelOrderResponse ¶
type CancelOrderResponse struct {
// contains filtered or unexported fields
}
func (*CancelOrderResponse) Descriptor
deprecated
func (*CancelOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderResponse.ProtoReflect.Descriptor instead.
func (*CancelOrderResponse) ProtoMessage ¶
func (*CancelOrderResponse) ProtoMessage()
func (*CancelOrderResponse) ProtoReflect ¶
func (x *CancelOrderResponse) ProtoReflect() protoreflect.Message
func (*CancelOrderResponse) Reset ¶
func (x *CancelOrderResponse) Reset()
func (*CancelOrderResponse) String ¶
func (x *CancelOrderResponse) String() string
type CancelSidecarRequest ¶
type CancelSidecarRequest struct { SidecarId []byte `protobuf:"bytes,1,opt,name=sidecar_id,json=sidecarId,proto3" json:"sidecar_id,omitempty"` // contains filtered or unexported fields }
func (*CancelSidecarRequest) Descriptor
deprecated
func (*CancelSidecarRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelSidecarRequest.ProtoReflect.Descriptor instead.
func (*CancelSidecarRequest) GetSidecarId ¶
func (x *CancelSidecarRequest) GetSidecarId() []byte
func (*CancelSidecarRequest) ProtoMessage ¶
func (*CancelSidecarRequest) ProtoMessage()
func (*CancelSidecarRequest) ProtoReflect ¶
func (x *CancelSidecarRequest) ProtoReflect() protoreflect.Message
func (*CancelSidecarRequest) Reset ¶
func (x *CancelSidecarRequest) Reset()
func (*CancelSidecarRequest) String ¶
func (x *CancelSidecarRequest) String() string
type CancelSidecarResponse ¶
type CancelSidecarResponse struct {
// contains filtered or unexported fields
}
func (*CancelSidecarResponse) Descriptor
deprecated
func (*CancelSidecarResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelSidecarResponse.ProtoReflect.Descriptor instead.
func (*CancelSidecarResponse) ProtoMessage ¶
func (*CancelSidecarResponse) ProtoMessage()
func (*CancelSidecarResponse) ProtoReflect ¶
func (x *CancelSidecarResponse) ProtoReflect() protoreflect.Message
func (*CancelSidecarResponse) Reset ¶
func (x *CancelSidecarResponse) Reset()
func (*CancelSidecarResponse) String ¶
func (x *CancelSidecarResponse) String() string
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 assignable to FundsDestination: // // *CloseAccountRequest_OutputWithFee // *CloseAccountRequest_Outputs FundsDestination isCloseAccountRequest_FundsDestination `protobuf_oneof:"funds_destination"` // contains filtered or unexported fields }
func (*CloseAccountRequest) Descriptor
deprecated
func (*CloseAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseAccountRequest.ProtoReflect.Descriptor instead.
func (*CloseAccountRequest) GetFundsDestination ¶
func (m *CloseAccountRequest) GetFundsDestination() isCloseAccountRequest_FundsDestination
func (*CloseAccountRequest) GetOutputWithFee ¶
func (x *CloseAccountRequest) GetOutputWithFee() *OutputWithFee
func (*CloseAccountRequest) GetOutputs ¶
func (x *CloseAccountRequest) GetOutputs() *OutputsWithImplicitFee
func (*CloseAccountRequest) GetTraderKey ¶
func (x *CloseAccountRequest) GetTraderKey() []byte
func (*CloseAccountRequest) ProtoMessage ¶
func (*CloseAccountRequest) ProtoMessage()
func (*CloseAccountRequest) ProtoReflect ¶
func (x *CloseAccountRequest) ProtoReflect() protoreflect.Message
func (*CloseAccountRequest) Reset ¶
func (x *CloseAccountRequest) Reset()
func (*CloseAccountRequest) String ¶
func (x *CloseAccountRequest) String() string
type CloseAccountRequest_OutputWithFee ¶
type CloseAccountRequest_OutputWithFee struct { // A single output/address to which the remaining funds of the account will // be sent to at the specified fee. If an address is not specified, then // the funds are sent to an address the backing lnd node controls. OutputWithFee *OutputWithFee `protobuf:"bytes,2,opt,name=output_with_fee,json=outputWithFee,proto3,oneof"` }
type CloseAccountRequest_Outputs ¶
type CloseAccountRequest_Outputs struct { // The outputs to which the remaining funds of the account will be sent to. // This should only be used when wanting to create two or more outputs, // otherwise OutputWithFee should be used instead. The fee of the account's // closing transaction is implicitly defined by the combined value of all // outputs. 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"` // contains filtered or unexported fields }
func (*CloseAccountResponse) Descriptor
deprecated
func (*CloseAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseAccountResponse.ProtoReflect.Descriptor instead.
func (*CloseAccountResponse) GetCloseTxid ¶
func (x *CloseAccountResponse) GetCloseTxid() []byte
func (*CloseAccountResponse) ProtoMessage ¶
func (*CloseAccountResponse) ProtoMessage()
func (*CloseAccountResponse) ProtoReflect ¶
func (x *CloseAccountResponse) ProtoReflect() protoreflect.Message
func (*CloseAccountResponse) Reset ¶
func (x *CloseAccountResponse) Reset()
func (*CloseAccountResponse) String ¶
func (x *CloseAccountResponse) String() string
type DecodedSidecarTicket ¶
type DecodedSidecarTicket struct { // The unique, pseudorandom identifier of the ticket. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The version of the ticket encoding format. Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // The state of the ticket. State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // The offered channel capacity in satoshis. OfferCapacity uint64 `protobuf:"varint,4,opt,name=offer_capacity,json=offerCapacity,proto3" json:"offer_capacity,omitempty"` // The offered push amount in satoshis. OfferPushAmount uint64 `protobuf:"varint,5,opt,name=offer_push_amount,json=offerPushAmount,proto3" json:"offer_push_amount,omitempty"` // The offered lease duration in blocks. OfferLeaseDurationBlocks uint32 `` /* 138-byte string literal not displayed */ // The public key the offer was signed with. OfferSignPubkey []byte `protobuf:"bytes,7,opt,name=offer_sign_pubkey,json=offerSignPubkey,proto3" json:"offer_sign_pubkey,omitempty"` // The signature over the offer's digest. OfferSignature []byte `protobuf:"bytes,8,opt,name=offer_signature,json=offerSignature,proto3" json:"offer_signature,omitempty"` // Whether the offer was created with the automatic order creation flag. OfferAuto bool `protobuf:"varint,9,opt,name=offer_auto,json=offerAuto,proto3" json:"offer_auto,omitempty"` // The recipient node's public identity key. RecipientNodePubkey []byte `protobuf:"bytes,10,opt,name=recipient_node_pubkey,json=recipientNodePubkey,proto3" json:"recipient_node_pubkey,omitempty"` // The recipient node's channel multisig public key to be used for the sidecar // channel. RecipientMultisigPubkey []byte `` /* 133-byte string literal not displayed */ // The index used when deriving the above multisig pubkey. RecipientMultisigPubkeyIndex uint32 `` /* 151-byte string literal not displayed */ // The nonce of the bid order created for this sidecar ticket. OrderBidNonce []byte `protobuf:"bytes,13,opt,name=order_bid_nonce,json=orderBidNonce,proto3" json:"order_bid_nonce,omitempty"` // The signature over the order's digest, signed with the private key that // corresponds to the offer_sign_pubkey. OrderSignature []byte `protobuf:"bytes,14,opt,name=order_signature,json=orderSignature,proto3" json:"order_signature,omitempty"` // The pending channel ID of the sidecar channel during the execution phase. ExecutionPendingChannelId []byte `` /* 141-byte string literal not displayed */ // The original, base58 encoded ticket. EncodedTicket string `protobuf:"bytes,16,opt,name=encoded_ticket,json=encodedTicket,proto3" json:"encoded_ticket,omitempty"` // If true, the channel acceptor for this ticket will expect an unannounced // channel. OfferUnannouncedChannel bool `` /* 134-byte string literal not displayed */ // If true, the channel acceptor for this ticket will expect a zero conf // channel. OfferZeroConfChannel bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DecodedSidecarTicket) Descriptor
deprecated
func (*DecodedSidecarTicket) Descriptor() ([]byte, []int)
Deprecated: Use DecodedSidecarTicket.ProtoReflect.Descriptor instead.
func (*DecodedSidecarTicket) GetEncodedTicket ¶
func (x *DecodedSidecarTicket) GetEncodedTicket() string
func (*DecodedSidecarTicket) GetExecutionPendingChannelId ¶
func (x *DecodedSidecarTicket) GetExecutionPendingChannelId() []byte
func (*DecodedSidecarTicket) GetId ¶
func (x *DecodedSidecarTicket) GetId() []byte
func (*DecodedSidecarTicket) GetOfferAuto ¶
func (x *DecodedSidecarTicket) GetOfferAuto() bool
func (*DecodedSidecarTicket) GetOfferCapacity ¶
func (x *DecodedSidecarTicket) GetOfferCapacity() uint64
func (*DecodedSidecarTicket) GetOfferLeaseDurationBlocks ¶
func (x *DecodedSidecarTicket) GetOfferLeaseDurationBlocks() uint32
func (*DecodedSidecarTicket) GetOfferPushAmount ¶
func (x *DecodedSidecarTicket) GetOfferPushAmount() uint64
func (*DecodedSidecarTicket) GetOfferSignPubkey ¶
func (x *DecodedSidecarTicket) GetOfferSignPubkey() []byte
func (*DecodedSidecarTicket) GetOfferSignature ¶
func (x *DecodedSidecarTicket) GetOfferSignature() []byte
func (*DecodedSidecarTicket) GetOfferUnannouncedChannel ¶
func (x *DecodedSidecarTicket) GetOfferUnannouncedChannel() bool
func (*DecodedSidecarTicket) GetOfferZeroConfChannel ¶
func (x *DecodedSidecarTicket) GetOfferZeroConfChannel() bool
func (*DecodedSidecarTicket) GetOrderBidNonce ¶
func (x *DecodedSidecarTicket) GetOrderBidNonce() []byte
func (*DecodedSidecarTicket) GetOrderSignature ¶
func (x *DecodedSidecarTicket) GetOrderSignature() []byte
func (*DecodedSidecarTicket) GetRecipientMultisigPubkey ¶
func (x *DecodedSidecarTicket) GetRecipientMultisigPubkey() []byte
func (*DecodedSidecarTicket) GetRecipientMultisigPubkeyIndex ¶
func (x *DecodedSidecarTicket) GetRecipientMultisigPubkeyIndex() uint32
func (*DecodedSidecarTicket) GetRecipientNodePubkey ¶
func (x *DecodedSidecarTicket) GetRecipientNodePubkey() []byte
func (*DecodedSidecarTicket) GetState ¶
func (x *DecodedSidecarTicket) GetState() string
func (*DecodedSidecarTicket) GetVersion ¶
func (x *DecodedSidecarTicket) GetVersion() uint32
func (*DecodedSidecarTicket) ProtoMessage ¶
func (*DecodedSidecarTicket) ProtoMessage()
func (*DecodedSidecarTicket) ProtoReflect ¶
func (x *DecodedSidecarTicket) ProtoReflect() protoreflect.Message
func (*DecodedSidecarTicket) Reset ¶
func (x *DecodedSidecarTicket) Reset()
func (*DecodedSidecarTicket) String ¶
func (x *DecodedSidecarTicket) String() string
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"` // Types that are assignable to AccountExpiry: // // *DepositAccountRequest_AbsoluteExpiry // *DepositAccountRequest_RelativeExpiry AccountExpiry isDepositAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` // The new version of the account. If this is set and is a valid version // greater than the account's current version, then the account is upgraded to // that version during the deposit. NewVersion AccountVersion `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` // contains filtered or unexported fields }
func (*DepositAccountRequest) Descriptor
deprecated
func (*DepositAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DepositAccountRequest.ProtoReflect.Descriptor instead.
func (*DepositAccountRequest) GetAbsoluteExpiry ¶
func (x *DepositAccountRequest) GetAbsoluteExpiry() uint32
func (*DepositAccountRequest) GetAccountExpiry ¶
func (m *DepositAccountRequest) GetAccountExpiry() isDepositAccountRequest_AccountExpiry
func (*DepositAccountRequest) GetAmountSat ¶
func (x *DepositAccountRequest) GetAmountSat() uint64
func (*DepositAccountRequest) GetFeeRateSatPerKw ¶
func (x *DepositAccountRequest) GetFeeRateSatPerKw() uint64
func (*DepositAccountRequest) GetNewVersion ¶
func (x *DepositAccountRequest) GetNewVersion() AccountVersion
func (*DepositAccountRequest) GetRelativeExpiry ¶
func (x *DepositAccountRequest) GetRelativeExpiry() uint32
func (*DepositAccountRequest) GetTraderKey ¶
func (x *DepositAccountRequest) GetTraderKey() []byte
func (*DepositAccountRequest) ProtoMessage ¶
func (*DepositAccountRequest) ProtoMessage()
func (*DepositAccountRequest) ProtoReflect ¶
func (x *DepositAccountRequest) ProtoReflect() protoreflect.Message
func (*DepositAccountRequest) Reset ¶
func (x *DepositAccountRequest) Reset()
func (*DepositAccountRequest) String ¶
func (x *DepositAccountRequest) String() string
type DepositAccountRequest_AbsoluteExpiry ¶
type DepositAccountRequest_AbsoluteExpiry struct { // The new absolute expiration height of the account. AbsoluteExpiry uint32 `protobuf:"varint,4,opt,name=absolute_expiry,json=absoluteExpiry,proto3,oneof"` }
type DepositAccountRequest_RelativeExpiry ¶
type DepositAccountRequest_RelativeExpiry struct { // The new relative expiration height of the account. RelativeExpiry uint32 `protobuf:"varint,5,opt,name=relative_expiry,json=relativeExpiry,proto3,oneof"` }
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"` // contains filtered or unexported fields }
func (*DepositAccountResponse) Descriptor
deprecated
func (*DepositAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use DepositAccountResponse.ProtoReflect.Descriptor instead.
func (*DepositAccountResponse) GetAccount ¶
func (x *DepositAccountResponse) GetAccount() *Account
func (*DepositAccountResponse) GetDepositTxid ¶
func (x *DepositAccountResponse) GetDepositTxid() []byte
func (*DepositAccountResponse) ProtoMessage ¶
func (*DepositAccountResponse) ProtoMessage()
func (*DepositAccountResponse) ProtoReflect ¶
func (x *DepositAccountResponse) ProtoReflect() protoreflect.Message
func (*DepositAccountResponse) Reset ¶
func (x *DepositAccountResponse) Reset()
func (*DepositAccountResponse) String ¶
func (x *DepositAccountResponse) String() string
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"` // contains filtered or unexported fields }
func (*ExpectSidecarChannelRequest) Descriptor
deprecated
func (*ExpectSidecarChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpectSidecarChannelRequest.ProtoReflect.Descriptor instead.
func (*ExpectSidecarChannelRequest) GetTicket ¶
func (x *ExpectSidecarChannelRequest) GetTicket() string
func (*ExpectSidecarChannelRequest) ProtoMessage ¶
func (*ExpectSidecarChannelRequest) ProtoMessage()
func (*ExpectSidecarChannelRequest) ProtoReflect ¶
func (x *ExpectSidecarChannelRequest) ProtoReflect() protoreflect.Message
func (*ExpectSidecarChannelRequest) Reset ¶
func (x *ExpectSidecarChannelRequest) Reset()
func (*ExpectSidecarChannelRequest) String ¶
func (x *ExpectSidecarChannelRequest) String() string
type ExpectSidecarChannelResponse ¶
type ExpectSidecarChannelResponse struct {
// contains filtered or unexported fields
}
func (*ExpectSidecarChannelResponse) Descriptor
deprecated
func (*ExpectSidecarChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpectSidecarChannelResponse.ProtoReflect.Descriptor instead.
func (*ExpectSidecarChannelResponse) ProtoMessage ¶
func (*ExpectSidecarChannelResponse) ProtoMessage()
func (*ExpectSidecarChannelResponse) ProtoReflect ¶
func (x *ExpectSidecarChannelResponse) ProtoReflect() protoreflect.Message
func (*ExpectSidecarChannelResponse) Reset ¶
func (x *ExpectSidecarChannelResponse) Reset()
func (*ExpectSidecarChannelResponse) String ¶
func (x *ExpectSidecarChannelResponse) String() string
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
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 */ // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetAccountsActive ¶
func (x *GetInfoResponse) GetAccountsActive() uint32
func (*GetInfoResponse) GetAccountsActiveExpired ¶
func (x *GetInfoResponse) GetAccountsActiveExpired() uint32
func (*GetInfoResponse) GetAccountsArchived ¶
func (x *GetInfoResponse) GetAccountsArchived() uint32
func (*GetInfoResponse) GetAccountsTotal ¶
func (x *GetInfoResponse) GetAccountsTotal() uint32
func (*GetInfoResponse) GetBatchesInvolved ¶
func (x *GetInfoResponse) GetBatchesInvolved() uint32
func (*GetInfoResponse) GetCurrentBlockHeight ¶
func (x *GetInfoResponse) GetCurrentBlockHeight() uint32
func (*GetInfoResponse) GetLsatTokens ¶
func (x *GetInfoResponse) GetLsatTokens() uint32
func (*GetInfoResponse) GetMarketInfo ¶
func (x *GetInfoResponse) GetMarketInfo() map[uint32]*auctioneerrpc.MarketInfo
func (*GetInfoResponse) GetNewNodesOnly ¶
func (x *GetInfoResponse) GetNewNodesOnly() bool
func (*GetInfoResponse) GetNodeRating ¶
func (x *GetInfoResponse) GetNodeRating() *auctioneerrpc.NodeRating
func (*GetInfoResponse) GetOrdersActive ¶
func (x *GetInfoResponse) GetOrdersActive() uint32
func (*GetInfoResponse) GetOrdersArchived ¶
func (x *GetInfoResponse) GetOrdersArchived() uint32
func (*GetInfoResponse) GetOrdersTotal ¶
func (x *GetInfoResponse) GetOrdersTotal() uint32
func (*GetInfoResponse) GetSubscribedToAuctioneer ¶
func (x *GetInfoResponse) GetSubscribedToAuctioneer() bool
func (*GetInfoResponse) GetVersion ¶
func (x *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
type InitAccountRequest ¶
type InitAccountRequest struct { AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` // Types that are assignable to AccountExpiry: // // *InitAccountRequest_AbsoluteHeight // *InitAccountRequest_RelativeHeight AccountExpiry isInitAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` // Types that are assignable to Fees: // // *InitAccountRequest_ConfTarget // *InitAccountRequest_FeeRateSatPerKw 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"` // The version of account to create. Version AccountVersion `protobuf:"varint,7,opt,name=version,proto3,enum=poolrpc.AccountVersion" json:"version,omitempty"` // contains filtered or unexported fields }
func (*InitAccountRequest) Descriptor
deprecated
func (*InitAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitAccountRequest.ProtoReflect.Descriptor instead.
func (*InitAccountRequest) GetAbsoluteHeight ¶
func (x *InitAccountRequest) GetAbsoluteHeight() uint32
func (*InitAccountRequest) GetAccountExpiry ¶
func (m *InitAccountRequest) GetAccountExpiry() isInitAccountRequest_AccountExpiry
func (*InitAccountRequest) GetAccountValue ¶
func (x *InitAccountRequest) GetAccountValue() uint64
func (*InitAccountRequest) GetConfTarget ¶
func (x *InitAccountRequest) GetConfTarget() uint32
func (*InitAccountRequest) GetFeeRateSatPerKw ¶
func (x *InitAccountRequest) GetFeeRateSatPerKw() uint64
func (*InitAccountRequest) GetFees ¶
func (m *InitAccountRequest) GetFees() isInitAccountRequest_Fees
func (*InitAccountRequest) GetInitiator ¶
func (x *InitAccountRequest) GetInitiator() string
func (*InitAccountRequest) GetRelativeHeight ¶
func (x *InitAccountRequest) GetRelativeHeight() uint32
func (*InitAccountRequest) GetVersion ¶
func (x *InitAccountRequest) GetVersion() AccountVersion
func (*InitAccountRequest) ProtoMessage ¶
func (*InitAccountRequest) ProtoMessage()
func (*InitAccountRequest) ProtoReflect ¶
func (x *InitAccountRequest) ProtoReflect() protoreflect.Message
func (*InitAccountRequest) Reset ¶
func (x *InitAccountRequest) Reset()
func (*InitAccountRequest) String ¶
func (x *InitAccountRequest) String() string
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 { // The target number of blocks that the transaction should be confirmed in. ConfTarget uint32 `protobuf:"varint,4,opt,name=conf_target,json=confTarget,proto3,oneof"` }
type InitAccountRequest_FeeRateSatPerKw ¶
type InitAccountRequest_FeeRateSatPerKw struct { // The fee rate, in satoshis per kw, to use for the initial funding // transaction. FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,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"` // The unique identifier for the order that was matched with that resulted // in the channel created. MatchedOrderNonce []byte `protobuf:"bytes,16,opt,name=matched_order_nonce,json=matchedOrderNonce,proto3" json:"matched_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"` // contains filtered or unexported fields }
func (*Lease) Descriptor
deprecated
func (*Lease) GetChainFeeSat ¶
func (*Lease) GetChannelAmtSat ¶
func (*Lease) GetChannelDurationBlocks ¶
func (*Lease) GetChannelLeaseExpiry ¶
func (*Lease) GetChannelNodeTier ¶
func (x *Lease) GetChannelNodeTier() auctioneerrpc.NodeTier
func (*Lease) GetChannelPoint ¶
func (x *Lease) GetChannelPoint() *auctioneerrpc.OutPoint
func (*Lease) GetChannelRemoteNodeKey ¶
func (*Lease) GetClearingRatePrice ¶
func (*Lease) GetExecutionFeeSat ¶
func (*Lease) GetMatchedOrderNonce ¶
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) ProtoReflect ¶
func (x *Lease) ProtoReflect() protoreflect.Message
type LeaseDurationRequest ¶
type LeaseDurationRequest struct {
// contains filtered or unexported fields
}
func (*LeaseDurationRequest) Descriptor
deprecated
func (*LeaseDurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaseDurationRequest.ProtoReflect.Descriptor instead.
func (*LeaseDurationRequest) ProtoMessage ¶
func (*LeaseDurationRequest) ProtoMessage()
func (*LeaseDurationRequest) ProtoReflect ¶
func (x *LeaseDurationRequest) ProtoReflect() protoreflect.Message
func (*LeaseDurationRequest) Reset ¶
func (x *LeaseDurationRequest) Reset()
func (*LeaseDurationRequest) String ¶
func (x *LeaseDurationRequest) String() string
type LeaseDurationResponse ¶
type LeaseDurationResponse struct { // Deprecated, use lease_duration_buckets. // // Deprecated: Marked as deprecated in trader.proto. LeaseDurations map[uint32]bool `` /* 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 */ // contains filtered or unexported fields }
func (*LeaseDurationResponse) Descriptor
deprecated
func (*LeaseDurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaseDurationResponse.ProtoReflect.Descriptor instead.
func (*LeaseDurationResponse) GetLeaseDurationBuckets ¶
func (x *LeaseDurationResponse) GetLeaseDurationBuckets() map[uint32]auctioneerrpc.DurationBucketState
func (*LeaseDurationResponse) GetLeaseDurations
deprecated
func (x *LeaseDurationResponse) GetLeaseDurations() map[uint32]bool
Deprecated: Marked as deprecated in trader.proto.
func (*LeaseDurationResponse) ProtoMessage ¶
func (*LeaseDurationResponse) ProtoMessage()
func (*LeaseDurationResponse) ProtoReflect ¶
func (x *LeaseDurationResponse) ProtoReflect() protoreflect.Message
func (*LeaseDurationResponse) Reset ¶
func (x *LeaseDurationResponse) Reset()
func (*LeaseDurationResponse) String ¶
func (x *LeaseDurationResponse) String() string
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"` // contains filtered or unexported fields }
func (*LeasesRequest) Descriptor
deprecated
func (*LeasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeasesRequest.ProtoReflect.Descriptor instead.
func (*LeasesRequest) GetAccounts ¶
func (x *LeasesRequest) GetAccounts() [][]byte
func (*LeasesRequest) GetBatchIds ¶
func (x *LeasesRequest) GetBatchIds() [][]byte
func (*LeasesRequest) ProtoMessage ¶
func (*LeasesRequest) ProtoMessage()
func (*LeasesRequest) ProtoReflect ¶
func (x *LeasesRequest) ProtoReflect() protoreflect.Message
func (*LeasesRequest) Reset ¶
func (x *LeasesRequest) Reset()
func (*LeasesRequest) String ¶
func (x *LeasesRequest) String() string
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"` // contains filtered or unexported fields }
func (*LeasesResponse) Descriptor
deprecated
func (*LeasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeasesResponse.ProtoReflect.Descriptor instead.
func (*LeasesResponse) GetLeases ¶
func (x *LeasesResponse) GetLeases() []*Lease
func (*LeasesResponse) GetTotalAmtEarnedSat ¶
func (x *LeasesResponse) GetTotalAmtEarnedSat() uint64
func (*LeasesResponse) GetTotalAmtPaidSat ¶
func (x *LeasesResponse) GetTotalAmtPaidSat() uint64
func (*LeasesResponse) ProtoMessage ¶
func (*LeasesResponse) ProtoMessage()
func (*LeasesResponse) ProtoReflect ¶
func (x *LeasesResponse) ProtoReflect() protoreflect.Message
func (*LeasesResponse) Reset ¶
func (x *LeasesResponse) Reset()
func (*LeasesResponse) String ¶
func (x *LeasesResponse) String() string
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"` // contains filtered or unexported fields }
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetActiveOnly ¶
func (x *ListAccountsRequest) GetActiveOnly() bool
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type ListAccountsResponse ¶
type ListAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsResponse) Descriptor
deprecated
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountsResponse) GetAccounts ¶
func (x *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) ProtoReflect ¶
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountsResponse) Reset ¶
func (x *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (x *ListAccountsResponse) String() string
type ListOfAccountModificationFees ¶
type ListOfAccountModificationFees struct { ModificationFees []*AccountModificationFee `protobuf:"bytes,1,rep,name=modification_fees,json=modificationFees,proto3" json:"modification_fees,omitempty"` // contains filtered or unexported fields }
func (*ListOfAccountModificationFees) Descriptor
deprecated
func (*ListOfAccountModificationFees) Descriptor() ([]byte, []int)
Deprecated: Use ListOfAccountModificationFees.ProtoReflect.Descriptor instead.
func (*ListOfAccountModificationFees) GetModificationFees ¶
func (x *ListOfAccountModificationFees) GetModificationFees() []*AccountModificationFee
func (*ListOfAccountModificationFees) ProtoMessage ¶
func (*ListOfAccountModificationFees) ProtoMessage()
func (*ListOfAccountModificationFees) ProtoReflect ¶
func (x *ListOfAccountModificationFees) ProtoReflect() protoreflect.Message
func (*ListOfAccountModificationFees) Reset ¶
func (x *ListOfAccountModificationFees) Reset()
func (*ListOfAccountModificationFees) String ¶
func (x *ListOfAccountModificationFees) String() string
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"` // contains filtered or unexported fields }
func (*ListOrdersRequest) Descriptor
deprecated
func (*ListOrdersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersRequest.ProtoReflect.Descriptor instead.
func (*ListOrdersRequest) GetActiveOnly ¶
func (x *ListOrdersRequest) GetActiveOnly() bool
func (*ListOrdersRequest) GetVerbose ¶
func (x *ListOrdersRequest) GetVerbose() bool
func (*ListOrdersRequest) ProtoMessage ¶
func (*ListOrdersRequest) ProtoMessage()
func (*ListOrdersRequest) ProtoReflect ¶
func (x *ListOrdersRequest) ProtoReflect() protoreflect.Message
func (*ListOrdersRequest) Reset ¶
func (x *ListOrdersRequest) Reset()
func (*ListOrdersRequest) String ¶
func (x *ListOrdersRequest) String() string
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"` // contains filtered or unexported fields }
func (*ListOrdersResponse) Descriptor
deprecated
func (*ListOrdersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrdersResponse.ProtoReflect.Descriptor instead.
func (*ListOrdersResponse) GetAsks ¶
func (x *ListOrdersResponse) GetAsks() []*Ask
func (*ListOrdersResponse) GetBids ¶
func (x *ListOrdersResponse) GetBids() []*Bid
func (*ListOrdersResponse) ProtoMessage ¶
func (*ListOrdersResponse) ProtoMessage()
func (*ListOrdersResponse) ProtoReflect ¶
func (x *ListOrdersResponse) ProtoReflect() protoreflect.Message
func (*ListOrdersResponse) Reset ¶
func (x *ListOrdersResponse) Reset()
func (*ListOrdersResponse) String ¶
func (x *ListOrdersResponse) String() string
type ListSidecarsRequest ¶
type ListSidecarsRequest struct { // The optional sidecar ID to filter for. If set, the result should either be // a single ticket or no ticket in most cases. But because the ID is just 8 // bytes and is randomly generated, there could be collisions, especially since // tickets can also be crafted by a malicious party and given to any node. // That's why the offer's public key is also used as an identifying element // since that cannot easily be forged without also producing a valid signature. // So an attacker cannot overwrite a ticket a node offered by themselves // offering a ticket with the same ID and tricking the victim into registering // that. Long story sort, there could be multiple tickets with the same ID but // different offer public keys, which is why those keys should be checked as // well. SidecarId []byte `protobuf:"bytes,1,opt,name=sidecar_id,json=sidecarId,proto3" json:"sidecar_id,omitempty"` // contains filtered or unexported fields }
func (*ListSidecarsRequest) Descriptor
deprecated
func (*ListSidecarsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSidecarsRequest.ProtoReflect.Descriptor instead.
func (*ListSidecarsRequest) GetSidecarId ¶
func (x *ListSidecarsRequest) GetSidecarId() []byte
func (*ListSidecarsRequest) ProtoMessage ¶
func (*ListSidecarsRequest) ProtoMessage()
func (*ListSidecarsRequest) ProtoReflect ¶
func (x *ListSidecarsRequest) ProtoReflect() protoreflect.Message
func (*ListSidecarsRequest) Reset ¶
func (x *ListSidecarsRequest) Reset()
func (*ListSidecarsRequest) String ¶
func (x *ListSidecarsRequest) String() string
type ListSidecarsResponse ¶
type ListSidecarsResponse struct { Tickets []*DecodedSidecarTicket `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"` // contains filtered or unexported fields }
func (*ListSidecarsResponse) Descriptor
deprecated
func (*ListSidecarsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSidecarsResponse.ProtoReflect.Descriptor instead.
func (*ListSidecarsResponse) GetTickets ¶
func (x *ListSidecarsResponse) GetTickets() []*DecodedSidecarTicket
func (*ListSidecarsResponse) ProtoMessage ¶
func (*ListSidecarsResponse) ProtoMessage()
func (*ListSidecarsResponse) ProtoReflect ¶
func (x *ListSidecarsResponse) ProtoReflect() protoreflect.Message
func (*ListSidecarsResponse) Reset ¶
func (x *ListSidecarsResponse) Reset()
func (*ListSidecarsResponse) String ¶
func (x *ListSidecarsResponse) String() string
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"` // contains filtered or unexported fields }
func (*LsatToken) Descriptor
deprecated
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) ProtoReflect ¶
func (x *LsatToken) ProtoReflect() protoreflect.Message
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 */ // contains filtered or unexported fields }
func (*MatchEvent) Descriptor
deprecated
func (*MatchEvent) Descriptor() ([]byte, []int)
Deprecated: Use MatchEvent.ProtoReflect.Descriptor instead.
func (*MatchEvent) GetMatchState ¶
func (x *MatchEvent) GetMatchState() MatchState
func (*MatchEvent) GetMatchedOrder ¶
func (x *MatchEvent) GetMatchedOrder() []byte
func (*MatchEvent) GetRejectReason ¶
func (x *MatchEvent) GetRejectReason() MatchRejectReason
func (*MatchEvent) GetUnitsFilled ¶
func (x *MatchEvent) GetUnitsFilled() uint32
func (*MatchEvent) ProtoMessage ¶
func (*MatchEvent) ProtoMessage()
func (*MatchEvent) ProtoReflect ¶
func (x *MatchEvent) ProtoReflect() protoreflect.Message
func (*MatchEvent) Reset ¶
func (x *MatchEvent) Reset()
func (*MatchEvent) String ¶
func (x *MatchEvent) String() string
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) Descriptor ¶
func (MatchRejectReason) Descriptor() protoreflect.EnumDescriptor
func (MatchRejectReason) Enum ¶
func (x MatchRejectReason) Enum() *MatchRejectReason
func (MatchRejectReason) EnumDescriptor
deprecated
func (MatchRejectReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchRejectReason.Descriptor instead.
func (MatchRejectReason) Number ¶
func (x MatchRejectReason) Number() protoreflect.EnumNumber
func (MatchRejectReason) String ¶
func (x MatchRejectReason) String() string
func (MatchRejectReason) Type ¶
func (MatchRejectReason) Type() protoreflect.EnumType
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) Descriptor ¶
func (MatchState) Descriptor() protoreflect.EnumDescriptor
func (MatchState) Enum ¶
func (x MatchState) Enum() *MatchState
func (MatchState) EnumDescriptor
deprecated
func (MatchState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchState.Descriptor instead.
func (MatchState) Number ¶
func (x MatchState) Number() protoreflect.EnumNumber
func (MatchState) String ¶
func (x MatchState) String() string
func (MatchState) Type ¶
func (MatchState) Type() protoreflect.EnumType
type NextBatchInfoRequest ¶
type NextBatchInfoRequest struct {
// contains filtered or unexported fields
}
func (*NextBatchInfoRequest) Descriptor
deprecated
func (*NextBatchInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextBatchInfoRequest.ProtoReflect.Descriptor instead.
func (*NextBatchInfoRequest) ProtoMessage ¶
func (*NextBatchInfoRequest) ProtoMessage()
func (*NextBatchInfoRequest) ProtoReflect ¶
func (x *NextBatchInfoRequest) ProtoReflect() protoreflect.Message
func (*NextBatchInfoRequest) Reset ¶
func (x *NextBatchInfoRequest) Reset()
func (*NextBatchInfoRequest) String ¶
func (x *NextBatchInfoRequest) String() string
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"` // The value used by the auctioneer to determine if an account expiry height // needs to be extended after participating in a batch and for how long. AutoRenewExtensionBlocks uint32 `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NextBatchInfoResponse) Descriptor
deprecated
func (*NextBatchInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextBatchInfoResponse.ProtoReflect.Descriptor instead.
func (*NextBatchInfoResponse) GetAutoRenewExtensionBlocks ¶
func (x *NextBatchInfoResponse) GetAutoRenewExtensionBlocks() uint32
func (*NextBatchInfoResponse) GetClearTimestamp ¶
func (x *NextBatchInfoResponse) GetClearTimestamp() uint64
func (*NextBatchInfoResponse) GetConfTarget ¶
func (x *NextBatchInfoResponse) GetConfTarget() uint32
func (*NextBatchInfoResponse) GetFeeRateSatPerKw ¶
func (x *NextBatchInfoResponse) GetFeeRateSatPerKw() uint64
func (*NextBatchInfoResponse) ProtoMessage ¶
func (*NextBatchInfoResponse) ProtoMessage()
func (*NextBatchInfoResponse) ProtoReflect ¶
func (x *NextBatchInfoResponse) ProtoReflect() protoreflect.Message
func (*NextBatchInfoResponse) Reset ¶
func (x *NextBatchInfoResponse) Reset()
func (*NextBatchInfoResponse) String ¶
func (x *NextBatchInfoResponse) String() string
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"` // contains filtered or unexported fields }
func (*NodeRatingRequest) Descriptor
deprecated
func (*NodeRatingRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeRatingRequest.ProtoReflect.Descriptor instead.
func (*NodeRatingRequest) GetNodePubkeys ¶
func (x *NodeRatingRequest) GetNodePubkeys() [][]byte
func (*NodeRatingRequest) ProtoMessage ¶
func (*NodeRatingRequest) ProtoMessage()
func (*NodeRatingRequest) ProtoReflect ¶
func (x *NodeRatingRequest) ProtoReflect() protoreflect.Message
func (*NodeRatingRequest) Reset ¶
func (x *NodeRatingRequest) Reset()
func (*NodeRatingRequest) String ¶
func (x *NodeRatingRequest) String() string
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"` // contains filtered or unexported fields }
func (*NodeRatingResponse) Descriptor
deprecated
func (*NodeRatingResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeRatingResponse.ProtoReflect.Descriptor instead.
func (*NodeRatingResponse) GetNodeRatings ¶
func (x *NodeRatingResponse) GetNodeRatings() []*auctioneerrpc.NodeRating
func (*NodeRatingResponse) ProtoMessage ¶
func (*NodeRatingResponse) ProtoMessage()
func (*NodeRatingResponse) ProtoReflect ¶
func (x *NodeRatingResponse) ProtoReflect() protoreflect.Message
func (*NodeRatingResponse) Reset ¶
func (x *NodeRatingResponse) Reset()
func (*NodeRatingResponse) String ¶
func (x *NodeRatingResponse) String() string
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"` // contains filtered or unexported fields }
func (*OfferSidecarRequest) Descriptor
deprecated
func (*OfferSidecarRequest) Descriptor() ([]byte, []int)
Deprecated: Use OfferSidecarRequest.ProtoReflect.Descriptor instead.
func (*OfferSidecarRequest) GetAutoNegotiate ¶
func (x *OfferSidecarRequest) GetAutoNegotiate() bool
func (*OfferSidecarRequest) GetBid ¶
func (x *OfferSidecarRequest) GetBid() *Bid
func (*OfferSidecarRequest) ProtoMessage ¶
func (*OfferSidecarRequest) ProtoMessage()
func (*OfferSidecarRequest) ProtoReflect ¶
func (x *OfferSidecarRequest) ProtoReflect() protoreflect.Message
func (*OfferSidecarRequest) Reset ¶
func (x *OfferSidecarRequest) Reset()
func (*OfferSidecarRequest) String ¶
func (x *OfferSidecarRequest) String() string
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"` // The channel type to use for the resulting matched channels. ChannelType auctioneerrpc.OrderChannelType `` /* 126-byte string literal not displayed */ // List of nodes that will be allowed to match with our order. Incompatible // with the `not_allowed_node_ids` field. AllowedNodeIds [][]byte `protobuf:"bytes,14,rep,name=allowed_node_ids,json=allowedNodeIds,proto3" json:"allowed_node_ids,omitempty"` // List of nodes that won't be allowed to match with our order. Incompatible // with the `allowed_node_ids` field. NotAllowedNodeIds [][]byte `protobuf:"bytes,15,rep,name=not_allowed_node_ids,json=notAllowedNodeIds,proto3" json:"not_allowed_node_ids,omitempty"` // Auction type where this order must be considered during the matching. AuctionType auctioneerrpc.AuctionType `protobuf:"varint,16,opt,name=auction_type,json=auctionType,proto3,enum=poolrpc.AuctionType" json:"auction_type,omitempty"` // Flag used to signal that this order can be shared in public market // places. IsPublic bool `protobuf:"varint,17,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // contains filtered or unexported fields }
func (*Order) Descriptor
deprecated
func (*Order) GetAllowedNodeIds ¶
func (*Order) GetAuctionType ¶
func (x *Order) GetAuctionType() auctioneerrpc.AuctionType
func (*Order) GetChannelType ¶
func (x *Order) GetChannelType() auctioneerrpc.OrderChannelType
func (*Order) GetCreationTimestampNs ¶
func (*Order) GetEvents ¶
func (x *Order) GetEvents() []*OrderEvent
func (*Order) GetIsPublic ¶
func (*Order) GetMaxBatchFeeRateSatPerKw ¶
func (*Order) GetMinUnitsMatch ¶
func (*Order) GetNotAllowedNodeIds ¶
func (*Order) GetOrderNonce ¶
func (*Order) GetRateFixed ¶
func (*Order) GetReservedValueSat ¶
func (*Order) GetState ¶
func (x *Order) GetState() auctioneerrpc.OrderState
func (*Order) GetTraderKey ¶
func (*Order) GetUnitsUnfulfilled ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
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 assignable to Event: // // *OrderEvent_StateChange // *OrderEvent_Matched Event isOrderEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*OrderEvent) Descriptor
deprecated
func (*OrderEvent) Descriptor() ([]byte, []int)
Deprecated: Use OrderEvent.ProtoReflect.Descriptor instead.
func (*OrderEvent) GetEvent ¶
func (m *OrderEvent) GetEvent() isOrderEvent_Event
func (*OrderEvent) GetEventStr ¶
func (x *OrderEvent) GetEventStr() string
func (*OrderEvent) GetMatched ¶
func (x *OrderEvent) GetMatched() *MatchEvent
func (*OrderEvent) GetStateChange ¶
func (x *OrderEvent) GetStateChange() *UpdatedEvent
func (*OrderEvent) GetTimestampNs ¶
func (x *OrderEvent) GetTimestampNs() int64
func (*OrderEvent) ProtoMessage ¶
func (*OrderEvent) ProtoMessage()
func (*OrderEvent) ProtoReflect ¶
func (x *OrderEvent) ProtoReflect() protoreflect.Message
func (*OrderEvent) Reset ¶
func (x *OrderEvent) Reset()
func (*OrderEvent) String ¶
func (x *OrderEvent) String() string
type OrderEvent_Matched ¶
type OrderEvent_Matched struct { // The order was involved in a match making attempt. Matched *MatchEvent `protobuf:"bytes,4,opt,name=matched,proto3,oneof"` }
type OrderEvent_StateChange ¶
type OrderEvent_StateChange struct { // The order was updated in the database. 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"` // contains filtered or unexported fields }
func (*Output) Descriptor
deprecated
func (*Output) GetAddress ¶
func (*Output) GetValueSat ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
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 assignable to Fees: // // *OutputWithFee_ConfTarget // *OutputWithFee_FeeRateSatPerKw Fees isOutputWithFee_Fees `protobuf_oneof:"fees"` // contains filtered or unexported fields }
func (*OutputWithFee) Descriptor
deprecated
func (*OutputWithFee) Descriptor() ([]byte, []int)
Deprecated: Use OutputWithFee.ProtoReflect.Descriptor instead.
func (*OutputWithFee) GetAddress ¶
func (x *OutputWithFee) GetAddress() string
func (*OutputWithFee) GetConfTarget ¶
func (x *OutputWithFee) GetConfTarget() uint32
func (*OutputWithFee) GetFeeRateSatPerKw ¶
func (x *OutputWithFee) GetFeeRateSatPerKw() uint64
func (*OutputWithFee) GetFees ¶
func (m *OutputWithFee) GetFees() isOutputWithFee_Fees
func (*OutputWithFee) ProtoMessage ¶
func (*OutputWithFee) ProtoMessage()
func (*OutputWithFee) ProtoReflect ¶
func (x *OutputWithFee) ProtoReflect() protoreflect.Message
func (*OutputWithFee) Reset ¶
func (x *OutputWithFee) Reset()
func (*OutputWithFee) String ¶
func (x *OutputWithFee) String() string
type OutputWithFee_ConfTarget ¶
type OutputWithFee_ConfTarget struct { // The target number of blocks that the transaction should be confirmed in. ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"` }
type OutputWithFee_FeeRateSatPerKw ¶
type OutputWithFee_FeeRateSatPerKw struct { // 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,oneof"` }
type OutputsWithImplicitFee ¶
type OutputsWithImplicitFee struct { Outputs []*Output `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*OutputsWithImplicitFee) Descriptor
deprecated
func (*OutputsWithImplicitFee) Descriptor() ([]byte, []int)
Deprecated: Use OutputsWithImplicitFee.ProtoReflect.Descriptor instead.
func (*OutputsWithImplicitFee) GetOutputs ¶
func (x *OutputsWithImplicitFee) GetOutputs() []*Output
func (*OutputsWithImplicitFee) ProtoMessage ¶
func (*OutputsWithImplicitFee) ProtoMessage()
func (*OutputsWithImplicitFee) ProtoReflect ¶
func (x *OutputsWithImplicitFee) ProtoReflect() protoreflect.Message
func (*OutputsWithImplicitFee) Reset ¶
func (x *OutputsWithImplicitFee) Reset()
func (*OutputsWithImplicitFee) String ¶
func (x *OutputsWithImplicitFee) String() string
type QuoteAccountRequest ¶
type QuoteAccountRequest struct { AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"` // Types that are assignable to Fees: // // *QuoteAccountRequest_ConfTarget Fees isQuoteAccountRequest_Fees `protobuf_oneof:"fees"` // contains filtered or unexported fields }
func (*QuoteAccountRequest) Descriptor
deprecated
func (*QuoteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuoteAccountRequest.ProtoReflect.Descriptor instead.
func (*QuoteAccountRequest) GetAccountValue ¶
func (x *QuoteAccountRequest) GetAccountValue() uint64
func (*QuoteAccountRequest) GetConfTarget ¶
func (x *QuoteAccountRequest) GetConfTarget() uint32
func (*QuoteAccountRequest) GetFees ¶
func (m *QuoteAccountRequest) GetFees() isQuoteAccountRequest_Fees
func (*QuoteAccountRequest) ProtoMessage ¶
func (*QuoteAccountRequest) ProtoMessage()
func (*QuoteAccountRequest) ProtoReflect ¶
func (x *QuoteAccountRequest) ProtoReflect() protoreflect.Message
func (*QuoteAccountRequest) Reset ¶
func (x *QuoteAccountRequest) Reset()
func (*QuoteAccountRequest) String ¶
func (x *QuoteAccountRequest) String() string
type QuoteAccountRequest_ConfTarget ¶
type QuoteAccountRequest_ConfTarget struct { // The target number of blocks that the transaction should be confirmed in. 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"` // contains filtered or unexported fields }
func (*QuoteAccountResponse) Descriptor
deprecated
func (*QuoteAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuoteAccountResponse.ProtoReflect.Descriptor instead.
func (*QuoteAccountResponse) GetMinerFeeRateSatPerKw ¶
func (x *QuoteAccountResponse) GetMinerFeeRateSatPerKw() uint64
func (*QuoteAccountResponse) GetMinerFeeTotal ¶
func (x *QuoteAccountResponse) GetMinerFeeTotal() uint64
func (*QuoteAccountResponse) ProtoMessage ¶
func (*QuoteAccountResponse) ProtoMessage()
func (*QuoteAccountResponse) ProtoReflect ¶
func (x *QuoteAccountResponse) ProtoReflect() protoreflect.Message
func (*QuoteAccountResponse) Reset ¶
func (x *QuoteAccountResponse) Reset()
func (*QuoteAccountResponse) String ¶
func (x *QuoteAccountResponse) String() string
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"` // contains filtered or unexported fields }
func (*QuoteOrderRequest) Descriptor
deprecated
func (*QuoteOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuoteOrderRequest.ProtoReflect.Descriptor instead.
func (*QuoteOrderRequest) GetAmt ¶
func (x *QuoteOrderRequest) GetAmt() uint64
func (*QuoteOrderRequest) GetLeaseDurationBlocks ¶
func (x *QuoteOrderRequest) GetLeaseDurationBlocks() uint32
func (*QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw ¶
func (x *QuoteOrderRequest) GetMaxBatchFeeRateSatPerKw() uint64
func (*QuoteOrderRequest) GetMinUnitsMatch ¶
func (x *QuoteOrderRequest) GetMinUnitsMatch() uint32
func (*QuoteOrderRequest) GetRateFixed ¶
func (x *QuoteOrderRequest) GetRateFixed() uint32
func (*QuoteOrderRequest) ProtoMessage ¶
func (*QuoteOrderRequest) ProtoMessage()
func (*QuoteOrderRequest) ProtoReflect ¶
func (x *QuoteOrderRequest) ProtoReflect() protoreflect.Message
func (*QuoteOrderRequest) Reset ¶
func (x *QuoteOrderRequest) Reset()
func (*QuoteOrderRequest) String ¶
func (x *QuoteOrderRequest) String() string
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 */ // contains filtered or unexported fields }
func (*QuoteOrderResponse) Descriptor
deprecated
func (*QuoteOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuoteOrderResponse.ProtoReflect.Descriptor instead.
func (*QuoteOrderResponse) GetRatePerBlock ¶
func (x *QuoteOrderResponse) GetRatePerBlock() float64
func (*QuoteOrderResponse) GetRatePercent ¶
func (x *QuoteOrderResponse) GetRatePercent() float64
func (*QuoteOrderResponse) GetTotalExecutionFeeSat ¶
func (x *QuoteOrderResponse) GetTotalExecutionFeeSat() uint64
func (*QuoteOrderResponse) GetTotalPremiumSat ¶
func (x *QuoteOrderResponse) GetTotalPremiumSat() uint64
func (*QuoteOrderResponse) GetWorstCaseChainFeeSat ¶
func (x *QuoteOrderResponse) GetWorstCaseChainFeeSat() uint64
func (*QuoteOrderResponse) ProtoMessage ¶
func (*QuoteOrderResponse) ProtoMessage()
func (*QuoteOrderResponse) ProtoReflect ¶
func (x *QuoteOrderResponse) ProtoReflect() protoreflect.Message
func (*QuoteOrderResponse) Reset ¶
func (x *QuoteOrderResponse) Reset()
func (*QuoteOrderResponse) String ¶
func (x *QuoteOrderResponse) String() string
type RecoverAccountsRequest ¶
type RecoverAccountsRequest struct { // Recover the latest account states without interacting with the // Lightning Labs server. FullClient bool `protobuf:"varint,1,opt,name=full_client,json=fullClient,proto3" json:"full_client,omitempty"` // Number of accounts that we are trying to recover. Used during the // full_client recovery process. AccountTarget uint32 `protobuf:"varint,2,opt,name=account_target,json=accountTarget,proto3" json:"account_target,omitempty"` // Auctioneer's public key. Used during the full_client recovery process. // This field should be left empty for testnet/mainnet, its value is already // hardcoded in our codebase. AuctioneerKey string `protobuf:"bytes,3,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"` // Initial block height. We won't try to look for any account with an expiry // height smaller than this value. Used during the full_client recovery // process. HeightHint uint32 `protobuf:"varint,4,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` // bitcoind/btcd instance address. Used during the full_client recovery // process. BitcoinHost string `protobuf:"bytes,5,opt,name=bitcoin_host,json=bitcoinHost,proto3" json:"bitcoin_host,omitempty"` // bitcoind/btcd user name. Used during the full_client recovery // process. BitcoinUser string `protobuf:"bytes,6,opt,name=bitcoin_user,json=bitcoinUser,proto3" json:"bitcoin_user,omitempty"` // bitcoind/btcd password. Used during the full_client recovery // process. BitcoinPassword string `protobuf:"bytes,7,opt,name=bitcoin_password,json=bitcoinPassword,proto3" json:"bitcoin_password,omitempty"` // Use HTTP POST mode? bitcoind only supports this mode. Used during the // full_client recovery process. BitcoinHttppostmode bool `protobuf:"varint,8,opt,name=bitcoin_httppostmode,json=bitcoinHttppostmode,proto3" json:"bitcoin_httppostmode,omitempty"` // Use TLS to connect? bitcoind only supports non-TLS connections. Used // during the full_client recovery process. BitcoinUsetls bool `protobuf:"varint,9,opt,name=bitcoin_usetls,json=bitcoinUsetls,proto3" json:"bitcoin_usetls,omitempty"` // Path to btcd's TLS certificate, if TLS is enabled. Used during the // full_client recovery process. BitcoinTlspath string `protobuf:"bytes,10,opt,name=bitcoin_tlspath,json=bitcoinTlspath,proto3" json:"bitcoin_tlspath,omitempty"` // contains filtered or unexported fields }
func (*RecoverAccountsRequest) Descriptor
deprecated
func (*RecoverAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecoverAccountsRequest.ProtoReflect.Descriptor instead.
func (*RecoverAccountsRequest) GetAccountTarget ¶
func (x *RecoverAccountsRequest) GetAccountTarget() uint32
func (*RecoverAccountsRequest) GetAuctioneerKey ¶
func (x *RecoverAccountsRequest) GetAuctioneerKey() string
func (*RecoverAccountsRequest) GetBitcoinHost ¶
func (x *RecoverAccountsRequest) GetBitcoinHost() string
func (*RecoverAccountsRequest) GetBitcoinHttppostmode ¶
func (x *RecoverAccountsRequest) GetBitcoinHttppostmode() bool
func (*RecoverAccountsRequest) GetBitcoinPassword ¶
func (x *RecoverAccountsRequest) GetBitcoinPassword() string
func (*RecoverAccountsRequest) GetBitcoinTlspath ¶
func (x *RecoverAccountsRequest) GetBitcoinTlspath() string
func (*RecoverAccountsRequest) GetBitcoinUser ¶
func (x *RecoverAccountsRequest) GetBitcoinUser() string
func (*RecoverAccountsRequest) GetBitcoinUsetls ¶
func (x *RecoverAccountsRequest) GetBitcoinUsetls() bool
func (*RecoverAccountsRequest) GetFullClient ¶
func (x *RecoverAccountsRequest) GetFullClient() bool
func (*RecoverAccountsRequest) GetHeightHint ¶
func (x *RecoverAccountsRequest) GetHeightHint() uint32
func (*RecoverAccountsRequest) ProtoMessage ¶
func (*RecoverAccountsRequest) ProtoMessage()
func (*RecoverAccountsRequest) ProtoReflect ¶
func (x *RecoverAccountsRequest) ProtoReflect() protoreflect.Message
func (*RecoverAccountsRequest) Reset ¶
func (x *RecoverAccountsRequest) Reset()
func (*RecoverAccountsRequest) String ¶
func (x *RecoverAccountsRequest) String() string
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"` // contains filtered or unexported fields }
func (*RecoverAccountsResponse) Descriptor
deprecated
func (*RecoverAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecoverAccountsResponse.ProtoReflect.Descriptor instead.
func (*RecoverAccountsResponse) GetNumRecoveredAccounts ¶
func (x *RecoverAccountsResponse) GetNumRecoveredAccounts() uint32
func (*RecoverAccountsResponse) ProtoMessage ¶
func (*RecoverAccountsResponse) ProtoMessage()
func (*RecoverAccountsResponse) ProtoReflect ¶
func (x *RecoverAccountsResponse) ProtoReflect() protoreflect.Message
func (*RecoverAccountsResponse) Reset ¶
func (x *RecoverAccountsResponse) Reset()
func (*RecoverAccountsResponse) String ¶
func (x *RecoverAccountsResponse) String() string
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"` // contains filtered or unexported fields }
func (*RegisterSidecarRequest) Descriptor
deprecated
func (*RegisterSidecarRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSidecarRequest.ProtoReflect.Descriptor instead.
func (*RegisterSidecarRequest) GetAutoNegotiate ¶
func (x *RegisterSidecarRequest) GetAutoNegotiate() bool
func (*RegisterSidecarRequest) GetTicket ¶
func (x *RegisterSidecarRequest) GetTicket() string
func (*RegisterSidecarRequest) ProtoMessage ¶
func (*RegisterSidecarRequest) ProtoMessage()
func (*RegisterSidecarRequest) ProtoReflect ¶
func (x *RegisterSidecarRequest) ProtoReflect() protoreflect.Message
func (*RegisterSidecarRequest) Reset ¶
func (x *RegisterSidecarRequest) Reset()
func (*RegisterSidecarRequest) String ¶
func (x *RegisterSidecarRequest) String() string
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 assignable 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"` // The new version of the account. If this is set and is a valid version // greater than the account's current version, then the account is upgraded to // that version during the renewal. NewVersion AccountVersion `protobuf:"varint,5,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` // contains filtered or unexported fields }
func (*RenewAccountRequest) Descriptor
deprecated
func (*RenewAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewAccountRequest.ProtoReflect.Descriptor instead.
func (*RenewAccountRequest) GetAbsoluteExpiry ¶
func (x *RenewAccountRequest) GetAbsoluteExpiry() uint32
func (*RenewAccountRequest) GetAccountExpiry ¶
func (m *RenewAccountRequest) GetAccountExpiry() isRenewAccountRequest_AccountExpiry
func (*RenewAccountRequest) GetAccountKey ¶
func (x *RenewAccountRequest) GetAccountKey() []byte
func (*RenewAccountRequest) GetFeeRateSatPerKw ¶
func (x *RenewAccountRequest) GetFeeRateSatPerKw() uint64
func (*RenewAccountRequest) GetNewVersion ¶
func (x *RenewAccountRequest) GetNewVersion() AccountVersion
func (*RenewAccountRequest) GetRelativeExpiry ¶
func (x *RenewAccountRequest) GetRelativeExpiry() uint32
func (*RenewAccountRequest) ProtoMessage ¶
func (*RenewAccountRequest) ProtoMessage()
func (*RenewAccountRequest) ProtoReflect ¶
func (x *RenewAccountRequest) ProtoReflect() protoreflect.Message
func (*RenewAccountRequest) Reset ¶
func (x *RenewAccountRequest) Reset()
func (*RenewAccountRequest) String ¶
func (x *RenewAccountRequest) String() string
type RenewAccountRequest_AbsoluteExpiry ¶
type RenewAccountRequest_AbsoluteExpiry struct { // The new absolute expiration height of the account. AbsoluteExpiry uint32 `protobuf:"varint,2,opt,name=absolute_expiry,json=absoluteExpiry,proto3,oneof"` }
type RenewAccountRequest_RelativeExpiry ¶
type RenewAccountRequest_RelativeExpiry struct { // The new relative expiration height of the account. 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"` // contains filtered or unexported fields }
func (*RenewAccountResponse) Descriptor
deprecated
func (*RenewAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenewAccountResponse.ProtoReflect.Descriptor instead.
func (*RenewAccountResponse) GetAccount ¶
func (x *RenewAccountResponse) GetAccount() *Account
func (*RenewAccountResponse) GetRenewalTxid ¶
func (x *RenewAccountResponse) GetRenewalTxid() []byte
func (*RenewAccountResponse) ProtoMessage ¶
func (*RenewAccountResponse) ProtoMessage()
func (*RenewAccountResponse) ProtoReflect ¶
func (x *RenewAccountResponse) ProtoReflect() protoreflect.Message
func (*RenewAccountResponse) Reset ¶
func (x *RenewAccountResponse) Reset()
func (*RenewAccountResponse) String ¶
func (x *RenewAccountResponse) String() string
type SidecarTicket ¶
type SidecarTicket struct { // The complete sidecar ticket in its string encoded form which is base58 // 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"` // contains filtered or unexported fields }
func (*SidecarTicket) Descriptor
deprecated
func (*SidecarTicket) Descriptor() ([]byte, []int)
Deprecated: Use SidecarTicket.ProtoReflect.Descriptor instead.
func (*SidecarTicket) GetTicket ¶
func (x *SidecarTicket) GetTicket() string
func (*SidecarTicket) ProtoMessage ¶
func (*SidecarTicket) ProtoMessage()
func (*SidecarTicket) ProtoReflect ¶
func (x *SidecarTicket) ProtoReflect() protoreflect.Message
func (*SidecarTicket) Reset ¶
func (x *SidecarTicket) Reset()
func (*SidecarTicket) String ¶
func (x *SidecarTicket) String() string
type StopDaemonRequest ¶
type StopDaemonRequest struct {
// contains filtered or unexported fields
}
func (*StopDaemonRequest) Descriptor
deprecated
func (*StopDaemonRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopDaemonRequest.ProtoReflect.Descriptor instead.
func (*StopDaemonRequest) ProtoMessage ¶
func (*StopDaemonRequest) ProtoMessage()
func (*StopDaemonRequest) ProtoReflect ¶
func (x *StopDaemonRequest) ProtoReflect() protoreflect.Message
func (*StopDaemonRequest) Reset ¶
func (x *StopDaemonRequest) Reset()
func (*StopDaemonRequest) String ¶
func (x *StopDaemonRequest) String() string
type StopDaemonResponse ¶
type StopDaemonResponse struct {
// contains filtered or unexported fields
}
func (*StopDaemonResponse) Descriptor
deprecated
func (*StopDaemonResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopDaemonResponse.ProtoReflect.Descriptor instead.
func (*StopDaemonResponse) ProtoMessage ¶
func (*StopDaemonResponse) ProtoMessage()
func (*StopDaemonResponse) ProtoReflect ¶
func (x *StopDaemonResponse) ProtoReflect() protoreflect.Message
func (*StopDaemonResponse) Reset ¶
func (x *StopDaemonResponse) Reset()
func (*StopDaemonResponse) String ¶
func (x *StopDaemonResponse) String() string
type SubmitOrderRequest ¶
type SubmitOrderRequest struct { // Types that are assignable 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"` // contains filtered or unexported fields }
func (*SubmitOrderRequest) Descriptor
deprecated
func (*SubmitOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitOrderRequest.ProtoReflect.Descriptor instead.
func (*SubmitOrderRequest) GetAsk ¶
func (x *SubmitOrderRequest) GetAsk() *Ask
func (*SubmitOrderRequest) GetBid ¶
func (x *SubmitOrderRequest) GetBid() *Bid
func (*SubmitOrderRequest) GetDetails ¶
func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details
func (*SubmitOrderRequest) GetInitiator ¶
func (x *SubmitOrderRequest) GetInitiator() string
func (*SubmitOrderRequest) ProtoMessage ¶
func (*SubmitOrderRequest) ProtoMessage()
func (*SubmitOrderRequest) ProtoReflect ¶
func (x *SubmitOrderRequest) ProtoReflect() protoreflect.Message
func (*SubmitOrderRequest) Reset ¶
func (x *SubmitOrderRequest) Reset()
func (*SubmitOrderRequest) String ¶
func (x *SubmitOrderRequest) String() string
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 assignable to Details: // // *SubmitOrderResponse_InvalidOrder // *SubmitOrderResponse_AcceptedOrderNonce Details isSubmitOrderResponse_Details `protobuf_oneof:"details"` // In case a bid order was submitted for a sidecar ticket, that ticket is // updated with the new state and bid order nonce. UpdatedSidecarTicket string `protobuf:"bytes,3,opt,name=updated_sidecar_ticket,json=updatedSidecarTicket,proto3" json:"updated_sidecar_ticket,omitempty"` // contains filtered or unexported fields }
func (*SubmitOrderResponse) Descriptor
deprecated
func (*SubmitOrderResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitOrderResponse.ProtoReflect.Descriptor instead.
func (*SubmitOrderResponse) GetAcceptedOrderNonce ¶
func (x *SubmitOrderResponse) GetAcceptedOrderNonce() []byte
func (*SubmitOrderResponse) GetDetails ¶
func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details
func (*SubmitOrderResponse) GetInvalidOrder ¶
func (x *SubmitOrderResponse) GetInvalidOrder() *auctioneerrpc.InvalidOrder
func (*SubmitOrderResponse) GetUpdatedSidecarTicket ¶
func (x *SubmitOrderResponse) GetUpdatedSidecarTicket() string
func (*SubmitOrderResponse) ProtoMessage ¶
func (*SubmitOrderResponse) ProtoMessage()
func (*SubmitOrderResponse) ProtoReflect ¶
func (x *SubmitOrderResponse) ProtoReflect() protoreflect.Message
func (*SubmitOrderResponse) Reset ¶
func (x *SubmitOrderResponse) Reset()
func (*SubmitOrderResponse) String ¶
func (x *SubmitOrderResponse) String() string
type SubmitOrderResponse_AcceptedOrderNonce ¶
type SubmitOrderResponse_AcceptedOrderNonce struct { // The order nonce of the accepted order. AcceptedOrderNonce []byte `protobuf:"bytes,2,opt,name=accepted_order_nonce,json=acceptedOrderNonce,proto3,oneof"` }
type SubmitOrderResponse_InvalidOrder ¶
type SubmitOrderResponse_InvalidOrder struct { // Order failed with the given reason. InvalidOrder *auctioneerrpc.InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"` }
type TokensRequest ¶
type TokensRequest struct {
// contains filtered or unexported fields
}
func (*TokensRequest) Descriptor
deprecated
func (*TokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokensRequest.ProtoReflect.Descriptor instead.
func (*TokensRequest) ProtoMessage ¶
func (*TokensRequest) ProtoMessage()
func (*TokensRequest) ProtoReflect ¶
func (x *TokensRequest) ProtoReflect() protoreflect.Message
func (*TokensRequest) Reset ¶
func (x *TokensRequest) Reset()
func (*TokensRequest) String ¶
func (x *TokensRequest) String() string
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"` // contains filtered or unexported fields }
func (*TokensResponse) Descriptor
deprecated
func (*TokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokensResponse.ProtoReflect.Descriptor instead.
func (*TokensResponse) GetTokens ¶
func (x *TokensResponse) GetTokens() []*LsatToken
func (*TokensResponse) ProtoMessage ¶
func (*TokensResponse) ProtoMessage()
func (*TokensResponse) ProtoReflect ¶
func (x *TokensResponse) ProtoReflect() protoreflect.Message
func (*TokensResponse) Reset ¶
func (x *TokensResponse) Reset()
func (*TokensResponse) String ¶
func (x *TokensResponse) String() string
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: `accounts listfees` // AccountModificationFees returns a map from account key to an ordered list of // account action modification fees. AccountModificationFees(ctx context.Context, in *AccountModificationFeesRequest, opts ...grpc.CallOption) (*AccountModificationFeesResponse, 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) // pool: `sidecar printticket` // Decodes the base58 encoded sidecar ticket into its individual data fields // for a more human-readable representation. DecodeSidecarTicket(ctx context.Context, in *SidecarTicket, opts ...grpc.CallOption) (*DecodedSidecarTicket, error) // pool: `sidecar list` // ListSidecars lists all sidecar tickets currently in the local database. This // includes tickets offered by our node as well as tickets that our node is the // recipient of. Optionally a ticket ID can be provided to filter the tickets. ListSidecars(ctx context.Context, in *ListSidecarsRequest, opts ...grpc.CallOption) (*ListSidecarsResponse, error) // pool: `sidecar cancel` // CancelSidecar cancels the execution of a specific sidecar ticket. Depending // on the state of the sidecar ticket its associated bid order might be // canceled as well (if this ticket was offered by our node). CancelSidecar(ctx context.Context, in *CancelSidecarRequest, opts ...grpc.CallOption) (*CancelSidecarResponse, error) }
TraderClient is the client API for Trader service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTraderClient ¶
func NewTraderClient(cc grpc.ClientConnInterface) 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: `accounts listfees` // AccountModificationFees returns a map from account key to an ordered list of // account action modification fees. AccountModificationFees(context.Context, *AccountModificationFeesRequest) (*AccountModificationFeesResponse, 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) // pool: `sidecar printticket` // Decodes the base58 encoded sidecar ticket into its individual data fields // for a more human-readable representation. DecodeSidecarTicket(context.Context, *SidecarTicket) (*DecodedSidecarTicket, error) // pool: `sidecar list` // ListSidecars lists all sidecar tickets currently in the local database. This // includes tickets offered by our node as well as tickets that our node is the // recipient of. Optionally a ticket ID can be provided to filter the tickets. ListSidecars(context.Context, *ListSidecarsRequest) (*ListSidecarsResponse, error) // pool: `sidecar cancel` // CancelSidecar cancels the execution of a specific sidecar ticket. Depending // on the state of the sidecar ticket its associated bid order might be // canceled as well (if this ticket was offered by our node). CancelSidecar(context.Context, *CancelSidecarRequest) (*CancelSidecarResponse, error) // contains filtered or unexported methods }
TraderServer is the server API for Trader service. All implementations must embed UnimplementedTraderServer for forward compatibility
type UnimplementedTraderServer ¶
type UnimplementedTraderServer struct { }
UnimplementedTraderServer must be embedded to have forward compatible implementations.
func (UnimplementedTraderServer) AccountModificationFees ¶
func (UnimplementedTraderServer) AccountModificationFees(context.Context, *AccountModificationFeesRequest) (*AccountModificationFeesResponse, error)
func (UnimplementedTraderServer) AuctionFee ¶
func (UnimplementedTraderServer) AuctionFee(context.Context, *AuctionFeeRequest) (*AuctionFeeResponse, error)
func (UnimplementedTraderServer) BatchSnapshot ¶
func (UnimplementedTraderServer) BatchSnapshot(context.Context, *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
func (UnimplementedTraderServer) BatchSnapshots ¶
func (UnimplementedTraderServer) BatchSnapshots(context.Context, *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
func (UnimplementedTraderServer) BumpAccountFee ¶
func (UnimplementedTraderServer) BumpAccountFee(context.Context, *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
func (UnimplementedTraderServer) CancelOrder ¶
func (UnimplementedTraderServer) CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
func (UnimplementedTraderServer) CancelSidecar ¶
func (UnimplementedTraderServer) CancelSidecar(context.Context, *CancelSidecarRequest) (*CancelSidecarResponse, error)
func (UnimplementedTraderServer) CloseAccount ¶
func (UnimplementedTraderServer) CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error)
func (UnimplementedTraderServer) DecodeSidecarTicket ¶
func (UnimplementedTraderServer) DecodeSidecarTicket(context.Context, *SidecarTicket) (*DecodedSidecarTicket, error)
func (UnimplementedTraderServer) DepositAccount ¶
func (UnimplementedTraderServer) DepositAccount(context.Context, *DepositAccountRequest) (*DepositAccountResponse, error)
func (UnimplementedTraderServer) ExpectSidecarChannel ¶
func (UnimplementedTraderServer) ExpectSidecarChannel(context.Context, *ExpectSidecarChannelRequest) (*ExpectSidecarChannelResponse, error)
func (UnimplementedTraderServer) GetInfo ¶
func (UnimplementedTraderServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedTraderServer) GetLsatTokens ¶
func (UnimplementedTraderServer) GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error)
func (UnimplementedTraderServer) InitAccount ¶
func (UnimplementedTraderServer) InitAccount(context.Context, *InitAccountRequest) (*Account, error)
func (UnimplementedTraderServer) LeaseDurations ¶
func (UnimplementedTraderServer) LeaseDurations(context.Context, *LeaseDurationRequest) (*LeaseDurationResponse, error)
func (UnimplementedTraderServer) Leases ¶
func (UnimplementedTraderServer) Leases(context.Context, *LeasesRequest) (*LeasesResponse, error)
func (UnimplementedTraderServer) ListAccounts ¶
func (UnimplementedTraderServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
func (UnimplementedTraderServer) ListOrders ¶
func (UnimplementedTraderServer) ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
func (UnimplementedTraderServer) ListSidecars ¶
func (UnimplementedTraderServer) ListSidecars(context.Context, *ListSidecarsRequest) (*ListSidecarsResponse, error)
func (UnimplementedTraderServer) NextBatchInfo ¶
func (UnimplementedTraderServer) NextBatchInfo(context.Context, *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
func (UnimplementedTraderServer) NodeRatings ¶
func (UnimplementedTraderServer) NodeRatings(context.Context, *NodeRatingRequest) (*NodeRatingResponse, error)
func (UnimplementedTraderServer) OfferSidecar ¶
func (UnimplementedTraderServer) OfferSidecar(context.Context, *OfferSidecarRequest) (*SidecarTicket, error)
func (UnimplementedTraderServer) QuoteAccount ¶
func (UnimplementedTraderServer) QuoteAccount(context.Context, *QuoteAccountRequest) (*QuoteAccountResponse, error)
func (UnimplementedTraderServer) QuoteOrder ¶
func (UnimplementedTraderServer) QuoteOrder(context.Context, *QuoteOrderRequest) (*QuoteOrderResponse, error)
func (UnimplementedTraderServer) RecoverAccounts ¶
func (UnimplementedTraderServer) RecoverAccounts(context.Context, *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
func (UnimplementedTraderServer) RegisterSidecar ¶
func (UnimplementedTraderServer) RegisterSidecar(context.Context, *RegisterSidecarRequest) (*SidecarTicket, error)
func (UnimplementedTraderServer) RenewAccount ¶
func (UnimplementedTraderServer) RenewAccount(context.Context, *RenewAccountRequest) (*RenewAccountResponse, error)
func (UnimplementedTraderServer) StopDaemon ¶
func (UnimplementedTraderServer) StopDaemon(context.Context, *StopDaemonRequest) (*StopDaemonResponse, error)
func (UnimplementedTraderServer) SubmitOrder ¶
func (UnimplementedTraderServer) SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
func (UnimplementedTraderServer) WithdrawAccount ¶
func (UnimplementedTraderServer) WithdrawAccount(context.Context, *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
type UnsafeTraderServer ¶
type UnsafeTraderServer interface {
// contains filtered or unexported methods
}
UnsafeTraderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TraderServer will result in compilation errors.
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"` // contains filtered or unexported fields }
func (*UpdatedEvent) Descriptor
deprecated
func (*UpdatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use UpdatedEvent.ProtoReflect.Descriptor instead.
func (*UpdatedEvent) GetNewState ¶
func (x *UpdatedEvent) GetNewState() auctioneerrpc.OrderState
func (*UpdatedEvent) GetPreviousState ¶
func (x *UpdatedEvent) GetPreviousState() auctioneerrpc.OrderState
func (*UpdatedEvent) GetUnitsFilled ¶
func (x *UpdatedEvent) GetUnitsFilled() uint32
func (*UpdatedEvent) ProtoMessage ¶
func (*UpdatedEvent) ProtoMessage()
func (*UpdatedEvent) ProtoReflect ¶
func (x *UpdatedEvent) ProtoReflect() protoreflect.Message
func (*UpdatedEvent) Reset ¶
func (x *UpdatedEvent) Reset()
func (*UpdatedEvent) String ¶
func (x *UpdatedEvent) String() string
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"` // Types that are assignable to AccountExpiry: // // *WithdrawAccountRequest_AbsoluteExpiry // *WithdrawAccountRequest_RelativeExpiry AccountExpiry isWithdrawAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"` // The new version of the account. If this is set and is a valid version // greater than the account's current version, then the account is upgraded to // that version during the withdrawal. NewVersion AccountVersion `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3,enum=poolrpc.AccountVersion" json:"new_version,omitempty"` // contains filtered or unexported fields }
func (*WithdrawAccountRequest) Descriptor
deprecated
func (*WithdrawAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawAccountRequest.ProtoReflect.Descriptor instead.
func (*WithdrawAccountRequest) GetAbsoluteExpiry ¶
func (x *WithdrawAccountRequest) GetAbsoluteExpiry() uint32
func (*WithdrawAccountRequest) GetAccountExpiry ¶
func (m *WithdrawAccountRequest) GetAccountExpiry() isWithdrawAccountRequest_AccountExpiry
func (*WithdrawAccountRequest) GetFeeRateSatPerKw ¶
func (x *WithdrawAccountRequest) GetFeeRateSatPerKw() uint64
func (*WithdrawAccountRequest) GetNewVersion ¶
func (x *WithdrawAccountRequest) GetNewVersion() AccountVersion
func (*WithdrawAccountRequest) GetOutputs ¶
func (x *WithdrawAccountRequest) GetOutputs() []*Output
func (*WithdrawAccountRequest) GetRelativeExpiry ¶
func (x *WithdrawAccountRequest) GetRelativeExpiry() uint32
func (*WithdrawAccountRequest) GetTraderKey ¶
func (x *WithdrawAccountRequest) GetTraderKey() []byte
func (*WithdrawAccountRequest) ProtoMessage ¶
func (*WithdrawAccountRequest) ProtoMessage()
func (*WithdrawAccountRequest) ProtoReflect ¶
func (x *WithdrawAccountRequest) ProtoReflect() protoreflect.Message
func (*WithdrawAccountRequest) Reset ¶
func (x *WithdrawAccountRequest) Reset()
func (*WithdrawAccountRequest) String ¶
func (x *WithdrawAccountRequest) String() string
type WithdrawAccountRequest_AbsoluteExpiry ¶
type WithdrawAccountRequest_AbsoluteExpiry struct { // The new absolute expiration height of the account. AbsoluteExpiry uint32 `protobuf:"varint,4,opt,name=absolute_expiry,json=absoluteExpiry,proto3,oneof"` }
type WithdrawAccountRequest_RelativeExpiry ¶
type WithdrawAccountRequest_RelativeExpiry struct { // The new relative expiration height of the account. RelativeExpiry uint32 `protobuf:"varint,5,opt,name=relative_expiry,json=relativeExpiry,proto3,oneof"` }
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"` // contains filtered or unexported fields }
func (*WithdrawAccountResponse) Descriptor
deprecated
func (*WithdrawAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawAccountResponse.ProtoReflect.Descriptor instead.
func (*WithdrawAccountResponse) GetAccount ¶
func (x *WithdrawAccountResponse) GetAccount() *Account
func (*WithdrawAccountResponse) GetWithdrawTxid ¶
func (x *WithdrawAccountResponse) GetWithdrawTxid() []byte
func (*WithdrawAccountResponse) ProtoMessage ¶
func (*WithdrawAccountResponse) ProtoMessage()
func (*WithdrawAccountResponse) ProtoReflect ¶
func (x *WithdrawAccountResponse) ProtoReflect() protoreflect.Message
func (*WithdrawAccountResponse) Reset ¶
func (x *WithdrawAccountResponse) Reset()
func (*WithdrawAccountResponse) String ¶
func (x *WithdrawAccountResponse) String() string