synchronizer

package
v0.0.0-...-b077f98 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BabylonSynchronizer

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

func NewBabylonSynchronizer

func NewBabylonSynchronizer(ctx context.Context, cfg *config.Config, db *store.Storage, shutdown context.CancelCauseFunc, logger log.Logger, txMsgChan chan store.TxMessage) (*BabylonSynchronizer, error)

func (*BabylonSynchronizer) Close

func (syncer *BabylonSynchronizer) Close() error

func (*BabylonSynchronizer) ProcessBTCUndelegate

func (syncer *BabylonSynchronizer) ProcessBTCUndelegate(txMessage store.TxMessage) error

func (*BabylonSynchronizer) ProcessCommitPubRandList

func (syncer *BabylonSynchronizer) ProcessCommitPubRandList(txMessage store.TxMessage) error

func (*BabylonSynchronizer) ProcessCreateBTCDelegation

func (syncer *BabylonSynchronizer) ProcessCreateBTCDelegation(txMessage store.TxMessage) error

func (*BabylonSynchronizer) ProcessNewFinalityProvider

func (syncer *BabylonSynchronizer) ProcessNewFinalityProvider(txMessage store.TxMessage) error

func (*BabylonSynchronizer) ProcessSelectiveSlashingEvidence

func (syncer *BabylonSynchronizer) ProcessSelectiveSlashingEvidence(txMessage store.TxMessage) error

func (*BabylonSynchronizer) Start

func (syncer *BabylonSynchronizer) Start() error

type EthEventProcess

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

func NewEthEventProcess

func NewEthEventProcess(db *store.Storage, logger log.Logger, contractEventChan chan store.ContractEvent) (*EthEventProcess, error)

func (*EthEventProcess) Start

func (e *EthEventProcess) Start() error

type EthSynchronizer

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

func NewEthSynchronizer

func NewEthSynchronizer(cfg *config.Config, db *store.Storage, client node.EthClient, logger log.Logger, shutdown context.CancelCauseFunc, contractEventChan chan store.ContractEvent) (*EthSynchronizer, error)

func (*EthSynchronizer) Close

func (syncer *EthSynchronizer) Close() error

func (*EthSynchronizer) Start

func (syncer *EthSynchronizer) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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