1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 22:25:26 +01:00
eclair/eclair-core
Bastien Teinturier 12df4cecfb
Add liquidity griefing protection for liquidity ads (#2982)
* Allow funding without locks for liquidity griefing

When using liquidity ads, seller nodes may be vulnerable to liquidity
griefing attacks. They may disable utxo locking to protect against such
attacks, but the trade-off is that honest peers may also be affected by
having their funding transaction double-spent.

We thus expose a configuration flags to let node operators decide which
trade-off they choose, depending on how likely they think someone will
target them vs the UX they want to provide to their customers.

* Abort incoming channel after timeout

If a remote node starts opening a channel to us and then becomes
unresponsive, we abort the channel. This is particularly useful
when they're purchasing liquidity and we've locked utxos.
2025-01-24 09:04:21 +01:00
..
src Add liquidity griefing protection for liquidity ads (#2982) 2025-01-24 09:04:21 +01:00
eclair-cli Automatically disable from_future_htlc when abused (#2928) 2024-10-15 11:18:33 +02:00
pom.xml Back to dev (#2957) 2024-12-04 10:25:12 +01:00