Skip to content

Commit

Permalink
feat: enable --auto-mine if clique is set (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Apr 1, 2023
1 parent 7be9945 commit a2e6ab3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clients/reth/reth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ fi
# fi
#fi

# If clique is expected enable auto-mine
if [ "$HIVE_CLIQUE_PRIVATEKEY" != "" ]; then
FLAGS="$FLAGS --auto-mine"
fi

# Configure RPC.
FLAGS="$FLAGS --http --http.addr=0.0.0.0 --http.api=admin,debug,eth,net,web3"
FLAGS="$FLAGS --ws --ws.addr=0.0.0.0 --ws.api=admin,debug,eth,net,web3"
Expand Down

0 comments on commit a2e6ab3

Please sign in to comment.