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 22042 Build 43719: Build Diff build-debug · build-without-wallet · build-diff · build-clang · build-clang-tidy Build 43718: arc lint + arc unit
Event Timeline
test/functional/abc_p2p_avalanche_voting.py | ||
---|---|---|
213 | That is super confusing ! Please don't return the function but simply use a lambda here: | |
227 | Nit: using getchaintips to actually check the block is parked would be more accurate | |
232 | Same, please use a lambda; this is super confusing | |
252 | dito | |
262 | dito |