common

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: LGPL-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

	PackageDelayAlertInterval = 5 * time.Second

	DefaultConfirmNum int64 = 15
)
View Source
const (
	DBDialectMysql   = "mysql"
	DBDialectSqlite3 = "sqlite3"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockAndPackageLogs

type BlockAndPackageLogs struct {
	Height          int64
	BlockHash       string
	ParentBlockHash string
	BlockTime       int64
	Packages        []interface{}
}

Jump to

Keyboard shortcuts

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