Commit graph

24 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
650fd92259
app: patch Loop proto import for local proto build
Rewrite Loop's lnd proto import during proto generation so make protos
continues to work with this repo's local proto layout.

This became necessary when Loop v0.32.0-beta started shipping the
looprpc/client.proto change from upstream commit
f47b6115571f6072fe68057cb4eff30cc4fc47df
("looprpc: extend client.proto with lnrpc.OutPoint and
lnrpc.OpenChannelRequest"). That update made the downloaded Loop proto
import lnrpc/lightning.proto, while LiT stores the downloaded lnd proto
locally as proto/lnd.proto and invokes protoc with ../proto as the
import root. As a result, the downloaded Loop proto overwrote the local
compatibility fix and make protos failed with
"lnrpc/lightning.proto: File not found".

Patch the downloaded proto in build-protos.js to import lnd.proto
instead, and keep proto/loop.proto aligned with the same import path.
This is needed because changing only the checked-in proto file is not
enough: the build script re-fetches and replaces it on every run.
2026-06-16 00:35:56 +02:00
Viktor Tigerström
83d61c6450
multi: bump loop and swapserverrpc
This commit updates the `loop` dependency to version `v0.28.8-beta`.
Notably, the actual `loop` reference points to a branch based on top of
the `v0.28.8-beta` tag, which modifies `v0.28.8-beta` to use `lnd`
version `v0.18.3-beta` rather than `v0.18.3-beta.rc1`.

Additionally, we upgrade `github.com/lightninglabs/loop/swapserverrpc`
to version `v1.0.10`.
As `loop/swapserverrpc` `v1.0.10` references the `reservation.proto`, we
need to modify the `build-protos.js` script to include it as on of the
fetched protos files.
2024-10-25 19:39:48 +02:00
Elle Mouton
861d64cfbe
app+proto: add status server to build-protos.js 2023-09-22 11:59:25 +02:00
Elle Mouton
365ad8fc17
proto: add new lit service protos
Add missing lit service protos to 'build-protos.js' and run `make
protos`
2023-03-20 20:46:07 +02:00
jamaljsr
342cf24e87
proto: add generated types for lit-accounts 2023-01-05 09:55:55 -05:00
Elle Mouton
cfc0de1a9e
multi: updates for release v0.8.5-alpha
multi: updates for release v0.8.5-alpha
2022-12-05 09:00:01 +02:00
Oliver Gugger
ca4f566e20
app: fix build-protos for new swapserverrpc package
The swapserverrpc package has a few oddities which we need to address
with rewrites and replaces. There seems to be a weird behavior with
regex replace functions that required the replaces to be re-written into
two separate ones.
2022-04-19 20:57:36 +02:00
jamaljsr
803dd4f53a
proto: add patch to fix pool GetInfo response 2022-04-04 12:01:50 -04:00
Oliver Gugger
81e893f7b5
multi: add litrpc package 2021-11-24 13:44:25 -05:00
Oliver Gugger
76a776ec6a
proto+app: remove google annotations
With all the annotations now being extracted into their own yaml files,
we no longer need to include the protos for compilation.
2021-11-04 13:30:24 +01:00
Oliver Gugger
4ce887e906
multi: update lnd+loop+pool+faraday
With this commit we prepare to use the new version
v0.14.0-beta.rc1 of lnd.
2021-11-04 13:30:19 +01:00
jamaljsr
7092d1e157
proto: update build-proto script and regenerate the TS files 2021-07-16 17:46:37 -04:00
Oliver Gugger
a5a4828518
app: revert temporary lnd version pinning 2021-06-25 16:03:39 +02:00
Oliver Gugger
e6daf28b3d
temp: update proto files 2021-05-26 18:39:09 +02:00
Oliver Gugger
02255c0c66
app/scripts: update auctioneer proto path 2021-01-29 13:14:42 +01:00
jamaljsr
861b64a9a3
scripts: add Pool protos to build-protos script 2021-01-27 11:11:24 -05:00
jamaljsr
884b2329ad
pool: add pool protos and initial api wrapper class 2021-01-27 11:11:11 -05:00
Oliver Gugger
5afccea886
scripts+docs: extract lnd and loop version from go.mod
To make sure we always use the *.proto files for the correct versions of
the daemons we include, we parse the versions of lnd and loop directly
from the go.mod file.
2020-12-14 18:10:49 +01:00
jamaljsr
632b4c75b8 scripts: update build-protos script to download protos from github 2020-12-11 16:02:51 -05:00
jamaljsr
9c0d6c09d5 docker: add protoc to docker image 2020-07-29 16:49:35 -04:00
jamaljsr
ee408217df chore: remove JS code generated from protos 2020-07-24 16:49:48 -04:00
jamaljsr
6a8958068d rewrite backend and add loop proxy 2020-04-07 18:39:55 -04:00
jamaljsr
b7c4b7d570 create initial react app 2020-04-07 18:39:55 -04:00