plugeth/p2p/discover
Felix Lange dd54fef898 p2p/discover: don't attempt to replace nodes that are being replaced
PR #1621 changed Table locking so the mutex is not held while a
contested node is being pinged. If multiple nodes ping the local node
during this time window, multiple ping packets will be sent to the
contested node. The changes in this commit prevent multiple packets by
tracking whether the node is being replaced.
2015-08-19 14:57:16 +02:00
..
database_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
database.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
node_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
node.go p2p/discover: don't attempt to replace nodes that are being replaced 2015-08-19 14:57:16 +02:00
table_test.go p2p/discover: unlock the table during ping replacement 2015-08-11 11:42:17 +02:00
table.go p2p/discover: don't attempt to replace nodes that are being replaced 2015-08-19 14:57:16 +02:00
udp_test.go p2p/discover: fix UDP reply packet timeout handling 2015-08-11 11:42:17 +02:00
udp.go p2p/discover: continue reading after temporary errors 2015-08-19 14:38:55 +02:00