mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
tests: add performance tests for rct signatures
This commit is contained in:
parent
80c5de9fa0
commit
1eaa3e8040
6 changed files with 65 additions and 32 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
return false;
|
||||
|
||||
txout_to_key tx_out = boost::get<txout_to_key>(m_miner_txs[i].vout[0].target);
|
||||
output_entries.push_back(std::make_pair(i, rct::ctkey({rct::pk2rct(tx_out.key), rct::identity()})));
|
||||
output_entries.push_back(std::make_pair(i, rct::ctkey({rct::pk2rct(tx_out.key), rct::zeroCommit(m_miner_txs[i].vout[0].amount)})));
|
||||
m_public_keys[i] = tx_out.key;
|
||||
m_public_key_ptrs[i] = &m_public_keys[i];
|
||||
}
|
||||
|
@ -72,6 +72,7 @@ public:
|
|||
source_entry.real_output_in_tx_index = 0;
|
||||
source_entry.outputs.swap(output_entries);
|
||||
source_entry.real_output = real_source_idx;
|
||||
source_entry.mask = rct::identity();
|
||||
source_entry.rct = false;
|
||||
|
||||
m_sources.push_back(source_entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue