lncfg: expose channel update rate limiting options

This commit is contained in:
Wilmer Paulino committed 2021-03-16 11:42:29 -07:00
1 parent b4aa661d16
commit dcac5a87f4
4 files changed
+17 -1

No files matched your search

+4 -1
View File
@@ -488,7 +488,10 @@ func DefaultConfig() Config {
Backoff: defaultTLSBackoff,
},
},
Gossip: &lncfg.Gossip{},
Gossip: &lncfg.Gossip{
MaxChannelUpdateBurst: discovery.DefaultMaxChannelUpdateBurst,
ChannelUpdateInterval: discovery.DefaultChannelUpdateInterval,
},
MaxOutgoingCltvExpiry: htlcswitch.DefaultMaxOutgoingCltvExpiry,
MaxChannelFeeAllocation: htlcswitch.DefaultMaxLinkFeeAllocation,
MaxCommitFeeRateAnchors: lnwallet.DefaultAnchorsCommitMaxFeeRateSatPerVByte,