block

package
v1.7.42 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

TODO: Listen to council node related events and project council node

func NewBlock

func NewBlock(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	migrationHelper migrationhelper.MigrationHelper,
) *Block

func (*Block) GetEventsToListen

func (_ *Block) GetEventsToListen() []string

func (*Block) HandleEvents

func (projection *Block) HandleEvents(height int64, events []event_entity.Event) error

func (*Block) OnInit

func (projection *Block) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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