filters

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasGasEstimate

func HasGasEstimate(msg types.QueuedSignedMessageI) bool

HasGasEstimate checks if the message has a gas estimate

func IsAssignedTo

func IsAssignedTo(msg *evmtypes.Message, assignee string) bool

func IsNotBlockedByValset

func IsNotBlockedByValset(pendingValsetUpdates []types.QueuedSignedMessageI, msg types.QueuedSignedMessageI) bool

func IsOldestMsgPerSender

func IsOldestMsgPerSender(lut map[string]struct{}, msg *evmtypes.Message) bool

Biased: Filter expects messages to be ordered by message ID (default) Filter requires injection of a look-up table to keep track of senders Filter out multiple messages from same sender This is done to avoid possible relays of more messages than user is able to pay for.

func IsUnprocessed

func IsUnprocessed(msg types.QueuedSignedMessageI) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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