Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScenarioDefaultOptions = ScenarioOptions{ TotalCount: 0, Throughput: 0, MaxPending: 0, MaxWallets: 0, MinAuthorizations: 1, MaxAuthorizations: 10, MaxDelegators: 0, Rebroadcast: 120, BaseFee: 20, TipFee: 2, GasLimit: 200000, Amount: 20, Data: "", CodeAddr: "", RandomAmount: false, RandomTarget: false, ClientGroup: "", }
View Source
var ScenarioDescriptor = scenariotypes.ScenarioDescriptor{ 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 Scenario ¶
type Scenario struct {
// contains filtered or unexported fields
}
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 uint64 `yaml:"base_fee"`
TipFee uint64 `yaml:"tip_fee"`
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"`
ClientGroup string `yaml:"client_group"`
}
Click to show internal directories.
Click to hide internal directories.