Versions in this module Expand all Collapse all v1 v1.1.3 Sep 20, 2021 v1.1.2 Sep 20, 2021 Changes in this version + const Subsystem + func AbandonCanceledChannels(matchedOrders map[order.Nonce][]*order.MatchedOrder, batchTx *wire.MsgTx, ...) error + func CancelPendingFundingShims(matchedOrders map[order.Nonce][]*order.MatchedOrder, baseClient BaseClient, ...) error + func UseLogger(logger btclog.Logger) + type BaseClient interface + AbandonChannel func(ctx context.Context, in *lnrpc.AbandonChannelRequest, opts ...grpc.CallOption) (*lnrpc.AbandonChannelResponse, error) + FundingStateStep func(ctx context.Context, req *lnrpc.FundingTransitionMsg, opts ...grpc.CallOption) (*lnrpc.FundingStateStepResp, error) + ListPeers func(ctx context.Context, req *lnrpc.ListPeersRequest, opts ...grpc.CallOption) (*lnrpc.ListPeersResponse, error) + OpenChannel func(ctx context.Context, req *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (lnrpc.Lightning_OpenChannelClient, error) + SubscribeChannelEvents func(ctx context.Context, in *lnrpc.ChannelEventSubscription, ...) (lnrpc.Lightning_SubscribeChannelEventsClient, error) + SubscribePeerEvents func(ctx context.Context, r *lnrpc.PeerEventSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribePeerEventsClient, error) + type Manager struct + func NewManager(cfg *ManagerConfig) *Manager + func (m *Manager) BatchChannelSetup(batch *order.Batch) (map[wire.OutPoint]*chaninfo.ChannelInfo, error) + func (m *Manager) DeletePendingBatch() error + func (m *Manager) OfferSidecar(ctx context.Context, capacity, pushAmt btcutil.Amount, duration uint32, ...) (*sidecar.Ticket, error) + func (m *Manager) PrepChannelFunding(batch *order.Batch, getOrder order.Fetcher) error + func (m *Manager) RemovePendingBatchArtifacts(matchedOrders map[order.Nonce][]*order.MatchedOrder, batchTx *wire.MsgTx) error + func (m *Manager) SidecarBatchChannelSetup(batch *order.Batch, chanUpdates *subscribe.Client, getOrder order.Fetcher) (map[wire.OutPoint]*chaninfo.ChannelInfo, error) + func (m *Manager) Start() error + func (m *Manager) Stop() error + func (m *Manager) SubscribePendingOpenChan() (*subscribe.Client, error) + type ManagerConfig struct + BaseClient BaseClient + BatchStepTimeout time.Duration + DB *clientdb.DB + LightningClient lndclient.LightningClient + NewNodesOnly bool + NodePubKey *btcec.PublicKey + NotifyShimCreated func(ourBid *order.Bid, pendingChanID [32]byte) + SignerClient lndclient.SignerClient + WalletKit lndclient.WalletKitClient + type MatchRejectErr struct + RejectedOrders map[order.Nonce]*auctioneerrpc.OrderReject + func (e *MatchRejectErr) Error() string