Change location of lnd proto in server (#25)

This commit is contained in:
Jonathan Zernik 2020-06-04 16:58:48 -07:00 committed by GitHub
parent 70cbc6ffac
commit 3c3bca3d3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -9,12 +9,12 @@ if [ ! -f "rpc.proto" ]; then
fi
# Move this to squeaknode/common/lnd/rpc.proto instead.
cp rpc.proto squeaknode/common/lnd.proto
cp rpc.proto squeaknode/common/rpc/lnd.proto
# cp rpc.proto lnd.proto
echo "Installing RPC protocol files"
# install lnd protocol
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/common/lnd.proto
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/common/rpc/lnd.proto
# install lnd protocol at the top level
# python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. lnd.proto

View file

@ -10,8 +10,8 @@ from configparser import ConfigParser
from squeak.params import SelectParams
from squeak.core.signing import CSigningKey
import squeaknode.common.lnd_pb2 as ln
import squeaknode.common.lnd_pb2_grpc as lnrpc
import squeaknode.common.rpc.lnd_pb2 as ln
import squeaknode.common.rpc.lnd_pb2_grpc as lnrpc
from squeaknode.common.lnd_lightning_client import LNDLightningClient
from squeaknode.server.squeak_server_servicer import SqueakServerServicer