Revert "Gossip11 post audit (#1917)" (#1947)

This reverts commit 63173ab2c1767549cef3d0774375190a4a455478.

It appears the cluster is having trouble staying connected - since the culprit is unknown, this is a first step on the way to what was stable.

Notably, this does not fully revert libp2p itself, merely the gossip version.
This commit is contained in:
Jacek Sieka 2020-11-03 11:45:40 +01:00 committed by GitHub
parent 9255945fb0
commit 937decb0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -26,8 +26,10 @@ import
peer_pool, spec/[datatypes, digest, helpers, network], ./time,
keystore_management
# gossipsub 1.1
import libp2p/protocols/pubsub/gossipsub
when defined(nbc_gossipsub_11):
import libp2p/protocols/pubsub/gossipsub
else:
import libp2p/protocols/pubsub/gossipsub10
when chronicles.enabledLogLevel == LogLevel.TRACE:
import std/sequtils

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit 03639f144683bc5ab54732641366ae3692b0ce76
Subproject commit 7b5259dbc713851f5fd14d2024fedf2cee4f95c7