mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
This prevents traders from canceling an order that does not belong to them. Previously, the order nonce was required, but this could be learned from any trader by matching with it throughout batch execution. |
||
|---|---|---|
| .. | ||
| auctioneer.pb.go | ||
| auctioneer.proto | ||
| gen_protos.sh | ||
| README.md | ||
| trader.pb.go | ||
| trader.pb.gw.go | ||
| trader.proto | ||
| trader.swagger.json | ||
poolrpc
This poolrpc package implements both a client (trader) and server (auctioneer)
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 poolrpc, 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.