good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jul 06, 2021
  2. May 08, 2018
  3. Feb 28, 2017
  4. Aug 12, 2015
  5. Jul 23, 2015
  6. Jul 22, 2015
  7. Jul 07, 2015
  8. May 24, 2015
    • Felix Lange's avatar
      p2p: new dialer, peer management without locks · 1440f9a3
      Felix Lange authored
      The most visible change is event-based dialing, which should be an
      improvement over the timer-based system that we have at the moment.
      The dialer gets a chance to compute new tasks whenever peers change or
      dials complete. This is better than checking peers on a timer because
      dials happen faster. The dialer can now make more precise decisions
      about whom to dial based on the peer set and we can test those
      decisions without actually opening any sockets.
      
      Peer management is easier to test because the tests can inject
      connections at checkpoints (after enc handshake, after protocol
      handshake).
      
      Most of the handshake stuff is now part of the RLPx code. It could be
      exported or move to its own package because it is no longer entangled
      with Server logic.
      1440f9a3
  9. Apr 17, 2015
  10. Apr 10, 2015
    • Felix Lange's avatar
      p2p: fix Peer shutdown deadlocks · f1d710af
      Felix Lange authored
      There were multiple synchronization issues in the disconnect handling,
      all caused by the odd special-casing of Peer.readLoop errors. Remove the
      special handling of read errors and make readLoop part of the Peer
      WaitGroup.
      
      Thanks to @Gustav-Simonsson for pointing at arrows in a diagram
      and playing rubber-duck.
      f1d710af
  11. Feb 06, 2015
  12. Feb 05, 2015
    • Felix Lange's avatar
      p2p: integrate p2p/discover · 5bdc1159
      Felix Lange authored
      Overview of changes:
      
      - ClientIdentity has been removed, use discover.NodeID
      - Server now requires a private key to be set (instead of public key)
      - Server performs the encryption handshake before launching Peer
      - Dial logic takes peers from discover table
      - Encryption handshake code has been cleaned up a bit
      - baseProtocol is gone because we don't exchange peers anymore
      - Some parts of baseProtocol have moved into Peer instead
      5bdc1159
  13. Dec 14, 2014
  14. Nov 21, 2014
  15. Oct 23, 2014
Loading