mobile: include stateservice, use same listener for all services

This commit is contained in:
Johan T. Halseth 2021-02-11 13:54:20 +01:00
parent db28e7c891
commit cf5b0b7943
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -33,13 +33,13 @@ target_pkg="github.com/lightningnetwork/lnd/lnrpc"
# A mapping from grpc service to name of the custom listeners. The grpc server # A mapping from grpc service to name of the custom listeners. The grpc server
# must be configured to listen on these. # must be configured to listen on these.
listeners="lightning=lightningLis walletunlocker=walletUnlockerLis" listeners="lightning=lightningLis walletunlocker=lightningLis state=lightningLis"
# Set to 1 to create boiler plate grpc client code and listeners. If more than # Set to 1 to create boiler plate grpc client code and listeners. If more than
# one proto file is being parsed, it should only be done once. # one proto file is being parsed, it should only be done once.
mem_rpc=1 mem_rpc=1
PROTOS="rpc.proto walletunlocker.proto" PROTOS="rpc.proto walletunlocker.proto stateservice.proto"
opts="package_name=$pkg,target_package=$target_pkg,listeners=$listeners,mem_rpc=$mem_rpc" opts="package_name=$pkg,target_package=$target_pkg,listeners=$listeners,mem_rpc=$mem_rpc"