erigon-pulse/p2p
Dmitry Shulyak 14c76371ba p2p: when peer is removed remove it also from dial history (#16060)
This change removes a peer information from dialing history
when peer is removed from static list. It allows to force a
server to re-dial concrete peer if it is needed.

In our case we are running geth node on mobile devices, and
it is common for a network connection to flap on mobile.
Almost every time it flaps or network connection is changed
from cellular to wifi peers are disconnected with read
timeout. And usually it takes 30 seconds (default expiration
timeout) to recover connection with static peers after
connectivity is restored.

This change allows us to reconnect with peers almost
immediately and it seems harmless enough.
2018-02-21 15:03:26 +01:00
..
discover p2p/discover: s/lastPong/bondTime/, update TestUDP_findnode 2018-02-16 21:29:20 +01:00
discv5 p2p/discv5: fix multiple discovery issues (#16036) 2018-02-08 19:06:31 +02:00
enr p2p/enr: initial implementation (#15585) 2017-12-29 21:18:51 +01:00
nat p2p/nat: delete port mapping before adding (#15222) 2017-10-06 13:39:47 +02:00
netutil p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
simulations all: update license information (#16089) 2018-02-14 13:49:11 +01:00
dial_test.go p2p: when peer is removed remove it also from dial history (#16060) 2018-02-21 15:03:26 +01:00
dial.go p2p: when peer is removed remove it also from dial history (#16060) 2018-02-21 15:03:26 +01:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
message.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
metrics.go eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
peer_error.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer_test.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer.go p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
protocol.go eth, p2p, rpc/api: polish protocol info gathering 2015-10-28 12:44:15 +02:00
rlpx_test.go all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
rlpx.go p2p: snappy encoding for devp2p (version bump to 5) (#15106) 2017-09-26 16:54:49 +03:00
server_test.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00
server.go rpc: dns rebind protection (#15962) 2018-02-12 14:52:07 +02:00