Documentation ¶
Index ¶
- Constants
- type Terminator
- func (t Terminator) Compare(sdk.Context, sdk.Tx, sdk.Tx) (int, error)
- func (t Terminator) Contains(sdk.Tx) bool
- func (t Terminator) CountTx() int
- func (t Terminator) GetMaxBlockSpace() math.LegacyDec
- func (t Terminator) GetTxInfo(_ sdk.Context, _ sdk.Tx) (utils.TxWithInfo, error)
- func (t Terminator) Insert(context.Context, sdk.Tx) error
- func (t Terminator) Logger() log.Logger
- func (t Terminator) Match(_ sdk.Context, _ sdk.Tx) bool
- func (t Terminator) Name() string
- func (t Terminator) PrepareLane(_ sdk.Context, proposal proposals.Proposal, _ block.PrepareLanesHandler) (proposals.Proposal, error)
- func (t Terminator) Priority(sdk.Context, sdk.Tx) any
- func (t Terminator) ProcessLane(_ sdk.Context, p proposals.Proposal, txs []sdk.Tx, _ block.ProcessLanesHandler) (proposals.Proposal, error)
- func (t Terminator) Remove(sdk.Tx) error
- func (t Terminator) Select(context.Context, [][]byte) sdkmempool.Iterator
- func (t Terminator) SetAnteHandler(sdk.AnteHandler)
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) GetMaxBlockSpace ¶
func (t Terminator) GetMaxBlockSpace() math.LegacyDec
GetMaxBlockSpace is a no-op
func (Terminator) GetTxInfo ¶ added in v1.3.0
func (t Terminator) GetTxInfo(_ sdk.Context, _ sdk.Tx) (utils.TxWithInfo, error)
GetTxInfo is a no-op
func (Terminator) PrepareLane ¶
func (t Terminator) PrepareLane(_ sdk.Context, proposal proposals.Proposal, _ block.PrepareLanesHandler) (proposals.Proposal, error)
PrepareLane is a no-op
func (Terminator) ProcessLane ¶
func (t Terminator) ProcessLane(_ sdk.Context, p proposals.Proposal, txs []sdk.Tx, _ block.ProcessLanesHandler) (proposals.Proposal, error)
ProcessLane 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)
SetAnteHandler is a no-op
Click to show internal directories.
Click to hide internal directories.