Commit graph

136 commits

Author SHA1 Message Date
Slyghtning
e17e5522ac
looprpc: static address amount for withdrawals 2025-02-09 15:40:16 +01:00
dependabot[bot]
b54fc7181b
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /looprpc
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-31 14:43:35 +00:00
sputn1ck
95aae0e800
loopout/asset: add asset rate 2025-01-22 15:40:57 +01:00
sputn1ck
fddad8a964
looprpc: rename assetamt to max amt 2025-01-22 15:40:57 +01:00
sputn1ck
3e3c863819
loopout: add asset accounting 2025-01-21 18:26:20 +01:00
sputn1ck
0a0cda46b9
looprpc: add loop out asset params 2025-01-21 18:12:57 +01:00
Slyghtning
c9068ac1ca
gomod: bump looprpc and swapserverrpc version 2024-12-12 18:31:10 +01:00
Slyghtning
e32f7e3f78
looprpc: addr and fee rate for withdrawals 2024-12-12 18:31:10 +01: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
549c33e08e
looprpc: deposit outpoints for QuoteRequest
This commit adds static address deposit outpoints to the
QuoteRequest message. It allows to quote for loop in swaps
with the total value of specified deposits.
2024-12-12 18:31:05 +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
Slyghtning
ff08d9a2c8
looprpc: list unspent static address 2024-12-12 18:31:02 +01:00
Slyghtning
a9b41bf781
looprpc: static address creation 2024-12-12 18:31:00 +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
Andras Banki-Horvath
64886dfc66
looprpc: convert looprpc into a versioned module
This commit transforms the looprpc subpackage into a versioned module.
By doing so, projects that rely solely on the generated RPC code from
the proto files will benefit from significantly reduced dependencies
during compilation.
2024-08-21 16:46:33 +02:00
Andras Banki-Horvath
461ceeeb28
looprpc: add payment_timeout to the LoopOutRequest 2024-05-23 17:17:21 +02: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
14dc8e165d
looprpc: additional_bindings for /v1/lsat/tokens
Provide backward compatibility for clients using this API endpoint.
2024-04-24 18:42:33 -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
Boris Nagaev
bfc3f44aa1
update aperture to include lsat to l402 renaming
Fix the build:
go mod tidy
sed 's@\<lsat\>@l402@g' -i `git grep -l -w aperture/lsat`
make rpc
2024-04-24 13:28:04 -03:00
Boris Nagaev
368432ebb4
looprpc,swapserverrpc: update Go image to 1.21.9-bookworm
This is needed to update protobuf. Version 1.33 breaks in Go 1.16 with
the following error: "//go:build comment without // +build comment".

Distribution was updated from buster (10) to bookworm (12).
protoc was updated from v3.6.1 to v3.21.12.
2024-04-24 13:21:37 -03:00
sputn1ck
1f96a61d21
looprpc: add listinstantouts 2024-03-04 12:26:15 +01:00
sputn1ck
6a62be0d09
instantout: add addr to send funds to 2024-03-04 09:43:52 +01:00
Slyghtning
6f3c68fb21
looprpc: new state for incorrect amount sweeps 2024-02-13 10:43: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
George Tsagkarelis
627eb5cb68
looprpc: add is_external_addr to loopout req 2024-01-23 20:38:07 +02:00
sputn1ck
091c0a86bd
looprpc: add reservation rpcs 2024-01-17 15:59:07 +01:00
sputn1ck
90f5a8851e
looprpc: add swap filter 2024-01-04 15:14:31 +01:00
Slyghtning
0060e3fe53
looprpc: failure reason insufficient confirmed balance 2023-11-27 13:45:31 +01:00
Slyghtning
8612912e97
looprpc: abandon swap api
swaprpc: abandon swap api
2023-11-24 11:09:53 +01:00
Oliver Gugger
bac1416636
multi: bump lnd version to v0.17.0-beta 2023-10-03 19:36:32 +02:00
Slyghtning
647333ac64
looprpc: account field for LoopOutRequest 2023-07-27 13:51:52 +02:00
sputn1ck
ca032b1f1d
multi: expose l402 id in grpc interface
This commit adds an additional field to the tokens in order to fetch the
relevant l402 ids for the users tokens.
2023-06-22 17:55:47 +02:00
Slyghtning
d84af7065c looprpc: add rest entries for getinfo rpc 2023-05-26 10:07:48 +02:00
Slyghtning
7f6f265db3 looprpc: request and response params for new getInfo rpc 2023-05-24 17:32:23 +02:00
George Tsagkarelis
cd9f6f142b
cmd+looprpc: add new parameters for easy autoloop
This commit introduces the new parameters to the protofiles and the
cmd interface. If easy autoloop is enabled we just ignore the rest of
the rules and use the defaults of easy autoloop.
2023-05-22 15:48:37 +03:00
George Tsagkarelis
72f284ecb4
looprpc: restore autoloop_budget_start_sec 2023-03-20 17:20:54 +02:00
George Tsagkarelis
74f6cc8d4b
looprpc: add last budget refresh to rpc parameters 2023-03-14 16:49:08 +02:00
George Tsagkarelis
b025b9ae37
multi: add recurring autoloop budget 2023-02-22 19:48:03 +02:00
George Tsagkarelis
0ef205cb24
looprpc: add autoloop outaddr 2022-12-16 12:02:43 +02:00
Andras Banki-Horvath
88956455b4
multi: completely remove support for NP2WSH htlcs
This commit removes all code related to NP2WSH htlcs. These were
historically used when segwit adoption was very sporadic and are not
used anywhere anymore. Some historical swaps stored in the DB may be
listed with incorrect htlc adresses from here on.
2022-11-04 17:14:53 +01:00
Evan Kaloudis
84d3adf969
looprpc/gen_protos.sh: remove js build tag 2022-09-08 10:31:04 -04:00
Andras Banki-Horvath
901a935514
loopin: enable p2tr htlcs without keyspend 2022-06-30 16:59:55 +02:00
sputn1ck
ece0f76e7f
loop: update listswaps api 2022-05-31 16:26:55 +02:00