logic

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountIsExist added in v1.5.0

func AccountIsExist(address string) bool

func Balance

func Balance(acc string, mptDB *pebble.DB)

func Blockchain

func Blockchain(acc string, chainDB *pebble.DB, line *liner.State)

func Console

func Console(cmd *cobra.Command)

func Init

func Init()

func InitDir

func InitDir() bool

func Interface

func Interface(acc string, w *wallet.Wallet)

func List

func List()

func LookupInfoByHash added in v1.5.0

func LookupInfoByHash(acc string, chainDB *pebble.DB, line *liner.State)

func MPTrie

func MPTrie(acc string, chainDB, mptDB *pebble.DB, line *liner.State)

func Mine

func Mine(acc string, txDB, chainDB, mptDB *pebble.DB)

func New

func New()

func Prompts

func Prompts(account string)

func Run added in v1.5.0

func Run(cmd *cobra.Command)

func ShowAccountBalance added in v1.5.0

func ShowAccountBalance(account string, mptDB *pebble.DB)

func Transaction

func Transaction(acc string, txDB, mptDB *pebble.DB, w *wallet.Wallet, line *liner.State)

func Txpool

func Txpool(acc string, txDB *pebble.DB, line *liner.State)

func Version

func Version()

Types

This section is empty.

Jump to

Keyboard shortcuts

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