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