mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
62dc078271
The server doesn't do much more than unwrapping the request from its grpc envelope, convert it into the matching JSON-RPC binding struct, initiate the RPC connection (until we have connection pooling), and then forwards the converted request. The inverse then happens for the result.
15 lines
386 B
Makefile
15 lines
386 B
Makefile
cln-grpc-wrongdir:
|
|
$(MAKE) -C .. cln-grpc-all
|
|
|
|
CLN_GRPC_EXAMPLES :=
|
|
CLN_GRPC_GENALL = cln-grpc/proto/node.proto \
|
|
cln-grpc/src/convert.rs \
|
|
cln-grpc/src/server.rs
|
|
|
|
DEFAULT_TARGETS += $(CLN_GRPC_EXAMPLES) $(CLN_GRPC_GENALL)
|
|
|
|
$(CLN_GRPC_GENALL): $(JSON_SCHEMA)
|
|
PYTHONPATH=contrib/msggen python3 contrib/msggen/msggen/__main__.py
|
|
|
|
cln-grpc-all: ${CLN_GRPC_GENALL} ${CLN_GRPC_EXAMPLES}
|