Commit graph

85 commits

Author SHA1 Message Date
cyberguru1
f5a1a020eb
proto: add AccountPayments to Accounts service
Define the AccountPayments RPC endpoint and its request/response
messages in lit-accounts.proto. This endpoint allows querying
paginated payment history for a specific account.

Also update the frontend JS/TS proto sanitization script to map the
imported lnd.proto file to its flat directory path, fixing app build.
2026-07-22 14:06:25 -05:00
Viktor Torstensson
5c34be31f4
terminal: bump lnd, loop, looprpc & swapserverrpc
Bump `lnd` to version `v0.21.1-beta`, as well as `loop` to version
`v0.33.3-beta`. Additionally, we bump `looprpc` & `swapserverrpc` to
versions compatible with the new `loop` version.
2026-06-26 22:39:54 +02:00
Calvin Zachman
b225a8de85
multi: regenerate protos and update frontend test data
Run make rpc to regenerate JS/TS protobuf files for lnd v0.21.
The proto file drops the removed deprecated RPCs (SendPayment,
SendPaymentSync, SendToRoute, SendToRouteSync) and picks up new
messages and fields (onion messages, ChannelCommitUpdate,
walletSynced, graphCacheStatus, etc.). The frontend test sample data
is updated to include the new GetInfoResponse, WaitingCloseChannel,
and ChannelEventUpdate fields.
2026-06-08 13:19:14 -04:00
cyberguru1
b7cd3503f3
proto: add new_label to UpdateAccountRequest 2026-05-05 13:38:27 -05:00
Viktor Torstensson
2332fc6bca
terminal: bump loop, looprpc & swapserverrpc
Bump `loop` to `v0.31.8-beta`, `looprpc` to `v1.0.13` and
`swapserverrpc` to `v1.0.20`.

Additionally, we also add the new `loop` protos to `litd`.
2026-02-12 19:16:07 +01:00
ffranr
42af6e1689
go.mod: bump lnd, loop, taproot-assets
Target versions:
* lnd@v0.20.0
* taproot-assets@v0.7.0
* taproot-assets/taprpc@v1.0.12
* loop@v0.31.6-beta
* loop/looprpc@v1.0.12
* loop/swapserverrpc@v1.0.19
2025-11-26 10:55:48 +00:00
Viktor Torstensson
3e434784c8
terminal: bump lnd, loop, tapd & lndclient
Bump `lnd` to v0.20.0-beta.rc2, `loop` to `v0.31.5-beta`, `tapd` to
`v0.7.0-rc2` and `lndclient` to `v0.20.0-3`.

Also bump `looprpc`, `swapserverrpc` and `taprpc` to the versions used
in the respective releases.

This commit also includes an update to the protos and sample data to
reflect the changes in the bumped dependencies.
2025-11-10 18:58:21 +01:00
George Tsagkarelis
0ec5bca24f
build: regenerate protos
Since we bumped the version of loop and lnd in the previous commit we
also caused the proto files to change. We need to regenerate the proto
files with `make protos` and commit them.
2025-10-15 13:38:53 +02:00
Oliver Gugger
9870834e7a
app+proto: update protos for new lnd version 2025-07-16 18:44:36 +02:00
Oliver Gugger
a38c9e9de0
app+proto: update protos for new lnd version 2025-07-14 10:26:14 +02:00
Viktor Tigerström
e2a37b47f6
lightning-terminal: bump loop & lnd
Bump loop to `v0.31.2-beta` and lnd to `v0.19.1-beta`.

Also bump the loop `looprpc` to `v1.0.8` and `swapserverrpc` to
`v1.0.15`.
2025-06-18 13:00:40 +02:00
Oliver Gugger
3524775ff8
mod: bump lnd, lndclient, tapd, loopd
We bump all major dependencies to their respective latest versions.
2025-05-21 19:25:29 +02:00
Elle
329b939aa6
Merge pull request #1034 from ViktorTigerstrom/2025-04-include-commit-hash
Add `commit_hash`  field to `GetInfo` response
2025-05-16 12:26:02 +02:00
Viktor Tigerström
e30ac3d0a8
multi: update GetInfoResponse response
Add the `commit_hash` field to the GetInfoResponse. The `commit_hash`
field will contain the most recent commit_hash that the build was based
on. If the build had uncommitted changes, this field will contain the
most recent commit hash, suffixed by "-dirty".

