Page MenuHomePhabricator

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

Authored by Fabien on Thu, Jul 21, 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Thu, Jul 21, 13:01
Unknown Object (User) added a subscriber: Unknown Object (User).Thu, Jul 21, 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.Thu, Jul 21, 18:02