|
|
@ -31,7 +31,7 @@ class WalletGroupTest(BitcoinTestFramework):
|
|
|
|
def run_test(self):
|
|
|
|
def run_test(self):
|
|
|
|
self.log.info("Setting up")
|
|
|
|
self.log.info("Setting up")
|
|
|
|
# Mine some coins
|
|
|
|
# Mine some coins
|
|
|
|
self.nodes[0].generate(110)
|
|
|
|
self.nodes[0].generate(101)
|
|
|
|
|
|
|
|
|
|
|
|
# Get some addresses from the two nodes
|
|
|
|
# Get some addresses from the two nodes
|
|
|
|
addr1 = [self.nodes[1].getnewaddress() for _ in range(3)]
|
|
|
|
addr1 = [self.nodes[1].getnewaddress() for _ in range(3)]
|
|
|
@ -160,8 +160,7 @@ class WalletGroupTest(BitcoinTestFramework):
|
|
|
|
signed_tx = self.nodes[0].signrawtransactionwithwallet(funded_tx['hex'])
|
|
|
|
signed_tx = self.nodes[0].signrawtransactionwithwallet(funded_tx['hex'])
|
|
|
|
self.nodes[0].sendrawtransaction(signed_tx['hex'])
|
|
|
|
self.nodes[0].sendrawtransaction(signed_tx['hex'])
|
|
|
|
self.nodes[0].generate(1)
|
|
|
|
self.nodes[0].generate(1)
|
|
|
|
|
|
|
|
self.sync_all()
|
|
|
|
self.sync_all()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check that we can create a transaction that only requires ~100 of our
|
|
|
|
# Check that we can create a transaction that only requires ~100 of our
|
|
|
|
# utxos, without pulling in all outputs and creating a transaction that
|
|
|
|
# utxos, without pulling in all outputs and creating a transaction that
|
|
|
|