| 547 | return txids |
| 548 | |
| 549 | def mine_large_block(node, utxos=None): |
| 550 | # generate a 66k transaction, |
| 551 | # and 14 of them is close to the 1MB block limit |
| 552 | num = 14 |
| 553 | txouts = gen_return_txouts() |
| 554 | utxos = utxos if utxos is not None else [] |
| 555 | if len(utxos) < num: |
| 556 | utxos.clear() |
| 557 | utxos.extend(node.listunspent()) |
| 558 | fee = 100 * node.getnetworkinfo()["relayfee"] |
| 559 | create_lots_of_big_transactions(node, txouts, utxos, num, fee=fee) |
| 560 | node.generate(1) |
| 561 | |
| 562 | def find_vout_for_address(node, txid, addr): |
| 563 | """ |