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