mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 06:21:42 +01:00
added example command line with jvm args (see #21)
This commit is contained in:
parent
810fe1fc99
commit
0ad95746d5
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -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!**
|
: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:
|
- Make sure that bitcoin-cli is on the path and edit ~/.bitcoin/bitcoin.conf and add:
|
||||||
```shell
|
```
|
||||||
server=1
|
server=1
|
||||||
regtest=1
|
regtest=1
|
||||||
rpcuser=***
|
rpcuser=***
|
||||||
|
@ -47,15 +47,21 @@ rpcpassword=***
|
||||||
#### Run
|
#### Run
|
||||||
|
|
||||||
- Download the sources and build the executable JAR with the following command:
|
- Download the sources and build the executable JAR with the following command:
|
||||||
```
|
```shell
|
||||||
mvn package -DskipTests
|
$ mvn package -DskipTests
|
||||||
```
|
```
|
||||||
- Start bitcoind
|
- Start bitcoind
|
||||||
- Mine enough blocks to activate segwit blocks:
|
- Mine enough blocks to activate segwit blocks:
|
||||||
```shell
|
```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`
|
- 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
|
#### JVM Options
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue