HomePhabricator

[avalanche] Reduce scope of block tips being checked in avalanche voting test

Description

[avalanche] Reduce scope of block tips being checked in avalanche voting test

Summary: This patch makes more explicit which tip is being tested for avalanche acceptance. Keeping track of the outer-scoped hash_tip variables leads to headaches when making changes to this file.

Test Plan:

ninja && ./test/functional/test_runner.py abc_p2p_avalanche_voting

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
sdulfariAuthored on Feb 21 2023, 19:52
sdulfariPushed on Feb 22 2023, 16:26
Reviewer
Restricted Project
Differential Revision
D13149: [avalanche] Reduce scope of block tips being checked in avalanche voting test
Parents
rABC12d203f21e55: [Refactor] Rename `nLockTimeCutoff` in `ContextualCheckTransaction` to…
Branches
Unknown
Tags
Unknown