mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 14:54:22 +01:00
25 lines
471 B
Go
25 lines
471 B
Go
package lsps2
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
|
|
"github.com/breez/lspd/basetypes"
|
|
"github.com/breez/lspd/shared"
|
|
)
|
|
|
|
type RegisterBuy struct {
|
|
LspId string
|
|
PeerId string
|
|
Scid basetypes.ShortChannelID
|
|
OpeningFeeParams shared.OpeningFeeParams
|
|
PaymentSizeMsat *uint64
|
|
Mode OpeningMode
|
|
}
|
|
|
|
var ErrScidExists = errors.New("scid exists")
|
|
|
|
type Lsps2Store interface {
|
|
RegisterBuy(ctx context.Context, req *RegisterBuy) error
|
|
}
|