terminator

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) Contains

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

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() sdk.Dec

GetMaxBlockSpace 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.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) ProcessLane

func (t Terminator) ProcessLane(ctx sdk.Context, _ []sdk.Tx, _ blockbuster.ProcessLanesHandler) (sdk.Context, error)

ProcessLane is a no-op

func (Terminator) ProcessLaneBasic

func (t Terminator) ProcessLaneBasic([]sdk.Tx) error

ValidateLaneBasic 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)

SetLaneConfig is a no-op

func (Terminator) VerifyTx

func (t Terminator) VerifyTx(sdk.Context, sdk.Tx) error

VerifyTx is a no-op

Jump to

Keyboard shortcuts

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