Browse Source

Cleanup: remove unused IRC flag.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
40fc95921d
  1. 1
      .gitignore
  2. 3
      lightningd/lightningd.h
  3. 3
      lightningd/options.c
  4. 1
      tests/utils.py

1
.gitignore

@ -27,4 +27,3 @@ bitcoin/test/run-tx-encode
daemon/test/run-maxfee
test/test_protocol
test/test_sphinx
test/test_irc

3
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;

3
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,

1
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',
]

Loading…
Cancel
Save