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

feat: use the lowest latency peer for light protocols #1520

Closed
wants to merge 95 commits into from

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    29cb6a8 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    3646fdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d48380 View commit details
    Browse the repository at this point in the history
  3. update package

    danisharora099 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    573fb8d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4894091 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. Configuration menu
    Copy the full SHA
    a5c1372 View commit details
    Browse the repository at this point in the history
  2. update package-lock

    danisharora099 committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    6c1ec84 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    a0f0668 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f376334 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7f383b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6807888 View commit details
    Browse the repository at this point in the history
  5. fix: ts warnings

    danisharora099 committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    f956f7f View commit details
    Browse the repository at this point in the history
  6. lightpush: tests pass

    danisharora099 committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b43fe35 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d712e8a View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    8bf969a View commit details
    Browse the repository at this point in the history
  2. refactor: getPeers()

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3204267 View commit details
    Browse the repository at this point in the history
  3. rm: log as an arg

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    645d7c1 View commit details
    Browse the repository at this point in the history
  4. add tsdoc for getPeers

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9d70d55 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12cec4a View commit details
    Browse the repository at this point in the history
  6. add import

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    773d1ef View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f345496 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f2c2fd0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    efef7a2 View commit details
    Browse the repository at this point in the history
  10. fix eslint error

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6a17cc3 View commit details
    Browse the repository at this point in the history
  11. add try catch

    danisharora099 committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    befbd37 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    aa87190 View commit details
    Browse the repository at this point in the history
  2. revert unecessary diff

    danisharora099 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    83d5103 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63796db View commit details
    Browse the repository at this point in the history
  4. revert unecessary diff

    danisharora099 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    9583bda View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6082ffb View commit details
    Browse the repository at this point in the history
  6. fix imports

    danisharora099 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    c63d146 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    6fdcf61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    916af18 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    5dff864 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f75b2d9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d14956 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c93c12 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    016965b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    04b9bb5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f81ae1 View commit details
    Browse the repository at this point in the history
  8. use getPeers

    danisharora099 committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    dce7b3b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a376bdd View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Configuration menu
    Copy the full SHA
    ec8a1a1 View commit details
    Browse the repository at this point in the history
  2. address comments

    danisharora099 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    ec3bcc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c697c15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b0e1fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7fca3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60c6e05 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    57fbfd2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a50420 View commit details
    Browse the repository at this point in the history
  3. introduce tests for selectPeerForProtocol

    - lowest latency peer is returned
    danisharora099 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    40e0b94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97dff59 View commit details
    Browse the repository at this point in the history
  5. update package-lock

    danisharora099 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    acf078d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e98e3c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    191355b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6820ebe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e968d4d View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2023

  1. skip getPeers test

    danisharora099 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    401265b View commit details
    Browse the repository at this point in the history
  2. rm: only from test

    danisharora099 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    1b91278 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c421732 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a8d3a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    75ee463 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    56d8b84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcb4fbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cd8fa0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad518af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d29ecab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9097564 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6847766 View commit details
    Browse the repository at this point in the history
  8. address comments

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f24e8c0 View commit details
    Browse the repository at this point in the history
  9. update test title

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    7354b09 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c1d2e1a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    919f10b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e5f1331 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6a1a4ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a6cad7a View commit details
    Browse the repository at this point in the history
  15. address comments

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    0f629cb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9302a86 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    50df227 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    053c9da View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5aa4fcb View commit details
    Browse the repository at this point in the history
  20. address comments

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    afbcaae View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    78114c7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ee659cd View commit details
    Browse the repository at this point in the history
  23. minor improvements

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    1002963 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2dabefc View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d28647a View commit details
    Browse the repository at this point in the history
  26. rm unneeded comment

    danisharora099 committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d44670d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    2e907ea View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    9439bb3 View commit details
    Browse the repository at this point in the history
  2. address comments

    danisharora099 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    1e2a9d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e49625 View commit details
    Browse the repository at this point in the history
  4. fix: imports

    danisharora099 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    c90f88b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    518f9c6 View commit details
    Browse the repository at this point in the history
  6. merge

    danisharora099 committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    7840a78 View commit details
    Browse the repository at this point in the history