housekeeper

package
v0.29.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

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

type HousekeeperOpts

type HousekeeperOpts struct {
	Log          *logrus.Entry
	Redis        *datastore.RedisCache
	DB           database.IDatabaseService
	BeaconClient beaconclient.IMultiBeaconClient

	PprofAPI           bool
	PprofListenAddress string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL