Skip to content

Commit 3bc9bb8

Browse files
authored
Merge pull request #348 from lightninglabs/loop-0-17-no-btcec-v2
mod+itest: bump loop and lnd dependencies
2 parents 8649881 + 30d13ff commit 3bc9bb8

29 files changed

+8731
-95
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Lightning Terminal is backwards compatible with `lnd` back to version v0.13.3-be
7070

7171
| LiT | LND |
7272
|------------------| ------------ |
73+
| **v0.6.6-alpha** | v0.13.3-beta |
7374
| **v0.6.5-alpha** | v0.13.3-beta |
7475
| **v0.6.4-alpha** | v0.13.3-beta |
7576
| **v0.6.3-alpha** | v0.13.3-beta |
@@ -113,8 +114,9 @@ The following table shows the supported combinations:
113114

114115
## Daemon Versions packaged with LiT
115116

116-
| LiT | LND | Loop | Faraday | Pool |
117-
|------------------|--------------| ----------- | ------------ |--------------|
117+
| LiT | LND | Loop | Faraday | Pool |
118+
|------------------|--------------|--------------| ------------ |--------------|
119+
| **v0.6.6-alpha** | v0.14.3-beta | v0.18.0-beta | v0.2.7-alpha | v0.5.6-alpha |
118120
| **v0.6.5-alpha** | v0.14.2-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.5-alpha |
119121
| **v0.6.4-alpha** | v0.14.2-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.4-alpha |
120122
| **v0.6.3-alpha** | v0.14.2-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.4-alpha |
@@ -132,5 +134,5 @@ The following table shows the supported combinations:
132134
| **v0.3.1-alpha** | v0.11.1-beta | v0.11.1-beta | v0.2.2-alpha | v0.3.3-alpha |
133135
| **v0.3.0-alpha** | v0.11.1-beta | v0.11.0-beta | v0.2.2-alpha | v0.3.2-alpha |
134136
| **v0.2.0-alpha** | v0.11.1-beta | v0.10.0-beta | v0.2.1-alpha | n/a |
135-
| **v0.1.1-alpha** | v0.11.0-beta | v0.8.1-beta | v0.2.0-alpha | n/a |
136-
| **v0.1.0-alpha** | v0.10.3-beta | v0.6.5-beta | v0.2.0-alpha | n/a |
137+
| **v0.1.1-alpha** | v0.11.0-beta | v0.8.1-beta | v0.2.0-alpha | n/a |
138+
| **v0.1.0-alpha** | v0.10.3-beta | v0.6.5-beta | v0.2.0-alpha | n/a |

app/scripts/build-protos.js

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ const protoSources = async () => {
4242
return {
4343
lnd: `lightningnetwork/lnd/${lndVersion[1]}/lnrpc/lightning.proto`,
4444
loop: `lightninglabs/loop/${loopVersion[1]}/looprpc/client.proto`,
45-
common: `lightninglabs/loop/${loopVersion[1]}/looprpc/common.proto`,
45+
'swapserverrpc/server': `lightninglabs/loop/${loopVersion[1]}/swapserverrpc/server.proto`,
46+
'swapserverrpc/common': `lightninglabs/loop/${loopVersion[1]}/swapserverrpc/common.proto`,
4647
trader: `lightninglabs/pool/${poolVersion[1]}/poolrpc/trader.proto`,
4748
'auctioneerrpc/auctioneer': `lightninglabs/pool/${poolVersion[1]}/auctioneerrpc/auctioneer.proto`,
4849
};
@@ -58,7 +59,11 @@ const filePatches = {
5859
patch: 'looprpc: {}',
5960
folder: 'proto',
6061
},
61-
common: {
62+
'swapserverrpc/common': {
63+
patch: 'looprpc: {}',
64+
folder: 'proto'
65+
},
66+
'swapserverrpc/server': {
6267
patch: 'looprpc: {}',
6368
folder: 'proto',
6469
},
@@ -109,12 +114,15 @@ const sanitize = async () => {
109114
);
110115
for (path of filePaths) {
111116
let content = (await fs.readFile(path)).toString();
112-
content = content.replace(/^\s*(repeated)? u?int64 ((?!jstype).)*$/gm, match => {
113-
// add the jstype descriptor
114-
return /^.*];$/.test(match)
115-
? match.replace(/\s*];$/, `, jstype = JS_STRING];`)
116-
: match.replace(/;$/, ` [jstype = JS_STRING];`);
117-
});
117+
content = content.replace(
118+
/^(\s*)(repeated )?(u?int64) (\S+) = (\d+);$/gm,
119+
'$1$2$3 $4 = $5 [jstype = JS_STRING];'
120+
);
121+
content = content.replace(
122+
/^(\s*)(repeated )?(u?int64) (\S+) = (\d+) \[((?!jstype).*)];$/gm,
123+
'$1$2$3 $4 = $5 [$6, jstype = JS_STRING];'
124+
);
125+
content = content.replace("import \"common.proto\"", "import \"swapserverrpc/common.proto\"")
118126
await fs.writeFile(path, content);
119127
}
120128
};

app/src/types/generated/common_pb_service.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/src/types/generated/common_pb_service.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/src/types/generated/lnd_pb.d.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/lnd_pb.js

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/loop_pb.d.ts

Lines changed: 37 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)