pub fn linearize(items: &[ChunkInput<'_>]) -> Vec<CpfpClusterChunk>Expand description
Linearize items into chunks. items must be in topological order
(parents before children); parents indices must point earlier in
the slice. Returns chunks sorted by descending feerate, with each
chunk’s txs listed in the input topological order.