summaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #772Riccardo Spagni2016-04-021-0/+34
|\ | | | | | | ead6956 simplewallet: always gracefully exit on EOF (moneromooo-monero)
| * simplewallet: always gracefully exit on EOFmoneromooo-monero2016-03-291-0/+34
| |
* | Merge pull request #769Riccardo Spagni2016-04-021-41/+31
|\ \ | | | | | | | | | | | | | | | b4eada9 wallet: make load_keys check types when loading JSON (moneromooo-monero) 3e55725 wallet: make the JSON reading type safe (moneromooo-monero) f8d05f3 common: new json_util.h (moneromooo-monero)
| * | wallet: make the JSON reading type safemoneromooo-monero2016-03-271-41/+31
| |/
* | Merge pull request #767Riccardo Spagni2016-04-021-0/+6
|\ \ | | | | | | | | | 24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
| * | Convey tx verification failure reasons to the RPC clientmoneromooo-monero2016-03-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows appropriate action to be taken, like displaying the reason to the user. Do just that in simplewallet, which should help a lot in determining why users fail to send. Also make it so a tx which is accepted but not relayed is seen as a success rather than a failure.
* | | Merge pull request #766Riccardo Spagni2016-04-021-0/+42
|\ \ \ | |_|/ |/| | | | | 77d1c6b simplewallet: default to trusted daemon for loopback address (moneromooo-monero)
| * | simplewallet: default to trusted daemon for loopback addressmoneromooo-monero2016-03-271-0/+42
| |/
* | wallet: do not leak owned amounts to the daemon unless --trusted-daemonmoneromooo-monero2016-03-261-1/+1
| | | | | | | | | | | | This will be slower, though more private. New trusted_daemon parameter to the matching RPC call, false by default.
* | wallet: change sweep_dust to sweep_unmixablemoneromooo-monero2016-03-262-14/+23
|/ | | | | | With the change in mixin rules for v2, the "annoying" outputs are slightly changed. There is high correlation between dust and unmixable, but no equivalence.
* wallet: add a --generate-from-json flagmoneromooo-monero2016-03-252-6/+182
| | | | | | | | | | | | | | | | | | | | It takes a filename containing JSON data to generate a wallet. The following fields are valid: version: integer, should be 1 filename: string, path/filename for the newly created wallet scan_from_height: 64 bit unsigned integer, optional password: string, optional viewkey: string, hex representation spendkey: string, hex representation seed: string, optional, list of words separated by spaces Either seed or private keys should be given. If using private keys, the spend key may be omitted (the wallet will not be able to spend, but will see incoming transactions). If scan_from_height is given, blocks below this height will not be checked for transactions as an optimization.
* Revert "Print stack trace upon exceptions"moneromooo-monero2016-03-211-1/+1
| | | | | | Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
* Merge pull request #734Riccardo Spagni2016-03-201-42/+54
|\ | | | | | | b525457 simplewallet: make --password-file work in RPC mode (moneromooo-monero)
| * simplewallet: make --password-file work in RPC modemoneromooo-monero2016-03-191-42/+54
| |
* | Print stack trace upon exceptionsmoneromooo-monero2016-03-191-1/+1
|/ | | | Useful for debugging users' logs
* 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-112-10/+10
| | | | and all other associated IPC
* Merge pull request #688Riccardo Spagni2016-02-292-19/+117
|\ | | | | | | | | 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-222-5/+102
| | | | | | | | | | | | | | 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.
* Fix V1/V2 use of hard fork related parametersmoneromooo-monero2016-01-291-1/+2
| | | | | Some of it uses hardcoded height, which will need some thinking for next (voted upon) fork.
* simplewallet: remove leftover command line refresh-type handlingmoneromooo-monero2016-01-252-5/+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-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
| |