Merge pull request #9122

a79734c cryptonote_basic: faster and more readable is_valid_decomposed_amount (jeffro256)
This commit is contained in:
luigi1111 2024-12-23 10:18:07 -05:00
commit 785e3ac673
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
3 changed files with 72 additions and 26 deletions

View file

@ -51,6 +51,7 @@
#include "generate_keypair.h"
#include "signature.h"
#include "is_out_to_acc.h"
#include "is_valid_decomposed_amount.h"
#include "out_can_be_to_acc.h"
#include "subaddress_expand.h"
#include "sc_reduce32.h"
@ -217,6 +218,8 @@ int main(int argc, char** argv)
TEST_PERFORMANCE2(filter, p, test_wallet2_expand_subaddresses, 50, 200);
TEST_PERFORMANCE0(filter, p, test_is_valid_decomposed_amount);
TEST_PERFORMANCE1(filter, p, test_cn_slow_hash, 0);
TEST_PERFORMANCE1(filter, p, test_cn_slow_hash, 1);
TEST_PERFORMANCE1(filter, p, test_cn_slow_hash, 2);