Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40fc959

Browse files
rustyrussellcdecker
authored andcommitted
Cleanup: remove unused IRC flag.
Signed-off-by: Rusty Russell <[email protected]>
1 parent ee9e300 commit 40fc959

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ bitcoin/test/run-tx-encode
2727
daemon/test/run-maxfee
2828
test/test_protocol
2929
test/test_sphinx
30-
test/test_irc

lightningd/lightningd.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ struct config {
6262
/* How long between changing commit and sending COMMIT message. */
6363
struct timerel commit_time;
6464

65-
/* Whether to enable IRC peer discovery. */
66-
bool use_irc;
67-
6865
/* Whether to ignore database version. */
6966
bool db_version_ignore;
7067

lightningd/options.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ static void config_register_opts(struct lightningd *ld)
224224
opt_register_arg("--fee-per-satoshi", opt_set_s32, opt_show_s32,
225225
&ld->config.fee_per_satoshi,
226226
"Microsatoshi fee for every satoshi in HTLC");
227-
opt_register_noarg("--disable-irc", opt_set_invbool,
228-
&ld->config.use_irc,
229-
"Disable IRC peer discovery for routing");
230227

231228
opt_register_noarg("--ignore-dbversion", opt_set_bool,
232229
&ld->config.db_version_ignore,

tests/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ def __init__(self, lightning_dir, bitcoin_dir, port=9735):
215215
'--bitcoin-datadir={}'.format(bitcoin_dir),
216216
'--lightning-dir={}'.format(lightning_dir),
217217
'--port={}'.format(port),
218-
'--disable-irc',
219218
'--network=regtest',
220219
'--dev-broadcast-interval=1000',
221220
]

0 commit comments

Comments
 (0)