routing: Wiring in the IRC peer discovery

Added a flag to disable the IRC discovery and calling the entrypoint to
start the IRC client loop.
This commit is contained in:
Christian Decker
2016-09-07 23:47:27 +02:00
parent f4568e5c1c
commit 2f6eefc49b
3 changed files with 16 additions and 0 deletions

View File

@@ -56,6 +56,9 @@ struct config {
/* How long between changing commit and sending COMMIT message. */
struct timerel commit_time;
/* Whether to enable IRC peer discovery. */
bool use_irc;
};
/* Here's where the global variables hide! */