Update RPC tests to account for decreased block interval

This commit is contained in:
Jack Grigg
2016-06-07 21:01:33 +12:00
parent a59c352cfd
commit 196cf25d5b
11 changed files with 57 additions and 56 deletions

View File

@@ -45,13 +45,13 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
b = [ self.nodes[0].getblockhash(n) for n in range(1, 4) ]
coinbase_txids = [ self.nodes[0].getblock(h)['tx'][0] for h in b ]
spends1_raw = [ self.create_tx(txid, node0_address, 40) for txid in coinbase_txids ]
spends1_raw = [ self.create_tx(txid, node0_address, 10) for txid in coinbase_txids ]
spends1_id = [ self.nodes[0].sendrawtransaction(tx) for tx in spends1_raw ]
blocks = []
blocks.extend(self.nodes[0].generate(1))
spends2_raw = [ self.create_tx(txid, node0_address, 39.99) for txid in spends1_id ]
spends2_raw = [ self.create_tx(txid, node0_address, 9.99) for txid in spends1_id ]
spends2_id = [ self.nodes[0].sendrawtransaction(tx) for tx in spends2_raw ]
blocks.extend(self.nodes[0].generate(1))