Seenttl by spec (#2083)

* add rpc call to get chronos futures at runtime

* add seenTTL gossip parameter

Co-authored-by: Jacek Sieka <jacek@status.im>
This commit is contained in:
Giovanni Petrantoni 2020-11-26 21:08:22 +09:00 committed by GitHub
parent 687cbaf94c
commit 9b9aa93cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1405,6 +1405,7 @@ proc createEth2Node*(rng: ref BrHmacDrbgContext,
p.fanoutTTL = 60.seconds
p.historyLength = 6
p.historyGossip = 3
p.seenTTL = 385.seconds
p.validateParameters().tryGet()
p
pubsub = GossipSub.init(

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit 1d16d22f5f071a1046800c87ee0978384b9b368c
Subproject commit 809df8d04d660d50a7134c7e3911a5a63e1a58dd