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
Branch
avalanche_getavalancheinfo_quorum_established
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18681
Build 37153: Build Difflint-circular-dependencies · build-without-wallet · build-debug · build-diff · build-clang-tidy · build-clang
Build 37152: arc lint + arc unit

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