Skip to content

Commit

Permalink
fix bootnode
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Riggi committed Dec 6, 2018
1 parent 21bf5e7 commit d217020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootnode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ fi
docker run -d --name ethereum-bootnode \
-v $DATA_ROOT/.bootnode:/opt/bootnode \
--network ethereum \
$IMGNAME bootnode --nodekey /opt/bootnode/boot.key --verbosity=3 -v5 "$@"
$IMGNAME bootnode --nodekey /opt/bootnode/boot.key --verbosity=3 "$@"
# --addr "$BOOTNODE_SERVICE:30301" "$@"
2 changes: 1 addition & 1 deletion getbootnodeurl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ DATA_ROOT=${DATA_ROOT:-$(pwd)}
MYIP=$(docker exec ethereum-bootnode ifconfig eth0 | awk '/inet addr/{print substr($2,6)}')
#ENODE_LINE=$(echo $ENODE_LINE | sed "s/127\.0\.0\.1/$MYIP/g" | sed "s/\[\:\:\]/$MYIP/g")
#echo "enode:${ENODE_LINE#*enode:}"
ENODEKEY = $(docker run -rm $IMGNAME bootnode --nodekey $DATA_ROOT/.bootnode -writeaddress)
ENODEKEY = $(docker run --rm $IMGNAME bootnode --nodekey $DATA_ROOT/.bootnode -writeaddress)
echo "enode://$ENODEKEY@$MYIP:30301"

0 comments on commit d217020

Please sign in to comment.