Remove Checkpoint Info Flag (#11231)

This commit is contained in:
Nishant Das
2022-08-17 10:12:12 +08:00
committed by GitHub
parent 1c180e5088
commit 868377318c
2 changed files with 0 additions and 8 deletions

View File

@@ -190,9 +190,6 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
logDisabled(disablePeerScorer)
cfg.EnablePeerScorer = false
}
if ctx.Bool(checkPtInfoCache.Name) {
log.Warn("Advance check point info cache is no longer supported and will soon be deleted")
}
if ctx.Bool(enableLargerGossipHistory.Name) {
logEnabled(enableLargerGossipHistory)
cfg.EnableLargerGossipHistory = true

View File

@@ -50,10 +50,6 @@ var (
Name: "disable-peer-scorer",
Usage: "Disables experimental P2P peer scorer",
}
checkPtInfoCache = &cli.BoolFlag{
Name: "use-check-point-cache",
Usage: "Enables check point info caching",
}
enableLargerGossipHistory = &cli.BoolFlag{
Name: "enable-larger-gossip-history",
Usage: "Enables the node to store a larger amount of gossip messages in its cache.",
@@ -162,7 +158,6 @@ var BeaconChainFlags = append(deprecatedFlags, []cli.Flag{
Mainnet,
disablePeerScorer,
enableLargerGossipHistory,
checkPtInfoCache,
disableBroadcastSlashingFlag,
enableSlasherFlag,
enableHistoricalSpaceRepresentation,