aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-compactblocks.py
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-10-11 20:25:18 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-11-06 19:29:20 -0800
commitd618458184742b15a7ab0349127ede7a2946a182 (patch)
tree5c08e3162c6ac3f53dd8362fe0ae1b505c5186ad /test/functional/p2p-compactblocks.py
parent4bd89210a1484d00abba27c50ac4c07dcc05c2e0 (diff)
downloadbitcoin-d618458184742b15a7ab0349127ede7a2946a182.tar.xz
Have SegWit active by default
Diffstat (limited to 'test/functional/p2p-compactblocks.py')
-rwxr-xr-xtest/functional/p2p-compactblocks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/p2p-compactblocks.py b/test/functional/p2p-compactblocks.py
index 94513d3f43..e3f986d80b 100755
--- a/test/functional/p2p-compactblocks.py
+++ b/test/functional/p2p-compactblocks.py
@@ -93,7 +93,9 @@ class CompactBlocksTest(BitcoinTestFramework):
self.setup_clean_chain = True
# Node0 = pre-segwit, node1 = segwit-aware
self.num_nodes = 2
- self.extra_args = [["-vbparams=segwit:0:0"], ["-txindex"]]
+ # This test was written assuming SegWit is activated using BIP9 at height 432 (3x confirmation window).
+ # TODO: Rewrite this test to support SegWit being always active.
+ self.extra_args = [["-vbparams=segwit:0:0"], ["-vbparams=segwit:0:999999999999", "-txindex"]]
self.utxos = []
def build_block_on_tip(self, node, segwit=False):