1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 06:21:42 +01:00
eclair/docs
Bastien Teinturier cfdb0885f8
Extensible Liquidity Ads (#2848)
* Add support for extensible liquidity ads

The initiator of `open_channel2`, `tx_init_rbf` and `splice_init` can
request funding from the remote node. The non-initiator node will:

- let the open-channel-interceptor plugin decide whether to provide
  liquidity for new channels or not, and how much
- always honor liquidity requests on existing channels (RBF and splice)
  when funding rates have been configured

Liquidity ads are included in the `node_announcement` message, which
lets buyers compare sellers and connect to sellers that provide rates
they are comfortable with. They are also included in the `init` message
which allows providing different rates to specific peers.

This implements https://github.com/lightning/bolts/pull/1153. We
currently use the temporary tlv tag 1339 while we're waiting for
feedback on the spec proposal.

* Add `channelCreationFee` to liquidity ads

Creating a new channel has an additional cost compared to adding
liquidity to an existing channel: the channel will be closed in the
future, which will require paying on-chain fees. Node operators can
include a `channel-creation-fee-satoshis` in their liquidity ads to
cover some of that future cost.

* Add liquidity purchases to the `AuditDb`

Whenever liquidity is purchased, we store it in the `AuditDb`. This lets
node operators gather useful statistics on their peers, and which ones
are actively using the liquidity that is purchased.

We store minimal information about the liquidity ads itself to be more
easily compatible with potential changes in the spec.
2024-09-24 10:50:17 +02:00
..
release-notes Extensible Liquidity Ads (#2848) 2024-09-24 10:50:17 +02:00
API.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
Architecture.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
CircularRebalancing.md Fix some typos in CircularRebalancing documentation (#2804) 2024-01-02 09:13:03 +01:00
Cluster.md Update cluster documentation [ci skip] (#2122) 2022-01-24 18:04:25 +01:00
Configure.md Test change address type generation (#2513) 2022-11-30 15:44:40 +01:00
FAQ.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
Features.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
Guides.md Delegate Bitcoin Core's private key management to Eclair (#2613) 2023-09-21 15:54:28 +02:00
Logging.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
ManagingBitcoinCoreKeys.md Delegate Bitcoin Core's private key management to Eclair (#2613) 2023-09-21 15:54:28 +02:00
Monitoring.md Update dependencies (#2537) 2022-12-20 16:55:31 +01:00
MultipartPayments.md Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) 2022-02-06 20:28:50 +01:00
PostgreSQL.md Database migration Sqlite->Postgres (#2156) 2022-01-31 12:49:39 +01:00
Tor.md Drop support for Tor v2 hidden services (#2296) 2022-06-06 10:03:44 +02:00
TrampolinePayments.md Add a payment recipient abstraction (#2480) 2022-12-16 10:44:34 +01:00
Usage.md fixup! Convert wiki pages in to files in the docs directory and general docs file cleanups (#2165) (#2167) 2022-02-07 14:21:08 +01:00