mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-22 08:14:20 +01:00
13 lines
519 B
Go
13 lines
519 B
Go
package interceptor
|
|
|
|
import (
|
|
"github.com/breez/lspd/common"
|
|
"github.com/btcsuite/btcd/wire"
|
|
)
|
|
|
|
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
|
|
}
|