plugeth/cmd
Felix Lange 9123eceb0f p2p, p2p/discover: misc connectivity improvements (#16069)
* p2p: add DialRatio for configuration of inbound vs. dialed connections

* p2p: add connection flags to PeerInfo

* p2p/netutil: add SameNet, DistinctNetSet

* p2p/discover: improve revalidation and seeding

This changes node revalidation to be periodic instead of on-demand. This
should prevent issues where dead nodes get stuck in closer buckets
because no other node will ever come along to replace them.

Every 5 seconds (on average), the last node in a random bucket is
checked and moved to the front of the bucket if it is still responding.
If revalidation fails, the last node is replaced by an entry of the
'replacement list' containing recently-seen nodes.

Most close buckets are removed because it's very unlikely we'll ever
encounter a node that would fall into any of those buckets.

Table seeding is also improved: we now require a few minutes of table
membership before considering a node as a potential seed node. This
should make it less likely to store short-lived nodes as potential
seeds.

* p2p/discover: fix nits in UDP transport

We would skip sending neighbors replies if there were fewer than
maxNeighbors results and CheckRelayIP returned an error for the last
one. While here, also resolve a TODO about pong reply tokens.
2018-02-12 14:36:09 +02:00
..
abigen cmd/abigen: parse contract name as abi identifier 2017-02-06 18:16:56 +01:00
bootnode p2p, p2p/discover: misc connectivity improvements (#16069) 2018-02-12 14:36:09 +02:00
ethkey cmd/ethkey: fix formatting, review nits (#15807) 2018-01-16 15:42:41 +01:00
evm core, trie: intermediate mempool between trie and database (#15857) 2018-02-05 17:40:32 +01:00
faucet p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 2018-01-22 13:38:34 +01:00
geth core, trie: intermediate mempool between trie and database (#15857) 2018-02-05 17:40:32 +01:00
internal/browser cmd/geth: added 'geth bug' command (#3684) 2017-02-20 15:26:21 +02:00
p2psim p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
puppeth all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00
rlpdump cmd/rlpdump: allow hex input to have leading '0x' 2017-10-27 09:40:52 +01:00
swarm various: remove redundant parentheses (#15793) 2018-01-03 14:14:47 +02:00
utils core, trie: intermediate mempool between trie and database (#15857) 2018-02-05 17:40:32 +01:00
wnode whisper: get wnode to work with v6 (#16051) 2018-02-10 15:35:32 +02:00