Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add block sync to getblockfrompeer.py
This fixes an intermittent error, caused by blocks arriving out of order due to how compact block relay may revert to headers processing when the tip hasn't caught up, and resulting in slightly different pruning behavior. Making sure that all blocks from the previous tests are synced before generating more blocks makes this impossible. See Issue bitcoin#27749 for more details.
- Loading branch information