Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runtime ¶
type Runtime interface { // Initialize prepares any infrastructure transactions that are required // to be executed before the stress test runs, if any Initialize( account std.Account, key crypto.PrivKey, chainID string, ) ([]*std.Tx, error) // ConstructTransactions generates and signs the required transactions // that will be used in the stress test ConstructTransactions( keys []crypto.PrivKey, accounts []std.Account, transactions uint64, chainID string, ) ([]*std.Tx, error) }
Runtime is the base interface for all runtime implementations.
The runtime's job is to prepare the transactions for the stress test (generate + sign), and to predeploy (initialize) any infrastructure (package)
func GetRuntime ¶
GetRuntime fetches the specified runtime, if any
Click to show internal directories.
Click to hide internal directories.