mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-14 20:01:27 +01:00
* Use bitcoin-lib 0.11, which embeds libsecp256k1 * Unit tests: generate dummy sig from 32 random bytes We now use a version of bitcoin-lib which embeds JNI bindings for libsecp256k1, and it will only sign data that is 32 bytes long (in Bitcoin and LN you always sign data hashes, not the actual data). * Use maven 3.6.0 and a different mirror * RoutingSyncSpec: don't create databases at init time We called nodeParams which created a new in-memory sqlite database everytime we created "fake" routing info
26 lines
685 B
Markdown
26 lines
685 B
Markdown
# Building Eclair
|
|
|
|
## Requirements
|
|
- [OpenJDK 11](https://jdk.java.net/11/).
|
|
- [Maven](https://maven.apache.org/download.cgi) 3.6.0 or newer
|
|
- [Docker](https://www.docker.com/) 18.03 or newer (optional) if you want to run all tests
|
|
|
|
:warning: You can also use [Oracle JDK 1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) to build and run eclair, but we recommend you use Open JDK11.
|
|
|
|
## Build
|
|
To build the project, simply run:
|
|
```shell
|
|
$ mvn install
|
|
```
|
|
|
|
#### Other build options
|
|
|
|
To skip all tests, run:
|
|
```shell
|
|
$ mvn install -DskipTests
|
|
```
|
|
To only build the `eclair-node` module
|
|
```shell
|
|
$ mvn install -pl eclair-node -am -DskipTests
|
|
```
|
|
|