Fixes for #8842. There are three commits:
- Commit
[qa] Fix bug in compactblocks v2 merge
fixes a p2p-compactblocks.py timeout related to, but not exactly the same as the timeout reported in #8842. - Commit
[qa] Fix stale data bug in test_compactblocks_not_at_tip
adds a missing variable initialization that isn’t currently a problem, but would lead to test failures after the next commit. - Commit
Modify getblocktxn handler not to drop requests for old blocks
is the actual fix for the timeout reported in #8842.