transaction

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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