Documentation ¶
Index ¶
- func CliCommand(cli string, datadir string, errLog string, rpc string, params ...string) (string, error)
- func GenerateBlocks(cli, datadir, genCount, mineAddress string)
- func GetBlockCount(btc_cli string, btcdatadir string) (blockcount int)
- func PrintAllChainBlockCount(bch_cli string, bchdatadir1 string, bchdatadir2 string, btc_cli string, ...)
- func RecoveFunc()
- func SetMockTime(cli string, datadir string, timestamp int64)
- func StopBtc(btc_cli, btcdatadir string)
- func WaitToConnectPeer(bch_cli string, bchdatadir1 string)
- func WaitToLoadFinish(cli_exe string, datadir string)
- func WaitToSyncBlock(bch_cli string, bchdatadir1 string, bchdatadir2 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CliCommand ¶
func GenerateBlocks ¶
func GenerateBlocks(cli, datadir, genCount, mineAddress string)
func GetBlockCount ¶
func PrintAllChainBlockCount ¶
func RecoveFunc ¶
func RecoveFunc()
func SetMockTime ¶
func WaitToConnectPeer ¶
func WaitToLoadFinish ¶
func WaitToSyncBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.