(bitcoind, nodes)
| 140 | |
| 141 | |
| 142 | def sync_blockheight(bitcoind, nodes): |
| 143 | height = bitcoind.rpc.getblockchaininfo()['blocks'] |
| 144 | for n in nodes: |
| 145 | wait_for(lambda: n.rpc.getinfo()['blockheight'] == height) |
| 146 | |
| 147 | |
| 148 | def mine_funding_to_announce(bitcoind, nodes, num_blocks=5, wait_for_mempool=0): |