multi: add new config options to tune gossip msg allocated bandwidth

We go with the defaults of if no values are set.
This commit is contained in:
Olaoluwa Osuntokun
2025-03-20 14:54:26 -07:00
parent 05702d48b2
commit c7ed5d65c6
5 changed files with 45 additions and 10 deletions

View File

@@ -707,6 +707,8 @@ func DefaultConfig() Config {
ChannelUpdateInterval: discovery.DefaultChannelUpdateInterval,
SubBatchDelay: discovery.DefaultSubBatchDelay,
AnnouncementConf: discovery.DefaultProofMatureDelta,
MsgRateBytes: discovery.DefaultMsgBytesPerSecond,
MsgBurstBytes: discovery.DefaultMsgBytesBurst,
},
Invoices: &lncfg.Invoices{
HoldExpiryDelta: lncfg.DefaultHoldInvoiceExpiryDelta,