2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00
loop/loopd
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
..
config.go loopd: Consider network when making LND paths 2021-12-08 13:54:03 -05:00
daemon.go Merge pull request #432 from carlaKC/export-listnerconfig 2021-11-18 10:03:33 +01:00
log.go multi: bump lnd to version v0.13.0-beta.rc2 2021-05-19 14:24:41 +02:00
macaroons.go loopd: conditionally create default macaroon file 2021-11-04 14:09:27 +01:00
register_default.go multi: add force tick endpoint behind debug server 2020-10-15 13:53:27 +02:00
run.go loopd: export NewListenerConfig 2021-11-12 11:26:07 +02:00
swapclient_server_debug.go multi: add force tick endpoint behind debug server 2020-10-15 13:53:27 +02:00
swapclient_server_test.go loopd: verify loop out amount 2021-03-17 10:12:30 +02:00
swapclient_server.go multi: move server proto files to their own directory 2021-12-13 13:56:40 +02:00
utils.go multi: make server side restrictions function generic 2021-02-03 08:54:50 +02:00
view.go loopd: export NewListenerConfig 2021-11-12 11:26:07 +02:00