Skip to content

Commit 82cbd61

Browse files
Merge pull request lightninglabs#180 from lightninglabs/docs-lnd
Update lnd documentation
2 parents 0161999 + 25ee8a1 commit 82cbd61

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/lnd/grpc/javascript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npm init (or npm init -f if you want to use the default values without prompt)
1010
Then you need to install the Javascript grpc and proto loader library
1111
dependencies:
1212
```
13-
npm install grpc @grpc/proto-loader --save
13+
npm install @grpc/grpc-js @grpc/proto-loader --save
1414
```
1515

1616
You also need to copy the `lnd` `lightning.proto` file in your project directory
@@ -21,11 +21,11 @@ sources](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.pro
2121

2222
### Imports and Client
2323

24-
Every time you work with Javascript gRPC, you will have to import `grpc`, load
24+
Every time you work with Javascript gRPC, you will have to import `@grpc/grpc-js`, load
2525
`lightning.proto`, and create a connection to your client like so:
2626

2727
```js
28-
const grpc = require('grpc');
28+
const grpc = require('@grpc/grpc-js');
2929
const protoLoader = require('@grpc/proto-loader');
3030
const fs = require("fs");
3131

@@ -183,7 +183,7 @@ The following snippet will add the macaroon to every request automatically:
183183

184184
```js
185185
const fs = require('fs');
186-
const grpc = require('grpc');
186+
const grpc = require('@grpc/grpc-js');
187187
const protoLoader = require('@grpc/proto-loader');
188188
const loaderOptions = {
189189
keepCase: true,

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ for more information.
2525
* [Stub code for interacting with `lnrpc` from a WASM context through JSON
2626
messages was added](https://github.com/lightningnetwork/lnd/pull/5601).
2727

28+
## Wallet
29+
30+
* It is now possible to fund a psbt [without specifying any
31+
outputs](https://github.com/lightningnetwork/lnd/pull/5442). This option is
32+
useful for CPFP bumping of unconfirmed outputs or general utxo consolidation.
33+
2834
## Security
2935

3036
### Admin macaroon permissions
@@ -114,6 +120,8 @@ you.
114120

115121
* [Missing dots in cmd interface](https://github.com/lightningnetwork/lnd/pull/5535).
116122

123+
* [Link channel point logging](https://github.com/lightningnetwork/lnd/pull/5508)
124+
117125
## Database
118126

119127
* [Ensure single writer for legacy
@@ -142,6 +150,8 @@ A bug has been fixed that would cause `lnd` to [try to bootstrap using the
142150
currnet DNS seeds when in SigNet
143151
mode](https://github.com/lightningnetwork/lnd/pull/5564).
144152

153+
[A validation check for sane `CltvLimit` and `FinalCltvDelta` has been added for `REST`-initiated payments.](https://github.com/lightningnetwork/lnd/pull/5591)
154+
145155
## Documentation
146156

147157
The [code contribution guidelines have been updated to mention the new

0 commit comments

Comments
 (0)