diff options
author | John Newbery <john@johnnewbery.com> | 2017-04-03 09:34:04 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-05-02 13:31:54 -0400 |
commit | c9cc76dcaad85aa9441f18d38298f27a0ffd852a (patch) | |
tree | 7f3a0bbb5ed9d64f4fe62a7e47abd2a8595a17eb /test/functional/p2p-compactblocks.py | |
parent | 8f3e38477e30abd9dd0e24a4d612126117f7793c (diff) | |
download | bitcoin-c9cc76dcaad85aa9441f18d38298f27a0ffd852a.tar.xz |
[tests] Remove is_network_split from funtional test cases
Diffstat (limited to 'test/functional/p2p-compactblocks.py')
-rwxr-xr-x | test/functional/p2p-compactblocks.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/functional/p2p-compactblocks.py b/test/functional/p2p-compactblocks.py index cf9608a657..9b302120ac 100755 --- a/test/functional/p2p-compactblocks.py +++ b/test/functional/p2p-compactblocks.py @@ -98,17 +98,9 @@ class CompactBlocksTest(BitcoinTestFramework): self.setup_clean_chain = True # Node0 = pre-segwit, node1 = segwit-aware self.num_nodes = 2 + self.extra_args = [["-bip9params=segwit:0:0"], ["-txindex"]] self.utxos = [] - def setup_network(self): - self.nodes = [] - - # Start up node0 to be a version 1, pre-segwit node. - self.nodes = start_nodes(self.num_nodes, self.options.tmpdir, - [["-bip9params=segwit:0:0"], - ["-txindex"]]) - connect_nodes(self.nodes[0], 1) - def build_block_on_tip(self, node, segwit=False): height = node.getblockcount() tip = node.getbestblockhash() |