cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: LGPL-3.0 Imports: 33 Imported by: 0

Documentation

Overview

//////////////////////////////////////////// This is a tool for analysis all information 1. trasactions: sent, processed, pending 2. ... 3. ... ////////////////////////////////////////////

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func LoadAccountConfig

func LoadAccountConfig(account string) (map[common.Address]*big.Int, error)

func MakeConfigFile

func MakeConfigFile()

MakeConfigFile make node config file

func SendMode3

func SendMode3(current []*balance, next []*balance)

SendMode3 loop generate tx by balances, send the tx and update balances

func StartSend

func StartSend(balanceList []*balance, threadNum int)

StartSend start send tx by specific thread and mode

Types

type GroupInfo

type GroupInfo struct {
	Host  string `json:"host"`
	Shard uint   `json:"shard"`
	Tag   string `json:"tag"`
}

GroupInfo is hosts info of groups

type KeyInfo

type KeyInfo struct {
	Addr       *common.Address `json:"account"`
	PrivateKey string          `json:"privateKey"`
}

KeyInfo information of account key

Jump to

Keyboard shortcuts

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