Documentation
¶
Index ¶
- type Lane
- func (_m *Lane) Compare(ctx types.Context, this types.Tx, other types.Tx) int
- func (_m *Lane) Contains(tx types.Tx) bool
- func (_m *Lane) CountTx() int
- func (_m *Lane) GetMaxBlockSpace() math.LegacyDec
- func (_m *Lane) Insert(_a0 context.Context, _a1 types.Tx) error
- func (_m *Lane) Match(ctx types.Context, tx types.Tx) bool
- func (_m *Lane) Name() string
- func (_m *Lane) PrepareLane(ctx types.Context, proposal proposals.Proposal, next block.PrepareLanesHandler) (proposals.Proposal, error)
- func (_m *Lane) ProcessLane(ctx types.Context, proposal proposals.Proposal, partialProposal [][]byte, ...) (proposals.Proposal, error)
- func (_m *Lane) Remove(_a0 types.Tx) error
- func (_m *Lane) Select(_a0 context.Context, _a1 [][]byte) mempool.Iterator
- func (_m *Lane) SetAnteHandler(antehander types.AnteHandler)
- func (_m *Lane) SetIgnoreList(ignoreList []block.Lane)
- type LaneMempool
- func (_m *LaneMempool) Compare(ctx types.Context, this types.Tx, other types.Tx) int
- func (_m *LaneMempool) Contains(tx types.Tx) bool
- func (_m *LaneMempool) CountTx() int
- func (_m *LaneMempool) Insert(_a0 context.Context, _a1 types.Tx) error
- func (_m *LaneMempool) Remove(_a0 types.Tx) error
- func (_m *LaneMempool) Select(_a0 context.Context, _a1 [][]byte) mempool.Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lane ¶
Lane is an autogenerated mock type for the Lane type
func NewLane ¶
NewLane creates a new instance of Lane. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Lane) GetMaxBlockSpace ¶
GetMaxBlockSpace provides a mock function with given fields:
func (*Lane) PrepareLane ¶
func (_m *Lane) PrepareLane(ctx types.Context, proposal proposals.Proposal, next block.PrepareLanesHandler) (proposals.Proposal, error)
PrepareLane provides a mock function with given fields: ctx, proposal, next
func (*Lane) ProcessLane ¶
func (_m *Lane) ProcessLane(ctx types.Context, proposal proposals.Proposal, partialProposal [][]byte, next block.ProcessLanesHandler) (proposals.Proposal, error)
ProcessLane provides a mock function with given fields: ctx, proposal, partialProposal, next
func (*Lane) SetAnteHandler ¶
func (_m *Lane) SetAnteHandler(antehander types.AnteHandler)
SetAnteHandler provides a mock function with given fields: antehander
func (*Lane) SetIgnoreList ¶
SetIgnoreList provides a mock function with given fields: ignoreList
type LaneMempool ¶
LaneMempool is an autogenerated mock type for the LaneMempool type
func NewLaneMempool ¶
func NewLaneMempool(t interface {
mock.TestingT
Cleanup(func())
},
) *LaneMempool
NewLaneMempool creates a new instance of LaneMempool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LaneMempool) Contains ¶
func (_m *LaneMempool) Contains(tx types.Tx) bool
Contains provides a mock function with given fields: tx
func (*LaneMempool) CountTx ¶
func (_m *LaneMempool) CountTx() int
CountTx provides a mock function with given fields: