Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HtlcInterceptor ¶
type InterceptStore ¶
type InterceptStore interface { PaymentInfo(htlcPaymentHash []byte) (string, *common.OpeningFeeParams, []byte, []byte, []byte, int64, int64, *wire.OutPoint, *string, error) SetFundingTx(paymentHash []byte, channelPoint *wire.OutPoint) error RegisterPayment(token string, params *common.OpeningFeeParams, destination, paymentHash, paymentSecret []byte, incomingAmountMsat, outgoingAmountMsat int64, tag string) error }
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
func NewInterceptHandler ¶
func NewInterceptHandler( client lightning.Client, config *config.NodeConfig, store InterceptStore, historyStore history.Store, openingService common.OpeningService, feeEstimator chain.FeeEstimator, feeStrategy chain.FeeStrategy, notificationService *notifications.NotificationService, ) *Interceptor
func (*Interceptor) Intercept ¶
func (i *Interceptor) Intercept(req common.InterceptRequest) common.InterceptResult
Click to show internal directories.
Click to hide internal directories.