Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigFilePathKey = "config-file" LogLevelKey = "log-level" EndpointsKey = "endpoints" MaxFeeCapKey = "max-fee-cap" MaxTipCapKey = "max-tip-cap" WorkersKey = "workers" TxsPerWorkerKey = "txs-per-worker" KeyDirKey = "key-dir" VersionKey = "version" TimeoutKey = "timeout" BatchSizeKey = "batch-size" MetricsPortKey = "metrics-port" )
View Source
const Version = "v0.1.1"
Variables ¶
Functions ¶
func BuildFlagSet ¶
BuildFlagSet returns a complete set of flags for simulator
Types ¶
type Config ¶
type Config struct { Endpoints []string `json:"endpoints"` MaxFeeCap int64 `json:"max-fee-cap"` MaxTipCap int64 `json:"max-tip-cap"` Workers int `json:"workers"` TxsPerWorker uint64 `json:"txs-per-worker"` KeyDir string `json:"key-dir"` Timeout time.Duration `json:"timeout"` BatchSize uint64 `json:"batch-size"` MetricsPort uint64 `json:"metrics-port"` }
Click to show internal directories.
Click to hide internal directories.