pool/clmrpc
Oliver Gugger 3c6e40e66e
clmrpc: add error type for reserved account
If we only have a reservation on the auctioneer's side when a
trader tries to connect, we cannot create a full account subscription
and therefore not follow the normal message flow for recovery. Instead
we return a special error message that contains the information we have
that should be enough to restore the account on the trader's side.

The trader still has to provide a valid signature with the trader key
so no probing for this information should be possible by any third
party.
2020-06-25 09:19:22 +02:00
..
auctioneer.pb.go clmrpc: add error type for reserved account 2020-06-25 09:19:22 +02:00
auctioneer.proto clmrpc: add error type for reserved account 2020-06-25 09:19:22 +02:00
gen_protos.sh client+clmrpc: rename ChannelAuctioneerClient to Trader 2020-02-20 10:15:52 +01:00
README.md clmrpc: add README.md 2020-06-05 21:25:53 +02:00
trader.pb.go clmrpc: add DepositAccount RPC 2020-06-17 18:34:54 -07:00
trader.pb.gw.go clmrpc: add DepositAccount RPC 2020-06-17 18:34:54 -07:00
trader.proto clmrpc: add DepositAccount RPC 2020-06-17 18:34:54 -07:00
trader.swagger.json clmrpc: add DepositAccount RPC 2020-06-17 18:34:54 -07:00

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.