summaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
* wallet: option to merge destinationsmoneromooo-monero2017-03-252-1/+27
| | | | | | | | | | | | With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
* Merge pull request #1921Riccardo Spagni2017-03-251-1/+1
|\ | | | | | | | | 2bee92db Fixed typo in v5 hard fork finalized date (Derek Zhang) d17179d1 Fixed typo in CLI wallet help message (Derek Zhang)
| * Fixed typo in CLI wallet help messageDerek Zhang2017-03-241-1/+1
| |
* | wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero2017-03-242-1/+67
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
* Transfer helpAkademik Prokhor Zakharov2017-03-221-2/+2
| | | | | New pull request because I couldn't figure out how to change the previous one. 1. For clarity, I want to focus the help text for the 'transfer' command on the most typical use case (a single payment). 2. New users will prefer to use 'transfer', so the older method 'transfer_original' should refer to 'transfer' rather than the other way around.
* wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero2017-03-211-15/+1
|
* Merge pull request #1886Riccardo Spagni2017-03-181-5/+0
|\ | | | | | | f9a2b527 simplewallet: allow setting tx priority in watch wallets (moneromooo-monero)
| * simplewallet: allow setting tx priority in watch walletsmoneromooo-monero2017-03-181-5/+0
| | | | | | | | Those can create unsigned transactions
* | Merge pull request #1883Riccardo Spagni2017-03-181-2/+2
|\ \ | | | | | | | | | d0238313 use const references in catch blocks (moneromooo-monero)
| * | use const references in catch blocksmoneromooo-monero2017-03-181-2/+2
| |/
* / simplewallet: catch case where no transactions are mademoneromooo-monero2017-03-181-1/+7
|/ | | | | | This would otherwise be a silent noop, which is confusing. This can happen if the daemon is started, but not yet ready to service all requests, and this is a safe catch all.
* Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-151-6/+6
| | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* wallet: add password commandmoneromooo-monero2017-03-051-3/+4
| | | | | Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
* Merge pull request #1826Riccardo Spagni2017-03-032-1/+46
|\ | | | | | | 2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
| * allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2017-03-022-1/+46
| |
* | Merge pull request #1820Riccardo Spagni2017-03-032-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7a44f38a Add support for the wallet to refresh pruned blocks (moneromooo-monero) da18898f ringct: do not require range proof in decodeRct/decodeRctSimple (moneromooo-monero) b49c6ab4 rpc: add a default category for daemon rpc (moneromooo-monero) f113b92b core: add functions to serialize base tx info (moneromooo-monero) 6fd4b827 node_rpc_proxy: allow caching daemon RPC version (moneromooo-monero) b5c74e40 wallet: invalidate node proxy cache when reconnecting (moneromooo-monero)
| * | Add support for the wallet to refresh pruned blocksmoneromooo-monero2017-02-272-11/+11
| |/
* / wallet: fix --log-file not workingmoneromooo-monero2017-02-281-1/+2
|/
* simplewallet: updated help message for 'set ask-password'kenshi842017-02-241-1/+1
|
* Merge pull request #1765Riccardo Spagni2017-02-221-8/+7
|\ | | | | | | 5cfddd74 Add support for smart mining through wallet. (Dion Ahmetaj)
| * Add support for smart mining through wallet.Dion Ahmetaj2017-02-211-8/+7
| |
* | update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-213-3/+3
|/
* simplewallet: validate hex input sizemoneromooo-monero2017-02-141-9/+9
|
* Merge pull request #1698Riccardo Spagni2017-02-111-0/+6
|\ | | | | | | 9459f331 simplewallet: print error when address is wrong (kenshi84)
| * simplewallet: print error when address is wrongkenshi842017-02-081-0/+6
| |
* | Merge pull request #1689Riccardo Spagni2017-02-112-2/+2
|\ \ | | | | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * | Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-062-2/+2
| |/
* / extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-082-3/+3
|/
* Merge pull request #1665Riccardo Spagni2017-02-041-6/+1
|\ | | | | | | | | 34719071 simplewallet: cleanup (moneromooo-monero) a9a9b64b simplewallet: fix build (unqualified type not in current scope) (moneromooo-monero)
| * simplewallet: cleanupmoneromooo-monero2017-02-021-5/+0
| | | | | | | | | | Remove empty static function which was refactored, as well as leftover exception testing code.
| * simplewallet: fix build (unqualified type not in current scope)moneromooo-monero2017-02-021-1/+1
| |
* | Merge pull request #1640Riccardo Spagni2017-02-042-0/+43
|\ \ | |/ |/| | | f97526e6 simplewallet: option to always ask password for any crytical operations (kenshi84)
| * simplewallet: option to always ask password for any crytical operationskenshi842017-02-032-0/+43
| |
* | Merge pull request #1645Riccardo Spagni2017-02-021-29/+2
|\ \ | | | | | | | | | 9bd9906e Factor is_address_local code into a tools function (moneromooo-monero)
| * | Factor is_address_local code into a tools functionmoneromooo-monero2017-01-281-29/+2
| |/
* | Merge pull request #1639Riccardo Spagni2017-02-022-0/+28
|\ \ | | | | | | | | | 48aa9cf0 Add change_password for simplewallet (Ashley Perpetual)
| * | Add change_password for simplewalletAshley Perpetual2017-01-292-0/+28
| |/
* | Merge pull request #1629Riccardo Spagni2017-02-021-6/+7
|\ \ | | | | | | | | | c02e1cb9 Updates to epee HTTP client code - 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 (Lee Clagett)
| * | Updates to epee HTTP client codeLee Clagett2017-01-251-6/+7
| |/ | | | | | | | | | | | | | | - 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
* / moved get_account_address_from_str_or_url from libcommon to libcryptonote_corekenshi842017-01-241-5/+5
|/
* Merge pull request #1599Riccardo Spagni2017-01-201-8/+8
|\ | | | | | | 17246d05 wallet: print exception message on get_random_outs_error (moneromooo-monero)
| * wallet: print exception message on get_random_outs_errormoneromooo-monero2017-01-201-8/+8
| |
* | simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004kenshi842017-01-181-1/+1
|/
* Merge pull request #1569Riccardo Spagni2017-01-151-16/+64
|\ | | | | | | 16b8b66a specify restore height by YYYY-MM-DD format (kenshi84)
| * specify restore height by YYYY-MM-DD formatkenshi842017-01-161-16/+64
| |
* | Change logging to easylogging++moneromooo-monero2017-01-162-32/+41
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #1562Riccardo Spagni2017-01-131-78/+9
|\ | | | | | | a081b39c Move key image export/import functions to wallet2 (Jaquee)
| * Move key image export/import functions to wallet2Jaquee2017-01-131-78/+9
| |
* | Merge pull request #1559Riccardo Spagni2017-01-132-0/+6
|\ \ | | | | | | | | | db56a03f Wallet2 + API: Callbacks for unconfirmed transfers (Jaquee)
| * | Wallet2 + API: Callbacks for unconfirmed transfersJaquee2017-01-122-0/+6
| | |