mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-24 05:52:08 +02:00
net: Use mockable time for ping/pong, add tests
This commit is contained in:
@@ -30,7 +30,10 @@ class BIP68Test(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 2
|
||||
self.extra_args = [
|
||||
["-acceptnonstdtxn=1"],
|
||||
[
|
||||
"-acceptnonstdtxn=1",
|
||||
"-peertimeout=9999", # bump because mocktime might cause a disconnect otherwise
|
||||
],
|
||||
["-acceptnonstdtxn=0"],
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user