The semantics of the `version` field is also updated to always contain
the most recent semantic version of the litd node, following the
semantic versioning 2.0.0 spec (http://semver.org/).
2025-05-13 12:27:19 +02:00
Elle Mouton
f6e66db7ab
litrpc: add macaroon_identifier to Action message
We add a new macaroon_identifier field to the Action proto message an
populate it in the rpc server.
2025-05-13 09:20:24 +02:00
Oliver Gugger
e995fcbeb7
mod: bump to latest version of tapd, lnd, loop 2025-04-29 21:18:48 +02:00
Elle
9e5578cf2d
Merge pull request #974 from ViktorTigerstrom/2025-02-credit-debit-accounts-impl
accounts: Add credit and debit account functionality
2025-04-01 13:13:43 +02:00
Viktor Tigerström
0c520cef18
multi: add accounts u --new_balance deprecation
This commit adds a deprecation notice regarding the
`accounts update --new_balance` flag. This flag will be removed in the
next major release of lit.
2025-03-31 02:45:53 +02:00
Viktor Tigerström
3e8c6d728d
multi: add CreditAccount & DebitAccount endpoints
This commit introduces the structure for new endpoints in the accounts
subsystem, enabling balance adjustments by crediting or debiting a
specified amount. This contrasts with the existing `UpdateAccount`
implementation, which directly sets the balance to a fixed value.

For more details on the drawbacks of the current implementation, see
[issue #648](https://github.com/lightninglabs/lightning-terminal/issues/648).

The actual implementation of the endpoints will be introduced in
subsequent commits.
2025-03-31 02:18:56 +02:00
Elle Mouton
86fc34fb2b
app+proto: run make protos 2025-03-26 09:20:53 -05:00
Elle Mouton
6717d9d54b
session+lnrpc: add StateReserved and delete these on start up 2025-02-19 12:09:27 -03:00
Oliver Gugger
06f8d4651f
proto+app: update proto files 2025-02-12 11:09:44 +01:00
Oliver Gugger
d368f8a8fe
multi: bump to lnd/tapd/lndclient v0.18.4-beta/v0.5.0-alpha 2024-12-19 21:21:38 +01:00
Viktor Tigerström
bc18ef9ae8
protos: run make protos 2024-10-25 19:39:48 +02:00
Oliver Gugger
ea33903622
litrpc+proto: fix ownership in docker container
This was discovered while debugging the reproducible build. We used the
wrong group ID. And the environment variables aren't super portable so
we use the correct command to get the numeric user and group IDs.
2024-10-24 11:18:02 +02:00
Oliver Gugger
c9e632e38d
docker: pin all docker images with their hash 2024-10-23 14:53:32 +02:00
Elle Mouton
a59bf2735d
litrpc+proto: add ReadOnly param to BakeSuperMacaroon 2024-10-14 15:48:18 +02:00
Viktor Tigerström
203bf148e6
app+protos: make protos 2024-09-16 12:50:55 +07:00
Viktor Tigerström
1165e4d85a
proto + app: bump node + protoc & make protos
In the next commit, we'll bump our lnd dependency to `v0.18.3-beta`.
That version adds explicitly declared optional protos fields with commit
3de6c5415a

Optional proto fields are only available in Proto3 after protoc version
`3.15+`, and we therefore need to bump our protoc version for the protos
generation script to support them.

When doing so, we mimic the protobuf-compiler version used in `lnd`,
which is `3.21.12`. As protobuf-compiler 3.21.x+ is only available for
Node.js base images with Debian 12 (bookworm), we also update our NodeJS
base image to version 22.8.0-bookworm.
2024-09-16 12:50:55 +07:00
bitromortac
f5d57f8cf1
rules: add channel open constraints
We add a new channel constraint rule that enforces limits on channel
opening for the OpenChannelSync and BatchOpenChannel end points.

The channel constraint rule takes care about:
* min channel size
* max channel size
* max push amount
* no closing address was used
2024-07-02 18:21:41 +02:00
Viktor Tigerström
58d3184658
app+protos: make protos 2024-06-06 13:45:17 -04:00
bitromortac
460dec1779
litrpc: add privacy flags
* to sessions in order to get details when running `autopilot list`
* to the autopilot rpc to be able to register features with privacy
  flags via cli `autopilot add`
2024-04-25 14:49:46 +02:00
bitromortac
b02aad321b
autopilotserverrpc+litrpc: add privacy flags
* to Features to know about default privacy flags in `autopilot features`
* to RegisterAutopilotSession in order to communicate to the autopilot
  which privacy flags are being used after `autopilot add`
2024-04-25 14:49:46 +02:00
Viktor Tigerström
1a564ace57
app+proto: update protos 2024-03-08 11:09:02 +01:00
Viktor Tigerström
7cde3141e2
app+proto: update protos 2024-02-08 19:37:40 +01:00
Viktor Tigerström
4a46e41f97
protos: add Subserver custom_status to protos 2024-01-05 03:46:54 +01:00
Viktor Tigerström
d2c3f6b581
app+proto: add abandon swap protos 2023-12-06 23:48:19 +01:00
Oliver Gugger
b3c0d0e9b1
multi: bump lnd to v0.17.0-beta 2023-10-03 19:51:57 +02:00
Elle Mouton
861d64cfbe
app+proto: add status server to build-protos.js 2023-09-22 11:59:25 +02:00
bitromortac
00214c0415
app+proto: run make protos
We also upate sample data to reflect the latest state of the api.
2023-09-05 13:03:58 +02:00
Elle Mouton
c27f4ebcea
app+proto: run make protos 2023-08-30 12:34:29 +02:00
Elle Mouton
e92350254f
litrpc: add session link field to AddAutopilotSessionRequest
Update the Autopilot service AddAutopilotSessionRequest message to
include a new `group_id` field. Users may set this field to the ID of a
sessino group in order to link the new session to the older ones. The
Session message is also updated with new `group_id` field which will be
populated by the group a session.
2023-08-30 12:34:26 +02:00
Elle Mouton
bc12545680
version+README: update LiT and Loop version
This commit updates the integrated Loop version to v0.26.2-beta and
bumps Lit's version to v0.10.5-alpha
2023-08-08 16:42:21 +02:00
Oliver Gugger
27b04eb374
multi: add AccountInfo RPC 2023-07-26 16:41:20 +02:00
Oliver Gugger
1e08f4a78d
multi: allow account update and removal by label 2023-07-26 16:41:20 +02:00
Oliver Gugger
138d33bbed
multi: add label to account 2023-07-26 16:41:20 +02:00
Viktor Tigerström
0863c3037c
build: bump lnd, tapd and loop
bump lnd to v0.16.4, tapd to v0.2.2 and loop to v0.25.2-beta
2023-07-07 13:59:22 +02:00
Elle Mouton
2f6defe2fd
app+proto: run make protos 2023-06-20 08:10:54 +02:00
Viktor Tigerström
558a7ce9e6 multi: Update loop protos 2023-06-06 11:43:05 +02:00
Olaoluwa Osuntokun
df1e0f910b
build: update lnd version to v0.16.1 2023-04-25 18:16:28 +02:00