diff --git a/.gitignore b/.gitignore index 5ed18104f..4d138ca55 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,3 @@ bitcoin/test/run-tx-encode daemon/test/run-maxfee test/test_protocol test/test_sphinx -test/test_irc diff --git a/lightningd/lightningd.h b/lightningd/lightningd.h index 478646812..566c6cb76 100644 --- a/lightningd/lightningd.h +++ b/lightningd/lightningd.h @@ -62,9 +62,6 @@ struct config { /* How long between changing commit and sending COMMIT message. */ struct timerel commit_time; - /* Whether to enable IRC peer discovery. */ - bool use_irc; - /* Whether to ignore database version. */ bool db_version_ignore; diff --git a/lightningd/options.c b/lightningd/options.c index cb28d38f2..c34597e86 100644 --- a/lightningd/options.c +++ b/lightningd/options.c @@ -224,9 +224,6 @@ static void config_register_opts(struct lightningd *ld) opt_register_arg("--fee-per-satoshi", opt_set_s32, opt_show_s32, &ld->config.fee_per_satoshi, "Microsatoshi fee for every satoshi in HTLC"); - opt_register_noarg("--disable-irc", opt_set_invbool, - &ld->config.use_irc, - "Disable IRC peer discovery for routing"); opt_register_noarg("--ignore-dbversion", opt_set_bool, &ld->config.db_version_ignore, diff --git a/tests/utils.py b/tests/utils.py index 8807fe098..ecb9e9ac8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -215,7 +215,6 @@ class LightningD(TailableProc): '--bitcoin-datadir={}'.format(bitcoin_dir), '--lightning-dir={}'.format(lightning_dir), '--port={}'.format(port), - '--disable-irc', '--network=regtest', '--dev-broadcast-interval=1000', ]