Skip to content

Commit

Permalink
chore: bump Bitcoin Core to v28.1 (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Jan 10, 2025
1 parent 3c6a22a commit 20ad9fd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Image:
value="1.23.4-bullseye",
)

BITCOIN_VERSION = "28.0"
BITCOIN_VERSION = "28.1"
LITECOIN_VERSION = "0.21.4"
ELEMENTS_VERSION = "23.2.4"
GETH_VERSION = "1.14.12"
Expand Down Expand Up @@ -108,7 +108,7 @@ class Image:
],
),
"regtest": Image(
tag="4.6.2",
tag="4.6.3",
arguments=[
UBUNTU_VERSION,
BITCOIN_BUILD_ARG,
Expand Down
2 changes: 1 addition & 1 deletion docker/regtest/startRegtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ docker run \
-p 9735:9735 \
-p 9293:9293 \
-p 9292:9292 \
boltz/regtest:4.6.2
boltz/regtest:4.6.3

docker exec regtest bash -c "cp /root/.lightning/regtest/*.pem /root/.lightning/regtest/certs"
docker exec regtest chmod -R 777 /root/.lightning/regtest/certs
Expand Down
6 changes: 3 additions & 3 deletions lib/VersionCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class VersionCheck {
> = {
[ChainClient.serviceName]: {
minimal: 220000,
maximal: 280000,
maximal: 280100,
},
[ClnClient.serviceName]: {
minimal: '24.11',
Expand Down Expand Up @@ -130,10 +130,10 @@ class VersionCheck {
if (version.startsWith('v')) {
sanitizedVersion = sanitizedVersion.slice(1);
}
if (version.endsWith(ClnClient.moddedVersionSuffix)) {
if (version.includes(ClnClient.moddedVersionSuffix)) {
sanitizedVersion = sanitizedVersion.slice(
0,
-ClnClient.moddedVersionSuffix.length,
sanitizedVersion.indexOf(ClnClient.moddedVersionSuffix),
);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/lightning/cln/ClnClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ClnClient
{
public static readonly serviceName = 'CLN';
public static readonly serviceNameHold = 'hold';
public static readonly moddedVersionSuffix = '-modded';
public static readonly moddedVersionSuffix = '-';

public static readonly paymentPendingError = 'payment already pending';

Expand Down

0 comments on commit 20ad9fd

Please sign in to comment.