plugeth/p2p
Felix Lange 6fb810adaa p2p: throttle all discovery lookups
Lookup calls would spin out of control when network connectivity was
lost. The throttling that was in place only took effect when the table
returned zero results, which doesn't happen very often.

The new throttling should not have a negative impact when the host is
online. Lookups against the network take some time and dials for all
results must complete or hit the cache before a new one is started. This
usually takes longer than four seconds, leaving online lookups
unaffected.

Fixes #1296
2015-06-22 01:07:58 +02:00
..
discover p2p/discover: use separate rand.Source instances in tests 2015-06-10 15:18:01 +02:00
nat p2p/nat: add timeout for UPnP SOAP requests 2015-06-04 22:25:43 +02:00
dial_test.go p2p: new dialer, peer management without locks 2015-05-25 01:17:14 +02:00
dial.go p2p: throttle all discovery lookups 2015-06-22 01:07:58 +02:00
message_test.go p2p: use package rlp to encode messages 2015-03-19 15:11:02 +01:00
message.go p2p: added received at to peer message 2015-04-29 22:49:58 +02:00
peer_error.go p2p: new dialer, peer management without locks 2015-05-25 01:17:14 +02:00
peer_test.go p2p: improve disconnect logging 2015-06-15 15:03:46 +02:00
peer.go p2p: improve disconnect logging 2015-06-15 15:03:46 +02:00
protocol.go p2p: print Cap as name/version 2015-02-13 23:54:34 +01:00
rlpx_test.go p2p: new dialer, peer management without locks 2015-05-25 01:17:14 +02:00
rlpx.go p2p: fix close data race 2015-06-09 16:12:24 +03:00
server_test.go p2p: fix a close race in the dial test 2015-06-09 22:26:26 +03:00
server.go p2p: throttle all discovery lookups 2015-06-22 01:07:58 +02:00