aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorglozow <gzhao408@berkeley.edu>2021-02-26 12:53:40 -0800
committerglozow <gloriajzhao@gmail.com>2021-10-28 16:32:41 +0100
commit6aed8b7e9b206e728367fee9edfeb85b536bba69 (patch)
tree875776382a7a039a4e7bde4867a506ae8e6b79ac /test/functional/test_framework
parentb9e105b6643bada4c80f8d521394be4d55e8e4fc (diff)
downloadbitcoin-6aed8b7e9b206e728367fee9edfeb85b536bba69.tar.xz
[test] tx processing before and after ibd
Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>
Diffstat (limited to 'test/functional/test_framework')
-rwxr-xr-xtest/functional/test_framework/p2p.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/p2p.py b/test/functional/test_framework/p2p.py
index 78c63b57a1..cf6689437c 100755
--- a/test/functional/test_framework/p2p.py
+++ b/test/functional/test_framework/p2p.py
@@ -89,6 +89,8 @@ P2P_SERVICES = NODE_NETWORK | NODE_WITNESS
P2P_SUBVERSION = "/python-p2p-tester:0.0.3/"
# Value for relay that this test framework sends in its `version` message
P2P_VERSION_RELAY = 1
+# Delay after receiving a tx inv before requesting transactions from non-preferred peers, in seconds
+NONPREF_PEER_TX_DELAY = 2
MESSAGEMAP = {
b"addr": msg_addr,