Skip to content

Commit 5f4bcf2

Browse files
committed
[tests] Remove maxblocksinflight testcase
maxblocksinflight tested that a node would not send get_data messages for more than 16 new blocks at the same time. bitcoin core no longer responds to block invs with get_data, since it does headers-first sync'ing. This test was therefore testing nothing and can be removed. the sendheaders test script tests that bitcoin will not send get_headers for more than 16 blocks simultaneously.
1 parent b44adf9 commit 5f4bcf2

File tree

3 files changed

+1
-95
lines changed

3 files changed

+1
-95
lines changed

test/functional/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ thread.)
5959
* RPC calls are available in p2p tests.
6060

6161
* Can be used to write free-form tests, where specific p2p-protocol behavior
62-
is tested. Examples: ```p2p-accept-block.py```, ```maxblocksinflight.py```.
62+
is tested. Examples: ```p2p-accept-block.py```, ```p2p-compactblocks.py```.
6363

6464
## Comptool
6565

test/functional/maxblocksinflight.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

test/functional/test_runner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@
135135
'txn_clone.py --mineblock',
136136
'forknotify.py',
137137
'invalidateblock.py',
138-
'maxblocksinflight.py',
139138
'p2p-acceptblock.py',
140139
'replace-by-fee.py',
141140
]

0 commit comments

Comments
 (0)