update references to sat/kb to sat/kw

This commit is contained in:
windsok 2018-01-29 22:55:44 -08:00 committed by Rusty Russell
parent 0223d836ac
commit de5d78a359
2 changed files with 4 additions and 4 deletions

View File

@ -104,10 +104,10 @@ struct chain_topology {
/* Bitcoin transactions we're broadcasting */
struct list_head outgoing_txs;
/* Force a particular fee rate regardless of estimatefee (satoshis/kb) */
/* Force a particular fee rate regardless of estimatefee (satoshis/kw) */
u32 *override_fee_rate;
/* What fee we use if estimatefee fails (satoshis/kb) */
/* What fee we use if estimatefee fails (satoshis/kw) */
u32 default_fee_rate;
/* Transactions/txos we are watching. */

View File

@ -237,10 +237,10 @@ static void config_register_opts(struct lightningd *ld)
"Percentage of fee to request for their commitment");
opt_register_arg("--override-fee-rates", opt_set_fee_rates, NULL,
ld->topology,
"Force a specific rates (immediate/normal/slow) in satoshis per kb regardless of estimated fees");
"Force a specific rates (immediate/normal/slow) in satoshis per kw regardless of estimated fees");
opt_register_arg("--default-fee-rate", opt_set_u32, opt_show_u32,
&ld->topology->default_fee_rate,
"Satoshis per kb if can't estimate fees");
"Satoshis per kw if can't estimate fees");
opt_register_arg("--cltv-delta", opt_set_u32, opt_show_u32,
&ld->config.cltv_expiry_delta,
"Number of blocks for ctlv_expiry_delta");