HomePhabricator

[avalanche] Add the dangling proofs count to the getavalancheinfo RPC

Description

[avalanche] Add the dangling proofs count to the getavalancheinfo RPC

Summary: Returns the count of dangling proofs (i.e. proofs with no node connected) as well as their associated stake amount.

Test Plan:

./test/functional/test_runner.py abc_rpc_getavalancheinfo.py

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

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

Details

Provenance
FabienAuthored on Jul 21 2022, 13:01
FabienPushed on Jul 21 2022, 19:41
Reviewer
Restricted Project
Differential Revision
D11782: [avalanche] Add the dangling proofs count to the getavalancheinfo RPC
Parents
rABC0752566336a2: validation: Guard all chainstates with cs_main
Branches
Unknown
Tags
Unknown