reorgutils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ColorGreen = "\033[1;32m%s\033[0m"

Functions

func BalanceToEth

func BalanceToEth(balance *big.Int) *big.Float

func BalanceToEthStr

func BalanceToEthStr(balance *big.Int) string

func ColorPrintf

func ColorPrintf(color, format string, a ...interface{})

func FileExists

func FileExists(path string) bool

func GetBlocks

func GetBlocks(blockChan chan<- *types.Block, client *ethclient.Client, startBlock, endBlock int64, concurrency int)

func Perror

func Perror(err error)

func SprintBlock

func SprintBlock(block *types.Block) string

func WeiToEth

func WeiToEth(wei *big.Int) (ethValue *big.Float)

Types

This section is empty.

Jump to

Keyboard shortcuts

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