Boris Nagaev
410a4551fc
swapserverrpc: add htlc confirmed notification
...
Add ServerHtlcConfirmedNotification message to SubscribeNotificationsResponse
oneof. This new notification type allows the server to inform the client that
a loop out HTLC has been confirmed on-chain, including the confirmed outpoint.
2026-05-29 23:00:29 -05:00
Boris Nagaev
38481fe4a9
go.mod: fix gonum replaces
...
Remove gonum/plot replace in looprpc - not needed.
Add gonum replace to swapserverrpc. It was missing and caused recent CI errors.
2026-05-10 22:03:36 -05:00
Slyghtning
38654b91af
swapserverrpc: risk rejection notification
2026-05-05 11:37:06 +02:00
Slyghtning
1ec0f77a24
swapserverrpc: risk acceptance notification
2026-05-05 11:37:02 +02:00
Boris Nagaev
5a482249f8
Reapply "build: bump google.golang.org/grpc to v1.79.3"
...
This reverts commit 98ca6a0986 .
2026-03-20 17:06:14 -05:00
Boris Nagaev
98ca6a0986
Revert "build: bump google.golang.org/grpc to v1.79.3"
...
This reverts commit 629bf3721b .
2026-03-19 10:00:22 -05:00
Boris Nagaev
629bf3721b
build: bump google.golang.org/grpc to v1.79.3
2026-03-19 01:20:06 -05:00
Slyghtning
c8b59beed6
Revert "swapserverrpc: add proto messages for confirmation error details"
...
This reverts commit 69a0798fdb .
2026-03-13 11:18:42 +01:00
Slyghtning
69a0798fdb
swapserverrpc: add proto messages for confirmation error details
...
Add DepositConfirmationStatus and InsufficientConfirmationsDetails
messages to support structured error responses when deposits lack
sufficient confirmations for dynamic risk requirements.
2026-03-11 20:58:34 +01:00
Slyghtning
6aaacf8b93
looprpc: prepare for lnrpc usage
...
In successive commits we want to access lnrpc specifc methods
and objects, so here we import github.com/lightningnetwork/lnd v0.20.1-beta
into looprpc and update relevant versions.
2026-02-26 09:35:59 +01:00
Slyghtning
e77dc53760
swapserverrpc: deprecate ServerWithdrawDeposits
2025-12-09 12:21:50 +01:00
Slyghtning
29ea8234df
swapserverrpc: psbt-base ServerWithdraw endpoint
2025-12-09 12:21:50 +01:00
Boris Nagaev
d677e9d7e6
multi: downgrade Go to 1.24.9
...
This is needed, because LND and LiT use 1.24.9.
2025-11-17 14:11:26 -03:00
Boris Nagaev
508d90f384
multi: update Go to 1.24.10
2025-11-16 00:26:02 -03:00
sputn1ck
c8c78c6f7a
versioning fixups
2025-10-31 19:05:40 +01:00
sputn1ck
e4f64ec9cc
Revert "Merge pull request #1028 from starius/downgrade-deps"
...
This reverts commit b11c959bc8 , reversing
changes made to 0a182ee308 .
2025-10-31 18:48:26 +01:00
Boris Nagaev
b11c959bc8
Merge pull request #1028 from starius/downgrade-deps
...
go.mod: downgrade deps for litd release
2025-10-31 11:12:36 -03:00
Boris Nagaev
7d58b65a84
go.mod: downgrade deps for litd release
...
lnd v0.19.3-beta
tapd v0.6.1
go 1.23.12 (except in tools/ where golangci-lint needs Go 1.24)
Remove docs generators as cli-docs depends on Go 1.24.
2025-10-31 10:23:52 -03:00
Andras Banki-Horvath
79af5b3703
loop: add notification versioning
2025-10-30 22:41:00 +01:00
Andras Banki-Horvath
460fc116d8
loop: add resume manager
2025-10-30 22:41:00 +01:00
Slyghtning
83c86661d3
swapserverrpc: fast flag for ServerLoopInQuoteRequest and ServerStaticAddressLoopInRequest
2025-10-07 08:52:56 +02:00
Slyghtning
3b8ec72dbc
swapserverrpc: arbitrary static swap amount
2025-09-19 10:49:31 +02:00
Oliver Gugger
5d16c50762
multi: bump Go version to v1.23.9
2025-05-26 15:58:07 +02:00
sputn1ck
d3e9b5c893
swapserverrpc: add reservationids to instantout quote
2025-04-30 15:35:21 +02:00
dependabot[bot]
41a8b803e4
build(deps): bump golang.org/x/net in /swapserverrpc
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.9.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 13:45:32 -03:00
Boris Nagaev
809586c86f
run make rpc
2025-04-29 11:21:54 -03:00
Boris Nagaev
4ab8a80db5
swapserverrpc: bump Go to 1.18
...
Protobuf v1.34.2 generates Go files that fail to compile with Go 1.16:
predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
Also ran "go mod tidy".
2025-04-29 11:21:53 -03:00
Boris Nagaev
664cde23ce
swapserverrpc: update protobuf to v1.34.2
2025-04-28 21:17:37 -03:00
Slyghtning
ca9acf3074
swapserverrpc: restore old withdrawal params
2025-03-03 16:15:14 +01:00
Slyghtning
e8d1a43c01
swapserverrpc: static address amount and change amount for withdrawals
2025-02-09 15:40:17 +01:00
sputn1ck
d0e484a3c0
swapserverrpc: add new functions
...
This commit adds a new notification to the proto, which is used by the
server to request signatures for a deposit of a static loop in.
2024-12-12 18:19:32 +01:00
Slyghtning
7421916eba
staticaddr: separate file for rpc service
2024-12-12 18:19:32 +01:00
Slyghtning
4bf2a9b834
swapserverrpc: static address loop-ins
2024-12-12 18:19:32 +01:00
Slyghtning
f2c9fb8a68
swapserverrpc: fix ServerLoopInQuoteRequest comments
2024-12-12 18:19:32 +01:00
Slyghtning
bfad2d9c54
swapserverrpc: fix withdrawal comments
2024-12-12 18:19:31 +01:00
sputn1ck
cc1d942c7a
swapserverrpc: refactor reservation notifications
...
This commit refactors the proto definitions of the
reservation notifications to use a more generic
mechanism that can be used for other types of
notifications as well.
2024-10-07 11:57:31 +02:00
Boris Nagaev
af81f3b2bf
swapserverrpc: sync with server types
2024-09-22 13:31:03 -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
85e74adf5a
swapserverrpc: add instantout quote req
2024-02-07 16:08:14 +01:00
sputn1ck
932a55aaf6
swapserverrpc: add instantout service
2024-02-06 15:07:58 +01:00
Slyghtning
0db65f4079
version: static address protocol versions
2024-01-31 11:24:20 +01:00
George Tsagkarelis
23d308c74f
swapserverrpc: add prevouts to MuSig2SignSweep req
2024-01-23 20:38:07 +02:00
sputn1ck
73d5cf5bf9
swapserverrpc add ReservationServer
...
This commit adds the ReservationServer service to the proto definitions.
2024-01-17 15:59:07 +01:00
sputn1ck
6d5d21075f
swapserverrpc: Add Fetchl402 call
...
This commit adds a new FetchL402 call which allows a client to retrieve
a l402 token from the loop server.
2023-12-11 20:09:04 +01:00
Slyghtning
8612912e97
looprpc: abandon swap api
...
swaprpc: abandon swap api
2023-11-24 11:09:53 +01:00
dependabot[bot]
b8050a150b
build(deps): bump google.golang.org/grpc in /swapserverrpc
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:35:53 +00:00
George Tsagkarelis
1d47bef3a8
looprpc: update server proto files
2023-07-28 14:43:10 +03:00
Slyghtning
647333ac64
looprpc: account field for LoopOutRequest
2023-07-27 13:51:52 +02:00
dependabot[bot]
a2b2650e62
build(deps): bump google.golang.org/grpc in /swapserverrpc
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.38.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.38.0...v1.53.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:06:42 +00:00
Andras Banki-Horvath
b47f67a6de
loopin: push the htlc internal key if the invoice is swept
...
This commit adds key reveal to MuSig2 loopin swaps' success path. In
this case the client reveals their internal HTLC key to the server when
the swap invoice is settled. With this key the server can sweep the swap
HTLC without any more interaction from the client. We'll do this every
block (after the invoice has been settled).
2023-03-20 20:08:43 +01:00