Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScenarioDefaultOptions = ScenarioOptions{ TotalCount: 0, Throughput: 100, MaxPending: 0, MaxWallets: 0, Rebroadcast: 1, BaseFee: 20, TipFee: 2, GasUnitsToBurn: 2000000, Timeout: "", ClientGroup: "", DeployClientGroup: "", LogTxs: false, ReuseContract: false, }
View Source
var ScenarioDescriptor = scenario.Descriptor{ Name: ScenarioName, Description: "Send storage spam transactions with different configurations", DefaultOptions: ScenarioDefaultOptions, NewScenario: newScenario, }
View Source
var ScenarioName = "storagespam"
Functions ¶
This section is empty.
Types ¶
type ScenarioOptions ¶
type ScenarioOptions struct {
TotalCount uint64 `yaml:"total_count"`
Throughput uint64 `yaml:"throughput"`
MaxPending uint64 `yaml:"max_pending"`
MaxWallets uint64 `yaml:"max_wallets"`
Rebroadcast uint64 `yaml:"rebroadcast"`
BaseFee float64 `yaml:"base_fee"`
TipFee float64 `yaml:"tip_fee"`
BaseFeeWei string `yaml:"base_fee_wei"`
TipFeeWei string `yaml:"tip_fee_wei"`
GasUnitsToBurn uint64 `yaml:"gas_units_to_burn"`
Timeout string `yaml:"timeout"`
ClientGroup string `yaml:"client_group"`
DeployClientGroup string `yaml:"deploy_client_group"`
LogTxs bool `yaml:"log_txs"`
ReuseContract bool `yaml:"reuse_contract"`
}
Click to show internal directories.
Click to hide internal directories.