[monero-project/monero] Bp multi aggregation pippenger (#4219)

stoffu commented on this pull request.

> @@ -8423,16 +8529,15 @@ std::vector wallet2::create_transactions_from(const crypton

// here, check if we need to sent tx and start a new one
LOG_PRINT_L2(«Considering whether to create a tx now, » << tx.selected_transfers.size() << " inputs, tx limit " - << upper_transaction_size_limit); - const size_t estimated_rct_tx_size = estimate_tx_size(use_rct, tx.selected_transfers.size(), fake_outs_count, tx.dsts.size() + 1, extra.size(), bulletproof); - bool try_tx = (unused_dust_indices.empty() && unused_transfers_indices.empty()) || ( estimated_rct_tx_size >= TX_SIZE_TARGET(upper_transaction_size_limit));
+ << upper_transaction_weight_limit); + const size_t estimated_rct_tx_weight = estimate_tx_weight(use_rct, tx.selected_transfers.size(), fake_outs_count, tx.dsts.size() + 2, extra.size(), bulletproof); ok