eth2

package
v0.0.0-...-3499ab5 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const EffectiveBalance = 32000000000

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance

type Balance struct {
	Epoch  uint64
	Amount uint64
}

type BeaconMonitor

type BeaconMonitor struct {
	// contains filtered or unexported fields
}

func NewBeaconMonitor

func NewBeaconMonitor(cfg *config.Config, client *client.Client, store *store.Store, alarm *alert.AlarmDaemon) (*BeaconMonitor, error)

func (*BeaconMonitor) GetLastProcessedSlot

func (bm *BeaconMonitor) GetLastProcessedSlot() uint64

func (*BeaconMonitor) GetLastValidatorMonitorEpoch

func (bm *BeaconMonitor) GetLastValidatorMonitorEpoch() uint64

func (*BeaconMonitor) ScanBeaconBlockLoop

func (bm *BeaconMonitor) ScanBeaconBlockLoop()

func (*BeaconMonitor) ScanProposer

func (bm *BeaconMonitor) ScanProposer(startSlot uint64, finalizedEpoch uint64) (uint64, error)

func (*BeaconMonitor) Start

func (bm *BeaconMonitor) Start()

func (*BeaconMonitor) Stop

func (bm *BeaconMonitor) Stop()

func (*BeaconMonitor) ValidatorMonitorLoop

func (bm *BeaconMonitor) ValidatorMonitorLoop()

type BlockInfo

type BlockInfo struct {
	BlockNumber uint64
	Epoch       uint64
	Slot        uint64
	PubKey      string
	Index       uint64
	IsMissed    bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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