Documentation
¶
Overview ¶
Package housekeeper contains the service doing all required regular tasks
- Update known validators - Updating proposer duties - Saving metrics - Deleting old bids - ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerAlreadyStarted = errors.New("server was already started")
Functions ¶
This section is empty.
Types ¶
type Housekeeper ¶
type Housekeeper struct {
// contains filtered or unexported fields
}
func NewHousekeeper ¶
func NewHousekeeper(opts *HousekeeperOpts) *Housekeeper
func (*Housekeeper) Start ¶
func (hk *Housekeeper) Start() (err error)
Start starts the housekeeper service, blocking
func (*Housekeeper) UpdateProposerDutiesWithoutChecks ¶ added in v0.30.0
func (hk *Housekeeper) UpdateProposerDutiesWithoutChecks(headSlot uint64)
type HousekeeperOpts ¶
type HousekeeperOpts struct {
Log *logrus.Entry
Redis *datastore.RedisCache
DB database.IDatabaseService
BeaconClient beaconclient.IMultiBeaconClient
PprofAPI bool
PprofListenAddress string
}
Click to show internal directories.
Click to hide internal directories.