summaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
* 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-315-5/+5
|
* wallet: add a rescan_bc command and rescan_blockchain RPCmoneromooo-monero2015-12-302-13/+28
| | | | | | | | | 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-052-33/+78
| | | | | 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-292-7/+50
| | | | | | | | | | | | | | | | ^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-282-9/+113
|/ | | | | | 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-222-3/+42
| | | | | 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-222-16/+35
|\ | | | | | | | | | | | | | | 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-222-7/+7
| | | | | | | | 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
| |
| * simplewallet: lessen display flicker confusionmoneromooo-monero2015-11-211-2/+2
| | | | | | | | | | | | | | Height seemed to be flying all over the place on a rescan here. Logging to a file shows the heights are actually correct, and this is some kind of screen refresh artifact. Flush after \r and update less often to reduce this effect a lot.
* | 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-152-0/+100
| | | | | 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-302-3/+77
| | | | 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-142-0/+106
| | | | | 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-112-0/+10
|\ | | | | | | df8a110 simplewallet: add a --trusted-daemon flag (moneromooo-monero)
| * simplewallet: add a --trusted-daemon flagmoneromooo-monero2015-10-112-0/+10
| | | | | | | | | | 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-242-1/+46
|/ | | | To enable storing tx keys in the (now encrypted) wallet cache.
* make tx keys available to the usermoneromooo-monero2015-08-192-0/+33
| | | | | 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-112-0/+41
| | | | | | | 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.
* Encrypted payment IDsmoneromooo-monero2015-08-091-2/+8
| | | | | | | | | | | | | | A payment ID may be encrypted using the tx secret key and the receiver's public view key. The receiver can decrypt it with the tx public key and the receiver's secret view key. Using integrated addresses now cause the payment IDs to be encrypted. Payment IDs used manually are not encrypted by default, but can be encrypted using the new 'encrypt_payment_id' field in the transfer and transfer_split RPC calls. It is not possible to use an encrypted payment ID by specifying a manual simplewallet transfer/transfer_new command, though this is just a limitation due to input parsing.
* wallet: new transaction construction algorithmmoneromooo-monero2015-07-222-2/+19
| | | | | | | | | | | | | | | It should avoid a lot of the issues sending more than half the wallet's contents due to change. Actual output selection is still random. Changing this would improve the matching of transaction amounts to output sizes, but may have non obvious effects on blockchain analysis. Mapped to the new transfer_new command in simplewallet, and transfer uses the existing algorithm. To use in RPC, add "new_algorithm: true" in the transfer_split JSON command. It is not used in the transfer command.
* simplewallet: fix context/string order mismatchmoneromooo-monero2015-07-191-1/+1
|
* simplewallet: use unsigned long long instead of size_t in messagemoneromooo-monero2015-07-191-4/+4
| | | | | | boost doesn't support %zu for size_t, and the previous change to %u could technically lose bits (though it would require splitting a transfer into 4 billion transactions, which seems unlikely).
* wallet: add boolean to always confirm transactions with the usermoneromooo-monero2015-07-182-5/+71
| | | | | This can be useful if you want to be given a veto over the tx fee, or if you want to see what a tx fee would be without actually sending.
* boost doesn't like %zu for size_t, replace with %umoneromooo-monero2015-07-181-2/+2
|
* Translatable strings for simplewalletmoneromooo-monero2015-07-142-247/+267
| | | | | | | The system is mostly the Qt system, but we don't use Qt to avoid the dependencies. See README.i18n for details.
* simplewallet: allow creating a wallet from a public address and view secret keymoneromooo-monero2015-06-202-8/+81
| | | | | | The needed information is supplied via a triple: --generate-from-view-key address:viewkey:filename
* simplewallet: forbid seed commands for watch only walletsmoneromooo-monero2015-06-201-0/+10
| | | | They do not make sense
* Merge pull request #318Riccardo Spagni2015-06-143-8/+14
|\ | | | | | | fb20071 simplewallet: allow a different password for the watch-only wallet (moneromooo-monero)
| * simplewallet: allow a different password for the watch-only walletmoneromooo-monero2015-06-123-8/+14
| |
* | simplewallet: allow integrated_address to generate a random payment idmoneromooo-monero2015-06-121-4/+11
| |