monero/tests/unit_tests
jeffro256 dd47d03cf2
Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]
Related to https://github.com/monero-project/research-lab/issues/78

Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions.

UIs changed:
* Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli`

APIs changed:
* Removed `unlock_time` parameters from `wallet2` transfer methods
* Wallet RPC transfer endpoints send error codes when requested unlock time is not 0
* Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions

@tobtoht: undo rebase changes tx.dsts -> tx_dsts
2024-04-29 00:08:53 -05:00
..
account.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
address_from_url.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
aligned.cpp Add <cstdint> to aligned test 2024-01-29 21:40:50 -05:00
apply_permutation.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
base58.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
block_queue.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
block_reward.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
blockchain_db.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
bootstrap_node_selector.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
bulletproofs.cpp multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
bulletproofs_plus.cpp Update copyright to 2022 for Hardfork files 2022-04-29 11:12:36 +02:00
canonical_amounts.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
chacha.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
checkpoints.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
CMakeLists.txt wallet2: fix store_to() and change_password() 2023-08-23 11:52:31 -05:00
command_line.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
crypto.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
decompose_amount_into_digits.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
device.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
difficulty.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
dns_resolver.cpp DNSResolver: fix not handling hostnames without dot characters [release] 2022-11-21 21:16:16 -06:00
epee_boosted_tcp_server.cpp address PR comments 2022-07-08 15:10:03 -07:00
epee_levin_protocol_handler_async.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
epee_serialization.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
epee_utils.cpp unit_tests: fix strtoul unit test 2024-03-07 16:10:01 +01:00
expect.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
fee.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
get_xtype_from_string.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hardfork.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hashchain.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hmac_keccak.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
http.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
is_hdd.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00
json_serialization.cpp Enforce Tx unlock_time is Zero by Relay Rule [RELEASE] 2024-04-29 00:08:53 -05:00
json_serialization.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
keccak.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
levin.cpp Fix dandelion++ fluff/stem bug with local txes 2022-10-25 16:01:09 -04:00
lmdb.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
logging.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
long_term_block_weight.cpp add a test for the long term weight cache 2023-10-02 15:28:50 +01:00
main.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
memwipe.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mlocker.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mnemonics.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
mul_div.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
multiexp.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
multisig.cpp add an option to force-update multisig key exchange under some circumstances 2022-09-21 12:51:19 -05:00
net.cpp Disable/fix ports with I2P 2024-01-30 13:36:21 -05:00
node_server.cpp Move update_checkpoints() to a later stage 2022-09-22 13:06:39 +02:00
notify.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
output_distribution.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
output_selection.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
parse_amount.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
pruning.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
random.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ringct.cpp multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
ringdb.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
rolling_median.cpp epee: allow copying a rolling_median_t object 2022-04-10 18:13:31 +00:00
rpc_version_str.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
scaling_2021.cpp Update copyright to 2022 for Hardfork files 2022-04-29 11:12:36 +02:00
serialization.cpp serialization: fix infinite loops and clean up dispatching 2024-02-08 13:22:33 -06:00
sha256.cpp unit_tests: add more sha256sum test cases 2022-05-18 01:34:20 +02:00
slow_memmem.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
subaddress.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_notifier.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_peerlist.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_protocol_pack.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
test_tx_utils.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
threadpool.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
tx_proof.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
unbound.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
unit_tests_utils.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
uri.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
util.cpp common: do not use DNS to determine if address is local 2023-05-25 18:06:34 +02:00
varint.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ver_rct_non_semantics_simple_cached.cpp verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
vercmp.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_storage.cpp wallet2: fix store_to() and change_password() 2023-08-23 11:52:31 -05:00
wipeable_string.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
zmq_rpc.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00