common

package
v0.0.0-...-cbb836e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObserverMaxBlockNumber = 10000
	ObserverPruneInterval  = 10 * time.Second
	ObserverAlertInterval  = 5 * time.Second
	ObserverFetchInterval  = 2 * time.Second

	SenderSendInterval = 1 * time.Second

	ExecutorFetchInterval       = 2 * time.Second
	DefaultConfirmNum     int64 = 15
)
View Source
const (
	ExecutionTaskEvent   = "greenfield.storage.EventExecutionTask"
	ExecutionResultEvent = "greenfield.storage.EventExecutionResult"
)
View Source
const (
	DBDialectMysql   = "mysql"
	DBDialectSqlite3 = "sqlite3"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockAndEventLogs

type BlockAndEventLogs struct {
	Height          int64
	BlockHash       string
	ParentBlockHash string
	BlockTime       int64
	Events          []interface{}
}

Jump to

Keyboard shortcuts

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