Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
567592c
Extended Queries: use TLV format for optional data
sstone Apr 25, 2019
e98c845
Remove unused code
sstone Apr 26, 2019
c6905be
Extended queries test vectors: minor fixes
sstone Apr 26, 2019
23f1d75
Merge branch 'extended-queries-optional' into extended-queries-option…
sstone Jun 11, 2019
0cb6983
Merge branch 'master' into extended-queries-optional-tlv
sstone Jun 11, 2019
b112508
Merge branch 'master' into extended-queries-optional-tlv
sstone Jun 13, 2019
09d7ff9
Extended queries: use CRC32 instead of Adler32
sstone Jun 14, 2019
429cea5
TLV: type is now a varint
sstone Jun 14, 2019
cf13c8d
Merge branch 'master' into extended-queries-optional-tlv
sstone Jun 15, 2019
c4a8d87
Merge branch 'master' into extended-queries-optional-tlv
sstone Jul 2, 2019
20ea9d0
Reject payments for expired invoices (#1057)
araspitzu Jul 3, 2019
6906ecb
Set version to v0.3.1 (#1061)
sstone Jul 3, 2019
bbe07c2
Set version to 0.3.2-SNAPSHOT (#1062)
sstone Jul 4, 2019
1e7350c
Merge branch 'master' into extended-queries-optional-tlv
sstone Jul 4, 2019
683294e
Use a `RelayResult` class instead of an `Either` (#1064)
pm47 Jul 4, 2019
9afb26e
Add eclair-cli to eclair's docker image (#1063)
araspitzu Jul 5, 2019
2254873
Add a few improvements to tlv. (#1065)
t-bast Jul 8, 2019
d0e5dbf
Merge branch 'master' into extended-queries-optional-tlv
sstone Jul 8, 2019
9d2479b
Lightning codecs: fix non-reg test
sstone Jul 8, 2019
e5c5a4c
Handle unknown fields in network announcements (#1047)
pm47 Jul 8, 2019
7d89dd0
Electrum: update checkpoints (#1067)
sstone Jul 9, 2019
5f4a2eb
Wrap all routes in toStrictEntity (#1032)
araspitzu Jul 9, 2019
2b32df5
Merge branch 'master' into extended-queries-optional-tlv
sstone Jul 10, 2019
f02ba4a
Optional TLVs: define `type` only once
sstone Jul 10, 2019
775c1c0
Fix typo
sstone Jul 10, 2019
1621e39
TLV improvements and full spec compatibility (#1069)
t-bast Jul 11, 2019
e1f9cc9
Merge branch 'master' into extended-queries-optional-tlv
sstone Jul 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ RUN mvn package -pl eclair-node -am -DskipTests -Dgit.commit.id=notag -Dgit.comm
# We currently use a debian image for runtime because of some jni-related issue with sqlite
FROM openjdk:8u181-jre-slim
WORKDIR /app

# install jq for eclair-cli
RUN apt-get update && apt-get install -y bash jq curl

# copy and install eclair-cli executable
COPY --from=BUILD /usr/src/eclair-core/eclair-cli .
RUN chmod +x eclair-cli && mv eclair-cli /sbin/eclair-cli

# Eclair only needs the eclair-node-*.jar to run
COPY --from=BUILD /usr/src/eclair-node/target/eclair-node-*.jar .
RUN ln `ls` eclair-node.jar
Expand Down
40 changes: 0 additions & 40 deletions OLD-API-DOCS.md

This file was deleted.

9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ Eclair offers a feature rich HTTP API that enables application developers to eas

For more information please visit the [API documentation website](https://acinq.github.io/eclair).

:warning: You can still use the old API by setting the `eclair.api.use-old-api=true` parameter, but it is now deprecated and will soon be removed. The old documentation is still available [here](OLD-API-DOCS.md).

## Installation

### Configuring Bitcoin Core
Expand All @@ -60,7 +58,7 @@ Eclair is developed in [Scala](https://www.scala-lang.org/), a powerful function
* eclair-node, which is a headless application that you can run on servers and desktops, and control from the command line
* eclair-node-gui, which also includes a JavaFX GUI

To run Eclair, you first need to install Java, we recommend that you use [OpenJDK 11](https://jdk.java.net/11/). Eclair will also run on Oracle JDK 1.8, Oracle JDK 11, and other versions of OpenJDK but we don't recommend using them.
To run Eclair, you first need to install Java, we recommend that you use [OpenJDK 11](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot). Eclair will also run on Oracle JDK 1.8, Oracle JDK 11, and other versions of OpenJDK but we don't recommend using them.

Then download our latest [release](https://github.com/ACINQ/eclair/releases) and depending on whether or not you want a GUI run the following command:
* with GUI:
Expand Down Expand Up @@ -165,6 +163,11 @@ If you want to persist the data directory, you can make the volume to your host
docker run -ti --rm -v "/path_on_host:/data" -e "JAVA_OPTS=-Declair.printToConsole" acinq/eclair
```

If you enabled the API you can check the status of eclair using the command line tool:
```
docker exec <container_name> eclair-cli -p foobar getinfo
```

## Plugins

For advanced usage, Eclair supports plugins written in Scala, Java, or any JVM-compatible language.
Expand Down
2 changes: 1 addition & 1 deletion eclair-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>fr.acinq.eclair</groupId>
<artifactId>eclair_2.11</artifactId>
<version>0.3.1-SNAPSHOT</version>
<version>0.3.2-SNAPSHOT</version>
</parent>

<artifactId>eclair-core_2.11</artifactId>
Expand Down
Loading