You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ jobs:
13
13
timeout-minutes: 30
14
14
15
15
steps:
16
-
- uses: actions/checkout@v3
16
+
- uses: actions/checkout@v4
17
17
18
-
- name: Set up JDK 11
19
-
uses: actions/setup-java@v3
18
+
- name: Set up JDK 21
19
+
uses: actions/setup-java@v4
20
20
with:
21
-
java-version: 11
21
+
java-version: 21
22
22
distribution: 'adopt'
23
23
24
24
- name: Cache Maven dependencies
@@ -34,7 +34,7 @@ jobs:
34
34
# NB: we exclude external API tests from the CI, because we don't want our build to fail because a dependency is failing.
35
35
# This means we won't automatically catch changes in external APIs, but developers should regularly run the test suite locally so in practice it shouldn't be a problem.
@@ -84,3 +83,17 @@ The API doc is generated via slate and hosted on github pages. To make a change
84
83
5. Push your commit to remote.
85
84
6. Run `./deploy.sh`
86
85
7. Wait a few minutes and the doc should be updated at [https://acinq.github.io/eclair](https://acinq.github.io/eclair)
86
+
87
+
## Updating Eclair dependencies checksums
88
+
89
+
Eclair dependencies (including maven plugins and their dependencies) are verified against a list of trusted checksums (located in `.mvn/checksums/checksums-central.sha256`).
90
+
Please note that dependencies are verified only if they are actually used in the build phase that is running, so you may be able to modify the checksum of a dependency
91
+
and still run a successful build phase that does not use them (for example you can modify the checksum of a `maven-deploy-plugin` dependency and still run `./mvnw test` successfully).
92
+
To make local development and testing easier, SNAPSHOT dependencies are not verified.
* You must configure your Bitcoin node to use `bech32` or `bech32m` (segwit) addresses. If your wallet has "non-segwit UTXOs" (outputs that are neither `p2sh-segwit`, `bech32` or `bech32m`), you must send them to a `bech32` or `bech32m` address before running Eclair.
65
-
* Eclair requires Bitcoin Core 27.2 or higher. If you are upgrading an existing wallet, you may need to create a new address and send all your funds to that address.
65
+
* Eclair requires Bitcoin Core 28.1 or higher. If you are upgrading an existing wallet, you may need to create a new address and send all your funds to that address.
66
66
67
67
Run bitcoind with the following minimal `bitcoin.conf`:
68
68
@@ -94,7 +94,7 @@ rpcclienttimeout=30
94
94
95
95
Eclair is developed in [Scala](https://www.scala-lang.org/), a powerful functional language that runs on the JVM, and is packaged as a ZIP archive.
96
96
97
-
To run Eclair, you first need to install Java, we recommend that you use [OpenJDK 11](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot). Other runtimes also work, but we don't recommend using them.
97
+
To run Eclair, you first need to install Java. Eclair targets Java 21 and will run on any compatible Java runtime, we recommend that you use [OpenJDK 21](https://adoptium.net/temurin/releases/?package=jdk&version=21).
98
98
99
99
Then download our latest [release](https://github.com/ACINQ/eclair/releases), unzip the archive and run the following command:
*[Demo Shop](https://starblocks.acinq.co/) - an example testnet Lightning web shop.
324
-
*[Network Explorer](https://explorer.acinq.co/) - a Lightning network visualization tool.
325
324
326
325
## Resources
327
326
328
327
*[1][The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments](https://lightning.network/lightning-network-paper.pdf) by Joseph Poon and Thaddeus Dryja
329
328
*[2][Reaching The Ground With Lightning](https://github.com/ElementsProject/lightning/raw/master/doc/deployable-lightning.pdf) by Rusty Russell
330
-
*[3][Lightning Network Explorer](https://explorer.acinq.co) - Explore testnet LN nodes you can connect to
$ vi eclair-core/src/main/reference.conf # set akka.remote.artery.transport = "tls-tcp"
147
147
$ cp akka-cluster-tls.jks eclair-front/modules/awseb/ # copy the file you generated
148
148
$ vi eclair-front/modules/awseb.xml # uncomment the relevant parts
149
-
$ mvn package -DskipTests
149
+
$ ./mvnw package -DskipTests
150
150
```
151
151
Alternatively, you can also edit the existing bundle and manually add the `akka-cluster-tls.jks` file to the root of the zip archive. You will also need to set `akka.remote.artery.transport=tls-tcp` at runtime.
0 commit comments