pool/poolrpc
Oliver Gugger 938e608ab2
multi: update lnd master with grpc-gateway upgrade
To make pool work with the latest lnd version inside of LiT, we need
to upgrade the grpc-gateway library to the same v2 version here too.
2021-07-29 14:01:23 +02:00
..
.clang-format make+poolrpc: add rpc-format command 2020-11-30 23:20:51 +01:00
Dockerfile multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
gen_protos.sh multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
gen_protos_docker.sh multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
README.md pool: rename clmrpc to poolrpc 2020-09-09 19:55:01 -07:00
trader.pb.go multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
trader.pb.gw.go multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
trader.proto poolrpc+auctioneerrpc: use docker to compile protos 2021-07-29 13:40:47 +02:00
trader.swagger.json multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
trader.yaml multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00
trader_grpc.pb.go multi: update lnd master with grpc-gateway upgrade 2021-07-29 14:01:23 +02:00

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.