blitz_api/app/lightning/impl/protos/cln
fusion44 39e7281ccc
fix: p2sh-segwit address deprecation for CLN
Core Lightning deprecated p2sh-segwit addresses which caused a crash
when a newer CLN was used than the gRPC files allowed.

932ca9e91f
2023-03-12 08:38:48 +01:00
..
node_pb2.py fix: p2sh-segwit address deprecation for CLN 2023-03-12 08:38:48 +01:00
node_pb2_grpc.py fix: p2sh-segwit address deprecation for CLN 2023-03-12 08:38:48 +01:00
primitives_pb2.py fix: p2sh-segwit address deprecation for CLN 2023-03-12 08:38:48 +01:00
primitives_pb2_grpc.py refactor: switch to domain driven directory layout 2022-10-03 20:22:00 +02:00
README.md fix: p2sh-segwit address deprecation for CLN 2023-03-12 08:38:48 +01:00

Build the Python gRPC files

Build for lightningd tagged v23.02

cd ~/dev/lightning/clightning/cln-grpc/proto
git pull origin master
git checkout tags/v23.02
poetry shell
pip install grpcio grpcio-tools googleapis-common-protos
python -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. primitives.proto
python -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. node.proto
cp node_pb2.py node_pb2_grpc.py primitives_pb2.py primitives_pb2_grpc.py ~/dev/blitz/api/dev/app/lightning/impl/protos/cln/