mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Use each channel's local balance minus its reserve when simulating Loop Out payment bandwidth, clamping the result at zero. This prevents swaps from starting when the gross balance covers the amount and routing fee but the spendable balance does not. Add one-sat boundary tests and a bug-fix release note. Leave a TODO for server-fee and prepay capacity because enforcing their maximum fee caps could reject viable swaps whose actual routing fees are lower. |
||
|---|---|---|
| .. | ||
| config.go | ||
| config_test.go | ||
| daemon.go | ||
| daemon_test.go | ||
| htlc_confirmed_recovery.go | ||
| htlc_confirmed_recovery_test.go | ||
| log.go | ||
| macaroons.go | ||
| migration.go | ||
| register_default.go | ||
| run.go | ||
| static_loopin_status_updater.go | ||
| swapclient_server.go | ||
| swapclient_server_debug.go | ||
| swapclient_server_deposit_test.go | ||
| swapclient_server_staticaddr_test.go | ||
| swapclient_server_test.go | ||
| sweep_htlc.go | ||
| sweep_htlc_test.go | ||
| utils.go | ||
| view.go | ||