core-lightning/lightningd
Rusty Russell f53387cc46 lightningd: don't abort if funding locks in during shutdown.
For me this happened only under valgrind with
test_option_upfront_shutdown_script (in a pending branch):

==5063==    by 0x51FC076: raise (raise.c:48)
==5063==    by 0x51DD534: abort (abort.c:79)
==5063==    by 0x1292D2: fatal (log.c:647)
==5063==    by 0x116570: channel_set_state (channel.c:340)
==5063==    by 0x116E04: lockin_complete (channel_control.c:73)
==5063==    by 0x116F15: peer_got_funding_locked (channel_control.c:108)
==5063==    by 0x117354: channel_msg (channel_control.c:208)

No CHANGELOG: this was introduced in a recent refactor.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-17 09:23:13 -07:00
..
test lightningd: fix/refactor select_inchan for invoice route-hint, use fractional excess as weight 2019-04-16 21:22:13 +00:00
.gitignore
bitcoind.c Remove Sensitive RPC Data from Logs (#2520) 2019-04-03 03:06:06 +00:00
bitcoind.h lightningd: allow more than one bitcoind request at once, run multiple queues. 2018-09-19 13:21:21 +02:00
chaintopology.c wally: Migrate main daemon to use wally transactions 2019-04-08 00:00:00 +00:00
chaintopology.h openingd/json_fund_channel: 2019-01-29 04:50:01 +00:00
channel_control.c lightningd: don't abort if funding locks in during shutdown. 2019-04-17 09:23:13 -07:00
channel_control.h fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
channel_state.h
channel.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
channel.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
closing_control.c closing: add message to billboard when closing txn is broadcast 2019-04-12 03:35:16 +00:00
closing_control.h
connect_control.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
connect_control.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossip_control.c JSON: remove fields deprecated in 0.6.2. 2019-04-11 18:39:04 -07:00
gossip_control.h
gossip_msg.c gossipd: make more compact getchannels entries. 2019-04-09 12:37:16 -07:00
gossip_msg.h gossipd: make more compact getchannels entries. 2019-04-09 12:37:16 -07:00
hsm_control.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
hsm_control.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
htlc_end.c wallet: Add received_time to htlc_in for forwarding times 2019-04-10 23:48:39 +00:00
htlc_end.h wallet: Add received_time to htlc_in for forwarding times 2019-04-10 23:48:39 +00:00
invoice.c lightningd: fix/refactor select_inchan for invoice route-hint, use fractional excess as weight 2019-04-16 21:22:13 +00:00
invoice.h lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
json_stream.c lightningd: speed low-level json formatting. 2019-04-09 12:37:16 -07:00
json_stream.h update-mocks: make sure we can find json_add functions. 2019-02-21 00:44:57 +00:00
json.c json: Add timestampt primitives to print timestamps in results 2019-04-10 23:48:39 +00:00
json.h json: Add timestampt primitives to print timestamps in results 2019-04-10 23:48:39 +00:00
jsonrpc.c lightningd/json: make wallet_tx functions take amount_sat. 2019-02-21 03:44:44 +00:00
jsonrpc.h lightningd: re-enable IO logging for JSON output. 2019-02-21 00:44:57 +00:00
lightningd.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
lightningd.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
log_status.c
log_status.h
log.c log: truncate giant IO logging. 2019-04-08 04:41:43 +00:00
log.h log: truncate giant IO logging. 2019-04-08 04:41:43 +00:00
Makefile common/node_id: new type. 2019-04-09 12:37:16 -07:00
memdump.c jsonrpc: probe sites for usage information once, at start. 2019-02-07 20:33:50 +00:00
memdump.h lightningd: add code to search strmaps for memleak detection. 2019-02-07 20:33:50 +00:00
notification.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
notification.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
onchain_control.c wally: Migrate main daemon to use wally transactions 2019-04-08 00:00:00 +00:00
onchain_control.h
opening_control.c feat: subtract dust reserves on the fly from min-capacity-sat 2019-04-16 15:01:28 -07:00
opening_control.h openingd: wire up dev_memleak. 2018-11-22 05:15:42 +00:00
options.c chore: increase min-capacity-sat to 10k 2019-04-16 15:01:28 -07:00
options.h opts: Split early from non-early args so plugins can register theirs 2018-11-13 00:44:50 +01:00
pay.c fixup! Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
pay.h lightningd: move pay internals back into pay.c 2019-01-23 22:08:08 +01:00
peer_control.c JSON: remove fields deprecated in 0.6.2. 2019-04-11 18:39:04 -07:00
peer_control.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
peer_htlcs.c lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
peer_htlcs.h lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
ping.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
ping.h ping: complete JSON RPC ping commands even if one ping gets no response. 2018-09-14 22:11:23 +02:00
plugin_hook.c plugin_hook: special case for db hook. 2019-04-08 01:56:17 +00:00
plugin_hook.h plugin_hook: special case for db hook. 2019-04-08 01:56:17 +00:00
plugin.c plugin: plugin_exclusive_loop helper to service one plugin synchronously. 2019-04-08 01:56:17 +00:00
plugin.h plugin: plugin_exclusive_loop helper to service one plugin synchronously. 2019-04-08 01:56:17 +00:00
subd.c plugins: allow --dev-debugger=<pluginname>. 2018-12-10 00:00:50 +00:00
subd.h plugins: allow --dev-debugger=<pluginname>. 2018-12-10 00:00:50 +00:00
watch.c
watch.h