transaction

package
v1.2.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortTransactionsBySenderAndNonce

func SortTransactionsBySenderAndNonce(transactions []data.TransactionHandler)

SortTransactionsBySenderAndNonce - sorts the transactions by address without the front running protection

func SortTransactionsBySenderAndNonceExtendedTransactions

func SortTransactionsBySenderAndNonceExtendedTransactions(transactions []data.TxWithExecutionOrderHandler)

SortTransactionsBySenderAndNonceExtendedTransactions - sorts the transactions by address without the front running protection

func SortTransactionsBySenderAndNonceWithFrontRunningProtection

func SortTransactionsBySenderAndNonceWithFrontRunningProtection(transactions []data.TransactionHandler, hasher hashing.Hasher, randomness []byte)

SortTransactionsBySenderAndNonceWithFrontRunningProtection - sorts the transactions by address and randomness source to protect from front running

func SortTransactionsBySenderAndNonceWithFrontRunningProtectionExtendedTransactions

func SortTransactionsBySenderAndNonceWithFrontRunningProtectionExtendedTransactions(transactions []data.TxWithExecutionOrderHandler, hasher hashing.Hasher, randomness []byte)

SortTransactionsBySenderAndNonceWithFrontRunningProtectionExtendedTransactions - sorts the transactions by address and randomness source to protect from front running

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL