Add a pod for generating geth data as quickly as possible. #168

Closed
telackey wants to merge 8 commits from telackey/datanet into main
Showing only changes of commit d4c4cc1ed0 - Show all commits

View File

@ -18,6 +18,8 @@ cp -rp $SCRIPT_DIR/../cerc-fixturenet-eth-geth $SCRIPT_DIR/build
# (2) Maintains a fast block rate, since the difficulty will never exceed the capped value.
sed -i '' 's/^terminal_total_difficulty:.*$/capped_maximum_difficulty: 1/' $SCRIPT_DIR/build/genesis/el/el-config.yaml
# Build the image.
docker build -t cerc/datanet-eth-geth:local ${SCRIPT_DIR}/build
# Clean up the "build" directory.
rm -rf $SCRIPT_DIR/build