mirror of
https://github.com/monero-project/monero.git
synced 2025-07-22 12:10:43 -04:00
Make difficulty 128 bit instead of 64 bit
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
This commit is contained in:
parent
e4b049da05
commit
91f4c7f45f
30 changed files with 787 additions and 62 deletions
|
@ -38,6 +38,7 @@
|
|||
// tests
|
||||
#include "construct_tx.h"
|
||||
#include "check_tx_signature.h"
|
||||
#include "check_hash.h"
|
||||
#include "cn_slow_hash.h"
|
||||
#include "derive_public_key.h"
|
||||
#include "derive_secret_key.h"
|
||||
|
@ -181,6 +182,14 @@ int main(int argc, char** argv)
|
|||
TEST_PERFORMANCE4(filter, p, test_check_tx_signature_aggregated_bulletproofs, 2, 2, 56, 16);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_tx_signature_aggregated_bulletproofs, 10, 2, 56, 16);
|
||||
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 0, 1, 0, 1);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 0, 0xffffffffffffffff, 0, 0xffffffffffffffff);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 0, 0xffffffffffffffff, 0, 1);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 1, 0, 1, 0);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 1, 0, 0, 1);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 0xffffffffffffffff, 0xffffffffffffffff, 0, 1);
|
||||
TEST_PERFORMANCE4(filter, p, test_check_hash, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff);
|
||||
|
||||
TEST_PERFORMANCE0(filter, p, test_is_out_to_acc);
|
||||
TEST_PERFORMANCE0(filter, p, test_is_out_to_acc_precomp);
|
||||
TEST_PERFORMANCE0(filter, p, test_generate_key_image_helper);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue