Commit graph

29 commits

Author SHA1 Message Date
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
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
Boris Nagaev
809586c86f
run make rpc 2025-04-29 11:21:54 -03: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
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
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
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
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
Andras Banki-Horvath
cc5e26b9c9
proto: extend protocol with key reveal building blocks and new version
This commit adds a new protocol version which will add MuSig2 loop in
and loop out using key reveal and extends the existing protocol with new
message members to be able to pass around htlc internal public keys.

The commit also fixes some minor formatting issues in the server proto.
2023-03-20 20:08:42 +01:00
Andras Banki-Horvath
f8da106338
loopout: use psbt when obtaining the MuSig2 signature
In this commit we deprecate the sighash field from the
MuSig2SignSweepReq request in favour of using a psbt serialized sweep
transaction instead. This way the sever gains full transparency about
client sweep requests and can assemble the sighash to sign on its own.
2022-07-12 19:54:25 +02:00
Andras Banki-Horvath
32557a57ea
swapserverrpc: add MuSig2SignSweep function 2022-06-30 16:59:58 +02:00
Andras Banki-Horvath
9b37d744a0
multi: add ProtocolVersion_HTLC_V3 2022-06-30 16:59:54 +02:00
yyforyongyu
dfbd01988e
swapserverrpc: update server swap state 2022-02-14 20:27:21 +08:00
Andras Banki-Horvath
0f002733f6
loop: extend server protocol for routing plugin recommendations
This commits extends the server protocol with routing plugin
recommendations and routing result reporting.
2022-02-14 10:14:42 +01:00
carla
dad103530f
multi: move server proto files to their own directory
Protobuf does not allow naming conflicts for files within the same
process, because all proto messages register themselves in a global
registry.

This is problematic because the server's itests import the client's
looprpc package to make rpc queries to the loopd client, thus importing
duplicate common.proto and server.proto from the client's looprc package
(since they're both in there as well).

This change moves the server's proto files into their own directory so
that they are not imported when we want to use the client's files. We
cannot change the package name for the server, because that would be
a breaking change (the package name is included in URIS). Fortunately,
we have the go_package option which allows us to place generated files
in a different location.
2021-12-13 13:56:40 +02:00
Renamed from looprpc/server.pb.go (Browse further)