mirror of
https://github.com/monero-project/monero.git
synced 2025-05-20 14:50:26 -04:00
cryptonote_basic: faster and more readable is_valid_decomposed_amount
Includes performance tests
This commit is contained in:
parent
ac02af9286
commit
a79734c848
3 changed files with 72 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue