electrum icon indicating copy to clipboard operation
electrum copied to clipboard

Configurable self.htlc_minimum_msat

Open mrtestyboy781 opened this issue 3 years ago • 2 comments

Some nodes set a higher default htlc_minimum_msat and https://github.com/spesmilo/electrum/blob/1f7ada3486cd39da6de9308c5f048fce1aeea8fd/electrum/lnutil.py#L113 rejects any attempt to open a channel with these nodes.

Would it be possible to make this configurable or increase the limit?

mrtestyboy781 avatar Jun 29 '22 10:06 mrtestyboy781

Some nodes set a higher default htlc_minimum_msat

Do you mean some implementations set a higher value by default, or that there are some nodes on the network with operators that increased this value to higher than 1000?

If the former, which ones? If latter, do you have examples, in particular, what value do they set this parameter to?

SomberNight avatar Jun 30 '22 13:06 SomberNight

It seems Kraken sets min htlc to 100 sats : https://amboss.space/node/02f1a8c87607f415c8f22c00593002775941dea48869ce23096af27b0cfdcc0b69

I know some people have suggesting upping this minimum for larger channels to avoid spam attacks : https://github.com/t-bast/lightning-docs/blob/master/spam-prevention.md#mitigation-strategies-available-today

mrtestyboy781 avatar Jul 05 '22 08:07 mrtestyboy781