Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p2p: move rlpx into separate package #21464

Merged
merged 29 commits into from
Sep 22, 2020
Merged

Commits on Sep 14, 2020

  1. functional

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    8391793 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd6c08d View commit details
    Browse the repository at this point in the history
  3. rlpx test, still have broken tests

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    e0f9ca2 View commit details
    Browse the repository at this point in the history
  4. some changes w/ felix

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    962f3c9 View commit details
    Browse the repository at this point in the history
  5. rlpx tests fixed, should work

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    168fe15 View commit details
    Browse the repository at this point in the history
  6. remove TODO

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    43e582b View commit details
    Browse the repository at this point in the history
  7. change license year

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    d3da471 View commit details
    Browse the repository at this point in the history
  8. add licesne to rlpx, remove txt file

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    05d66cc View commit details
    Browse the repository at this point in the history
  9. linted

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    b7dfd7e View commit details
    Browse the repository at this point in the history
  10. remove one TODO

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    1ed018e View commit details
    Browse the repository at this point in the history
  11. tidied up tests in rlpx

    renaynay authored and fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    09445b5 View commit details
    Browse the repository at this point in the history
  12. p2p/rlpx: add documentation

    fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    c959dd5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a99dc52 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d088e57 View commit details
    Browse the repository at this point in the history
  15. p2p/rlpx: restore handshake tests and improve coverage

    This restores the EIP-8 test and the frame format test vector. In order
    to make the latter test work, the code had to be restructured a bit,
    permitting an optimization: message frames are no longer allocated twice
    when decompressing. In ReadMsg, the compressed frame content was
    previously put into a bytes.Reader, then slurped up into a fresh []byte
    when decompressing.
    fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    5b11f2e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e233c39 View commit details
    Browse the repository at this point in the history
  17. p2p/rlpx: fix ignored error for invalid snappy encoding

    Issue found by ineffassign
    fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    0b1ab3a View commit details
    Browse the repository at this point in the history
  18. p2p: fix outdated comment about net.Pipe

    net.Pipe supports deadlines since Go 1.10.
    fjl committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    65f1d36 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    26fae4b View commit details
    Browse the repository at this point in the history
  2. p2p: fixup deadline

    fjl committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    c3539d2 View commit details
    Browse the repository at this point in the history
  3. p2p/rlpx: remove ReadMsg

    It's useless now. Also return true size from Read to make metrics work.
    fjl committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    4caaa01 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    438094e View commit details
    Browse the repository at this point in the history
  5. p2p: add write buffer

    fjl committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    8ce4fdb View commit details
    Browse the repository at this point in the history
  6. p2p/rlpx: remove WriteMsg

    fjl committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    fd2fda5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f48867e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f4cb3d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Configuration menu
    Copy the full SHA
    5cd9ace View commit details
    Browse the repository at this point in the history
  2. p2p: remove dial destination identity check

    This check is useless: the RLPx handshake works by encrypting the
    initial packet to the destination key. The recipient cannot decrypt this
    packet unless they have the matching private key.
    
    For dialed connections, the RLPx implementation simply returns the
    provided dial destination key as the remote identity, and we really
    don't need to check it one more time after the handshake.
    fjl committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    898a06b View commit details
    Browse the repository at this point in the history
  3. p2p/rlpx: fix lint

    fjl committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    22ddc79 View commit details
    Browse the repository at this point in the history