aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/transactions_flow_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-291-1/+1
| | | | | | | | | | | | | | | | 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
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Remove unused variables in monero codebaseKevin Barbour2021-02-091-1/+0
| | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Merge pull request #5877luigi11112019-09-241-1/+1
|\ | | | | | | | | | | 2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami) 4ad191f Removed unused boost/value_init header (whyamiroot) 928f4be Make null hash constants constexpr (whyamiroot)
| * Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez2019-09-021-1/+1
| |
* | wallet: fix mismatch between two concepts of "balance"moneromooo-monero2019-09-051-4/+4
|/ | | | | | | | | | | | | One considers the blockchain, while the other considers the blockchain and some recent actions, such as a recently created transaction which spend some outputs, but isn't yet mined. Typically, the "balance" command wants the latter, to reflect the recent action, but things like proving ownership wants the former. This fixes a crash in get_reserve_proof, where a preliminary check and the main code used two concepts of "balance".
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett2018-12-231-0/+1
|
* api/wallet: properly disable key encryptionstoffu2018-09-171-2/+2
|
* remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero2018-09-141-6/+6
|
* wallet: store trusted-daemon flag in wallet2stoffu2018-08-231-1/+1
|
* store secret keys encrypted where possiblemoneromooo-monero2018-08-161-2/+2
| | | | | | | | | The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
* wallet: on first refresh, start off with a quantized heightmoneromooo-monero2018-06-131-7/+7
| | | | | | for privacy reasons, so an untrusted node can't easily track wallets from IP address to IP address, etc. The granularity is 1024 blocks, which is about a day and a half.
* Stagenetstoffu2018-03-051-3/+3
|
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Subaddresseskenshi842017-10-071-4/+4
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-1/+1
|
* Updates to epee HTTP client codeLee Clagett2017-01-251-2/+2
| | | | | | | | - http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed
* Change logging to easylogging++moneromooo-monero2017-01-161-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
* wallet: do not store signatures in the wallet cachemoneromooo-monero2016-08-281-1/+1
| | | | | Saves some substantial space. Also avoid calculating tx hashes we don't need.
* tests: fix compile failure on wallet2::transfermoneromooo-monero2016-04-171-1/+2
|
* wallet: better output selection for transfer/transfer_newmoneromooo-monero2016-04-021-1/+1
| | | | | | This now requests the set of outputs that can be mixed first, to avoid trying non dust but unmixable outputs, which we know will fail.
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* tests: fix build error with CLANGmoneromooo-monero2015-11-171-1/+1
|
* s/terget/target/moneromooo-monero2015-05-171-5/+5
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* Separate testnet address prefixZachary Michaels2014-09-151-3/+3
|
* Reorganize testnet constantsZachary Michaels2014-09-151-3/+9
|
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* final changes to get transaction splitting building. needs testing.Thomas Winget2014-06-301-1/+3
|
* initial [broken] updatemydesktop2014-05-031-2/+2
|
* json rpc for wallet and bugfixAntonio Juarez2014-04-021-26/+27
|
* some fixesAntonio Juarez2014-03-201-7/+8
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+269