Page MenuHomePhabricator

[avalanche] Add a flag to indicate if the node started voting in getavalanchinfo
ClosedPublic

Authored by Fabien on Mar 30 2022, 16:23.

Details

Reviewers
tyler-smith
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABCa17689d0666d: [avalanche] Add a flag to indicate if the node started voting in getavalanchinfo
Summary

This makes it easier to figure out if the node is active on the network than computing from the staked amount and parameters.

Ref T1864.

Test Plan
./test/functional/test_runner.py abc_rpc_getavalancheinfo

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Mar 30 2022, 16:23
tyler-smith added a subscriber: tyler-smith.

Great idea so the quorum detection logic can stay encapsulated in the server.

This revision is now accepted and ready to land.Mar 30 2022, 22:24