p2p: cleanup transport interface (#7071)

This is another batch of things to cleanup in the legacy P2P system.
This commit is contained in:
Sam Kleinman
2021-10-06 19:17:44 +00:00
committed by GitHub
parent e53f92ba9c
commit 5bf30bb049
25 changed files with 52 additions and 699 deletions
-1
View File
@@ -237,7 +237,6 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
cfg.RPC.ListenAddress = "tcp://0.0.0.0:26657"
cfg.RPC.PprofListenAddress = ":6060"
cfg.P2P.ExternalAddress = fmt.Sprintf("tcp://%v", node.AddressP2P(false))
cfg.P2P.AddrBookStrict = false
cfg.P2P.QueueType = node.QueueType
cfg.DBBackend = node.Database
cfg.StateSync.DiscoveryTime = 5 * time.Second