Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BeaconDataConfigurations map[string]*BeaconDataConfig = map[string]*BeaconDataConfig{ "full": { BackFillingAmount: math.MaxUint64, SlotPerRestorePoint: 0, }, "minimal": { BackFillingAmount: 500_000, SlotPerRestorePoint: 0, }, "light": { BackFillingAmount: 0, SlotPerRestorePoint: 0, }, }
Configurations for beacon database config
Functions ¶
func WriteBeaconDataConfig ¶
func WriteBeaconDataConfig(tx kv.Putter, cfg *BeaconDataConfig) error
Types ¶
type BeaconDataConfig ¶
type BeaconDataConfig struct { BackFillingAmount uint64 `json:"backFillingAmount"` // it is string to handle all/minimal. SlotPerRestorePoint uint64 `json:"sprp"` // TODO }
func ReadBeaconDataConfig ¶
func ReadBeaconDataConfig(tx kv.Getter) (*BeaconDataConfig, error)
Click to show internal directories.
Click to hide internal directories.