HomePhabricator

[avalanche] Move block-vote decision into getAvalancheVoteForBlock.

Description

[avalanche] Move block-vote decision into getAvalancheVoteForBlock.

Summary:
Abstract block-vote logic into its own function to prepare for adding other types of vote
logic.

Depends on D10685.

Test Plan: python test/functional/abc_p2p_avalanche_voting.py

Reviewers: #bitcoin_abc, deadalnix, Fabien

Reviewed By: #bitcoin_abc, deadalnix, Fabien

Subscribers: Fabien, deadalnix

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

Details

Provenance
tyler-smithAuthored on Dec 15 2021, 15:54
tyler-smithPushed on Jan 10 2022, 06:36
Reviewer
Restricted Project
Differential Revision
D10686: [avalanche] Move block-vote decision into getAvalancheVoteForBlock.
Parents
rABCe0f1fe857e1f: [Cashtab] Move formatting functions and tests to their own util files
Branches
Unknown
Tags
Unknown