2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Slyghtning
0babeee084
make: cache docker builds 2024-03-07 17:05:22 +01:00
sputn1ck
20db07dccf
fsm: add fsm module
This commit adds a module for a finite state machine. The goal of the
module is to provide a simple, easy to use, and easy to understand
finite state machine. The module is designed to be used in future
loop subsystems. Additionally a state visualizer is provided to
help with understanding the state machine.
2023-09-07 17:41:15 +02:00
sputn1ck
9d7f3bf2fa
build: add postgres unit tests to makefile and CI 2023-06-20 18:59:31 +02:00
sputn1ck
5c07c20d16
tools: add sqlc generation tools 2023-06-20 14:19:31 +02:00
sputn1ck
4ed3197985
make+tools: tidy makefile, add gosimports 2022-05-20 10:16:47 +02:00
sputn1ck
f0bf9302cc
make: dockerize linter 2022-05-20 10:16:42 +02: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
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