Page MenuHomePhabricator

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

Authored by Fabien on Jul 21 2022, 13:01.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_dangling_peers_getavalancheinfo
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19687
Build 39093: Build Diffbuild-debug · build-without-wallet · build-diff · lint-circular-dependencies · build-clang · build-clang-tidy
Build 39092: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Jul 21 2022, 13:01
Unknown Object (User) added a subscriber: Unknown Object (User).Jul 21 2022, 13:11
This comment was removed by Fabien.
sdulfari added a subscriber: sdulfari.

I'm not sure the dangling proof count is helpful, but reducing mental math for the dangling stake could be.

This revision is now accepted and ready to land.Jul 21 2022, 18:02