config

package
v0.0.0-...-09f7846 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Wallet            string
	Password          string
	ConsensusPeerPath [][2]string
	ContractCodePath  string
	Contract          string
	To                string
	Amount            uint64
	Rpc               []string
	TxNum             uint // whole tx num is *TxFactor
	TxFactor          uint
	RoutineNum        uint // whole tx save to RoutineNum files, and one go-routine per file
	TPS               uint
	StartNonce        uint32
	BatchCount        uint32
	GasPrice          uint64
	GasLimit          uint64
	VerTx             bool
	SendTx            bool
}

func ParseConfig

func ParseConfig(path string) (*Config, error)

type Token

type Token uint8
const (
	ONT Token = iota
	ONG
	OEP4
)

Jump to

Keyboard shortcuts

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