Documentation ¶
Index ¶
- func AwaitBlocks(ctx context.Context, sleepTime time.Duration) error
- func AwaitTransactions(ctx context.Context, hashes ...libcommon.Hash) (map[libcommon.Hash]uint64, error)
- func CheckTxPoolContent(ctx context.Context, ...)
- func CreateManyEIP1559TransactionsHigherThanBaseFee(ctx context.Context, to, from string, count int) ([]types.Transaction, error)
- func CreateManyEIP1559TransactionsRefWithBaseFee(ctx context.Context, to, from string, logger log.Logger) ([]types.Transaction, []types.Transaction, error)
- func CreateManyEIP1559TransactionsRefWithBaseFee2(ctx context.Context, to, from string, count int) ([]types.Transaction, []types.Transaction, error)
- func CreateTransaction(node devnet.Node, to, from string, value uint64) (types.Transaction, libcommon.Address, error)
- func SendManyTransactions(ctx context.Context, signedTransactions []types.Transaction) ([]libcommon.Hash, error)
- func SendTxLoad(ctx context.Context, to, from string, amount uint64, txPerSec uint) error
- func SendTxWithDynamicFee(ctx context.Context, to, from string, amount uint64) ([]libcommon.Hash, error)
- func Transfer(ctx context.Context, toAddr, fromAddr string, value uint64, wait bool) (libcommon.Hash, error)
- type Block
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwaitTransactions ¶
func CheckTxPoolContent ¶
func CreateManyEIP1559TransactionsRefWithBaseFee ¶
func CreateManyEIP1559TransactionsRefWithBaseFee(ctx context.Context, to, from string, logger log.Logger) ([]types.Transaction, []types.Transaction, error)
func CreateManyEIP1559TransactionsRefWithBaseFee2 ¶
func CreateManyEIP1559TransactionsRefWithBaseFee2(ctx context.Context, to, from string, count int) ([]types.Transaction, []types.Transaction, error)
func CreateTransaction ¶
func CreateTransaction(node devnet.Node, to, from string, value uint64) (types.Transaction, libcommon.Address, error)
createNonContractTx returns a signed transaction and the recipient address
func SendManyTransactions ¶
func SendTxLoad ¶
func SendTxWithDynamicFee ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.