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
fmt.Printf("%sGeth has a new feature that renders pruning obsolete. However, as this is a new feature you may have to resync with `rocketpool service resync-eth1` before this takes effect.%s\n", colorYellow, colorReset)
989
-
}
985
+
// Print the appropriate warnings before pruning
986
+
ifselectedEc==cfgtypes.ExecutionClient_Geth {
987
+
fmt.Printf("%sGeth has a new feature that renders pruning obsolete. However, as this is a new feature you may have to resync with `rocketpool service resync-eth1` before this takes effect.%s\n", colorYellow, colorReset)
990
988
fmt.Println("This will shut down your main execution client and prune its database, freeing up disk space.")
991
989
ifcfg.UseFallbackClients.Value==false {
992
990
fmt.Printf("%sYou do not have a fallback execution client configured.\nYour node will no longer be able to perform any validation duties (attesting or proposing blocks) until pruning is done.\nPlease configure a fallback client with `rocketpool service config` before running this.%s\n", colorRed, colorReset)
993
991
} else {
994
992
fmt.Println("You have fallback clients enabled. Rocket Pool (and your consensus client) will use that while the main client is pruning.")
995
993
}
994
+
fmt.Println("Once pruning is complete, your execution client will restart automatically.")
996
995
} else {
997
996
fmt.Println("This will request your main execution client to prune its database, freeing up disk space. This is a resource intensive operation and may lead to an increase in missed attestations until it finishes.")
998
997
}
999
-
fmt.Println("Once pruning is complete, your execution client will restart automatically.")
0 commit comments