good morning!!!!

Skip to content
Snippets Groups Projects
  1. Sep 28, 2016
  2. Sep 16, 2016
    • Felix Lange's avatar
      p2p/nat: delay auto discovery until first use · f5c432bc
      Felix Lange authored
      Port mapper auto discovery used to run immediately after parsing the
      --nat flag, giving it a slight performance boost. But this is becoming
      inconvenient because we create node.Node for all geth operations
      including account management and bare chain interaction. Delay
      autodiscovery until the first use instead, which avoids any network
      interaction until the node is actually started.
      f5c432bc
  3. Jul 14, 2016
  4. Jul 12, 2016
  5. May 18, 2016
  6. May 02, 2016
  7. Apr 15, 2016
  8. Apr 03, 2016
  9. Mar 14, 2016
  10. Feb 24, 2016
  11. Feb 21, 2016
  12. Feb 19, 2016
  13. Jan 22, 2016
  14. Dec 17, 2015
  15. Dec 03, 2015
  16. Nov 30, 2015
  17. Nov 27, 2015
  18. Oct 29, 2015
  19. Oct 28, 2015
  20. Sep 30, 2015
    • Felix Lange's avatar
      p2p/discover: ignore packet version numbers · 32dda976
      Felix Lange authored
      The strict matching can get in the way of protocol upgrades.
      32dda976
    • Felix Lange's avatar
      631bf361
    • Felix Lange's avatar
      p2p/discover: fix race involving the seed node iterator · b4374436
      Felix Lange authored
      nodeDB.querySeeds was not safe for concurrent use but could be called
      concurrenty on multiple goroutines in the following case:
      
      - the table was empty
      - a timed refresh started
      - a lookup was started and initiated refresh
      
      These conditions are unlikely to coincide during normal use, but are
      much more likely to occur all at once when the user's machine just woke
      from sleep. The root cause of the issue is that querySeeds reused the
      same leveldb iterator until it was exhausted.
      
      This commit moves the refresh scheduling logic into its own goroutine
      (so only one refresh is ever active) and changes querySeeds to not use
      a persistent iterator. The seed node selection is now more random and
      ignores nodes that have not been contacted in the last 5 days.
      b4374436
  21. Aug 21, 2015
  22. Aug 19, 2015
  23. Aug 12, 2015
  24. Aug 11, 2015
    • Felix Lange's avatar
      p2p/discover: fix UDP reply packet timeout handling · 590c99a9
      Felix Lange authored
      If the timeout fired (even just nanoseconds) before the deadline of the
      next pending reply, the timer was not rescheduled. The timer would've
      been rescheduled anyway once the next packet was sent, but there were
      cases where no next packet could ever be sent due to the locking issue
      fixed in the previous commit.
      
      As timing-related bugs go, this issue had been present for a long time
      and I could never reproduce it. The test added in this commit did
      reproduce the issue on about one out of 15 runs.
      590c99a9
    • Felix Lange's avatar
      p2p/discover: unlock the table during ping replacement · 01ed3fa1
      Felix Lange authored
      Table.mutex was being held while waiting for a reply packet, which
      effectively made many parts of the whole stack block on that packet,
      including the net_peerCount RPC call.
      01ed3fa1
  25. Aug 06, 2015
  26. Aug 04, 2015
Loading