lightningd: rename --deprecated-apis to --allow-deprecated-apis.

Suggested-byL practicalswift
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-01-19 09:43:47 +10:30
parent 0c9d29065c
commit 4f1dc91ba5
2 changed files with 3 additions and 2 deletions

View File

@ -271,7 +271,8 @@ static void config_register_opts(struct lightningd *ld)
ld,
"Select the network parameters (bitcoin, testnet,"
" regtest, or litecoin)");
opt_register_arg("--deprecated-apis", opt_set_bool_arg, opt_show_bool,
opt_register_arg("--allow-deprecated-apis",
opt_set_bool_arg, opt_show_bool,
&deprecated_apis,
"Enable deprecated options, JSONRPC commands, fields, etc.");
}

View File

@ -249,7 +249,7 @@ class LightningD(TailableProc):
'--bitcoin-datadir={}'.format(bitcoin_dir),
'--lightning-dir={}'.format(lightning_dir),
'--port={}'.format(port),
'--deprecated-apis=false',
'--allow-deprecated-apis=false',
'--override-fee-rates=15000/7500/1000',
'--network=regtest',
'--ignore-fee-limits=false'