aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add --restore-height optionHoward Chu2016-04-172-0/+25
| | | | | | | | For specifying the block height from which to start a restore
* | Speed up new wallet refreshHoward Chu2016-04-171-0/+6
|/ | | | Use the current blockchain height as the refresh_from_block_height.
* Merge pull request #803Riccardo Spagni2016-04-141-2/+13
|\ | | | | | | c33ffc8 simplewallet: save fixes in RPC mode (moneromooo-monero)
| * simplewallet: save fixes in RPC modemoneromooo-monero2016-04-101-2/+13
| | | | | | | | | | | | | | | | ^C when in RPC mode would not save the wallet while it was still refreshing after starting up. Also, save the wallet out of the signal handler. We don't want to call complex stuff in a signal handler.
* | Merge pull request #785Riccardo Spagni2016-04-141-5/+66
|\ \ | | | | | | | | | 1a58d20 simplewallet: optional address in --generate-from-json (moneromooo-monero)
| * | simplewallet: optional address in --generate-from-jsonmoneromooo-monero2016-04-021-5/+66
| |/ | | | | | | | | When present, it can be used to validate the keys, as well as deduce the spend key, if it is absent (watch wallet).
* | Merge pull request #783Riccardo Spagni2016-04-141-2/+2
|\ \ | | | | | | | | | 48d0747 wallet: better output selection for transfer/transfer_new (moneromooo-monero)
| * | wallet: better output selection for transfer/transfer_newmoneromooo-monero2016-04-021-2/+2
| |/ | | | | | | | | | | 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.
* | Merge pull request #801Riccardo Spagni2016-04-141-0/+1
|\ \ | | | | | | | | | | | | ed61a2c simplewallet: set strict umask at start (moneromooo-monero) 7385c03 util: add a function to set umask to 077 (moneromooo-monero)
| * | simplewallet: set strict umask at startmoneromooo-monero2016-04-061-0/+1
| |/
* / rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero2016-04-091-2/+7
|/
* 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.