Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

client/authority-discovery: Introduce AuthorityDiscoveryService #6760

Merged
16 commits merged into from
Aug 12, 2020

Commits on Jul 29, 2020

  1. Configuration menu
    Copy the full SHA
    fb66628 View commit details
    Browse the repository at this point in the history
  2. client/authority-discovery: Introduce AuthorityDiscoveryService

    Add a basic `AuthorityDiscoveryService` implementation which enables
    callers to get the addresses for a given `AuthorityId` from the local
    cache.
    mxinden committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    247098b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. client/authority-discovery: Split into worker and service mod

    Move `Service` and `Worker` to their own Rust modules resulting in the
    following file structure.
    
    ├── build.rs
    ├── Cargo.toml
    └── src
        ├── error.rs
        ├── lib.rs
        ├── service.rs
        ├── tests.rs
        ├── worker
        │   ├── addr_cache.rs
        │   ├── schema
        │   │   └── dht.proto
        │   └── tests.rs
        └── worker.rs
    mxinden committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    e9a12e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. Configuration menu
    Copy the full SHA
    e224581 View commit details
    Browse the repository at this point in the history
  2. client/authority-discovery: Update priority group on interval

    Instead of updating the authority discovery peerset priority group each
    time a new DHT value is found, update it regularly on an interval.
    
    This removes the need for deterministic random selection. Instead of
    trying to return a random stable set of `Multiaddr`s, the `AddrCache`
    now returns a random set on each call.
    mxinden committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    ad1a711 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4449a75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2da0497 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1142017 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f9e7ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9ceb7c8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    28da675 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    643f9fc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    48ed11e View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2020

  1. Configuration menu
    Copy the full SHA
    30613ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05664d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

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