Skip to content

MiniMiner changes for package linearization

This is part of #27463. It splits off the MiniMiner-specific changes from #26711 for ease of review, as suggested in https://github.com/bitcoin/bitcoin/pull/26711#issuecomment-1786392253.

  • Allow using MiniMiner on transactions that aren't in the mempool.
  • Make target_feerate param of BuildMockTemplate optional, meaning "don't stop building the template until all the transactions have been selected."
  • Track the order in which transactions are included in the template to get the "linearization order" of the transactions.
  • Tests

Reviewers can take a look at #26711 to see how these functions are used to linearize the AncestorPackage there.

Merge request reports

Loading