btctools

package
v0.0.0-...-60ce3d6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CliCommand

func CliCommand(cli string, datadir string, errLog string, rpc string, params ...string) (string, error)

func GenerateBlocks

func GenerateBlocks(cli, datadir, genCount, mineAddress string)

func GetBlockCount

func GetBlockCount(btc_cli string, btcdatadir string) (blockcount int)

func PrintAllChainBlockCount

func PrintAllChainBlockCount(bch_cli string, bchdatadir1 string, bchdatadir2 string, btc_cli string, btcdatadir string)

func RecoveFunc

func RecoveFunc()

func SetMockTime

func SetMockTime(cli string, datadir string, timestamp int64)

func StopBtc

func StopBtc(btc_cli, btcdatadir string)

func WaitToConnectPeer

func WaitToConnectPeer(bch_cli string, bchdatadir1 string)

func WaitToLoadFinish

func WaitToLoadFinish(cli_exe string, datadir string)

func WaitToSyncBlock

func WaitToSyncBlock(bch_cli string, bchdatadir1 string, bchdatadir2 string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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