pool/poolrpc
Olaoluwa Osuntokun 63be83dc01 poolrpc: move towards set duration buckets instead of min/max duration
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.
2020-10-05 17:28:56 -07:00
..
auctioneer.pb.go poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07:00
auctioneer.proto poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07:00
gen_protos.sh pool: rename clmrpc to poolrpc 2020-09-09 19:55:01 -07:00
README.md pool: rename clmrpc to poolrpc 2020-09-09 19:55:01 -07:00
trader.pb.go poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07:00
trader.pb.gw.go poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07:00
trader.proto poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07:00
trader.swagger.json poolrpc: move towards set duration buckets instead of min/max duration 2020-10-05 17:28:56 -07: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.