Skip to content

Commit

Permalink
clients/besu: change sync mode to snap sync instead of fast sync (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Trintinalia authored Jan 3, 2023
1 parent 2598837 commit a3428ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/besu/besu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fi
if [ "$HIVE_NODETYPE" == "light" ]; then
echo "Ignoring HIVE_NODETYPE == light: besu does not support light client"
elif [ "$HIVE_NODETYPE" == "" ] && [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" == "" ]; then
FLAGS="$FLAGS --sync-mode=FAST --fast-sync-min-peers=1 --Xsynchronizer-fast-sync-pivot-distance=0"
FLAGS="$FLAGS --sync-mode=X_SNAP"
fi

# Configure RPC.
Expand Down

0 comments on commit a3428ee

Please sign in to comment.