multi: add new config ban-threshold

This commit is contained in:
yyforyongyu committed 2025-08-04 15:45:47 +08:00
1 parent 3109a8f3fe
commit a6f8617e7c
5 files changed
+25 -1

No files matched your search

+1
View File
@@ -720,6 +720,7 @@ func DefaultConfig() Config {
MsgRateBytes: discovery.DefaultMsgBytesPerSecond,
MsgBurstBytes: discovery.DefaultMsgBytesBurst,
FilterConcurrency: discovery.DefaultFilterConcurrency,
BanThreshold: discovery.DefaultBanThreshold,
},
Invoices: &lncfg.Invoices{
HoldExpiryDelta: lncfg.DefaultHoldInvoiceExpiryDelta,