Skip to content

Commit

Permalink
Merge pull request #7 from testinprod-io/pcw109550/remove-ethash
Browse files Browse the repository at this point in the history
Remove ethash to make go-ethereum hive work
  • Loading branch information
pcw109550 authored May 4, 2023
2 parents e00d4c8 + 3bad47f commit 339ca6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions clients/go-ethereum/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,4 @@ ADD genesis.json /genesis.json
# Export the usual networking ports to allow outside access to the node
EXPOSE 8545 8546 8547 8551 30303 30303/udp

# Generate the ethash verification caches
RUN \
/usr/local/bin/geth makecache 1 ~/.ethereum/geth/ethash && \
/usr/local/bin/geth makecache 30001 ~/.ethereum/geth/ethash

ENTRYPOINT ["/geth.sh"]
2 changes: 1 addition & 1 deletion clients/go-ethereum/geth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fi

# Configure any mining operation
if [ "$HIVE_MINER" != "" ] && [ "$HIVE_NODETYPE" != "light" ]; then
FLAGS="$FLAGS --mine --miner.threads 1 --miner.etherbase $HIVE_MINER"
FLAGS="$FLAGS --mine --miner.etherbase $HIVE_MINER"
fi
if [ "$HIVE_MINER_EXTRA" != "" ]; then
FLAGS="$FLAGS --miner.extradata $HIVE_MINER_EXTRA"
Expand Down

0 comments on commit 339ca6e

Please sign in to comment.