mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-03 07:43:39 +02:00
docs: Update C# grpc docs to use Grpc.Net.Client
The Grpc.Core NuGet package is in maintentance mode. Grpc.Net.Client is now the recommended implementation.
This commit is contained in:
committed by
Jesse de Wit
parent
6be472eb98
commit
0577a6086a
@@ -60,7 +60,9 @@ lnd ⛰ python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --
|
||||
### Imports and Client
|
||||
|
||||
Every time you use Python gRPC, you will have to import the generated rpc modules
|
||||
and set up a channel and stub to your connect to your `lnd` node:
|
||||
and set up a channel and stub to your connect to your `lnd` node.
|
||||
|
||||
Note that when an IP address is used to connect to the node (e.g. 192.168.1.21 instead of localhost) you need to add `--tlsextraip=192.168.1.21` to your `lnd` configuration and re-generate the certificate (delete tls.cert and tls.key and restart lnd).
|
||||
|
||||
```python
|
||||
import lightning_pb2 as ln
|
||||
|
Reference in New Issue
Block a user