Skip to content
Snippets Groups Projects
Commit 21e1526a authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Luchando con el networkid

parent de0eaf7b
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ function bfainit ...@@ -197,7 +197,7 @@ function bfainit
then then
mkdir -p "${BFANODEDIR}" mkdir -p "${BFANODEDIR}"
echo "Node is not initialised. Initialising with genesis." echo "Node is not initialised. Initialising with genesis."
geth --config "${BFANETWORKDIR}/config.toml" --cache 0 init "${BFANETWORKDIR}/genesis.json" geth --config "${BFANETWORKDIR}/config.toml" --networkid ${BFANETWORKID} --cache 0 init "${BFANETWORKDIR}/genesis.json"
fi fi
} }
......
...@@ -89,7 +89,7 @@ exec > ${LOGPIPE} 2>&1 ...@@ -89,7 +89,7 @@ exec > ${LOGPIPE} 2>&1
echo "*** Starting geth." echo "*** Starting geth."
# "NoPruning=true" means "--gcmode archive" # "NoPruning=true" means "--gcmode archive"
geth --config ${BFATOML} & geth --networkid ${BFANETWORKID} --config ${BFATOML} &
PIDIDX[$!]="geth" PIDIDX[$!]="geth"
# bootnode # bootnode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment