dualfund: opener, openchannel_init command (1/3)

There are 3 commands for opening a channel with dualfunding.
`openchannel_init` is the first of these.

It initializes the open-channel dialog, and stops once we've run out of
updates (input/outputs) to send to the peer.
This commit is contained in:
niftynei
2020-09-03 13:01:45 -05:00
committed by Rusty Russell
parent 2618ef10c3
commit 06c41a0547
10 changed files with 629 additions and 8 deletions

View File

@@ -52,6 +52,8 @@ static const errcode_t FUNDING_PEER_NOT_CONNECTED = 305;
static const errcode_t FUNDING_UNKNOWN_PEER = 306;
static const errcode_t FUNDING_NOTHING_TO_CANCEL = 307;
static const errcode_t FUNDING_CANCEL_NOT_SAFE = 308;
static const errcode_t FUNDING_PSBT_INVALID = 309;
static const errcode_t FUNDING_V2_NOT_SUPPORTED = 310;
/* `connect` errors */
static const errcode_t CONNECT_NO_KNOWN_ADDRESS = 400;