Allow stalled sync in lighthouse beacon nodes

This commit is contained in:
Prathamesh Musale 2023-04-18 13:39:46 +05:30
parent 6e93ab4eb0
commit 671979b18f
2 changed files with 3 additions and 2 deletions

View File

@ -38,4 +38,5 @@ exec lighthouse \
--execution-jwt $JWTSECRET \
--terminal-total-difficulty-override $ETH1_TTD \
--suggested-fee-recipient $SUGGESTED_FEE_RECIPIENT \
--target-peers $((BN_COUNT - 1))
--target-peers $((BN_COUNT - 1)) \
--http-allow-sync-stalled \

View File

@ -24,7 +24,7 @@ if [ ! -f "$DATADIR/bootnode/enr.dat" ]; then
--output-dir $DATADIR/bootnode-temp
# Output ENR to a temp dir and mv as "lcli generate-bootnode-enr" will not overwrite an empty dir (mounted volume)
mkdir -p $DATADIR/bootnode
mkdir -p $DATADIR/bootnode
mv $DATADIR/bootnode-temp/* $DATADIR/bootnode
rm -r $DATADIR/bootnode-temp