pool/poolrpc
Oliver Gugger ffd2613b0f
rpcserver+poolrpc: expose state of --newnodesonly flag in RPC
With this commit we expose the state of the global --newnodesonly flag
of the Pool daemon in the GetInfo RPC call.
2021-03-04 16:34:37 +01:00
..
.clang-format make+poolrpc: add rpc-format command 2020-11-30 23:20:51 +01:00
gen_protos.sh multi: move auctioneer proto to auctioneerrpc package 2021-01-22 10:41:44 +01:00
README.md pool: rename clmrpc to poolrpc 2020-09-09 19:55:01 -07:00
rest-annotations.yaml poolrpc+rpcserver: optimize batch snapshot URI for REST 2021-02-02 09:57:20 +01:00
trader.pb.go rpcserver+poolrpc: expose state of --newnodesonly flag in RPC 2021-03-04 16:34:37 +01:00
trader.pb.gw.go poolrpc+rpcserver: optimize batch snapshot URI for REST 2021-02-02 09:57:20 +01:00
trader.proto rpcserver+poolrpc: expose state of --newnodesonly flag in RPC 2021-03-04 16:34:37 +01:00
trader.swagger.json rpcserver+poolrpc: expose state of --newnodesonly flag in RPC 2021-03-04 16:34:37 +01: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.