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
- Branch
- ava-tip-scope
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 22044 Build 43723: Build Diff build-debug · build-diff · build-clang-tidy · build-without-wallet · build-clang Build 43722: arc lint + arc unit
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 |