Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScenarioDefaultOptions = ScenarioOptions{ TotalCount: 0, Throughput: 100, MaxPending: 0, MaxWallets: 0, MinAuthorizations: 1, MaxAuthorizations: 10, MaxDelegators: 0, Rebroadcast: 1, BaseFee: 20, TipFee: 2, GasLimit: 200000, Amount: 20, Data: "", CodeAddr: "", RandomAmount: false, RandomTarget: false, RandomCodeAddr: false, Timeout: "", ClientGroup: "", LogTxs: false, }
View Source
var ScenarioDescriptor = scenario.Descriptor{ Name: ScenarioName, Description: "Send setcode transactions with different configurations", DefaultOptions: ScenarioDefaultOptions, NewScenario: newScenario, }
View Source
var ScenarioName = "setcodetx"
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"`
MinAuthorizations uint64 `yaml:"min_authorizations"`
MaxAuthorizations uint64 `yaml:"max_authorizations"`
MaxDelegators uint64 `yaml:"max_delegators"`
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"`
GasLimit uint64 `yaml:"gas_limit"`
Amount uint64 `yaml:"amount"`
Data string `yaml:"data"`
CodeAddr string `yaml:"code_addr"`
RandomAmount bool `yaml:"random_amount"`
RandomTarget bool `yaml:"random_target"`
RandomCodeAddr bool `yaml:"random_code_addr"`
Timeout string `yaml:"timeout"`
ClientGroup string `yaml:"client_group"`
LogTxs bool `yaml:"log_txs"`
}
Click to show internal directories.
Click to hide internal directories.