mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
gossipd: add debugging into io_loop.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
1398a208f8
commit
c850e3c0a4
@ -38,6 +38,7 @@ GOSSIPD_COMMON_OBJS := \
|
||||
common/daemon_conn.o \
|
||||
common/debug.o \
|
||||
common/dev_disconnect.o \
|
||||
common/io_debug.o \
|
||||
common/msg_queue.o \
|
||||
common/ping.o \
|
||||
common/pseudorand.o \
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <common/cryptomsg.h>
|
||||
#include <common/daemon_conn.h>
|
||||
#include <common/debug.h>
|
||||
#include <common/io_debug.h>
|
||||
#include <common/ping.h>
|
||||
#include <common/status.h>
|
||||
#include <common/timeout.h>
|
||||
@ -773,6 +774,7 @@ int main(int argc, char *argv[])
|
||||
struct daemon *daemon;
|
||||
|
||||
subdaemon_debug(argc, argv);
|
||||
io_poll_override(debug_poll);
|
||||
|
||||
if (argc == 2 && streq(argv[1], "--version")) {
|
||||
printf("%s\n", version());
|
||||
|
Loading…
Reference in New Issue
Block a user