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

moneromooo-monero commented on this pull request.

> + ++amounts_paid;
+ ++amounts_paid;
+ }
+ if (!valid)
+ DO_CALLBACK(events, «mark_invalid_tx»);
+ events.push_back(rct_txes);
+
+ CHECK_AND_ASSERT_MES(generator.construct_block_manually(blk_txes, blk_last, miner_account,
+ test_generator::bf_major_ver | test_generator::bf_minor_ver | test_generator::bf_timestamp | test_generator::bf_tx_hashes | test_generator::bf_hf_version | test_generator::bf_max_outs,
+ 8, 8, blk_last.timestamp + DIFFICULTY_BLOCKS_ESTIMATE_TIMESPAN * 2, // v2 has blocks twice as long
+ crypto::hash(), 0, transaction(), starting_rct_tx_hashes, 0, 6, 8),
+ false, «Failed to generate block»);
+ if (!valid)
+ DO_CALLBACK(events, «mark_invalid_block»);
+ events.push_back(blk_txes);
+ blk_last = blk_txes;

It technically is.

Добавить комментарий