good morning!!!!

Skip to content
Snippets Groups Projects
  1. Sep 04, 2017
    • Martin Holst Swende's avatar
      p2p: change ping ticker to timer (#15071) · dc92779c
      Martin Holst Swende authored
      Using a Timer over Ticker seems to be a lot better, though I cannot fully
      account for why that it behaves so (since Ticker should be more bursty, but not
      necessarily more active over time, but that may depend on how long window it
      uses to decide on when to tick next)
      dc92779c
  2. Feb 28, 2017
  3. Feb 23, 2017
  4. Feb 19, 2016
  5. Oct 28, 2015
  6. Jul 23, 2015
  7. Jul 22, 2015
  8. Jul 07, 2015
  9. Jun 26, 2015
  10. Jun 15, 2015
  11. 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
    • Felix Lange's avatar
      p2p: decrease maximum message size for devp2p to 1kB · 64564da2
      Felix Lange authored
      The previous limit was 10MB which is unacceptable for all kinds
      of reasons, the most important one being that we don't want to
      allow the remote side to make us allocate 10MB at handshake time.
      64564da2
    • Felix Lange's avatar
      p2p: delete Server.Broadcast · dbdc5fd4
      Felix Lange authored
      dbdc5fd4
  12. May 14, 2015
  13. May 08, 2015
  14. May 06, 2015
  15. Apr 30, 2015
  16. Apr 29, 2015
  17. Apr 13, 2015
    • Felix Lange's avatar
      p2p: fix yet another disconnect hang · 995fab2e
      Felix Lange authored
      Peer.readLoop will only terminate if the connection is closed. Fix the
      hang by closing the connection before waiting for readLoop to terminate.
      
      This also removes the british disconnect procedure where we're waiting
      for the remote end to close the connection. I have confirmed with
      @subtly that cpp-ethereum doesn't adhere to it either.
      995fab2e
  18. Apr 10, 2015
  19. Mar 19, 2015
    • Felix Lange's avatar
      p2p: log disconnect requests · a7bced77
      Felix Lange authored
      This helps a lot with debugging.
      a7bced77
    • Felix Lange's avatar
      p2p: use package rlp to encode messages · 5ba51594
      Felix Lange authored
      Message encoding functions have been renamed to catch any uses.
      The switch to the new encoder can cause subtle incompatibilities.
      If there are any users outside of our tree, they will at least be
      alerted that there was a change.
      
      NewMsg no longer exists. The replacements for EncodeMsg are called
      Send and SendItems.
      5ba51594
  20. Mar 04, 2015
  21. Feb 19, 2015
    • Felix Lange's avatar
      p2p: enable devp2p ping · 3dbd3209
      Felix Lange authored
      This should prevent connection drops.
      3dbd3209
    • Felix Lange's avatar
      p2p: disable encryption handshake · 73f94f37
      Felix Lange authored
      The diff is a bit bigger than expected because the protocol handshake
      logic has moved out of Peer. This is necessary because the protocol
      handshake will have custom framing in the final protocol.
      73f94f37
  22. Feb 13, 2015
  23. Feb 06, 2015
  24. Feb 05, 2015
Loading