Description
We should probably support a single funding transaction funding multiple channels. This is a bit complicated, though - we have to make sure we never broadcast the funding transaction until all channels are ready, not just one. This may require a new state flag in channels to indicate we're waiting on another channel.
Worse, there's a really nasty race condition where a user creates two channels, funds both of them in one transaction, then one of the peers disconnects. Now there's only one channel that LDK remembers but the transaction the user created pays to two channel outputs. Thus when we go to broadcast the second channel funds are locked. I'm not really sure how to address this without making the user provide the list of transactions they're funding when giving the transaction to LDK.