Skip to content

Commit f738835

Browse files
Merge pull request #746 from lightninglabs/docs-lnd
Update lnd documentation
2 parents b1024b9 + ed69f63 commit f738835

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

docs/lnd/grpc/python.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,20 @@ file in Python before you can use it to communicate with lnd.
1717
```shell
1818
$ source lnd/bin/activate
1919
```
20-
3. Install dependencies (googleapis-common-protos is required due to the use of
21-
google/api/annotations.proto)
20+
3. Install dependencies
2221
```shell
23-
lnd $ pip install grpcio grpcio-tools googleapis-common-protos mypy-protobuf
22+
lnd $ pip install grpcio-tools
2423
```
25-
4. Clone the google api's repository (required due to the use of
26-
google/api/annotations.proto)
27-
```shell
28-
lnd $ git clone https://github.com/googleapis/googleapis.git
29-
```
30-
5. Copy the lnd lightning.proto file (you'll find this at
24+
25+
4. Copy the lnd lightning.proto file (you'll find this at
3126
[lnrpc/lightning.proto](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto))
3227
or just download it
3328
```shell
3429
lnd $ curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/lightning.proto
3530
```
36-
6. Compile the proto file
31+
5. Compile the proto file
3732
```shell
38-
lnd $ python -m grpc_tools.protoc --proto_path=googleapis:. --mypy_out=. --python_out=. --grpc_python_out=. lightning.proto
33+
lnd $ python -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. lightning.proto
3934
```
4035
4136
After following these steps, three files `lightning_pb2.py`,
@@ -53,7 +48,7 @@ extra steps (after completing all 6 step described above) to get the
5348

5449
```shell
5550
lnd $ curl -o router.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/routerrpc/router.proto
56-
lnd $ python -m grpc_tools.protoc --proto_path=googleapis:. --mypy_out=. --python_out=. --grpc_python_out=. router.proto
51+
lnd $ python -m grpc_tools.protoc --proto_path=. --python_out=. --grpc_python_out=. router.proto
5752
```
5853

5954
### Imports and Client

docs/lnd/grpc/ruby.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ $ gem install grpc
1919
$ gem install grpc-tools
2020
```
2121

22-
Clone the Google APIs repository:
2322

24-
```shell
25-
$ git clone https://github.com/googleapis/googleapis.git
26-
```
2723

2824
Fetch the `lightning.proto` file (or copy it from your local source directory):
2925

@@ -34,7 +30,7 @@ $ curl -o lightning.proto -s https://raw.githubusercontent.com/lightningnetwork
3430
Compile the proto file:
3531

3632
```shell
37-
$ grpc_tools_ruby_protoc --proto_path googleapis:. --ruby_out=. --grpc_out=. lightning.proto
33+
$ grpc_tools_ruby_protoc --ruby_out=. --grpc_out=. lightning.proto
3834
```
3935

4036
Two files will be generated in the current directory:

docs/lnd/release-notes/release-notes-0.19.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
* [Make the contract resolutions for the channel arbitrator optional](
6161
https://github.com/lightningnetwork/lnd/pull/9253)
6262

63+
* [Fixed a bug](https://github.com/lightningnetwork/lnd/pull/9322) that caused
64+
estimateroutefee to ignore the default payment timeout.
65+
6366
# New Features
6467

6568
* [Support](https://github.com/lightningnetwork/lnd/pull/8390) for

0 commit comments

Comments
 (0)