1. 12 Feb, 2018 4 commits
    • Felix Lange's avatar
      p2p, p2p/discover: misc connectivity improvements (#16069) · 9123eceb
      Felix Lange authored
      * 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.
      9123eceb
    • Péter Szilágyi's avatar
      Merge pull request #16068 from karalabe/import-known-rolledback-blocks · 1d39912a
      Péter Szilágyi authored
      core: force import known but rolled back blocks
      1d39912a
    • Péter Szilágyi's avatar
      69c1f2c2
    • ferhat elmas's avatar
      52ad848b
  2. 11 Feb, 2018 7 commits
  3. 10 Feb, 2018 3 commits
  4. 09 Feb, 2018 2 commits
  5. 08 Feb, 2018 4 commits
  6. 06 Feb, 2018 1 commit
  7. 05 Feb, 2018 6 commits
  8. 03 Feb, 2018 1 commit
  9. 02 Feb, 2018 3 commits
  10. 01 Feb, 2018 1 commit
  11. 31 Jan, 2018 1 commit
  12. 30 Jan, 2018 6 commits
  13. 29 Jan, 2018 1 commit