erigon-pulse/p2p
Felix Lange 64b1694578 p2p: ensure Server.loop is ticking even if discovery hangs (#20573)
This is a temporary fix for a problem which started happening when the
dialer was changed to read nodes from an enode.Iterator. Before the
iterator change, discovery queries would always return within a couple
seconds even if there was no Internet access. Since the iterator won't
return unless a node is actually found, discoverTask can take much
longer. This means that the 'emergency connect' logic might not execute
in time, leading to a stuck node.
2020-01-30 13:36:30 +02:00
..
discover apply post-rebase fixups 2019-12-03 16:27:57 +01:00
discv5 apply post-rebase fixups 2019-12-03 16:27:57 +01:00
dnsdisc p2p/dnsdisc: add enode.Iterator API (#20437) 2020-01-30 13:36:30 +02:00
enode p2p/enode: remove data race in sliceIter (#20421) 2019-12-09 12:56:07 +01:00
enr Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
nat build: use golangci-lint (#20295) 2019-12-03 13:38:59 +01:00
netutil p2p/netutil: fix staticcheck warning (#20315) 2019-12-03 13:41:34 +01:00
simulations p2p/simulations: fix staticcheck warnings (#20322) 2019-12-03 13:44:24 +01:00
testing Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
dial_test.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-12-03 13:08:33 +01:00
dial.go dashboard: send current block to the dashboard client (#19762) 2019-12-03 13:25:45 +01:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
message.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
metrics.go apply post-rebase fixups 2019-12-03 16:27:57 +01:00
peer_error.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
peer_test.go p2p: fix bug in TestPeerDisconnect (#20277) 2019-12-03 13:24:43 +01:00
peer.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
protocol.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-12-03 13:08:33 +01:00
rlpx_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rlpx.go p2p: remove unused code (#20325) 2019-12-03 13:44:16 +01:00
server_test.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-12-03 13:08:33 +01:00
server.go p2p: ensure Server.loop is ticking even if discovery hangs (#20573) 2020-01-30 13:36:30 +02:00
util_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
util.go p2p: remove unused code (#20325) 2019-12-03 13:44:16 +01:00