Commit graph

110 commits

Author SHA1 Message Date
Viktor Torstensson
6bca24793c
docs: document account operator controls
Document the configurable maximum account payment size and optional
channel balance reservation check, including their defaults, fee
handling, and operational limitations.
2026-08-07 12:27:24 +02:00
Viktor Torstensson
a493b6a3d6
accounts: optionally cap account balances at the node channel balance
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.
2026-08-07 12:26:29 +02:00
Viktor Torstensson
ae74392433
accounts: add a configurable maximum account payment size
Add an opt-in cap on the total amount a single account payment may
debit, including routing fees, enforced at the account interceptor for
both SendPaymentV2 and SendToRouteV2. When the new
accounts.max-payment-size-msat config option is set to a non-zero
value, payments whose amount plus fees exceeds it are rejected with
ErrPaymentExceedsMaxSize before the balance check and before any funds
are reserved.

For SendPaymentV2, the configured fee limit is included in the capped
amount. For SendToRouteV2, the route's stated fee is included.

This gives operators a guard rail against a compromised or misbehaving
account macaroon draining its balance in a single large payment. The
cap defaults to 0 (disabled), preserving existing behaviour, and is a
first step towards the finer-grained per-account spending controls
requested in the issue.
2026-08-07 00:04:20 +02:00
Elle Mouton
970a3fb55d
docs: add release note for the lnd-ready migration timeout
Document the new --lndreadytimeout option and the startup failure it
fixes in the 0.17.1 release notes.
2026-07-29 15:47:47 -07:00
bitromortac
875c48806f
Merge pull request #1358 from bitromortac/2607-fix-32-overflow
Some checks are pending
CI / frontend tests on macOS-latest (push) Waiting to run
CI / frontend tests on ubuntu-latest (push) Waiting to run
CI / frontend tests on windows-latest (push) Waiting to run
CI / backend build on macOS-latest (push) Waiting to run
CI / backend build on ubuntu-latest (push) Waiting to run
CI / backend build on windows-latest (push) Waiting to run
CI / cross compilation (push) Waiting to run
CI / cross compilation-1 (push) Waiting to run
CI / cross compilation-2 (push) Waiting to run
CI / RPC proto compilation check (push) Waiting to run
CI / check commits (push) Waiting to run
CI / Sqlc check (push) Waiting to run
CI / lint (push) Waiting to run
CI / run unit tests (push) Waiting to run
CI / run unit tests-1 (push) Waiting to run
CI / run unit tests-2 (push) Waiting to run
CI / run unit tests-3 (push) Waiting to run
CI / build itest binaries (push) Waiting to run
CI / integration test (push) Blocked by required conditions
CI / integration test-1 (push) Blocked by required conditions
CI / integration test-2 (push) Blocked by required conditions
CI / check release notes updated (push) Waiting to run
firewall: fix 32-bit int truncation and optimize CryptoRandIntn
2026-07-28 09:56:35 +02:00
bitromortac
f162f44a0d docs: add release notes for privacy mapper refactoring
Add a succinct release note entry detailing the 32-bit truncation
prevention and allocation optimization introduced by PR-1358.
2026-07-28 07:25:41 +00:00
cyberguru1
0c06130ea1
docs: add release notes for super macaroon auto-bake
Add release notes for the new auto-bake config options in release notes for version 0.17.1 and reference pull request #1324.
2026-07-27 06:09:05 -05:00
cyberguru1
c6d81a8713
docs: add release notes for account payments
Add release notes for the new accounts payments CLI subcommand and
associated RPC endpoint to the v0.17.1 release notes document.
2026-07-22 14:06:56 -05:00
Vandit Singh
73569014f2 accounts: don't mask payment errors when request values are absent 2026-07-19 01:19:35 +05:30
Viktor Torstensson
7604bd297b
docs: move release note entries added after v0.17.0-alpha
Move the release note entries that were added after v0.17.0-alpha to the
v0.17.1 release notes.
2026-07-16 14:09:32 +02:00
Viktor Torstensson
403efb3b46
docs: add release notes for v0.17.1-alpha 2026-07-16 13:29:54 +02:00
bitromortac
9370a6aef3 docs: update release notes 2026-07-16 09:53:44 +00:00
Viktor Torstensson
3c035fe862
Merge pull request #1337 from 0xfandom/fix/1091-litd-version
Some checks failed
CI / frontend tests on macOS-latest (push) Has been cancelled
CI / frontend tests on ubuntu-latest (push) Has been cancelled
CI / frontend tests on windows-latest (push) Has been cancelled
CI / backend build on macOS-latest (push) Has been cancelled
CI / backend build on ubuntu-latest (push) Has been cancelled
CI / backend build on windows-latest (push) Has been cancelled
CI / cross compilation (push) Has been cancelled
CI / cross compilation-1 (push) Has been cancelled
CI / cross compilation-2 (push) Has been cancelled
CI / RPC proto compilation check (push) Has been cancelled
CI / check commits (push) Has been cancelled
CI / Sqlc check (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / run unit tests (push) Has been cancelled
CI / run unit tests-1 (push) Has been cancelled
CI / run unit tests-2 (push) Has been cancelled
CI / run unit tests-3 (push) Has been cancelled
CI / build itest binaries (push) Has been cancelled
CI / check release notes updated (push) Has been cancelled
CI / integration test (push) Has been cancelled
CI / integration test-1 (push) Has been cancelled
CI / integration test-2 (push) Has been cancelled
config: make litd -V report litd version
2026-07-08 19:33:35 +02:00
Viktor Torstensson
08934deeef
Merge pull request #1331 from ViktorT-11/2026-06-cut-v0_17_0_final
Some checks failed
CI / frontend tests on macOS-latest (push) Has been cancelled
CI / frontend tests on ubuntu-latest (push) Has been cancelled
CI / frontend tests on windows-latest (push) Has been cancelled
CI / backend build on macOS-latest (push) Has been cancelled
CI / backend build on ubuntu-latest (push) Has been cancelled
CI / backend build on windows-latest (push) Has been cancelled
CI / cross compilation (push) Has been cancelled
CI / cross compilation-1 (push) Has been cancelled
CI / cross compilation-2 (push) Has been cancelled
CI / RPC proto compilation check (push) Has been cancelled
CI / check commits (push) Has been cancelled
CI / Sqlc check (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / run unit tests (push) Has been cancelled
CI / run unit tests-1 (push) Has been cancelled
CI / run unit tests-2 (push) Has been cancelled
CI / run unit tests-3 (push) Has been cancelled
CI / build itest binaries (push) Has been cancelled
CI / check release notes updated (push) Has been cancelled
CI / integration test (push) Has been cancelled
CI / integration test-1 (push) Has been cancelled
CI / integration test-2 (push) Has been cancelled
Prepare for litd `v0.17.0-alpha` release
2026-06-30 17:15:06 +02:00
0xfandom
bcdbe68fa1 config: make litd -V report litd's own version
The `-V` flag inherited from lnd printed the integrated lnd version
(`build.Version()`) instead of litd's own version, while litd's own
`--version` flag already reported the correct value via RichVersion().
Consolidate both flags so either one prints litd's version.

Fixes #1091

Signed-off-by: 0xfandom <kashyapshivank01@gmail.com>
2026-06-30 11:59:39 +05:30
Viktor Torstensson
569fdee4f4
docs: prepare release notes for v0.17.0-alpha 2026-06-26 22:45:44 +02:00
Viktor Torstensson
901d60cc0e
docs: update compatibility notes
Add `v0.16.1-alpha` & `v0.17.0-alpha` to the compatibility notes.
2026-06-26 22:45:21 +02:00
cyberguru1
05d0566986 docs: add release note for session custom perms
Add a release note to the upcoming release notes document for 0.17.0
detailing the newly added support for custom permissions via the
`--permission` flag in `litcli sessions add`.
2026-06-22 01:50:56 -05:00
Viktor Torstensson
782113f36b
docs: prepare release notes for v0.17.0-alpha.rc1 2026-06-09 18:33:38 +02:00
Viktor Torstensson
69d875742e
docs: add release note entry for migration prompt 2026-06-08 21:11:51 +02:00
Viktor Torstensson
f5046d1f4e
Merge pull request #1305 from ViktorT-11/2026-05-sql-migration-in-prod
[sql-70] Enable SQL backends in production & trigger the kvdb to sql migration
2026-06-08 21:08:16 +02:00
Calvin Zachman
fac7c42ee7
docs: add release note for dependency bump 2026-06-08 13:19:23 -04:00
Viktor Torstensson
2003a8b7f4
docs: add SQL migration release notes
Document the default KVDB-to-SQL migration in the 0.17.0 release
notes, including the new databasebackend option and the available
SQLite and Postgres backends.

Also note that users who want to remain on bbolt must set
databasebackend=bbolt before the SQL migration runs, since the legacy
bbolt database is tombstoned after a successful migration.

Mark the bbolt backend as deprecated and note that support will be
removed in a future release.
2026-06-08 11:23:59 +02:00
Viktor Torstensson
3e5f36c0b8
Merge pull request #1314 from lightninglabs/bump-pool-v0.7.1-beta
go.mod: bump pool to v0.7.1-beta
2026-05-25 19:02:04 +02:00
Jamal James
41012e4c58
Merge pull request #1311 from 0xfandom/fix/1022-dockerfile-worktree-gitkeep
app: make build/.gitkeep postbuild step git-worktree friendly
2026-05-22 10:57:48 -05:00
Olaoluwa Osuntokun
0b34078d8a docs: add v0.7.1-beta pool bump to 0.17.0 release notes 2026-05-21 20:40:17 -07:00
Viktor Torstensson
767c6e83fb
Merge pull request #1303 from Cyberguru1/depreciate-new-balance
litcli: remove deprecated new_balance flag from update command
2026-05-21 14:35:50 +02:00
cyberguru1
334a2adeb1
docs: add release notes for removal of deprecated new_balance
Document new_balance removal, expiration date defaulting fixes, and
updated contributors.
2026-05-21 06:21:32 -05:00
Olaoluwa Osuntokun
26d858994b docs: add v0.7.0-beta pool bump to 0.17.0 release notes 2026-05-20 15:45:35 -07:00
0xfandom
96df490421 docs: add release note for #1311 2026-05-18 15:05:40 +05:30
Viktor Torstensson
911c3bb5d1
docs: update benchmarking docs with firewalldb pkg 2026-05-14 11:39:04 +02:00
Viktor Torstensson
66952a3d12
docs: update benchmarking docs with session pkg 2026-05-14 11:38:59 +02:00
Viktor Torstensson
4271db936d
docs: add doc for benchmarking database backends 2026-05-14 11:38:42 +02:00
cyberguru1
d435ca7fe6
docs: update release notes for account renaming 2026-05-05 13:39:14 -05:00
0xfandom
6d127b93c4 docs: note that FreeBSD users need gmake to build
The Makefile uses GNU Make features, which on FreeBSD requires the
gmake port rather than the base system make. Add a short note to the
compile instructions so FreeBSD users know to install gmake and use
it in place of make.

Closes #859
2026-05-01 19:11:05 +05:30
Boris Nagaev
3d8994d772
docs: add release note 2026-04-05 17:22:44 -05:00
Dario Anongba Varela
dfcde88496
litcli: show asset information on payinvoice 2026-03-19 14:16:46 +01:00
Viktor Torstensson
e160e5bd00
docs: prepare release notes for v0.16.1 release 2026-02-13 11:48:44 +01:00
Viktor Torstensson
a3c9df7df2
docs: move v0.16.1 release note to correct doc
The release notes for
https://github.com/lightninglabs/lightning-terminal/pull/1168
accidentally got added to the `v0.16.0` release notes instead of the
`v0.16.1` release notes. This commit moves the release note to the
correct doc.
2026-02-12 19:06:08 +01:00
Viktor Torstensson
0bbae23586
docs: update 0.16.1 release notes 2026-02-12 17:14:38 +01:00
bitromortac
96434549c4
docs: update release notes 2026-02-09 15:28:42 +01:00
Slyghtning
d1a6e36781
docs: add release notes 2025-12-17 14:08:27 +01:00
ffranr
a1ef642be2
Merge pull request #1179 from lightninglabs/wip/readme-cleanup
Cleanup and streamline README formatting and version guidance
2025-12-04 13:15:15 +00:00
ffranr
d342745105
docs: archive compatibility table and trim README guidance
Move the LiT/LND compatibility matrix into docs/compatibility.md for
archival so future releases no longer require README updates to adjust
the table.

Update README to direct users to release notes for minimum lnd versions
and fall back to the archived table when not specified.
2025-12-04 12:14:42 +00:00
Viktor Torstensson
9e3ce6577a
Merge pull request #1168 from ZZiigguurraatt/cache_golang
dev.Dockerfile: use cache mounts to speed up rebuilding
2025-12-02 19:45:28 +01:00
ffranr
011d5fdf1a
Merge pull request #1173 from lightninglabs/wip/bump-tapd-v0.7.0
go.mod: bump lnd, loop, taproot-assets
2025-11-26 11:26:33 +00:00
ffranr
cb700c1ba4
docs: add release note 2025-11-26 10:55:48 +00:00
ZZiigguurraatt
3d9436ec78 dev.Dockerfile: use cache mounts to speed up rebuilding 2025-11-19 15:27:53 -05:00
Viktor Torstensson
1ed66620ec
Merge pull request #1167 from ZZiigguurraatt/add_monitoring
build: add `monitoring` tag for lnd
2025-11-19 20:56:36 +01:00
ZZiigguurraatt
82ad317086 build: add monitoring tag for lnd 2025-11-19 10:32:37 -05:00