mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
a4ea0a1eac
* disable crosslinks for testnet * feature config * add missing flag * flag in tests * fix tests
37 lines
1.3 KiB
Go
37 lines
1.3 KiB
Go
package featureconfig
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var (
|
|
// VerifyAttestationSigsFlag determines whether to verify signatures for attestations.
|
|
VerifyAttestationSigsFlag = cli.BoolFlag{
|
|
Name: "enable-attestation-signature-verification",
|
|
Usage: "Verify signatures for attestations.",
|
|
}
|
|
// EnableComputeStateRootFlag enables the implemenation for the proposer RPC
|
|
// method to compute the state root of a given block. This feature is not
|
|
// necessary for the first iteration of the test network, but critical to
|
|
// future work. This flag can be removed once we are satisified that it works
|
|
// well without issue.
|
|
EnableComputeStateRootFlag = cli.BoolFlag{
|
|
Name: "enable-compute-state-root",
|
|
Usage: "Enable server side compute state root. Default is a no-op implementation.",
|
|
}
|
|
// EnableCrosslinksFlag enables the processing of crosslinks in epoch processing. It is disabled by default.
|
|
EnableCrosslinksFlag = cli.BoolFlag{
|
|
Name: "enable-crosslinks",
|
|
Usage: "Enable crosslinks in epoch processing, default is disabled.",
|
|
}
|
|
)
|
|
|
|
// ValidatorFlags contains a list of all the feature flags that apply to the validator client.
|
|
var ValidatorFlags = []cli.Flag{}
|
|
|
|
// BeaconChainFlags contains a list of all the feature flags that apply to the beacon-chain client.
|
|
var BeaconChainFlags = []cli.Flag{
|
|
EnableComputeStateRootFlag,
|
|
EnableCrosslinksFlag,
|
|
}
|