utils

package
v0.0.0-...-556a089 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockNumnber2TimeStamp

func BlockNumnber2TimeStamp(blockNumber uint64) int64

Types

type BlockNum2Time

type BlockNum2Time struct {
	// contains filtered or unexported fields
}

func GetBlockNum2Time

func GetBlockNum2Time() *BlockNum2Time

func NewBlockNum2Time

func NewBlockNum2Time() *BlockNum2Time

func (*BlockNum2Time) Push

func (bn2t *BlockNum2Time) Push(blockNumber uint64) error

func (*BlockNum2Time) Run

func (bn2t *BlockNum2Time) Run()

func (*BlockNum2Time) Stop

func (bn2t *BlockNum2Time) Stop()

Jump to

Keyboard shortcuts

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