Skip to content

Commit

Permalink
Se cambia:
Browse files Browse the repository at this point in the history
1. La composición del enode para que no contenga raftport y si discport=0.
2. Se cambia el mensaje de resumen al final del procerso.
  • Loading branch information
Marcos Serradilla Diez committed Dec 18, 2017
1 parent 968ea36 commit 815aef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ geth --datadir ~/alastria/data init ~/alastria-node/data/genesis.json
cd ~/alastria/data/geth
bootnode -genkey nodekey
ENODE_KEY=$(bootnode -nodekey nodekey -writeaddress)
echo "ENODE -> 'enode://${ENODE_KEY}@${CURRENT_HOST_IP}:21000?raftport=41000'"
update_nodes_list "enode://${ENODE_KEY}@${CURRENT_HOST_IP}:21000?raftport=41000"
echo "ENODE -> 'enode://${ENODE_KEY}@${CURRENT_HOST_IP}:21000?discport=0'"
update_nodes_list "enode://${ENODE_KEY}@${CURRENT_HOST_IP}:21000?discport=0"
cd ~
if [[ "$CURRENT_HOST_IP" == "52.56.69.220" ]]; then
cp ~/alastria-node/data/static-nodes.json ~/alastria/data/static-nodes.json
Expand Down Expand Up @@ -183,7 +183,7 @@ fi
echo "[*] Initialization was completed successfully."
echo " "
echo " Update DIRECTORY.md from alastria-node repository and send a Pull Request."
echo " The network administrator will send a RAFT_ID file. It will be stored in '~/alastria/data/' directory."
echo " Don't forget the .json files in data folder!."
echo " "

set +u
Expand Down

0 comments on commit 815aef6

Please sign in to comment.