subscriber

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleSubscriber

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

func NewSimpleSubscriber

func NewSimpleSubscriber(contract common.Address, chain chainRetriever, journalPath string) *SimpleSubscriber

func (*SimpleSubscriber) NotifyBlockReorg added in v1.0.6

func (s *SimpleSubscriber) NotifyBlockReorg(number *big.Int, deletedLogs [][]*types.Log, rebirthLogs [][]*types.Log)

func (*SimpleSubscriber) Stop

func (s *SimpleSubscriber) Stop()

func (*SimpleSubscriber) StoreCrossContractLog

func (s *SimpleSubscriber) StoreCrossContractLog(blockNumber uint64, hash common.Hash, logs []*types.Log)

func (*SimpleSubscriber) SubscribeBlockEvent added in v1.0.6

func (s *SimpleSubscriber) SubscribeBlockEvent(ch chan<- cc.CrossBlockEvent) event.Subscription

Jump to

Keyboard shortcuts

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