core-lightning/lightningd/test
Rusty Russell 375215a141 lightningd: more graceful shutdown.
Be more graceful in shutting down: this should fix the issue where
bookkeeper gets upset that its commands are rejected during shutdown,
and generally make things more graceful.

1. Stop any new RPC connections.
2. Stop any per-peer daemons (channeld, etc).
3. Shut down plugins.
4. Stop all existing RPC connections.
5. Stop global daemons.
6. Free up peer, chanen HTLC datastructures.
7. Close database.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Plugins: RPC operations are now still available during shutdown.
2022-09-12 14:00:41 +02:00
..
Makefile common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
run-find_my_abspath.c lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
run-invoice-select-inchan.c Remove names of parameters of callbacks which confuse gcc. 2022-08-31 12:18:28 +03:00
run-jsonrpc.c lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
run-log-pruning.c lightningd: don't explicitly tell connectd to disconnect, have it do it on sending error/warning. 2022-07-18 20:50:04 -05:00
run-shuffle_fds.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00