diff --git a/.mvn/maven.config b/.mvn/maven.config index e92391eb19..acf51640eb 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -2,7 +2,7 @@ -Daether.trustedChecksumsSource.summaryFile=true -Daether.trustedChecksumsSource.summaryFile.basedir=${session.rootDirectory}/.mvn/checksums/ # post processor: trusted checksums --Daether.artifactResolver.postProcessor.trustedChecksums=false +-Daether.artifactResolver.postProcessor.trustedChecksums=true -Daether.artifactResolver.postProcessor.trustedChecksums.checksumAlgorithms=SHA-256 -Daether.artifactResolver.postProcessor.trustedChecksums.failIfMissing=true -Daether.artifactResolver.postProcessor.trustedChecksums.snapshots=false diff --git a/docs/release-notes/eclair-vnext.md b/docs/release-notes/eclair-vnext.md new file mode 100644 index 0000000000..3566257da7 --- /dev/null +++ b/docs/release-notes/eclair-vnext.md @@ -0,0 +1,64 @@ +# Eclair vnext + + + +## Major changes + + + +### Configuration changes + + + +### API changes + + + +### Miscellaneous improvements and bug fixes + + + +## Verifying signatures + +You will need `gpg` and our release signing key E04E48E72C205463. Note that you can get it: + +- from our website: https://acinq.co/pgp/drouinf2.asc +- from github user @sstone, a committer on eclair: https://api.github.com/users/sstone/gpg_keys + +To import our signing key: + +```sh +$ gpg --import drouinf2.asc +``` + +To verify the release file checksums and signatures: + +```sh +$ gpg -d SHA256SUMS.asc > SHA256SUMS.stripped +$ sha256sum -c SHA256SUMS.stripped +``` + +## Building + +Eclair builds are deterministic. To reproduce our builds, please use the following environment (*): + +- Ubuntu 24.04.1 +- Adoptium OpenJDK 21.0.6 + +Then use the following command to generate the eclair-node packages: + +```sh +./mvnw clean install -DskipTests +``` + +That should generate `eclair-node/target/eclair-node--XXXXXXX-bin.zip` with sha256 checksums that match the one we provide and sign in `SHA256SUMS.asc` + +(*) You may be able to build the exact same artefacts with other operating systems or versions of JDK 21, we have not tried everything. + +## Upgrading + +This release is fully compatible with previous eclair versions. You don't need to close your channels, just stop eclair, upgrade and restart. + +## Changelog + + diff --git a/eclair-core/pom.xml b/eclair-core/pom.xml index 374d1e8bff..0d74be9165 100644 --- a/eclair-core/pom.xml +++ b/eclair-core/pom.xml @@ -21,7 +21,7 @@ fr.acinq.eclair eclair_2.13 - 0.13.1 + 0.14.0-SNAPSHOT eclair-core_2.13 diff --git a/eclair-front/pom.xml b/eclair-front/pom.xml index 79c5936850..4aa1b66c5a 100644 --- a/eclair-front/pom.xml +++ b/eclair-front/pom.xml @@ -21,7 +21,7 @@ fr.acinq.eclair eclair_2.13 - 0.13.1 + 0.14.0-SNAPSHOT eclair-front_2.13 diff --git a/eclair-node/pom.xml b/eclair-node/pom.xml index 7b7af79f8a..851e897bb2 100644 --- a/eclair-node/pom.xml +++ b/eclair-node/pom.xml @@ -21,7 +21,7 @@ fr.acinq.eclair eclair_2.13 - 0.13.1 + 0.14.0-SNAPSHOT eclair-node_2.13 diff --git a/eclair-node/src/main/scala/fr/acinq/eclair/Boot.scala b/eclair-node/src/main/scala/fr/acinq/eclair/Boot.scala index 7e29046720..1d6c4ec134 100644 --- a/eclair-node/src/main/scala/fr/acinq/eclair/Boot.scala +++ b/eclair-node/src/main/scala/fr/acinq/eclair/Boot.scala @@ -33,6 +33,10 @@ import scala.util.{Failure, Success} */ object Boot extends App with Logging { try { + if (!System.getProperty("eclair.allow-unsafe-startup", "false").toBooleanOption.contains(true)) { + throw new RuntimeException("This version of eclair is unsafe to use: please wait for the next official release to update your node.") + } + val datadir = new File(System.getProperty("eclair.datadir", System.getProperty("user.home") + "/.eclair")) val config = NodeParams.loadConfiguration(datadir) diff --git a/pom.xml b/pom.xml index c38c3258ce..63c266d7c8 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ fr.acinq.eclair eclair_2.13 - 0.13.1 + 0.14.0-SNAPSHOT pom