(test_framework, node, utxos=None)
| 598 | |
| 599 | |
| 600 | def mine_large_block(test_framework, node, utxos=None): |
| 601 | # generate a 66k transaction, |
| 602 | # and 14 of them is close to the 1MB block limit |
| 603 | num = 14 |
| 604 | txouts = gen_return_txouts() |
| 605 | utxos = utxos if utxos is not None else [] |
| 606 | if len(utxos) < num: |
| 607 | utxos.clear() |
| 608 | utxos.extend(node.listunspent()) |
| 609 | fee = 100 * node.getnetworkinfo()["relayfee"] |
| 610 | create_lots_of_big_transactions(node, txouts, utxos, num, fee=fee) |
| 611 | test_framework.generate(node, 1) |
| 612 | |
| 613 | |
| 614 | def find_vout_for_address(node, txid, addr): |
no test coverage detected