lncfg: add new dev config option for scaling channel close confs

This'll be useful for the set up upcoming itests.
This commit is contained in:
Olaoluwa Osuntokun committed 2026-01-15 16:22:26 -08:00
1 parent 931b54e848
commit 622fa4476f
2 files changed
+19

No files matched your search

+7
View File
@@ -5,6 +5,7 @@ package lncfg
import (
"time"
"github.com/lightningnetwork/lnd/fn/v2"
"github.com/lightningnetwork/lnd/lnwallet/chanfunding"
)
@@ -58,3 +59,9 @@ func (d *DevConfig) GetMaxWaitNumBlocksFundingConf() uint32 {
func (d *DevConfig) GetUnsafeConnect() bool {
return false
}
// ChannelCloseConfs returns the config value for channel close confirmations
// override, which is always None for production build.
func (d *DevConfig) ChannelCloseConfs() fn.Option[uint32] {
return fn.None[uint32]()
}