HomePhabricator

[avalanche] Leverage AnyVoteItem to have a single VoteItemUpdate object

Description

[avalanche] Leverage AnyVoteItem to have a single VoteItemUpdate object

Summary:
Remove the type specific vote update, so a single VoteItemUpdate can be used and remove some boilerplate.

There is no change in behavior.

Depends on D12995, D12996, D12997.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

Subscribers: sdulfari

Differential Revision: https://reviews.bitcoinabc.org/D12998

Details

Provenance
FabienAuthored on Jan 18 2023, 14:44
FabienPushed on Jan 20 2023, 20:06
Reviewer
Restricted Project
Differential Revision
D12998: [avalanche] Leverage AnyVoteItem to have a single VoteItemUpdate object
Parents
rABCed473c9a8dd1: style: Modernize range-based loops over m_block_index
Branches
Unknown
Tags
Unknown