Commit graph

22 commits

Author SHA1 Message Date
Slyghtning
f47b611557
looprpc: extend client.proto with lnrpc.OutPoint and lnrpc.OpenChannelRequest
In this commit we import the lnd's lightning.proto into client.proto to
then be able to use lnrpc.OutPoint and lnrpc.OpenChannelRequest instead
of the looprpc.OutPoint type.
This is safe because the lnrpc and looprpc versions of OutPoint are the
same type.
2026-02-26 09:37:26 +01:00
Boris Nagaev
9ee7a36f37
looprpc: add new method SweepHtlc 2026-01-15 03:06:22 -05:00
Boris Nagaev
a4dc59099b
cli: add command "loop stop"
* add StopDaemon RPC with permissions + REST binding
* expose `loop stop` CLI (with optional --wait) and wait logic
* pass daemon shutdown callback + unit test and regenerate docs/protos
2025-11-19 23:42:48 -03:00
Slyghtning
cd9bcdf6f7
looprpc: add ListStaticAddressWithdrawals for historic withdrawal information 2025-06-03 12:57:10 +02:00
sputn1ck
3f6759c0d4
staticaddr/loopin: update fsm for server ntfn sigs
This commit updates the loop in FSM to handle the new server based
2024-12-12 18:31:09 +01:00
Slyghtning
781d3a0cb4
staticaddr: separate file for rpc service 2024-12-12 18:31:08 +01:00
Slyghtning
439d178b96
staticaddr: cmd listdeposits and listswaps 2024-12-12 18:31:08 +01:00
Slyghtning
b9e5875f4e
looprpc: static address loop-ins 2024-12-12 18:31:06 +01:00
Slyghtning
aa7afa7f73
looprpc: static address summary 2024-12-12 18:31:05 +01:00
Slyghtning
b5b857a198
looprpc: deposit withdrawal endpoint
A new rpc for deposit withdrawals is added.
A withdrawal cooperatively spends the 2/2
musig deposit outpoint to a client-specified
address.
2024-12-12 18:31:04 +01:00
Slyghtning
b454d957ab
looprpc: include static address in swap client
We remove the static address client and add its
rpcs into the SwapClient
2024-12-12 18:31:02 +01:00
sputn1ck
830220af66
looprpc: add FetchL402 rpc
This commit adds the FetchL402 rpc to the client proto, which will allow
users to force fetching an L402 without doing a loop out or in.
2024-10-30 17:18:34 +01:00
Boris Nagaev
5a1f79557d
loopd: re-add GetLsatTokens method in gRPC
This is needed not to break existing client binaries, e.g. `loop listauth`,
Terminal Web, RTL.

The API should be removed in a couple of releases. For now, GetLsatTokens
just prints a warning message about the API being deprecated and that the
client binary should be updated, and calls GetL402Tokens API, as a wrapper.

Type LsatToken used by GetLsatTokens in the past was renamed to L402Token,
but this does not affect binary encoding, so type L402Token can be used
(as part of TokensResponse) without breaking backward compatibility.

Updated release_notes.md.

See https://github.com/lightninglabs/loop/pull/730#discussion_r1579251294
2024-04-29 09:39:28 -03:00
Boris Nagaev
0e7927ac96
multi: replace LSAT with L402
git mv ./cmd/loop/lsat.go ./cmd/loop/l402.go
sed 's@lsat@l402@g' -i `git grep -l lsat`
sed 's@Lsat@L402@g' -i `git grep -l Lsat`
sed 's@LSAT@L402@g' -i `git grep -l LSAT`
make rpc

Updated release_notes.md.
2024-04-24 13:28:28 -03:00
sputn1ck
1f96a61d21
looprpc: add listinstantouts 2024-03-04 12:26:15 +01:00
sputn1ck
ca8f91ab77
looprpc: add instantout quote 2024-02-07 16:08:14 +01:00
sputn1ck
6c07f88458
looprpc: add reservations to loop out 2024-02-06 15:07:59 +01:00
sputn1ck
091c0a86bd
looprpc: add reservation rpcs 2024-01-17 15:59:07 +01:00
Slyghtning
8612912e97
looprpc: abandon swap api
swaprpc: abandon swap api
2023-11-24 11:09:53 +01:00
Slyghtning
7f6f265db3 looprpc: request and response params for new getInfo rpc 2023-05-24 17:32:23 +02:00
Evan Kaloudis
84d3adf969
looprpc/gen_protos.sh: remove js build tag 2022-09-08 10:31:04 -04:00
Oliver Gugger
ca9ec4cfe7
looprpc: generate JSON/WASM client stubs 2021-08-03 13:18:35 +02:00