monero/tests/unit_tests
moneroexamples ec68cf822f Make get_output_key method const
get_output_key method is commonly used when working with txs and their key images. Because the method is not const, passing blockchain object though const& or pointers to const is not possible in this context. This is especially problematic in external projects (e.g., projects in moneroexamples) that use monero C++ api to operate on the blockchain and txs.

Thus, having get_output_key method will simplify moving blockchain object around through const references and pointers to const objects.
2019-01-07 05:53:14 +08:00
..
CMakeLists.txt Merge pull request #4832 2018-11-26 20:29:53 +02:00
account.cpp store secret keys encrypted where possible 2018-08-16 11:57:43 +00:00
address_from_url.cpp unit_tests: fix longstanding DNS related unit test 2018-09-28 15:28:38 +00: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 Readd copyright starting date 2018-01-26 10:03:20 -05:00
ban.cpp protocol: option to pad transaction relay to the next kB 2018-11-06 15:47:05 +00:00
base58.cpp Stagenet 2018-03-05 11:55:05 +09:00
block_queue.cpp Readd copyright starting date 2018-01-26 10:03:20 -05:00
block_reward.cpp v8: per byte fee, pad bulletproofs, fixed 11 ring size 2018-09-11 13:38:07 +00:00
blockchain_db.cpp v8: per byte fee, pad bulletproofs, fixed 11 ring size 2018-09-11 13:38:07 +00:00
bulletproofs.cpp unit_tests: sanity check on transaction weight 2018-09-15 16:14:38 +00:00
canonical_amounts.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
chacha.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
checkpoints.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
command_line.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
crypto.cpp unit_tests: don't take the address of an unwrapped secret key 2018-11-16 19:36:02 +00:00
decompose_amount_into_digits.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
device.cpp unit_tests: add device unit tests 2018-04-12 13:49:05 +01:00
dns_resolver.cpp dns: change default DNS to a worldwide selection 2018-02-08 09:46:16 +00:00
epee_boosted_tcp_server.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
epee_levin_protocol_handler_async.cpp Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
epee_utils.cpp unit_tests: add some hex parsing test for non hex input 2018-11-15 23:34:15 +00:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
fee.cpp v8: per byte fee, pad bulletproofs, fixed 11 ring size 2018-09-11 13:38:07 +00:00
get_xtype_from_string.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
hardfork.cpp tests: add unit tests for get_output_distribution 2018-11-16 19:21:45 +00:00
hashchain.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
http.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
is_hdd.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00
json_serialization.cpp bulletproofs: add multi output bulletproofs to rct 2018-09-11 13:37:28 +00:00
keccak.cpp tests: fix MSYS2 gcc 7.3.0 warning -Wtype-limits 2018-10-29 08:20:15 +03:00
logging.cpp unit_tests: add logging unit test 2018-11-09 16:57:03 +00:00
main.cpp Merge pull request #4459 2018-09-29 22:20:38 +02:00
memwipe.cpp Readd copyright starting date 2018-01-26 10:03:20 -05:00
mlocker.cpp Merge pull request #4459 2018-09-29 22:20:38 +02:00
mnemonics.cpp remove some unused code 2018-11-23 15:37:36 +00:00
mul_div.cpp move int-util.h to epee 2018-12-04 15:14:29 +00:00
multiexp.cpp unit_tests: add a few more multiexp unit tests 2018-09-11 13:38:19 +00:00
multisig.cpp remove some unused code 2018-11-23 15:37:36 +00:00
notify.cpp Merge pull request #4941 2018-12-31 15:48:52 -06:00
output_distribution.cpp tests: add unit tests for get_output_distribution 2018-11-16 19:21:45 +00:00
output_selection.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
parse_amount.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
random.cpp crypto: remove slight bias in key generation due to modulo 2018-07-05 09:18:01 +01:00
ringct.cpp remove some unused code 2018-11-23 15:37:36 +00:00
ringdb.cpp Rename "blackball" for clarity 2018-10-18 18:45:45 +00:00
serialization.cpp simplewallet: print the number of show/all transfers 2018-11-04 22:27:05 +00:00
sha256.cpp Readd copyright starting date 2018-01-26 10:03:20 -05:00
slow_memmem.cpp tests: slow_memmem now returns size_t 2018-11-23 15:36:48 +00:00
subaddress.cpp unit_tests: do not rethrow a copy of an exception 2018-11-23 15:38:00 +00:00
test_notifier.cpp unit_tests: add a notifier test 2018-10-01 09:14:20 +00:00
test_peerlist.cpp p2p: use vector instead of list for peer lists 2018-12-07 13:20:34 +00:00
test_protocol_pack.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
test_tx_utils.cpp cryptonote: sort tx_extra fields 2018-10-07 11:13:22 +00:00
testdb.h Make get_output_key method const 2019-01-07 05:53:14 +08:00
threadpool.cpp threadpool: allow leaf functions to run concurrently 2018-06-26 22:15:22 +01:00
unbound.cpp Readd copyright starting date 2018-01-26 10:03:20 -05:00
unit_tests_utils.h unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value map 2018-02-12 21:56:36 +09:00
uri.cpp Stagenet 2018-03-05 11:55:05 +09:00
varint.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00
vercmp.cpp Readd copyright starting date 2018-01-26 10:03:20 -05:00
wipeable_string.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00