Skip to content

Commit

Permalink
added example command line with jvm args (see ACINQ#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 authored Nov 14, 2016
1 parent 810fe1f commit 0ad9574
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The project is under heavy development and no release is available yet. Still yo
:warning: eclair currently runs on regtest/segnet only. **Do not try and modify it to run on bitcoin mainnet!**

- Make sure that bitcoin-cli is on the path and edit ~/.bitcoin/bitcoin.conf and add:
```shell
```
server=1
regtest=1
rpcuser=***
Expand All @@ -47,15 +47,21 @@ rpcpassword=***
#### Run

- Download the sources and build the executable JAR with the following command:
```
mvn package -DskipTests
```shell
$ mvn package -DskipTests
```
- Start bitcoind
- Mine enough blocks to activate segwit blocks:
```shell
bitcoin-cli generate 500
$ bitcoin-cli generate 500
```
- Navigate to `eclair-node/target` and execute the jar `eclair-node_2.11-0.2-SNAPSHOT-xxxxxx-capsule-fat.jar`
````shell
$ java
-Declair.bitcoind.rpcuser=foo
-Declair.bitcoind.rpcpassword=bar
-jar eclair-node_2.11-0.2-SNAPSHOT-xxxxxx-capsule-fat.jar
```

#### JVM Options

Expand Down

0 comments on commit 0ad9574

Please sign in to comment.