wownero/tests/unit_tests
moneromooo-monero 59a66e209a
move the rct commitments to the output_amounts database
Since these are needed at the same time as the output pubkeys,
this is a whole lot faster, and takes less space. Only outputs
of 0 amount store the commitment. When reading other outputs,
a fake commitment is regenerated on the fly. This avoids having
to rewrite the database to add space for fake commitments for
existing outputs.

This code relies on two things:

- LMDB must support fixed size records per key, rather than
per database (ie, all records on key 0 are the same size, all
records for non 0 keys are same size, but records from key 0
and non 0 keys do have different sizes).

- the commitment must be directly after the rest of the data
in outkey and output_data_t.
2016-08-28 21:29:02 +01:00
..
address_from_url.cpp unit_tests: update test openalias address 2016-02-23 23:12:55 +00:00
ban.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
base58.cpp updated copyright year 2015-12-31 08:39:56 +02:00
block_reward.cpp updated copyright year 2015-12-31 08:39:56 +02:00
blockchain_db.cpp unit_tests: fix blockchain unit test after hard fork import fix 2016-02-08 20:58:43 +00:00
canonical_amounts.cpp updated copyright year 2015-12-31 08:39:56 +02:00
chacha8.cpp updated copyright year 2015-12-31 08:39:56 +02:00
checkpoints.cpp unit_tests: check adding checkpoints succeeded 2016-07-26 22:40:38 +01:00
CMakeLists.txt tests: add Shen Noether's basic ringct tests 2016-08-28 21:27:19 +01:00
decompose_amount_into_digits.cpp updated copyright year 2015-12-31 08:39:56 +02:00
dns_resolver.cpp updated copyright year 2015-12-31 08:39:56 +02:00
epee_boosted_tcp_server.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
epee_levin_protocol_handler_async.cpp tests: fix a bitflag test typo 2016-07-26 22:40:46 +01:00
get_xtype_from_string.cpp updated copyright year 2015-12-31 08:39:56 +02:00
hardfork.cpp move the rct commitments to the output_amounts database 2016-08-28 21:29:02 +01:00
main.cpp move g_test_dbg_lock_sleep from a global to a function level static 2016-02-22 19:34:09 +00:00
mnemonics.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
mul_div.cpp updated copyright year 2015-12-31 08:39:56 +02:00
parse_amount.cpp updated copyright year 2015-12-31 08:39:56 +02:00
ringct.cpp rct: add the tx prefix hash into the MLSAG 2016-08-28 21:28:58 +01:00
serialization.cpp rct: add the tx prefix hash into the MLSAG 2016-08-28 21:28:58 +01:00
slow_memmem.cpp OpenBSD support for Monero. 2016-01-21 11:18:26 -07:00
test_format_utils.cpp updated copyright year 2015-12-31 08:39:56 +02:00
test_peerlist.cpp updated copyright year 2015-12-31 08:39:56 +02:00
test_protocol_pack.cpp Revert "Print stack trace upon exceptions" 2016-03-21 10:12:23 +00:00
unbound.cpp tests: unbound API is only accessible in static builds 2016-04-02 16:02:18 +01:00
unit_tests_utils.h updated copyright year 2015-12-31 08:39:56 +02:00
varint.cpp unit_tests: add a write_varint/read_varint test 2016-05-01 11:42:31 +01:00