aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #982Riccardo Spagni2016-08-261-1/+1
|\ | | | | | | 65238d2 fix #691 removed help about leaving wallet name empty on --generate-new-wallet (guzzi_jones)
| * fix #691 removed help about leaving wallet name empty on --generate-new-walletguzzi_jones2016-08-241-1/+1
| |
* | Merge pull request #976Riccardo Spagni2016-08-261-1/+8
|\ \ | | | | | | | | | c2f4e16 simplewallet: default to max-concurrency 1 on MacOS X (moneromooo-monero)
| * | simplewallet: default to max-concurrency 1 on MacOS Xmoneromooo-monero2016-08-211-1/+8
| |/ | | | | | | | | | | | | A suspected bug in pthread/kernel, though might be that I messed something up too... This might rope in more platforms though.
* / simplewallet: do not suggest removing cache if the password was wrongmoneromooo-monero2016-08-161-1/+3
|/
* Merge pull request #948Riccardo Spagni2016-08-111-6/+6
|\ | | | | | | | | 11dc091 Fake outs set is now decided by the wallet (moneromooo-monero) 1593553 new unlocked parameter to output_histogram (moneromooo-monero)
| * Fake outs set is now decided by the walletmoneromooo-monero2016-08-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This plugs a privacy leak from the wallet to the daemon, as the daemon could previously see what input is included as a transaction input, which the daemon hadn't previously supplied. Now, the wallet requests a particular set of outputs, including the real one. This can result in transactions that can't be accepted if the wallet happens to select too many outputs with non standard unlock times. The daemon could know this and select another output, but the wallet is blind to it. It's currently very unlikely since I don't think anything uses non default unlock times. The wallet requests more outputs than necessary so it can use spares if any of the returns outputs are still locked. If there are not enough spares to reach the desired mixin, the transaction will fail.
* | Merge pull request #952Riccardo Spagni2016-08-111-4/+8
|\ \ | | | | | | | | | | | | 709c724 Better fix (#4) (hyc) d2644c1 fix restore-deterministic height (luigi1111)
| * | Better fix (#4)hyc2016-08-091-4/+8
| | |
| * | fix restore-deterministic heightluigi11112016-08-091-2/+2
| |/ | | | | | | | | | | | | | | | | | | Simplewallet improperly skipped the restore from height code if restoring a deterministic wallet AND not specifying a wallet file in the command line. The other generate options require a wallet file as an argument, which prevents "ask_wallet_create_if_needed()" from being called, which in turn causes "m_generate_new" to remain unset. Specifying a wallet file at launch with --restore-deterministic emulated this behavior.
* | Merge pull request #949Riccardo Spagni2016-08-111-64/+57
|\ \ | | | | | | | | | da1007f simplewallet: make the refresh thread into more generic idle thread (moneromooo-monero)
| * | simplewallet: make the refresh thread into more generic idle threadmoneromooo-monero2016-08-071-64/+57
| |/
* / Fix #864guzzi_jones2016-08-011-27/+33
|/ | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 9af9e4223b58bbb65a3519af2c2bfc273cbd23d6 fixed some formatting commit c7920e1cf88ff46eb9294101344d9a567f22e2da Merge: 97eb28b 1da1c68 fix#864 fix using boolean commit 97eb28ba5dd49ddde8c8785f39b24d955e5de31c Fix #864 boolean value used to verify on new wallet commit 1da1c68bd3a9a373c70482b6e6e95251096149f1 fix #864 changed to boolean to prompt for verify commit 5bee96652434762d2c91ce31a1b1c9f169446ddc fix 864; made variable names easier for understanding branching. commit 45715960d30293f781b2ff9e5e647c2ec893f4a3 fix #864; allow password to be entered twice for new wallets for verification. fix #864 password entry verification; ammended boolean fix #864 ; default constructor for password_container should set verify=true
* wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero2016-07-241-0/+107
| | | | | | They are used to export a signed set of key images from a wallet with a private spend key, so an auditor with the matching view key may see which of those are spent, and which are not.
* Merge pull request #923Riccardo Spagni2016-07-231-0/+1
|\ | | | | | | 8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
| * simplewallet: suggest removing cache when loading failsmoneromooo-monero2016-07-221-0/+1
| |
* | Merge pull request #916Riccardo Spagni2016-07-231-2/+28
|\ \ | | | | | | | | | b89b963 wallet: add unconfirmed incoming txes from the txpool (moneromooo-monero)
| * | wallet: add unconfirmed incoming txes from the txpoolmoneromooo-monero2016-07-201-2/+28
| |/ | | | | | | | | Shown in show_transfers simplewallet command, and get_transfers RPC command, if req.pool is true.
* / simplewallet: revert to foreground refresh at startupmoneromooo-monero2016-07-201-0/+2
|/ | | | Background refresh is confusing to users at startup.
* Merge pull request #902Riccardo Spagni2016-07-201-8/+25
|\ | | | | | | 014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
| * Add a daemon RPC version, and make simplewallet check itmoneromooo-monero2016-07-101-8/+25
| | | | | | | | | | If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
* | wallet: add command and RPC to sign/verify datamoneromooo-monero2016-07-191-0/+67
|/ | | | | | | | | Signing is done using the spend key, since the view key may be shared. This could be extended later, to let the user choose which key (even a per tx key). simplewallet's sign/verify API uses a file. The RPC uses a string (simplewallet can't easily do strings since commands receive a tokenized set of arguments).
* Merge pull request #879Riccardo Spagni2016-07-061-0/+1
|\ | | | | | | 6b08001 simplewallet: mention the background refresh thread when starting (moneromooo-monero)
| * simplewallet: mention the background refresh thread when startingmoneromooo-monero2016-06-221-0/+1
| | | | | | | | | | It should be less confusing for people who're used to the foreground refresh from earlier versions.
* | Merge pull request #878Riccardo Spagni2016-07-061-1/+79
|\ \ | | | | | | | | | 945c272 wallet: add a fee multiplier (moneromooo-monero)
| * | wallet: add a fee multipliermoneromooo-monero2016-06-221-1/+79
| |/ | | | | | | | | | | | | Fee can now be multiplied by 2 or 3, if users want to give priority to their transactions. There are only three levels to avoid too much fingerprinting. Default is 1 (minimum fee). The default multiplier can be set by "set fee-multiplier X".
* / TransactionHistory continuedIlya Kitaev2016-06-231-1/+1
|/
* Merge pull request #870Riccardo Spagni2016-06-211-2/+6
|\ | | | | | | 57dce80 gmtime for Windows (luigi1111)
| * gmtime for Windowsluigi11112016-06-201-2/+6
| | | | | | | | gmtime_r is not available in Windows, use gmtime_s instead. Also change shorthand codes (also not working in Windows).
* | simplewallet: add a status commandmoneromooo-monero2016-06-201-0/+24
|/ | | | | It matches the daemon, and should allow people who're suspicious of the background refresh to know they're synced.
* Merge pull request #827Riccardo Spagni2016-05-171-14/+16
|\ | | | | | | | | | | | | | | f1e70d1 Only log 1/N skipped blocks (Howard Chu) cebb97c Move refresh height to keys file from cache file (Howard Chu) 590c439 Make fast_refresh interruptible (Howard Chu) 687855d Set refresh height earlier (Howard Chu) 2fb00c0 Fix 19fe8ae3ef1aa46ae8fdd4e4d6862510390ddab7 (Howard Chu)
| * Set refresh height earlierHoward Chu2016-04-291-13/+15
| | | | | | | | Do it before the generate() call so the value actually gets stored.
| * Fix 19fe8ae3ef1aa46ae8fdd4e4d6862510390ddab7Howard Chu2016-04-291-2/+2
| | | | | | | | Don't prompt for restore-height on generate-new-wallet
* | Merge pull request #826Riccardo Spagni2016-04-291-27/+44
|\ \ | | | | | | | | | 76c6bf1 simplewallet: display all settings on set with no arguments (moneromooo-monero)
| * | simplewallet: display all settings on set with no argumentsmoneromooo-monero2016-04-281-27/+44
| |/
* / add a --max-concurrency flagmoneromooo-monero2016-04-281-1/+6
|/ | | | | | It sets the max number of threads to use for a parallel job. This is different that the number of total threads, since monero binaries typically start a lot of them.
* Merge pull request #823Riccardo Spagni2016-04-271-1/+1
|\ | | | | | | a687e6e simplewallet: fix pending transfers fee display in show_transfers (moneromooo-monero)
| * simplewallet: fix pending transfers fee display in show_transfersmoneromooo-monero2016-04-261-1/+1
| |
* | simplewallet: more threading fixesmoneromooo-monero2016-04-261-1/+5
|/
* wallet: allow attaching notes to txidsmoneromooo-monero2016-04-261-3/+61
|
* wallet: add GMT timestamps to transfers/paymentsmoneromooo-monero2016-04-261-3/+20
|
* Merge pull request #817Riccardo Spagni2016-04-261-11/+44
|\ | | | | | | 4b1c0d6 simplewallet: some background refresh threading fixes (moneromooo-monero)
| * simplewallet: some background refresh threading fixesmoneromooo-monero2016-04-211-11/+44
| | | | | | | | | | | | | | | | We want to lock operations which access the blockchain in wallet2. We also want the background refresh to happen again when we cancel a foreground refresh. Wrap the locking setup in a macro so it doesn't get copy/pasted/mangled, and use a scope exit trick to ensure it's always properly restored.
* | Merge pull request #815Riccardo Spagni2016-04-261-63/+305
|\ \ | | | | | | | | | b0850a9 wallet: add a new sweep_all command and RPC command (moneromooo-monero)
| * | wallet: add a new sweep_all command and RPC commandmoneromooo-monero2016-04-191-63/+305
| |/ | | | | | | | | | | This sends all outputs in a wallet to a given address, alleviating the difficulty people have had trying to send all monero but being left with some small amount left.
* | Merge pull request #814Riccardo Spagni2016-04-261-7/+19
|\ \ | | | | | | | | | | | | 68cbe15 modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler) 4b325bd modified: src/simplewallet/simplewallet.cpp modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h (awfulcrawler)
| * | modified: src/simplewallet/simplewallet.cppawfulcrawler2016-04-181-7/+19
| |/ | | | | | | | | | | | | modified: src/wallet/wallet2.cpp modified: src/wallet/wallet2.h Update to fix unconfirmed balance and give a slightly more verbose and informative confirmation message for transfers
* | Add --restore-height optionHoward Chu2016-04-171-0/+24
| | | | | | | | 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)