transaction

package
v0.0.0-...-97c714a Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 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.TransactionHandlerWithGasUsedAndFee)

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.TransactionHandlerWithGasUsedAndFee, 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