mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
This change narrows the import scope for lightning-node-connect (LNC). Instead of importing the entire pool package, LNC now only needs to import poolrpc. It also brings pool in line with the structure used in our other projects. |
||
|---|---|---|
| .. | ||
| .clang-format | ||
| Dockerfile | ||
| format.go | ||
| gen_protos.sh | ||
| gen_protos_docker.sh | ||
| go.mod | ||
| go.sum | ||
| perms.go | ||
| README.md | ||
| trader.pb.go | ||
| trader.pb.gw.go | ||
| trader.pb.json.go | ||
| trader.proto | ||
| trader.swagger.json | ||
| trader.yaml | ||
| trader_grpc.pb.go | ||
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.