HomePhabricator

[avalanche] Add a peer availability score that aggregates node availability…

Description

[avalanche] Add a peer availability score that aggregates node availability scores

Summary: A peer availability score lets us know at a high level if a peer is serving avalanche traffic. At a minimum this is useful for debugging but new possibilities become available such as staking rewards based on a combination of proof score (stake amount) and peer availability (utility to the network). This patch implements calculating the score but does not use it yet. These scores will be available via RPC in a follow up patch.

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13073

Details

Provenance
sdulfariAuthored on Jan 18 2023, 19:08
sdulfariPushed on Mar 15 2023, 18:27
Reviewer
Restricted Project
Differential Revision
D13073: [avalanche] Add a peer availability score that aggregates node availability scores
Parents
rABC852917c1fba8: [Chronik] Pass `--locked` to cargo commands to lock dependencies
Branches
Unknown
Tags
Unknown