-
Notifications
You must be signed in to change notification settings - Fork 88
Command line options
Environment | Run | ... |
---|---|---|
Live | gradlew runMain |
Start server connecting to Live network |
Ropsten | gradlew runRopsten |
Start server connecting to Ropsten network |
Test | gradlew runTest |
Start server connecting to Test network |
Classic | gradlew runClassic |
Start server connecting to Ethereum Classic network |
Private | gradlew runPrivate |
Start server, no network connection, miner could be running by invoking miner_start in Terminal page |
-Dserver.port=8080
- change http port for web interface and JSON-RCP;
-Dpeer.listen.port=30303
- change peer port for incoming connections;
-Ddatabase.dir="PATH_TO/ethereumj/database"
- path to database;
-Dethereumj.conf.file=PATH_TO/ethereum.conf
- path to ethereumj configuration file;
-DgenesisFile=PATH_TO/genesis.json
- path to genesis file;
-Dserver.ssl.key-store=keystore.p12
- path to certificate
-Dserver.ssl.key-store-password=123qwe
- password of certificate
-Dserver.ssl.keyStoreType=PKCS12
-Dserver.ssl.keyAlias=tomcat
- name of certificate inside keystore container, if there are many
-Djsonrpc.web3jCompliantError=true|false
- change JSON-RPC error format. true
is for compatibility with web3j
-Dlogs.keepStdOut=true|false
- true
to enable stdout output for logs
Any option from ethereumj.conf can be set from command line.