Expand description
Contains routines for message selection APIs.
Whenever a miner is ready to create a block for a tipset, it invokes the
select_messages API which selects an appropriate set of messages such that
it optimizes miner reward and chain capacity. See https://docs.filecoin.io/mine/lotus/message-pool/#message-selection for more details
StructsΒ§
- Selected
Messages π - A structure that holds the selected messages for a block. It tracks the gas limit and the limits for different signature types to ensure that the block does not exceed the limits set by the protocol.
ConstantsΒ§
- CBOR_
GEN_ πLIMIT - MAX_
BLOCKS π - MAX_
BLOCK_ πMSGS
FunctionsΒ§
- merge_
and_ πtrim - Returns merged and trimmed messages with the gas limit
- run_
head_ πchange - Like
head_change, except it doesnβt change the state of theMessagePool. It simulates a head change call.
Type AliasesΒ§
- Pending π