parity startup scripts for Ropsten simplified

This commit is contained in:
Alexander Kolotov 2018-05-15 17:20:48 +03:00
parent e098ca242d
commit 9b8a88e640
3 changed files with 16 additions and 11 deletions

View File

@ -1,7 +1,7 @@
[parity]
chain = "ropsten"
base_path = "/opt/storage/Ropsten"
keys_path = "/home/koal/parity/keys"
base_path = "/home/koal/poa/test"
keys_path = "./keys"
[network]
port = 30343
@ -25,4 +25,4 @@ port = 48546
[account]
unlock = ["0xf3ee321df87781864f46f6464e764c2827fca73b"]
password = ["/home/koal/parity/keys/passwd/foreign_f3ee321df87781864f46f6464e764c2827fca73b.pwd"]
password = ["./keys/passwd/foreign_f3ee321df87781864f46f6464e764c2827fca73b.pwd"]

View File

@ -1,8 +0,0 @@
#!/bin/bash
PARITY_EXEC=/opt/parity/parity
PARITY_CONFIG=/home/koal/parity/Ropsten_foreign.toml
#DEBUG_RPC='-l rpc=trace'
EXTRA_CONFIG='--no-ancient-blocks'
exec ${PARITY_EXEC} --config ${PARITY_CONFIG} ${DEBUG_RPC} ${EXTRA_CONFIG}

View File

@ -1,5 +1,18 @@
#!/bin/bash
PARITY_BASE="/home/koal/poa"
TASK="ropsten_foreign"
PARITY_CONFIG="Ropsten_foreign.toml"
TASK_WORK_DIR="${PARITY_BASE}/test"
#DEBUG_RPC='-l rpc=trace'
EXTRA_CONFIG='--no-ancient-blocks'
configdir=`dirname $0`
cd ${configdir}
source start_common.sh
PARITY_BASE="/home/koal/parity"
RUNNER="parity_Ropsten_foreign.sh"
TASK="Ropsten_foreign"