terminator

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LaneName = "Terminator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminator

type Terminator struct{}

Terminator Lane will get added to the chain to simplify chaining code so that we don't need to check if next == nil further up the chain

sniped from the sdk

                      ______
                   <((((((\\\
                   /      . }\
                   ;--..--._|}
(\                 '--/\--'  )
 \\                | '-'  :'|
  \\               . -==- .-|
   \\               \.__.'   \--._
   [\\          __.--|       //  _/'--.
   \ \\       .'-._ ('-----'/ __/      \
    \ \\     /   __>|      | '--.       |
     \ \\   |   \   |     /    /       /
      \ '\ /     \  |     |  _/       /
       \  \       \ |     | /        /
 snd    \  \      \        /

func (Terminator) Compare

func (t Terminator) Compare(sdk.Context, sdk.Tx, sdk.Tx) (int, error)

Compare is a no-op

func (Terminator) Contains

func (t Terminator) Contains(sdk.Tx) bool

Contains is a no-op

func (Terminator) CountTx

func (t Terminator) CountTx() int

CountTx is a no-op

func (Terminator) GetMaxBlockSpace

func (t Terminator) GetMaxBlockSpace() math.LegacyDec

GetMaxBlockSpace is a no-op

func (Terminator) GetTxInfo

func (t Terminator) GetTxInfo(_ sdk.Context, _ sdk.Tx) (utils.TxWithInfo, error)

GetTxInfo is a no-op

func (Terminator) Insert

func (t Terminator) Insert(context.Context, sdk.Tx) error

Insert is a no-op

func (Terminator) Logger

func (t Terminator) Logger() log.Logger

Logger is a no-op

func (Terminator) Match

func (t Terminator) Match(sdk.Context, sdk.Tx) bool

Match is a no-op

func (Terminator) Name

func (t Terminator) Name() string

Name returns the name of the lane

func (Terminator) PrepareLane

PrepareLane is a no-op

func (Terminator) Priority

func (t Terminator) Priority(sdk.Context, sdk.Tx) any

Priority is a no-op

func (Terminator) ProcessLane

ProcessLane is a no-op

func (Terminator) Remove

func (t Terminator) Remove(sdk.Tx) error

Remove is a no-op

func (Terminator) Select

Select is a no-op

func (Terminator) SetAnteHandler

func (t Terminator) SetAnteHandler(sdk.AnteHandler)

SetAnteHandler is a no-op

Jump to

Keyboard shortcuts

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