mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-19 13:17:51 +02:00
In this commit, we make a series of RPC changes to do away with the min/max order preference and instead replace that with a single unified field for the duration of a lease. The Terms method has been extended to return the current set of active leases. Things have been done in this way to allow us to announce a new duration, accept orders, but not yet enable market clearing for it. The changes in this commit were intended to be non-breaking, which is why the Bid/Ask message distinction still exists, even though with this commit they nearly share all the same fields. In the future further fields may be added that still make both messages asymmetric. |
||
|---|---|---|
| .. | ||
| auctioneer.pb.go | ||
| auctioneer.proto | ||
| gen_protos.sh | ||
| README.md | ||
| trader.pb.go | ||
| trader.pb.gw.go | ||
| trader.proto | ||
| trader.swagger.json | ||
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.