mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-14 12:02:46 +02:00
Core Lightning deprecated p2sh-segwit addresses which caused a crash
when a newer CLN was used than the gRPC files allowed.
|
||
|---|---|---|
| .. | ||
| node_pb2.py | ||
| node_pb2_grpc.py | ||
| primitives_pb2.py | ||
| primitives_pb2_grpc.py | ||
| README.md | ||
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/