1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 09:54:02 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Bastien Teinturier
b25e5523e7
Remove Docker test dependency (#1753)
It was only used by Electrum which was removed in #1750
2021-04-02 12:27:40 +02:00
Aris
63d972bdc6
Fix a few typos (#1684)
Fix a few typos in the documentation and variable names.
2021-02-08 11:20:23 +01:00
Bastien Teinturier
b477d179ea
Update build instructions for front (#1658)
It seems like we need to compile eclair-core's tests for the front
(but we don't require running them).

Fixes #1657
2021-01-06 18:38:40 +01:00
Dominique
8629d201a7
Skip executing some plugins when skipping tests (#1418)
* Skip some plugins when skipping tests

* Add instruction in BUILD.md to install eclair-core to repo

* Reorganize BUILD.md with subsections
2020-05-13 15:19:48 +02:00
Aleksandr Levchuk
430f04a275
BUILD: document mvn clean command (#1413) 2020-05-07 16:40:00 +02:00
Bastien Teinturier
8932785e00
BUILD: mention that Docker is needed for tests (#1358) 2020-03-27 10:44:16 +01:00
araspitzu
a0286458c6
Rework packaging (#1307)
* Replace maven-capsule-plugin with maven-assembly-plugin in eclair-node and eclair-node-gui:
 The new packaging produces a zip file containing a launcher script and all the artifacts and dependencies in lib/.

* Add bash launcher scripts for eclair-node and eclair-node-gui, inspired by https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template

* Add windows launcher scripts, inspired by https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bat-template

* Add option to start kanela agent with eclair-node launcher scripts

* Force unix file ending in launcher scripts

* Add eclair-cli in the bin folder of packaged eclair-node and eclair-node-gui
2020-02-24 15:42:26 +01:00
araspitzu
78e6cdbec9
Support deterministic build of eclair-core artifact on ubuntu (#1295)
* Upgrade maven-jar-plugin and maven-source-plugin to version 3.2.0 to achieve deterministic builds
2020-01-30 15:27:02 +01:00
Pierre-Marie Padiou
8ee53bc97d
Drop support for Java 8 (#1135)
We already have Java 7 (for Android) and Java 11. Supporting Java 8
would require crossbuilding, which we are not doing (two recent PRs
broke the build on Java 8).
2019-09-16 11:04:10 +02:00
Bastien Teinturier
b9698f2230
Documentation update (#1092)
* Fix README style warnings
* Add documentation links to the wiki
* Update build instructions.
2019-07-31 13:35:26 +00:00
araspitzu
a4b94004e4 API: use form data instead of JSON-RPC (#894)
Port the existing API functionalities over a new structure of HTTP endpoints, with the biggest difference being the usage of **named parameters** for the requests (responses are unchanged). RPC methods have become endpoints and the parameters for each are now passed via form-params (clients must use the header "Content-Type" : "multipart/form-data"), this allows for a clearer interpretation of the parameters and results in more elegant parsing code on the server side. It is possible to still use the old API version via a configuration key.

Old API can be used by setting `eclair.api.use-old-api=true`.
2019-03-26 18:10:09 +01:00
Fabrice Drouin
3b7afd92d4
Use bitcoin-lib 0.11 which embeds libsecp256k1 (#907)
* 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
2019-03-25 14:42:06 +01:00
Fabrice Drouin
34e51c19cc
Use OpenJDK 11 as default JDK (#846)
* Upgrade to JDK11

Eclair can be built and used on Oracle JDK 1.8 or OpenJDK 11.
JavaFX is now embedded in eclair-node-gui and does not need to be installed separately.

* Install: update java download links

OpenJDK 11 is now our recommendation. Tell users to download java from https://jdk.java.net/11

* README: Rewrite installation instructions
2019-02-21 15:11:44 +01:00
Pierre-Marie Padiou
892770b1ed
Update scalatest and remove junit runner (#728)
* updated to scalatest 3.0.5

* use scalatest runner instead of junit

Output is far more readable, and makes console (incl. travis) reports
actually usable.

Turned off test logs as error reporting is enough to figure out what
happens.

The only downside is that we can't use junit's categories to group
tests, like we did for docker related tests. We	could use nested suites,
but that seems to be overkill so I just removed the categories. Users
will only have the possibility to either skip/run all tests.

* update scala-maven-plugin to 3.4.2

NB: This requires maven 3.5.4, which means that we currently need to
manually install maven on travis.

Also updated Docker java version to 8u181 (8u171 for compiling).
2018-10-11 19:01:41 +02:00
Fabrice Drouin
12a80afd03
Mention Docker in our build instructions (fixes #669) (#685)
Mention Docker in our build instructions (fixes #669)
2018-09-03 18:03:40 +02:00
Fabrice Drouin
31352ceff8 Specify that we need at least jdk 1.8u161 to build (#491)
fixes #478 and supersedes #450
2018-03-20 16:40:21 +01:00
Dominique
b2c684a0da
Added the maven command to build eclair-node only (#250)
Also favouring `install` instead of `package`
2017-12-01 13:56:01 +01:00
dpad85
305420bd37 Renamed javafx module to eclair-node-gui and updated binaries name (#137)
* Renamed eclair-node-javafx module to eclair-node-gui

* (build) javafx installer uses project version

* (build) Streamlined capsule names

* (build) mvn generates installer only with `installer` profile. The windows installer does not need to be created in common cases. Decreases `eclair-node-gui` module building time by ~ 1 min

* (readme) updated the `run eclair` commands with the new capsule names
2017-08-23 19:28:18 +02:00
pm47
d16fe045cc clarify that we only support java 1.8, not 1.9 (closes #47) 2017-03-26 14:08:04 +02:00
Pierre-Marie Padiou
fa050da12c Removed the 'windows installer' part
it will be generated at 'mvn package' if Inno Setup is installed
2017-03-22 14:45:51 +01:00
Fabrice Drouin
c0a8edb598 Update README.md and add build.md 2017-03-17 19:07:29 +01:00