Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // StatePath defines a flag to start the beacon chain from a give genesis state file. StatePath = &cli.PathFlag{ Name: "genesis-state", Usage: "Load a genesis state from ssz file. Testnet genesis files can be found in the " + "eth2-clients/eth2-testnets repository on github.", } BeaconAPIURL = &cli.StringFlag{ Name: "genesis-beacon-api-url", Usage: "URL of a synced beacon node to trust for obtaining genesis state. " + "As an additional safety measure, it is strongly recommended to only use this option in conjunction with " + "--weak-subjectivity-checkpoint flag", } )
Functions ¶
func BeaconNodeOptions ¶
BeaconNodeOptions is responsible for determining if the checkpoint sync options have been used, and if so, reading the block and state ssz-serialized values from the filesystem locations specified and preparing a checkpoint.Initializer, which uses the provided io.ReadClosers to initialize the beacon node database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.