Skip to content

Commit

Permalink
Make geth fast but not that fast (try to workaround #53)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemarsden committed Jul 17, 2023
1 parent 39ee703 commit 0670451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lilypad
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ elif [[ $1 == "serve" ]]; then
GPU_ARG="--gpus"
GPU_VALUE="all"
fi
# /tmp is for bacalhau to be able to find its own results
docker run -d --restart always --name resource-provider \
-v /tmp:/tmp \
-v /var/run/docker.sock:/var/run/docker.sock \
Expand Down
4 changes: 3 additions & 1 deletion stack
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ function geth() {
-v ${DATA_DIRECTORY}:/data/geth \
ethereum/client-go \
--datadir /data/geth \
--dev --http \
--dev \
--dev.period 1 \
--http \
--http.api web3,eth,net \
--http.addr 0.0.0.0 \
--http.corsdomain '*' \
Expand Down

0 comments on commit 0670451

Please sign in to comment.