Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BlobStoragePathFlag defines a flag to start the beacon chain from a give genesis state file. BlobStoragePathFlag = &cli.PathFlag{ Name: "blob-path", Usage: "Location for blob storage. Default location will be a 'blobs' directory next to the beacon db.", } BlobRetentionEpochFlag = &cli.Uint64Flag{ Name: "blob-retention-epochs", Usage: "Override the default blob retention period (measured in epochs). The node will exit with an error at startup if the value is less than the default of 4096 epochs.", Value: uint64(params.BeaconConfig().MinEpochsForBlobsSidecarsRequest), Aliases: []string{"extend-blob-retention-epoch"}, } )
Functions ¶
func BeaconNodeOptions ¶
BeaconNodeOptions sets configuration values on the node.BeaconNode value at node startup. Note: we can't get the right context from cli.Context, because the beacon node setup code uses this context to create a cancellable context. If we switch to using App.RunContext, we can set up this cancellation in the cmd package instead, and allow the functional options to tap into context cancellation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.