Page MenuHomePhabricator

[avalanche] Add stake contender to AnyVoteItem
ClosedPublic

Authored by roqqit on Thu, Jan 30, 16:59.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC95622f64aac3: [avalanche] Add stake contender to AnyVoteItem
Summary

This adds support in the Processor for stake contenders so we can enable polling and voting.

Test Plan
ninja check-avalanche

Event Timeline

roqqit requested review of this revision.Thu, Jan 30, 16:59
Fabien requested changes to this revision.Thu, Jan 30, 18:59
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/avalanche/processor.cpp
1440 ↗(On Diff #52452)

That doesn't feel correct to me, you should return == 0. This will be the status of your vote as well

This revision now requires changes to proceed.Thu, Jan 30, 18:59

Make local acceptance match what this node would eventually vote

This revision is now accepted and ready to land.Mon, Feb 10, 11:06