// defaultThresholdConfs is the number of confirmations we scale loop
// out on chain transactions to require if our swap is greater than or
// equal to our confirmation threshold.
defaultThresholdConfs=uint32(3)
// defaultConfThreshold is the default threshold at which we require
// more confirmations for on chain loop out transactions.
defaultConfThresholdint64=4294967
)
typelndConfigstruct{
@ -49,7 +58,9 @@ type Config struct {
LoopOutMaxPartsuint32`long:"loopoutmaxparts" description:"The maximum number of payment parts that may be used for a loop out swap."`
HtlcConfirmationsuint32`long:"htlcconfs" description:"Confirmation target for on chain htlcs (blocks)."`
HtlcConfirmationsuint32`long:"htlcconfs" description:"Confirmation target for on chain htlcs (blocks)."`
LoopOutConfThresholdint64`long:"outconfthreshold" description:"The swap amount at which we scale confirmations to outthresholdconfs (sats)."`
LoopOutThresholdConfsuint32`long:"outthresholdconfs" description:"Confirmations required for loop out swaps with outconfthreshold amount or higher (blocks)."`
Lnd*lndConfig`group:"lnd" namespace:"lnd"`
Proxystring`long:"proxy" description:"The host:port of a SOCKS proxy through which all connections to the swap server will be established over."`
@ -65,18 +76,20 @@ const (
// DefaultConfig returns all default values for the Config struct.