Skip to content

Commit

Permalink
fix usb devices and fast sync error, reduce log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Riggi committed Jan 6, 2020
1 parent b92ebaf commit 1666ac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runminer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
NODE_NAME=$1
NODE_NAME=${NODE_NAME:-"miner1"}
ETHERBASE=${ETHERBASE:-"0x0000000000000000000000000000000000000001"}
./runnode.sh $NODE_NAME --mine --minerthreads=0 --etherbase="$ETHERBASE"
./runnode.sh $NODE_NAME --mine --miner.threads=1 --miner.extradata="$NODE_NAME" --etherbase="$ETHERBASE"
2 changes: 1 addition & 1 deletion runnode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ docker run $DETACH_FLAG --name $CONTAINER_NAME \
-v $DATA_HASH:/root/.ethash \
-v $(pwd)/genesis.json:/opt/genesis.json \
$RPC_PORTMAP \
$IMGNAME --bootnodes=$BOOTNODE_URL --networkid 127833 $RPC_ARG --cache=512 --verbosity=4 --maxpeers=3 ${@:2}
$IMGNAME --bootnodes=$BOOTNODE_URL --networkid 127833 $RPC_ARG --cache=512 --verbosity=3 --maxpeers=3 --nousb --syncmode "full" ${@:2}
5 changes: 5 additions & 0 deletions runpoolminer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
NODE_NAME=$1
NODE_NAME=${NODE_NAME:-"miner1"}
ETHERBASE=${ETHERBASE:-"0x0000000000000000000000000000000000000001"}
./runnode.sh $NODE_NAME --mine --miner.threads=0 --miner.extradata="$NODE_NAME" --etherbase="$ETHERBASE"

0 comments on commit 1666ac6

Please sign in to comment.