mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Multithreaded amount commitment and range proof checking
This commit is contained in:
parent
56aa82fc2d
commit
33609ed3ea
4 changed files with 140 additions and 67 deletions
|
|
@ -497,7 +497,7 @@ BOOST_AUTO_TEST_CASE(test_big_witness_transaction) {
|
|||
CScriptCheck *checks[mtx.vin.size()];
|
||||
for(uint32_t i = 0; i < mtx.vin.size(); i++) {
|
||||
std::vector<CScriptCheck*> vChecks;
|
||||
checks[i] = new CScriptCheck(coins, tx, i, 0, 0, 0, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_WITNESS, false, &txdata);
|
||||
checks[i] = new CScriptCheck(coins, tx, i, 0, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_WITNESS, false, &txdata);
|
||||
vChecks.push_back(checks[i]);
|
||||
control.Add(vChecks);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue