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\"."
3520
3518
prune_marker="/var/lib/geth/prune-marker"
@@ -3530,7 +3528,6 @@ prune-history() {
3530
3528
echo"Aborting."
3531
3529
exit 1
3532
3530
fi
3533
-
min_ver="v0.10.0"
3534
3531
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."
3535
3532
prune_marker=""
3536
3533
;;
@@ -3541,7 +3538,6 @@ prune-history() {
3541
3538
echo"Aborting."
3542
3539
exit 1
3543
3540
fi
3544
-
min_ver="v1.35.2"
3545
3541
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."
3546
3542
prune_marker=""
3547
3543
;;
@@ -3552,13 +3548,11 @@ prune-history() {
3552
3548
echo"Aborting."
3553
3549
exit 1
3554
3550
fi
3555
-
min_ver="25.11.0"
3556
3551
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."
3557
3552
prune_marker=""
3558
3553
;;
3559
3554
*reth.yml*)
3560
3555
client="Reth"
3561
-
min_ver="v1.8.0"
3562
3556
if [[ "${must_resync}"-eq 0 ]];then
3563
3557
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\"."
3564
3558
prune_marker="/var/lib/reth/minimal-node"
@@ -3574,7 +3568,6 @@ prune-history() {
3574
3568
echo"Aborting."
3575
3569
exit 1
3576
3570
fi
3577
-
min_ver="v3.0.12"
3578
3571
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."
3579
3572
prune_marker=""
3580
3573
;;
@@ -3585,7 +3578,6 @@ prune-history() {
3585
3578
echo"Aborting."
3586
3579
exit 1
3587
3580
fi
3588
-
min_ver="v1.0.0"
3589
3581
if [[ "${target}"="pre-merge" ]];then
3590
3582
extra_msg="Ethrex always expires pre-merge history. This command will have no effect."
3591
3583
prune_marker="/var/lib/ethrex/minimal-node"
@@ -3601,8 +3593,6 @@ prune-history() {
3601
3593
;;
3602
3594
esac
3603
3595
3604
-
echo"${target} history expiry requires ${client}${min_ver} or later."
0 commit comments