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

authority-discovery: Support multiple authority ids per peer id #10259

Merged
merged 13 commits into from
Nov 17, 2021

Commits on Nov 13, 2021

  1. authority-discovery: Support multiple authority ids per peer id

    An peer id can be mapped to multiple authority ids, because an authority id is a session key that
    could be changed every session. Before this pr the internal authority discovery cache assumed that
    each authority id can only be mapped to one peer id. However, this isn't true since we changed the
    default implementation of the authority discovery to combine the current and next session authorities.
    bkchr committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    edf2710 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into bkchr-authority-dis…

    …covery-multiple-peer-ids
    bkchr committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    3074710 View commit details
    Browse the repository at this point in the history
  3. Review feedback

    bkchr committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    45b388a View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/master' into bkchr-authority-dis…

    …covery-multiple-peer-ids
    bkchr committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    c4f78da View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. Update client/authority-discovery/src/worker/addr_cache.rs

    Co-authored-by: Andronik Ordian <write@reusable.software>
    bkchr and ordian authored Nov 14, 2021
    Configuration menu
    Copy the full SHA
    75c4b44 View commit details
    Browse the repository at this point in the history
  2. Early return on no peer ids

    bkchr committed Nov 14, 2021
    Configuration menu
    Copy the full SHA
    960e2ff View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. Update client/authority-discovery/src/worker/addr_cache.rs

    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    bkchr and tomaka authored Nov 15, 2021
    Configuration menu
    Copy the full SHA
    358bd85 View commit details
    Browse the repository at this point in the history
  2. Update types in comment

    bkchr committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    e4d76f7 View commit details
    Browse the repository at this point in the history
  3. FMT

    bkchr committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    1e87690 View commit details
    Browse the repository at this point in the history
  4. Add warning

    bkchr committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    24bb824 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. Update client/authority-discovery/src/worker/addr_cache.rs

    Co-authored-by: Andronik Ordian <write@reusable.software>
    bkchr and ordian authored Nov 16, 2021
    Configuration menu
    Copy the full SHA
    7feed91 View commit details
    Browse the repository at this point in the history
  2. Feedback

    bkchr committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    bd9423a View commit details
    Browse the repository at this point in the history
  3. Merge branch 'bkchr-authority-discovery-multiple-peer-ids' of github.…

    …com:paritytech/substrate into bkchr-authority-discovery-multiple-peer-ids
    bkchr committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    4779981 View commit details
    Browse the repository at this point in the history