Documentation ¶
Index ¶
- type Terminator
- func (t Terminator) Contains(sdk.Tx) (bool, error)
- func (t Terminator) CountTx() int
- func (t Terminator) GetMaxBlockSpace() sdk.Dec
- func (t Terminator) Insert(context.Context, sdk.Tx) error
- func (t Terminator) Logger() log.Logger
- func (t Terminator) Match(sdk.Tx) bool
- func (t Terminator) Name() string
- func (t Terminator) PrepareLane(_ sdk.Context, proposal blockbuster.BlockProposal, _ int64, ...) (blockbuster.BlockProposal, error)
- func (t Terminator) ProcessLane(ctx sdk.Context, _ []sdk.Tx, _ blockbuster.ProcessLanesHandler) (sdk.Context, error)
- func (t Terminator) ProcessLaneBasic([]sdk.Tx) error
- func (t Terminator) Remove(sdk.Tx) error
- func (t Terminator) Select(context.Context, [][]byte) sdkmempool.Iterator
- func (t Terminator) SetAnteHandler(sdk.AnteHandler)
- func (t Terminator) VerifyTx(sdk.Context, sdk.Tx) error
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) GetMaxBlockSpace ¶
func (t Terminator) GetMaxBlockSpace() sdk.Dec
GetMaxBlockSpace is a no-op
func (Terminator) PrepareLane ¶
func (t Terminator) PrepareLane(_ sdk.Context, proposal blockbuster.BlockProposal, _ int64, _ blockbuster.PrepareLanesHandler) (blockbuster.BlockProposal, error)
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) Select ¶
func (t Terminator) Select(context.Context, [][]byte) sdkmempool.Iterator
Select is a no-op
func (Terminator) SetAnteHandler ¶
func (t Terminator) SetAnteHandler(sdk.AnteHandler)
SetLaneConfig is a no-op
Click to show internal directories.
Click to hide internal directories.