wownero/tests/unit_tests
moneromooo-monero 8330e772f1
monerod can now sync from pruned blocks
If the peer (whether pruned or not itself) supports sending pruned blocks
to syncing nodes, the pruned version will be sent along with the hash
of the pruned data and the block weight. The original tx hashes can be
reconstructed from the pruned txes and theur prunable data hash. Those
hashes and the block weights are hashes and checked against the set of
precompiled hashes, ensuring the data we received is the original data.
It is currently not possible to use this system when not using the set
of precompiled hashes, since block weights can not otherwise be checked
for validity.

This is off by default for now, and is enabled by --sync-pruned-blocks
2019-09-27 00:10:37 +00:00
..
account.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
address_from_url.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
aligned.cpp unit_tests: add unit test for alloc alignment being a power of 2 2018-10-08 11:36:42 +00:00
apply_permutation.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
ban.cpp monerod can now sync from pruned blocks 2019-09-27 00:10:37 +00:00
base58.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
block_queue.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
block_reward.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
blockchain_db.cpp unit_tests: check return values on test data parsing 2019-07-01 15:17:30 +00:00
bulletproofs.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
canonical_amounts.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
chacha.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
checkpoints.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
CMakeLists.txt Added support for "noise" over I1P/Tor to mask Tx transmission. 2019-07-17 14:22:37 +00:00
command_line.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
crypto.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
decompose_amount_into_digits.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
device.cpp ringct: remove unused senderPk from ecdhTuple 2019-01-22 23:17:42 +00:00
difficulty.cpp difficulty: fix check_hash on big endian 2019-09-04 14:53:53 +00:00
dns_resolver.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
epee_boosted_tcp_server.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
epee_levin_protocol_handler_async.cpp unit_tests: fix levin unit test on big endian 2019-09-04 14:53:58 +00:00
epee_utils.cpp Merge pull request #5748 2019-08-21 15:18:38 -05:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
fee.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
get_xtype_from_string.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
hardfork.cpp testdb: add override keyword where missing 2019-04-17 10:26:25 +09:00
hashchain.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
hmac_keccak.cpp test: hmac_keccak - fix number of chunks counting 2019-03-24 20:24:28 +01:00
http.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
is_hdd.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00
json_serialization.cpp add a bulletproof version, new bulletproof type, and rct config 2019-01-22 23:17:24 +00:00
keccak.cpp keccak: guard against misaligned memory accesses on ARM 2019-07-04 22:13:16 +00:00
levin.cpp Added support for "noise" over I1P/Tor to mask Tx transmission. 2019-07-17 14:22:37 +00:00
lmdb.cpp Adding classes, functions, and utilities for common LMDB operations. 2019-03-19 17:52:26 +00:00
logging.cpp unit_tests: don't delete log file on windows, it will fail 2019-04-23 15:27:54 +00:00
long_term_block_weight.cpp unit_tests/long_term_block_weight: some tweaks that seem to make more sense 2019-04-09 20:21:45 +09:00
main.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
memwipe.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
mlocker.cpp Merge pull request #4459 2018-09-29 22:20:38 +02:00
mnemonics.cpp use crypto::rand instead of libc rand in a few tests 2019-05-10 14:15:35 +00:00
mul_div.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
multiexp.cpp unit_tests: add a few more multiexp unit tests 2018-09-11 13:38:19 +00:00
multisig.cpp Added socks proxy (tor/i2pd/kovri) support to wallet 2019-03-25 01:35:13 +00:00
net.cpp unit_tests: fix build with CLANG 8 and boost 1.69 2019-08-30 11:43:03 +00:00
notify.cpp unit_tests: remove leftover debug print 2019-02-01 19:14:55 +00:00
output_distribution.cpp unit_tests: Fix uninitialized values 2019-08-27 09:17:34 +02:00
output_selection.cpp Merge pull request #5652 2019-08-15 17:13:18 -05:00
parse_amount.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
pruning.cpp Pruning 2019-01-22 20:30:51 +00:00
random.cpp crypto: remove slight bias in key generation due to modulo 2018-07-05 09:18:01 +01:00
ringct.cpp Merge pull request #5707 2019-08-28 02:22:00 -05:00
ringdb.cpp Rename "blackball" for clarity 2018-10-18 18:45:45 +00:00
rolling_median.cpp Replace std::random_shuffle with std::shuffle 2019-08-15 16:33:15 +02:00
serialization.cpp ringct: prevent use of full ringct signatures for more than one input 2019-04-11 19:44:06 +00:00
sha256.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
slow_memmem.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
subaddress.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
test_notifier.cpp unit_tests: add a notifier test 2018-10-01 09:14:20 +00:00
test_peerlist.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
test_protocol_pack.cpp add a few checks where it seems appropriate 2019-04-29 20:52:40 +00:00
test_tx_utils.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
threadpool.cpp threadpool: allow leaf functions to run concurrently 2018-06-26 22:15:22 +01:00
unbound.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
unit_tests_utils.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
uri.cpp wallet2: reject standalone short payment IDs in monero: URI API 2019-05-01 18:41:39 +00:00
varint.cpp remove unused code 2019-04-29 20:52:40 +00:00
vercmp.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
wipeable_string.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00