chainstats

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const GENESIS_BLOCK_TIME = "genesis_block_time"
View Source
const TOTAL_BLOCK_COUNT = "total_block_count"
View Source
const TOTAL_BLOCK_TIME = "total_block_time"

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainStats

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

func NewChainStats

func NewChainStats(logger applogger.Logger, rdbConn rdb.Conn) *ChainStats

func (*ChainStats) GetEventsToListen

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

func (*ChainStats) HandleEvents

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

func (*ChainStats) OnInit

func (projection *ChainStats) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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