mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Add an opt-in check that prevents the sum of all account balances from exceeding the node's available local (outbound) channel balance. When enabled via the new accounts.check-channel-balance config option, the service rejects balance allocations that would over-provision the node: creating an account, an administrative credit, or an administrative balance increase now fails with ErrBalanceReservationExceeded if it would push the total allocated balance above the node's local channel balance. Note that the total channel balance may still decrease below the already allocated account balance. This can occur if the node operator decreases the total channel balance through non-account related activity. The check is a no-op by default to preserve the historical behaviour where the operator manages over-provisioning themselves (accounts can legitimately be created before channels are funded). Invoice-driven credits are unaffected, as they are backed by real inbound payments. |
||
|---|---|---|
| .. | ||
| images | ||
| release-notes | ||
| accounts.md | ||
| benchmark_db_backends.md | ||
| compatibility.md | ||
| compile.md | ||
| config-lnd-integrated.md | ||
| config-lnd-remote.md | ||
| custom-path.md | ||
| example-nginx.conf | ||
| letsencrypt.md | ||
| remote.md | ||
| testing.md | ||
| troubleshooting.md | ||
| WALKTHROUGH.md | ||