fn setup_fee_weighted_index(
transactions: &[VerifiedUnminedTx],
) -> Option<WeightedIndex<f32>>
Expand description
Returns a fee-weighted index and the total weight of transactions
.
Returns None
if there are no transactions, or if the weights are invalid.