summaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #718Riccardo Spagni2016-03-121-0/+1
|\ | | | | | | 41ea91a simplewallet: fix hang when setting auto-refresh to 0 (moneromooo-monero)
| * simplewallet: fix hang when setting auto-refresh to 0moneromooo-monero2016-03-121-0/+1
| | | | | | | | | | | | It would try to join the auto refresh thread, which would only happen after it was done, which would take a long time when doing so on a newly created wallet.
* | simplewallet: special ^C handling for windowsmoneromooo-monero2016-03-121-0/+4
|/ | | | | | Because obviously it doesn't work as other POSIX platforms. Reported and tested by luigi1111.
* Use boost::thread instead of std::threadHoward Chu2016-03-111-7/+7
| | | | and all other associated IPC
* Merge pull request #688Riccardo Spagni2016-02-291-19/+114
|\ | | | | | | | | c2a1fee simplewallet: prompt for private keys when generating wallets (moneromooo-monero) 4513b4c simplewallet: add a new --restore-from-keys option (moneromooo-monero)
| * simplewallet: prompt for private keys when generating walletsmoneromooo-monero2016-02-271-32/+33
| | | | | | | | | | instead of supplying them on the command line. It's more unwieldy, but better protects against information leaks.
| * simplewallet: add a new --restore-from-keys optionmoneromooo-monero2016-02-221-5/+99
| | | | | | | | | | | | | | It is similar in use to --restore-from-view-key, but also expects a spend private key. Requested by luigi1112, and useful to restore MyMonero wallets.
* | move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero2016-02-221-2/+0
|/ | | | | This avoids the need to define that variable in every program which uses epee.
* simplewallet: wording change for single tx confirmationmoneromooo-monero2016-02-201-3/+12
|
* simplewallet: check watch-only view key matches standard addressmoneromooo-monero2016-02-051-0/+11
|
* simplewallet: show_transfers can now show just failed txesmoneromooo-monero2016-01-301-6/+13
|
* wallet: detect and handle failed outgoing transfersmoneromooo-monero2016-01-291-1/+2
| | | | | When a transaction is not found in the pool anymore, it is marked as failed, and displayed as such in show_transfers.
* simplewallet: remove leftover command line refresh-type handlingmoneromooo-monero2016-01-251-3/+0
|
* use load_file_to_string and exit with error on file read errorsFabian Hirschmann2016-01-091-3/+9
|
* remove new lines at the end of the password onlyFabian Hirschmann2016-01-091-2/+2
|
* add --password-file optionFabian Hirschmann2016-01-091-0/+19
|
* update versionRiccardo Spagni2015-12-311-3/+3
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* wallet: add a rescan_bc command and rescan_blockchain RPCmoneromooo-monero2015-12-301-13/+26
| | | | | | | | | Blockchain hashes and key images are flushed, and blocks are pulled anew from the daemon. The console command is shortened to match bc_height. This should make it a lot easier on users who are currently told to remove this particular cache file but keep the keys one, etc, etc.
* Add missing semicolons after log statementsmoneromooo-monero2015-12-191-1/+1
|
* Stop displaying internal commands for --helpluigi11112015-12-111-1/+1
| | | | | Displaying in-program commands with --help doesn't match daemon behaviour (or make sense)
* simplewallet help & error cleanupluigi11112015-12-111-120/+120
| | | | Typos, grammar, consistency. I don't claim to have gotten everything.
* wallet: make the wallet refresh type a wallet settingmoneromooo-monero2015-12-051-33/+77
| | | | | instead of a command line setting. It makes sense that is is a long lived setting.
* Merge pull request #512Riccardo Spagni2015-11-301-8/+8
|\ | | | | | | 36a298c simplewallet: add tr markers in a few missing user visible strings (moneromooo-monero)
| * simplewallet: add tr markers in a few missing user visible stringsmoneromooo-monero2015-11-291-8/+8
| |
* | wallet: cancellable refreshmoneromooo-monero2015-11-291-7/+47
| | | | | | | | | | | | | | | | ^C while in manual refresh will cancel the refresh, since that's often an annoying thing to have to wait for. Also, a manual refresh command will interrupt any running background refresh and take over, rather than wait for the background refresh to be done, and look to be hanging.
* | Merge pull request #511Riccardo Spagni2015-11-301-1/+1
|\ \ | | | | | | | | | 66849ac simplewallet: swap colors in show_transfers (moneromooo-monero)
| * | simplewallet: swap colors in show_transfersmoneromooo-monero2015-11-291-1/+1
| |/ | | | | | | | | Green is now used for incoming transfers, and magenta for outgoing transfers. This is consistent to the scheme used by other logging.
* / wallet: optional automatic refresh from the daemonmoneromooo-monero2015-11-281-9/+104
|/ | | | | | The daemon will be polled every 90 seconds for new blocks. It is enabled by default, and can be turned on/off with set auto-refresh 1 and set auto-refresh 0 in the wallet.
* wallet: make the refresh optimizations selectable via command linemoneromooo-monero2015-11-221-2/+39
| | | | | Take the opportunity to add a no-coinbase case too, for even faster sync when an address is known to never have mined to.
* Merge pull request #496Riccardo Spagni2015-11-221-13/+32
|\ | | | | | | | | | | | | | | db1fb66 wallet: storing outgoing tx info now defaults to enabled (moneromooo-monero) 9156ba3 wallet: rename store-tx-keys to store-tx-info (moneromooo-monero) b3d4d41 wallet: improve show_transfers (moneromooo-monero) 725ae4e wallet: use incoming blocks to keep track of payments too (moneromooo-monero) 00790a8 simplewallet: lessen display flicker confusion (moneromooo-monero)
| * wallet: rename store-tx-keys to store-tx-infomoneromooo-monero2015-11-221-6/+6
| | | | | | | | With backward compatibility
| * wallet: improve show_transfersmoneromooo-monero2015-11-221-8/+25
| | | | | | | | More information is now saved and displayed
| * wallet: use incoming blocks to keep track of payments toomoneromooo-monero2015-11-211-4/+6
| |
* | Fix startup crash when using a locale boost does not likemoneromooo-monero2015-11-211-1/+4
|/ | | | | | | | | | | | | There are various locale related bugs in various versions of boost, where exceptions are thrown in boost::filesystem APIs when the current locale is not to boost's liking. It's not clear what "not to boost's liking" means in detail, though "en" and "en_US.UTF-8" are not to its liking. Fix it by running a test function that's known to throw in such a case, and resetting LANG and LC_ALL to C if an exception is thrown. In simplewallet, the locale is queried before that so the correct translations will still be used.
* wallet: track outgoing payments and add a show_transfers commandmoneromooo-monero2015-11-151-0/+99
| | | | | It's a user friendly display of incoming and outgoing transfers, listed by height, within an optional height range.
* simplewallet: add a set default-mixin commandmoneromooo-monero2015-10-301-3/+76
| | | | The default default mixin is 4. It can now be changed per wallet.
* Fix a possibly-unused warning, and rationalize typesmoneromooo-monero2015-10-271-3/+3
|
* simplewallet: add a check_tx_key commandmoneromooo-monero2015-10-141-0/+105
| | | | | It allows one to check the amount of monero sent to a particular address in a particular transaction, given that transaction's tx key
* simplewallet: hide start_mining behind --trusted-daemonmoneromooo-monero2015-10-121-0/+6
| | | | because it leaks your standard address
* Merge pull request #427Riccardo Spagni2015-10-111-0/+9
|\ | | | | | | df8a110 simplewallet: add a --trusted-daemon flag (moneromooo-monero)
| * simplewallet: add a --trusted-daemon flagmoneromooo-monero2015-10-111-0/+9
| | | | | | | | | | It allows enabling the rescan_spent command only for trusted daemon
* | simplewallet: bump default mixin from 3 to 4moneromooo-monero2015-10-111-1/+1
|/ | | | As recommended in MRL-0004
* Merge pull request #390Riccardo Spagni2015-08-261-1/+1
|\ | | | | | | 5dc53c2 wallet: use mutex protected random generation api (moneromooo-monero)
| * wallet: use mutex protected random generation apimoneromooo-monero2015-08-261-1/+1
| |
* | simplewallet: add a store-tx-keys option to setmoneromooo-monero2015-08-241-1/+45
|/ | | | To enable storing tx keys in the (now encrypted) wallet cache.
* make tx keys available to the usermoneromooo-monero2015-08-191-0/+32
| | | | | They are also stored in the cache file, to be retrieved using a new get_tx_key command.
* simplewallet: Use default log file name when executable's file path is unknownwarptangent2015-08-161-3/+21
| | | | | | | | | | | | | | | | | | Default to "simplewallet.log" in current directory when file path isn't obtained from epee. In this situation previously, it defaulted to the file name of ".log" ("" + ".log") in the current directory. (Thanks to @sammy007 for reporting bug.) An earlier version yet used "" + "/" + ".log" = "/.log", which resulted in silently not logging in most cases, due to lack of permission. Test: PATH=$PATH:</path/to/simplewallet/folder> && simplewallet --wallet-file /dev/null This results in epee not finding the executable's file path, so simplewallet will now use a default log filename.
* wallet: new rescan_spent command to update outputs' spent statusmoneromooo-monero2015-08-111-0/+40
| | | | | | | This obsoletes the need for a lengthy blockchain rescan when a transaction doesn't end up in the chain after being accepted by the daemon, or any other reason why the wallet's idea of spent and unspent outputs gets out of sync from the blockchain's.
* encrypted payment ids are now 64 bit, instead of 256 bitmoneromooo-monero2015-08-091-28/+30
| | | | | | | | | | | | | | Pros: - smaller on the blockchain - shorter integrated addresses Cons: - less sparseness - less ability to embed actual information The boolean argument to encrypt payment ids is now gone from the RPC calls, since the decision is made based on the length of the payment id passed.