mobile: include stateservice, use same listener for all services
This commit is contained in:
parent
db28e7c891
commit
cf5b0b7943
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user