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

moneromooo-monero commented on this pull request.

> {
— if (m_upper_transaction_size_limit > 0)
— return m_upper_transaction_size_limit;
— uint64_t full_reward_zone = use_fork_rules(5, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5 : use_fork_rules(2, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 : CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1;
+ if (m_upper_transaction_weight_limit > 0)
+ return m_upper_transaction_weight_limit;
+ uint64_t full_reward_zone = use_fork_rules(8, 10) ? (CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5 / 2) : use_fork_rules(5, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5 : use_fork_rules(2, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 : CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1;

OK