Versions in this module Expand all Collapse all v0 v0.1.102 Jan 21, 2026 v0.1.101 Jan 21, 2026 Changes in this version + func GetRandomAddress(randSrc *rand.Rand) *common.Address + func LightSummary(results []Sample, startTime, endTime time.Time, rl *rate.Limiter) + func NewHexwordReader(randSrc *rand.Rand) io.Reader + func OutputRawBytes(rawTx []byte) error + func OutputRawTransaction(tx *ethtypes.Transaction) error + func Run(ctx context.Context, cfg *config.Config) error + func SummarizeResults(ctx context.Context, c *ethclient.Client, rpc *ethrpc.Client, ...) error + type Account struct + func (a *Account) Address() common.Address + func (a *Account) Nonce() uint64 + func (a *Account) PrivateKey() *ecdsa.PrivateKey + type AccountPool struct + func NewAccountPool(ctx context.Context, client *ethclient.Client, cfg *AccountPoolConfig) (*AccountPool, error) + func (ap *AccountPool) Add(ctx context.Context, privateKey *ecdsa.PrivateKey, startNonce *uint64) error + func (ap *AccountPool) AddN(ctx context.Context, privateKeys ...*ecdsa.PrivateKey) error + func (ap *AccountPool) AddRandom(ctx context.Context) error + func (ap *AccountPool) AddRandomN(ctx context.Context, n uint64) error + func (ap *AccountPool) AddReusableNonce(ctx context.Context, address common.Address, nonce uint64) error + func (ap *AccountPool) AllAccountsReady() (bool, int, int) + func (ap *AccountPool) FundAccounts(ctx context.Context) error + func (ap *AccountPool) Next(ctx context.Context) (Account, error) + func (ap *AccountPool) Nonces(ctx context.Context, onlyUsed bool) *sync.Map + func (ap *AccountPool) NoncesOf(address common.Address) (startNonce, nonce uint64) + func (ap *AccountPool) NumberOfPendingTxs(ctx context.Context) (uint64, error) + func (ap *AccountPool) RefreshNonce(ctx context.Context, address common.Address) error + func (ap *AccountPool) ReturnFunds(ctx context.Context) error + func (ap *AccountPool) SetFundingAmount(amount *big.Int) + type AccountPoolConfig struct + ChainSupportBaseFee bool + CheckBalanceBeforeFunding bool + EthCallOnly bool + ForceGasPrice uint64 + ForcePriorityGasPrice uint64 + FundingAmount *big.Int + FundingPrivateKey *ecdsa.PrivateKey + GasPriceMultiplier *big.Float + LegacyTxMode bool + RateLimit float64 + RefundRemainingFunds bool + type BlobCommitment struct + Blob [131072]byte + Commitment [48]byte + Proof [48]byte + VersionedHash common.Hash + type BlockSummary struct + Block *rpctypes.RawBlockResponse + Latencies map[uint64]time.Duration + Receipts map[common.Hash]rpctypes.RawTxReceipt + type Latency struct + Max float64 + Median float64 + Min float64 + type Runner struct + func NewRunner(cfg *config.Config) (*Runner, error) + func (r *Runner) Close() + func (r *Runner) GetAccountPool() *AccountPool + func (r *Runner) GetClient() *ethclient.Client + func (r *Runner) GetConfig() *config.Config + func (r *Runner) GetDependencies() *mode.Dependencies + func (r *Runner) GetResults() []Sample + func (r *Runner) Init(ctx context.Context) error + func (r *Runner) RecordSample(goRoutineID, requestID int64, err error, start, end time.Time, nonce uint64) + func (r *Runner) Run(ctx context.Context) error + func (r *Runner) SetModes(m []mode.Runner) + type Sample struct + GoRoutineID int64 + IsError bool + Nonce uint64 + Receipt string + RequestID int64 + RequestTime time.Time + WaitTime time.Duration + type Summary struct + BlockNumber uint64 + GasLimit uint64 + GasUsed uint64 + Latencies Latency + NumTx int + Time time.Time + Utilization float64 + type SummaryOutput struct + GasPerSecond float64 + Latencies Latency + SuccessfulTx int64 + Summaries []Summary + TotalGasUsed uint64 + TotalMiningTime time.Duration + TotalTx int64 + TransactionsPerSec float64