1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-12 19:01:39 +01:00
eclair/docs
Bastien Teinturier 47fdfaec9f
Simplify trampoline test helpers (#2942)
We previously supported sending arbitrary trampoline payments in eclair,
which added a bunch of complexity to many of our payment components.
This was necessary because the first version of Phoenix was based on the
eclair codebase. But Phoenix isn't based on eclair anymore and is now
using https://github.com/acinq/lightning-kmp, which is the library that
mobile wallets should use.

Eclair is only meant to be used for server nodes that relay payments and
have access to the full network graph, so it doesn't make sense ever to
send trampoline payments (full source-routing will always be better). We
thus refactor our trampoline client code to only be used for tests (to
ensure that trampoline relay and trampoline receive are implemented
correctly). We isolate the test payment lifecycle in a dedicated actor
(`TrampolinePaymentLifecycle`) which simplifies other payment components
(such as `PaymentInitiator`).

This refactoring will make it easier to support the official version of
trampoline while maintaining backwards-compatibility for older Phoenix
wallets that use the non-official trampoline version.
2024-11-21 18:37:31 +01:00
..
release-notes Update Bitcoin Core to 27.2 (#2940) 2024-11-20 15:51:25 +01: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
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