mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
consensus: genesis timestamp hardcoded and retrieved based on network
This commit is contained in:
@@ -23,8 +23,7 @@ LOG_TARGETS="!sled,!net" ./darkfid2 \
|
||||
--rpc-listen tcp://127.0.0.1:6010 \
|
||||
--sync-p2p-accept 127.0.0.1:6020 \
|
||||
--sync-p2p-external 127.0.0.1:6020 \
|
||||
--wallet-path ./tmp/node0/wallet.db \
|
||||
-g 1650887115 &
|
||||
--wallet-path ./tmp/node0/wallet.db &
|
||||
|
||||
pids[${#pids[@]}]=$!
|
||||
|
||||
@@ -46,8 +45,7 @@ do
|
||||
--rpc-listen tcp://127.0.0.1:601$i \
|
||||
--sync-p2p-accept 127.0.0.1:602$i \
|
||||
--sync-p2p-external 127.0.0.1:602$i \
|
||||
--wallet-path ./tmp/node$i/wallet.db \
|
||||
-g 1650887115 &
|
||||
--wallet-path ./tmp/node$i/wallet.db &
|
||||
pids[${#pids[@]}]=$!
|
||||
# waiting for node to setup
|
||||
sleep 20
|
||||
@@ -77,5 +75,4 @@ LOG_TARGETS="!sled,!net" ./darkfid2 \
|
||||
--rpc-listen tcp://127.0.0.1:601$bound \
|
||||
--sync-p2p-accept 127.0.0.1:602$bound \
|
||||
--sync-p2p-external 127.0.0.1:602$bound \
|
||||
--wallet-path ./tmp/node$bound/wallet.db \
|
||||
-g 1650887115
|
||||
--wallet-path ./tmp/node$bound/wallet.db
|
||||
|
||||
Reference in New Issue
Block a user