mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-20 13:27:51 +02:00
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. |
||
|---|---|---|
| .. | ||
| auctioneer.pb.go | ||
| auctioneer.proto | ||
| gen_protos.sh | ||
| README.md | ||
| trader.pb.go | ||
| trader.pb.gw.go | ||
| trader.proto | ||
| trader.swagger.json | ||
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.