~ This signals to the mainloop that some part wants to cleanly exit now. */
| 957 | |
| 958 | /*~ This signals to the mainloop that some part wants to cleanly exit now. */ |
| 959 | void lightningd_exit(struct lightningd *ld, int exit_code) |
| 960 | { |
| 961 | ld->exit_code = tal(ld, int); |
| 962 | *ld->exit_code = exit_code; |
| 963 | log_debug(ld->log, "io_break: %s", __func__); |
| 964 | io_break(ld); |
| 965 | } |
| 966 | |
| 967 | struct recover_payload { |
| 968 | const char *codex32secret; |
no test coverage detected