1
0
Fork 0
forked from lthn/blockchain
Commit graph

65 commits

Author SHA1 Message Date
sowle
775fab7374
unit_test: compilation fixup 2022-05-27 17:14:38 +02:00
cryptozoidberg
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken) 2022-05-23 21:03:13 +02:00
cryptozoidberg
17d1245db1
serializations forks as magic 2022-05-17 17:32:53 +02:00
cryptozoidberg
23803851fe
serialization of versioned transactions: test(in progress) 2022-05-17 16:16:57 +02:00
cryptozoidberg
240b5808b9
trasaction binary versions transaction implementation 2022-05-16 23:32:28 +02:00
cryptozoidberg
cfb9b463d7
merge with zarcanum 2022-05-14 20:12:44 +02:00
cryptozoidberg
ca760a237a
fixed all coretests 2022-05-13 23:35:56 +02:00
sowle
f355c89fc4
even more minor fixes 2022-05-11 21:23:44 +02:00
sowle
7df157520d
minor fixes (epee namespace, warnings) 2022-05-11 21:02:06 +02:00
sowle
5f0b5f8f55
unittests: checkpoints_test.get_checkpoint_before_height_1 and checkpoints_test.get_checkpoint_before_height_2 tests added 2021-11-29 23:46:33 +03:00
sowle
71ef04d9e6
checkpoints: get_checkpoint_before_height() added with unit tests (+ unit tests for is_in_checkpoint_zone()) 2021-11-26 16:06:44 +03:00
sowle
f05f533a0c
experimental crypto: tests moved to functional_tests, few tests added, gtest-like infrastructure added 2020-12-23 01:40:02 +03:00
sowle
20dd1cafc3
crypto helpers improved, sc_exp and sc_invert implemented (using Fermat little theorem) 2020-12-15 23:57:17 +03:00
sowle
754c4b1fa9
crypto helpers + unit tests (WIP) 2020-12-14 21:37:18 +03:00
cryptozoidberg
5889b84acd
unit tests expended to cover secure seed cases 2020-11-20 16:40:54 +01:00
cryptozoidberg
6349ed8341
fixed seed loading functions, fixed unit_tests 2020-11-18 21:20:08 +01:00
cryptozoidberg
5a0cfe1b4a
chacha stream integrated into load/store functions 2020-08-18 21:54:25 +02:00
cryptozoidberg
a4b31c081c
implemented chachastream performance tests(results are pretty good: only 2% slowdown of load/save operations on wallet) 2020-08-18 21:54:25 +02:00
cryptozoidberg
579e4826ed
modifications for chacha stream test 2020-08-18 21:54:24 +02:00
cryptozoidberg
947af8c22b
cleaned up tests, fixed bug with not croped buff on flush 2020-08-18 21:54:24 +02:00
cryptozoidberg
67d2d7f200
implemented right version of stream filter for input 2020-08-18 21:54:24 +02:00
cryptozoidberg
88c76ea4e1
encryption sink transformed to out stream and in stream 2020-08-18 21:54:23 +02:00
cryptozoidberg
79777feda2
converted sink to filter 2020-08-18 21:54:23 +02:00
cryptozoidberg
e4aef3f036
Implemented encryption stream 'sink' 2020-08-18 21:54:23 +02:00
sowle
f4bc3a4160
unit_tests: fixed payment_id_sizes (2) 2020-07-08 20:13:38 +03:00
sowle
ce5e61a055
unit_tests: fixed unintialized variable in payment_id_sizes 2020-07-08 19:25:30 +03:00
sowle
1b9efbe9b7
unit_tests: db tests various fixes + close_contaier_test test added 2020-07-07 23:02:05 +03:00
sowle
8a3f3579c1
unit_test: all lmdb tests adapted for mdbx too 2020-07-07 13:19:27 +03:00
sowle
1586f53e85
unit_tests clean up 2020-06-30 00:46:38 +03:00
sowle
ab1ef9cf5e
Merge branch 'auditability' into predevelop 2020-06-02 13:26:22 +03:00
cryptozoidberg
979649f49c
fixed broken unit test 2020-05-29 22:13:52 +02:00
sowle
df41672f44
unit_tests: few tests adapted to new address format + lmdb fixed 2020-05-28 19:38:47 +03:00
sowle
b30a3b8f66
Merge branch 'predevelop' into auditability
# Conflicts resolved:
#	src/currency_core/currency_basic.h
#	src/wallet/wallets_manager.cpp
2020-05-11 20:41:05 +03:00
sowle
3701b138b6
unit_tests: wallet_seed.basic_test added, exposes a bug 2020-05-07 15:01:01 +03:00
cryptozoidberg
00dae66320
finished shortener test 2020-05-01 13:25:28 +02:00
cryptozoidberg
3d1a977991
fixed bugs with detach 2020-04-30 23:21:14 +02:00
cryptozoidberg
16de0b986f
implemented and tested(basic test) short_chain_history 2020-04-30 22:29:08 +02:00
sowle
42a752d12b
new addresses formats + unit tests 2020-04-30 18:50:22 +03:00
sowle
145dd6b024
unit_tests fixed 2020-04-23 14:56:03 +03:00
sowle
209b1626c6
unittests: lmdb.2gb_test improved to catch a stochastic bug (2) 2019-12-20 03:15:54 +03:00
sowle
e80f778ec2
unittests: lmdb.2gb_test improved to catch a stochastic bug 2019-12-19 03:29:32 +03:00
sowle
cd1e3c115d
unittests: added db_accessor_tests.dtor_without_init (exposes a minor bug) 2019-11-14 06:00:06 +03:00
sowle
609969799e
p2p: check_remote_client_version() moved to more appropriate place 2019-10-10 16:22:34 +03:00
sowle
02c04aa300
p2p: filter out old clients by version + unittest #128 2019-10-10 11:12:28 +03:00
sowle
f9a72e3300
unit_tests: fork_choice_rule_test fixed 2019-09-29 22:56:50 +03:00
sowle
bc1a8c0ca0
unit_tests: import advanced lmdb tests from Boolberry (exposes few minor issues) 2019-09-11 13:39:31 +03:00
sowle
62af1716af
tests fixes:
coretests/random_state_manupulation_test
functional_tests/core_concurrency_test
unit_tests/db_accessor_tests.median_db_cache_test
2019-09-11 13:38:04 +03:00
cryptozoidberg
0383fb78d4
fixed misprint in the fork choise rule 2019-08-31 22:56:25 +02:00
sowle
28659827c3
lmdb: reverting back to v 18 due to complex issues with resizing/synchronization
lmdb v 24 requires manual resizing/growing during it's normal function
Zano core is purely async so it's not easy to prevent all DB txs from starting on lmdb adapter level, because it will lead to random deadlocks in the core due to many high-level cross-thread dependencies.
We will rethink this later.
Many thanks to @leo-yuriev who helped us to discover these issues!
2019-08-28 17:58:35 +03:00
sowle
ec8dd9ee25
unit_tests: compilation fixup 2019-08-17 07:54:55 +03:00