2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-16 00:12:52 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
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
Andras Banki-Horvath
9e227fc1ee
build: adding clean 2021-11-29 16:36:50 +01:00
Oliver Gugger
360e3347be
Travis+make: compile JSON/WASM stubs 2021-08-03 13:19:44 +02:00
Oliver Gugger
86df44362f
make+looprpc: use Docker to compile and format protos 2021-07-13 09:41:28 +02:00
Oliver Gugger
385fed89b5
make: fix commit ldflag 2020-11-06 10:42:57 +01:00
Oliver Gugger
c6b3e21801
make: add rpc command 2020-11-06 10:42:56 +01:00
carla
87b02b7715
multi: add force tick endpoint behind debug server
To itest our autolooper, we need to be able to trigger dispatch on
demand. This functionality is included in a separate rpc server behind
a dev flag. Since it is unlikely that we need to split loop into
multiple rpc servers, this commit simply adds an additional debug server
rather than opting for a full subserver setup.
2020-10-15 13:53:27 +02:00
carla
d5d64fb97a
makefile+travis: add mod check and tidy and check modules in travis 2020-06-01 12:41:36 +02:00
Joost Jager
2ddbe23418
build: mark build as default target 2020-05-14 11:33:37 +02:00
carla
41550a9c4b
makefile+travis: add install and build commands
Build executables are suffixed with 'debug' because we cannot
create a loopd executable in the root repo dir, since there is an
already existing loopd executable. Add build to travis.
2020-04-15 09:19:06 +02:00
Oliver Gugger
1cdb233a00
add lint command to Makefile 2019-10-09 09:03:31 +02:00
Joost Jager
a83824bbb5
build: add travis config 2019-03-07 10:19:27 +01:00