(bitcoind, nodes)
| 131 | |
| 132 | |
| 133 | def sync_blockheight(bitcoind, nodes): |
| 134 | height = bitcoind.rpc.getblockchaininfo()['blocks'] |
| 135 | for n in nodes: |
| 136 | wait_for(lambda: n.rpc.getinfo()['blockheight'] == height) |
| 137 | |
| 138 | |
| 139 | def mine_funding_to_announce(bitcoind, nodes, num_blocks=5, wait_for_mempool=0): |