ln-service 58.0.0 → 58.0.1
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 +4 -0
- package/README.md +1 -1
- package/package.json +3 -3
- package/test/integration/test_get_forwards.js +8 -0
- package/test/invoicesrpc-integration/test_create_hinted_invoice.js +5 -1
- package/test/routerrpc-integration/test_get_route_through_hops.js +5 -1
- package/test/routerrpc-integration/test_route_from_channels_complex.js +2 -0
- package/test/runner.js +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"bolt07": "1.9.4",
|
|
11
11
|
"invoices": "5.0.0",
|
|
12
|
-
"lightning": "11.0.
|
|
12
|
+
"lightning": "11.0.1",
|
|
13
13
|
"macaroon": "3.0.4"
|
|
14
14
|
},
|
|
15
15
|
"description": "Interaction helper for your Lightning Network daemon",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"bitcoinjs-lib": "6.1.7",
|
|
24
24
|
"bn.js": "5.2.2",
|
|
25
25
|
"bs58check": "4.0.0",
|
|
26
|
-
"ecpair": "3.0.
|
|
26
|
+
"ecpair": "3.0.1",
|
|
27
27
|
"ln-docker-daemons": "6.0.28",
|
|
28
28
|
"p2tr": "2.0.0",
|
|
29
29
|
"portfinder": "1.0.38",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
|
|
82
82
|
"test": "echo $DOCKER_LND_VERSION && node test/runner"
|
|
83
83
|
},
|
|
84
|
-
"version": "58.0.
|
|
84
|
+
"version": "58.0.1"
|
|
85
85
|
}
|
|
@@ -25,9 +25,17 @@ test('Get forwards', async () => {
|
|
|
25
25
|
const [{generate, lnd}, target, remote] = nodes;
|
|
26
26
|
|
|
27
27
|
await asyncRetry({interval, times}, async () => {
|
|
28
|
+
await generate({});
|
|
29
|
+
|
|
28
30
|
await addPeer({lnd, public_key: remote.id, socket: remote.socket});
|
|
29
31
|
|
|
30
32
|
await setupChannel({generate, lnd, to: target});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
await asyncRetry({interval, times}, async () => {
|
|
36
|
+
await generate({});
|
|
37
|
+
|
|
38
|
+
await addPeer({lnd, public_key: remote.id, socket: remote.socket});
|
|
31
39
|
|
|
32
40
|
await setupChannel({
|
|
33
41
|
lnd: target.lnd,
|
|
@@ -23,7 +23,11 @@ test(`Create an invoice with hop hints`, async t => {
|
|
|
23
23
|
|
|
24
24
|
const [{generate, lnd}, target, remote] = nodes;
|
|
25
25
|
|
|
26
|
-
const channel = await
|
|
26
|
+
const channel = await asyncRetry({interval, times}, async () => {
|
|
27
|
+
await generate({});
|
|
28
|
+
|
|
29
|
+
return await setupChannel({generate, lnd, to: target});
|
|
30
|
+
});
|
|
27
31
|
|
|
28
32
|
const remoteChannel = await setupChannel({
|
|
29
33
|
generate: target.generate,
|
|
@@ -33,7 +33,11 @@ test(`Get route through hops`, async () => {
|
|
|
33
33
|
|
|
34
34
|
const [{generate, lnd}, target, remote] = nodes;
|
|
35
35
|
|
|
36
|
-
const controlToTargetChan = await
|
|
36
|
+
const controlToTargetChan = await asyncRetry({interval, times}, async () => {
|
|
37
|
+
await generate({});
|
|
38
|
+
|
|
39
|
+
return await setupChannel({generate, lnd, to: target});
|
|
40
|
+
});
|
|
37
41
|
|
|
38
42
|
await generate({});
|
|
39
43
|
|
|
@@ -145,6 +145,8 @@ test(`Get route through complex hops`, async () => {
|
|
|
145
145
|
await asyncRetry({interval, times}, async () => {
|
|
146
146
|
const {features} = await getNode({lnd, public_key: farthest.id});
|
|
147
147
|
|
|
148
|
+
await generate({});
|
|
149
|
+
|
|
148
150
|
await addPeer({lnd, public_key: farthest.id, socket: farthest.socket});
|
|
149
151
|
|
|
150
152
|
if (!features.length) {
|