core-lightning/wallet
Rusty Russell 8e976150ad json_fundchannel: fix release vs connect/nongossip race.
The new connect code revealed an existing race: we tell gossipd to
release the peer, but at the same time it connects in.  gossipd fails
the release because the peer is remote, and json_fundchannel fails.

Instead, we catch this race when we get peer_connected() and we were
trying to open a channel.  It means keeping a list of fundchannels which
are awaiting a gossipd response though.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-04-23 20:18:15 +00:00
..
test json_fundchannel: fix release vs connect/nongossip race. 2018-04-23 20:18:15 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 2018-04-16 15:29:40 +02:00
db.h wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
invoices.c wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
invoices.h wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01:00
txfilter.c Reduce variable scopes 2018-03-26 01:31:21 +00:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 2018-04-16 15:29:40 +02:00
wallet.h wallet, payalgo: Save detail of payment failures for later reporting. (#1345) 2018-04-16 15:29:40 +02:00
walletrpc.c walletrpc: Refactor out encoding of pubkey to address. 2018-04-22 12:51:03 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00