mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-19 13:17:51 +02:00
To track whether or not an account was recently involved in one or more batches, we need to add a new pending state. This pending state is different from the normal pending update from a balance modification as the auctioneer allows an account in this state to participate in a batch. A scenario is possible where an account was involved in two or more consecutive batches that both aren't confirmed on chain yet. To handle that special case we need to also track the special account state on the trader side. |
||
|---|---|---|
| .. | ||
| auctioneer.pb.go | ||
| auctioneer.proto | ||
| gen_protos.sh | ||
| README.md | ||
| trader.pb.go | ||
| trader.pb.gw.go | ||
| trader.proto | ||
| trader.swagger.json | ||
clmrpc
This clmrpc package implements both a client (trader) and server (auctioneer)
for subastas RPC system which is based off of the high-performance
cross-platform gRPC RPC framework. By default, only the
Go client+server libraries are compiled within the package. In order to compile
the client side libraries for other supported languages, the protoc tool will
need to be used to generate the compiled protos for a specific language.
For a list of supported languages for clmrpc, see
grpc.io/docs/languages.
Generate protobuf definitions
Make sure you have the exact versions of all libraries installed as described
in the lnrpc/README.md of lnd
then run the make rpc command.