Documentation ¶
Index ¶
- type BabylonSynchronizer
- func (syncer *BabylonSynchronizer) Close() error
- func (syncer *BabylonSynchronizer) ProcessBTCUndelegate(txMessage store.TxMessage) error
- func (syncer *BabylonSynchronizer) ProcessCommitPubRandList(txMessage store.TxMessage) error
- func (syncer *BabylonSynchronizer) ProcessCreateBTCDelegation(txMessage store.TxMessage) error
- func (syncer *BabylonSynchronizer) ProcessNewFinalityProvider(txMessage store.TxMessage) error
- func (syncer *BabylonSynchronizer) ProcessSelectiveSlashingEvidence(txMessage store.TxMessage) error
- func (syncer *BabylonSynchronizer) Start() error
- type EthEventProcess
- type EthSynchronizer
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 (*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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.