mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: new option for htlc dust limit
To reduce the surface area of amount of a channel balance that can be eaten up as htlc dust, we introduce a new config '--max-dust-htlc-exposure-msat', which sets the max amount that any channel's balance can be added as dust Changelog-Added: config: new option --max-dust-htlc-exposure-msat, which limits the total amount of sats to be allowed as dust on a channel
This commit is contained in:
committed by
Christian Decker
parent
0f0a77e322
commit
1fe829c546
@@ -149,6 +149,7 @@ static int parse_config(char *argv[],
|
||||
config->max_htlc_value_in_flight = AMOUNT_MSAT(-1ULL);
|
||||
config->htlc_minimum = AMOUNT_MSAT(0);
|
||||
config->max_accepted_htlcs = 483;
|
||||
config->max_dust_htlc_exposure_msat = AMOUNT_MSAT(-1ULL);
|
||||
|
||||
config->to_self_delay = atoi(argv[argnum]);
|
||||
argnum++;
|
||||
|
||||
Reference in New Issue
Block a user