HomePhabricator

[avalanche] Add a getavalancheinfo RPC for general status info

Description

[avalanche] Add a getavalancheinfo RPC for general status info

Summary:
This returns some general informations about how many proofs we know, the total staked amount and how many avalanche nodes we are connected to. This can be used to monitor the avalanche network.

The avalanche query timeout is made configurable to let the test run in a reasonable amount of time (the default timeout is 10s).

Depends on D11131 and D11132.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Mengerian, tyler-smith

Reviewed By: #bitcoin_abc, Mengerian, tyler-smith

Subscribers: tyler-smith, Mengerian

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

Details

Provenance
FabienAuthored on Mar 4 2022, 16:28
FabienPushed on Mar 12 2022, 07:23
Reviewer
Restricted Project
Differential Revision
D11133: [avalanche] Add a getavalancheinfo RPC for general status info
Parents
rABCdd90161adea4: Update the suggested key type in the contributing file
Branches
Unknown
Tags
Unknown