discovery+server: make RebroadcastInterval part of config

This commit is contained in:
Johan T. Halseth committed 2019-09-16 10:23:00 +02:00
1 parent 3d8f194670
commit 74c9551564
2 files changed
+12 -6

No files matched your search

+1
View File
@@ -720,6 +720,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
ProofMatureDelta: 0,
TrickleDelay: time.Millisecond * time.Duration(cfg.TrickleDelay),
RetransmitDelay: time.Minute * 30,
RebroadcastInterval: time.Hour * 24,
WaitingProofStore: waitingProofStore,
MessageStore: gossipMessageStore,
AnnSigner: s.nodeSigner,