|
|
|
@ -77,9 +77,10 @@ class SegWitTest(BitcoinTestFramework):
@@ -77,9 +77,10 @@ class SegWitTest(BitcoinTestFramework):
|
|
|
|
|
def set_test_params(self): |
|
|
|
|
self.setup_clean_chain = True |
|
|
|
|
self.num_nodes = 3 |
|
|
|
|
self.extra_args = [["-walletprematurewitness", "-rpcserialversion=0"], |
|
|
|
|
["-blockversion=4", "-promiscuousmempoolflags=517", "-prematurewitness", "-walletprematurewitness", "-rpcserialversion=1"], |
|
|
|
|
["-blockversion=536870915", "-promiscuousmempoolflags=517", "-prematurewitness", "-walletprematurewitness"]] |
|
|
|
|
# This test tests SegWit both pre and post-activation, so use the normal BIP9 activation. |
|
|
|
|
self.extra_args = [["-walletprematurewitness", "-rpcserialversion=0", "-vbparams=segwit:0:999999999999"], |
|
|
|
|
["-blockversion=4", "-promiscuousmempoolflags=517", "-prematurewitness", "-walletprematurewitness", "-rpcserialversion=1", "-vbparams=segwit:0:999999999999"], |
|
|
|
|
["-blockversion=536870915", "-promiscuousmempoolflags=517", "-prematurewitness", "-walletprematurewitness", "-vbparams=segwit:0:999999999999"]] |
|
|
|
|
|
|
|
|
|
def setup_network(self): |
|
|
|
|
super().setup_network() |
|
|
|
|