common

package
v0.0.0-...-e273ca0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Logger instance for quick declarative logging levels
	Logger    = logging.MustGetLogger("relayer")
	SdkLogger = &sdkLogger{}
)

Functions

func InitLogger

func InitLogger(config *config.LogConfig)

InitLogger initializes the logger.

func ReflectField

func ReflectField(v interface{}, searchFieldName string) reflect.Value

Types

type Task

type Task struct {
	Height    int64
	BlockHash *chainhash.Hash
	BLOCK     *wire.MsgBlock
}

type TaskSet

type TaskSet struct {
	TaskList []Task
}

Jump to

Keyboard shortcuts

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