mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
037c01f4d7
* archive flags * gaz * create archiver * register archiver in node * registering the head updater feed * add more gazelle * cancel func * test for service * properly utilize the mocks * lint * remove extraneous log * add back write to disk * gaz
33 lines
1.2 KiB
Go
33 lines
1.2 KiB
Go
package flags
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var (
|
|
// ArchiveEnableFlag defines whether or not the beacon chain should archive
|
|
// historical blocks, attestations, and validator set changes.
|
|
ArchiveEnableFlag = cli.BoolFlag{
|
|
Name: "archive",
|
|
Usage: "Whether or not beacon chain should archive historical data including blocks, attestations, and validator set changes",
|
|
}
|
|
// ArchiveValidatorSetChangesFlag defines whether or not the beacon chain should archive
|
|
// historical validator set changes in persistent storage.
|
|
ArchiveValidatorSetChangesFlag = cli.BoolFlag{
|
|
Name: "archive-validator-set-changes",
|
|
Usage: "Whether or not beacon chain should archive historical validator set changes",
|
|
}
|
|
// ArchiveBlocksFlag defines whether or not the beacon chain should archive
|
|
// historical block data in persistent storage.
|
|
ArchiveBlocksFlag = cli.BoolFlag{
|
|
Name: "archive-blocks",
|
|
Usage: "Whether or not beacon chain should archive historical blocks",
|
|
}
|
|
// ArchiveAttestationsFlag defines whether or not the beacon chain should archive
|
|
// historical attestation data in persistent storage.
|
|
ArchiveAttestationsFlag = cli.BoolFlag{
|
|
Name: "archive-attestations",
|
|
Usage: "Whether or not beacon chain should archive historical blocks",
|
|
}
|
|
)
|