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.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC5fd1489177ac: [avalanche] Reduce scope of block tips being checked in avalanche voting test
ninja && ./test/functional/test_runner.py abc_p2p_avalanche_voting
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| test/functional/abc_p2p_avalanche_voting.py | ||
|---|---|---|
| 213 ↗ | (On Diff #37968) | That is super confusing ! Please don't return the function but simply use a lambda here: |
| 227 ↗ | (On Diff #37968) | Nit: using getchaintips to actually check the block is parked would be more accurate |
| 232 ↗ | (On Diff #37968) | Same, please use a lambda; this is super confusing |
| 252 ↗ | (On Diff #37968) | dito |
| 262 ↗ | (On Diff #37968) | dito |