mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
Change location of lnd proto in server (#25)
This commit is contained in:
parent
70cbc6ffac
commit
3c3bca3d3c
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue