routing+discovery: implement 2-week network view pruning

This commit is contained in:
Brandon authored and Olaoluwa Osuntokun committed 2017-10-04 20:40:21 -07:00
1 parent 32508344db
commit 3907ae65c2
3 files changed
+112 -87

No files matched your search

+1
View File
@@ -279,6 +279,7 @@ func newServer(listenAddrs []string, chanDB *channeldb.DB, cc *chainControl,
SendToPeer: s.SendToPeer,
ProofMatureDelta: 0,
TrickleDelay: time.Millisecond * 300,
RetransmitDelay: time.Minute * 30,
DB: chanDB,
AnnSigner: s.nodeSigner,
},