Module forest_filecoin::message_pool::msgpool::selection

source Β·
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

Constants§

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 the MessagePool. It simulates a head change call.

Type Aliases§