2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Evan Kaloudis
84d3adf969
looprpc/gen_protos.sh: remove js build tag 2022-09-08 10:31:04 -04: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
Oliver Gugger
ca9ec4cfe7
looprpc: generate JSON/WASM client stubs 2021-08-03 13:18:35 +02:00
Oliver Gugger
a7fff0ac2f
multi: update lnd master with grpc-gateway upgrade
To make loop work with the latest lnd version inside of LiT, we need
to upgrade the grpc-gateway library to the same v2 version here too.
2021-07-29 17:02:06 +02:00
Oliver Gugger
86df44362f
make+looprpc: use Docker to compile and format protos 2021-07-13 09:41:28 +02:00
Oliver Gugger
67c81204f6
looprpc: extract REST annotations into yaml 2021-07-13 09:37:08 +02:00
Wilmer Paulino
9edb910f53
looprpc: generate client REST definitions 2019-03-12 15:34:45 -07:00
Olaoluwa Osuntokun
ba1f427cf4
looprpc: move client+server protos to new looprpc package 2019-03-06 15:38:47 -08:00