Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScenarioDefaultOptions = ScenarioOptions{ TotalCount: 0, Throughput: 10, MaxPending: 0, MaxWallets: 0, Rebroadcast: 1, BaseFee: 20, TipFee: 2, InitialValue: 100, MaxIncrement: 10, RandomizeValues: true, Timeout: "", ClientGroup: "", LogTxs: false, }
View Source
var ScenarioDescriptor = scenario.Descriptor{ Name: ScenarioName, Description: "Example scenario demonstrating contract deployment and bound transactions", DefaultOptions: ScenarioDefaultOptions, NewScenario: newScenario, }
View Source
var ScenarioName = "_example1-plugin"
Functions ¶
This section is empty.
Types ¶
type Scenario ¶
type Scenario struct {
// contains filtered or unexported fields
}
Scenario represents the example scenario implementation
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"`
InitialValue uint64 `yaml:"initial_value"`
MaxIncrement uint64 `yaml:"max_increment"`
RandomizeValues bool `yaml:"randomize_values"`
Timeout string `yaml:"timeout"`
ClientGroup string `yaml:"client_group"`
LogTxs bool `yaml:"log_txs"`
}
ScenarioOptions defines the configuration options for the example scenario
Click to show internal directories.
Click to hide internal directories.