ln-service 57.3.0 → 57.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Versions
|
|
2
2
|
|
|
3
|
+
## 57.5.0
|
|
4
|
+
|
|
5
|
+
- `getSweepTransactions`: Add `after` to scope sweep result set
|
|
6
|
+
|
|
7
|
+
## 57.4.0
|
|
8
|
+
|
|
9
|
+
- `getConnectedWatchtowers`: Add `is_taproot` to get P2TR channels
|
|
10
|
+
|
|
3
11
|
## 57.3.0
|
|
4
12
|
|
|
5
13
|
- `getConfiguration`: Add method to return configuration information
|
package/README.md
CHANGED
|
@@ -975,7 +975,7 @@ Remove a chain transaction.
|
|
|
975
975
|
|
|
976
976
|
Requires `onchain:write` permission
|
|
977
977
|
|
|
978
|
-
This method is not supported on LND 0.17.
|
|
978
|
+
This method is not supported on LND 0.17.4 and below
|
|
979
979
|
|
|
980
980
|
{
|
|
981
981
|
id: <Transaction Id Hex String>
|
|
@@ -1667,7 +1667,7 @@ Get a chain transaction.
|
|
|
1667
1667
|
|
|
1668
1668
|
Requires `onchain:read` permission
|
|
1669
1669
|
|
|
1670
|
-
This method is not supported on LND 0.17.
|
|
1670
|
+
This method is not supported on LND 0.17.4 and below
|
|
1671
1671
|
|
|
1672
1672
|
{
|
|
1673
1673
|
id: <Transaction Id Hex String>
|
|
@@ -1980,7 +1980,7 @@ Get the current configuration file settings and the output log
|
|
|
1980
1980
|
Requires `info:read`, `offchain:read`, `onchain:read`, `peers:read`
|
|
1981
1981
|
permissions
|
|
1982
1982
|
|
|
1983
|
-
This method is not supported on LND 0.17.
|
|
1983
|
+
This method is not supported on LND 0.17.4 and below
|
|
1984
1984
|
|
|
1985
1985
|
{
|
|
1986
1986
|
lnd: <Authenticated LND API Object>
|
|
@@ -2013,7 +2013,13 @@ Requires `offchain:read` permission
|
|
|
2013
2013
|
|
|
2014
2014
|
Includes previously connected watchtowers
|
|
2015
2015
|
|
|
2016
|
+
`is_anchor` flag is not supported on LND 0.11.1 and below
|
|
2017
|
+
|
|
2018
|
+
`is_taproot` flag is not supported on LND 0.17.4 and below
|
|
2019
|
+
|
|
2016
2020
|
{
|
|
2021
|
+
[is_anchor]: <Get Anchor Type Tower Info Bool>
|
|
2022
|
+
[is_taproot]: <Get Taproot Type Tower Info Bool>
|
|
2017
2023
|
lnd: <Authenticated LND API Object>
|
|
2018
2024
|
}
|
|
2019
2025
|
|
|
@@ -3481,7 +3487,10 @@ Requires `onchain:read` permission
|
|
|
3481
3487
|
|
|
3482
3488
|
Requires LND built with `walletrpc` build tag
|
|
3483
3489
|
|
|
3490
|
+
`after` is not supported in LND 0.17.3 or below
|
|
3491
|
+
|
|
3484
3492
|
{
|
|
3493
|
+
[after]: <Confirmed After Block Height Number>
|
|
3485
3494
|
lnd: <Authenticated LND API Object>
|
|
3486
3495
|
}
|
|
3487
3496
|
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"bolt07": "1.8.4",
|
|
11
11
|
"invoices": "3.0.0",
|
|
12
|
-
"lightning": "10.
|
|
12
|
+
"lightning": "10.5.0",
|
|
13
13
|
"macaroon": "3.0.4"
|
|
14
14
|
},
|
|
15
15
|
"description": "Interaction helper for your Lightning Network daemon",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bn.js": "5.2.1",
|
|
25
25
|
"bs58check": "3.0.1",
|
|
26
26
|
"ecpair": "2.1.0",
|
|
27
|
-
"ln-docker-daemons": "6.0.
|
|
27
|
+
"ln-docker-daemons": "6.0.9",
|
|
28
28
|
"p2tr": "2.0.0",
|
|
29
29
|
"portfinder": "1.0.32",
|
|
30
30
|
"psbt": "3.0.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
|
|
70
70
|
"test": "echo $DOCKER_LND_VERSION && node test/runner"
|
|
71
71
|
},
|
|
72
|
-
"version": "57.
|
|
72
|
+
"version": "57.5.0"
|
|
73
73
|
}
|
|
@@ -36,7 +36,7 @@ test(`Get chain transactions`, async () => {
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
// Wait for generation to be over
|
|
39
|
-
await asyncRetry({times}, async () => {
|
|
39
|
+
const transactions = await asyncRetry({times}, async () => {
|
|
40
40
|
const {transactions} = await getChainTransactions({lnd});
|
|
41
41
|
|
|
42
42
|
const [tx] = transactions;
|
|
@@ -45,11 +45,9 @@ test(`Get chain transactions`, async () => {
|
|
|
45
45
|
throw new Error('ExpectedTransactionConfirmed');
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
return;
|
|
48
|
+
return transactions;
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
const {transactions} = await getChainTransactions({lnd});
|
|
52
|
-
|
|
53
51
|
equal(transactions.length > 1, true, 'Transaction found');
|
|
54
52
|
|
|
55
53
|
const [tx] = transactions;
|
|
@@ -150,11 +150,13 @@ test(`Open channels`, async () => {
|
|
|
150
150
|
|
|
151
151
|
return;
|
|
152
152
|
});
|
|
153
|
+
|
|
154
|
+
await kill({});
|
|
153
155
|
} catch (err) {
|
|
156
|
+
await kill({});
|
|
157
|
+
|
|
154
158
|
strictEqual(err, null, 'No error is reported');
|
|
155
159
|
}
|
|
156
160
|
|
|
157
|
-
await kill({});
|
|
158
|
-
|
|
159
161
|
return;
|
|
160
162
|
});
|