You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extra_msg="History can be pruned by Geth without requiring a full resync. You can observe pruning with \"./ethd logs -f execution\"."
3638
3636
prune_marker="/var/lib/geth/prune-marker"
@@ -3648,7 +3646,6 @@ prune-history() {
3648
3646
echo"Aborting."
3649
3647
exit 1
3650
3648
fi
3651
-
min_ver="v0.10.0"
3652
3649
extra_msg="To switch to ${target} expiry requires a full resync, which should take 5 days.\nYou can use https://rescuenode.com to keep attesting during resync."
3653
3650
prune_marker=""
3654
3651
;;
@@ -3659,7 +3656,6 @@ prune-history() {
3659
3656
echo"Aborting."
3660
3657
exit 1
3661
3658
fi
3662
-
min_ver="v1.35.2"
3663
3659
extra_msg="To switch to ${target} expiry requires a full resync, which should take 1-2 hours.\nYou can use https://rescuenode.com to keep attesting during resync."
3664
3660
prune_marker=""
3665
3661
;;
@@ -3670,13 +3666,11 @@ prune-history() {
3670
3666
echo"Aborting."
3671
3667
exit 1
3672
3668
fi
3673
-
min_ver="25.11.0"
3674
3669
extra_msg="To switch to ${target} expiry requires a full resync, which should take 16-24 hours.\nYou can use https://rescuenode.com to keep attesting during resync."
3675
3670
prune_marker=""
3676
3671
;;
3677
3672
*reth.yml*)
3678
3673
client="Reth"
3679
-
min_ver="v1.8.0"
3680
3674
if [[ "${must_resync}"-eq 0 ]];then
3681
3675
extra_msg="${target} expiry does not require a resync and should be immediate.\nA resync saves more space than a prune: You can set \"EL_NODE_TYPE=${target}-expiry\" manually with \"nano .env\" and then resync with \"./ethd resync-execution\"."
3682
3676
prune_marker="/var/lib/reth/minimal-node"
@@ -3692,7 +3686,6 @@ prune-history() {
3692
3686
echo"Aborting."
3693
3687
exit 1
3694
3688
fi
3695
-
min_ver="v3.0.12"
3696
3689
extra_msg="To switch to ${target} expiry requires a full resync, which should take 2-3 hours.\nYou can use https://rescuenode.com to keep attesting during resync."
3697
3690
prune_marker=""
3698
3691
;;
@@ -3703,7 +3696,6 @@ prune-history() {
3703
3696
echo"Aborting."
3704
3697
exit 1
3705
3698
fi
3706
-
min_ver="v1.0.0"
3707
3699
if [[ "${target}"="pre-merge" ]];then
3708
3700
extra_msg="Ethrex always expires pre-merge history. This command will have no effect."
3709
3701
prune_marker="/var/lib/ethrex/minimal-node"
@@ -3719,8 +3711,6 @@ prune-history() {
3719
3711
;;
3720
3712
esac
3721
3713
3722
-
echo"${target} history expiry requires ${client}${min_ver} or later."
0 commit comments