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

Network: Class-based Peer Selector #5937

Merged
merged 15 commits into from
Feb 21, 2024

Commits on Feb 8, 2024

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

Commits on Feb 12, 2024

  1. Implement sorting for class-based peer selector based on combo of tol…

    …erance factor violations, priority and lastCheckedTime.
    gmalouf committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    8115982 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

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

Commits on Feb 14, 2024

  1. Naming revamp.

    gmalouf committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d99f0db View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    ccdb22d View commit details
    Browse the repository at this point in the history
  2. Simplify logic: remove concept of explicit sorting, opting instead to…

    … check violations of tolerance factor during iteration of peer selectors in getNextPeer().
    gmalouf committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7e6ed4f View commit details
    Browse the repository at this point in the history
  3. Update catchpointService to use the same classBasedPeerSelector for a…

    …ll of it's download functionality (implying that failures around catchpoint downloads for a peer from a class put that class at risk of being disabled temporarily).
    gmalouf committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9d4fa54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c96b2e1 View commit details
    Browse the repository at this point in the history
  5. Tweak err naming in .

    gmalouf committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7de8a2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db0b17b View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Introduce integration test for classBasedPeerSelector that uses exerc…

    …ises using actual peer selectors and expected ranking behavior.
    gmalouf committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    73249b2 View commit details
    Browse the repository at this point in the history
  2. Simplify makePeerSelector down to a single priority ordering of nodes…

    … connected out, relays, archival nodes.
    gmalouf committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    c30c203 View commit details
    Browse the repository at this point in the history
  3. Adjustments from CR.

    gmalouf committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    6278b85 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Remove priority field from classBasedPeerSelector (priority determine…

    …d by order of wrappedPeerSelectors at construction.
    gmalouf committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    9a2390c View commit details
    Browse the repository at this point in the history
  2. Replace resetting of download failures based on time with logic that …

    …resets when all selectors have been disabled.
    gmalouf committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    c73fa06 View commit details
    Browse the repository at this point in the history