mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-30 02:21:08 +02:00
multi: make ProofMatureDelta
configurable
We add a new config option to set the `ProofMatureDelta` so the users can tune their graphs based on their own preference over the num of confs found in the announcement signatures.
This commit is contained in:
@ -1118,7 +1118,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
|
||||
return s.genNodeAnnouncement(nil)
|
||||
},
|
||||
ProofMatureDelta: 0,
|
||||
ProofMatureDelta: cfg.Gossip.AnnouncementConf,
|
||||
TrickleDelay: time.Millisecond * time.Duration(cfg.TrickleDelay),
|
||||
RetransmitTicker: ticker.New(time.Minute * 30),
|
||||
RebroadcastInterval: time.Hour * 24,
|
||||
|
Reference in New Issue
Block a user