aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #970Riccardo Spagni2016-08-221-0/+3
|\ | | | | | | 25f529a wallet: store key images after importing them (moneromooo-monero)
| * wallet: store key images after importing themmoneromooo-monero2016-08-171-0/+3
| | | | | | | | It avoids rescan_spent resetting spent status, for example.
* | wallet: fix build on Mac and Windows (missing include)moneromooo-monero2016-08-171-0/+1
|/ | | | Reported by RaskaRuby, tested by iDunk5400.
* Merge pull request #948Riccardo Spagni2016-08-111-47/+173
|\ | | | | | | | | 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-43/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * new unlocked parameter to output_histogrammoneromooo-monero2016-08-011-4/+5
| | | | | | | | | | | | | | | | This constrains the number of instances of any amount to the unlocked ones (as defined by the default unlock time setting: outputs with non default unlock time are not considered, so may be counted as unlocked even if they are not actually unlocked).
* | wallet2: if importing key images fails, print failure indexmoneromooo-monero2016-08-041-1/+2
|/
* wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero2016-07-241-0/+116
| | | | | | 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.
* wallet: add unconfirmed incoming txes from the txpoolmoneromooo-monero2016-07-201-46/+175
| | | | | Shown in show_transfers simplewallet command, and get_transfers RPC command, if req.pool is true.
* 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/+35
|/ | | | | | | | | 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 #878Riccardo Spagni2016-07-061-12/+37
|\ | | | | | | 945c272 wallet: add a fee multiplier (moneromooo-monero)
| * wallet: add a fee multipliermoneromooo-monero2016-06-221-12/+37
| | | | | | | | | | | | | | 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".
* | Merge branch 'master' of https://github.com/mbg033/bitmoneroIlya Kitaev2016-06-231-6/+5
|\ \
| * | Merge remote-tracking branch 'upstream/master'Ilya Kitaev2016-05-271-4/+13
| |\|
| * | Merge remote-tracking branch 'upstream/master'Ilya Kitaev2016-05-121-11/+249
| |\ \
| * \ \ Merge remote-tracking branch 'upstream/master' into developIlya Kitaev2016-04-261-75/+75
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'upstream/master'Ilya Kitaev2016-03-311-39/+108
| |\ \ \ \
| * | | | | - testnet option added to api;Ilya Kitaev2016-03-251-0/+5
| | | | | |
| * | | | | wallet2::store() implemented within wallet2::store_toIlya Kitaev2016-03-211-69/+53
| | | | | |
* | | | | | - testnet option added to api;Ilya Kitaev2016-06-231-0/+5
| | | | | |
* | | | | | wallet2::store() implemented within wallet2::store_toIlya Kitaev2016-06-231-69/+53
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #827Riccardo Spagni2016-05-171-4/+13
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | Only log 1/N skipped blocksHoward Chu2016-04-291-2/+4
| | | | |
| * | | | Move refresh height to keys file from cache fileHoward Chu2016-04-291-0/+6
| | | | |
| * | | | Make fast_refresh interruptibleHoward Chu2016-04-291-2/+3
| | | | |
* | | | | add a --max-concurrency flagmoneromooo-monero2016-04-281-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | 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.
* | | | wallet: allow attaching notes to txidsmoneromooo-monero2016-04-261-0/+13
| | | |
* | | | wallet: add GMT timestamps to transfers/paymentsmoneromooo-monero2016-04-261-5/+8
| | | |
* | | | Merge pull request #815Riccardo Spagni2016-04-261-0/+127
|\ \ \ \ | | | | | | | | | | | | | | | 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-0/+127
| | |_|/ | |/| | | | | | | | | | | | | | | | | | 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-4/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 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/wallet/wallet2.cppawfulcrawler2016-04-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: src/wallet/wallet2.h Removed working comments
| * | | | modified: src/simplewallet/simplewallet.cppawfulcrawler2016-04-181-4/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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 GET_HASHES_FAST rpc, use it in walletHoward Chu2016-04-171-0/+87
|/ / / | | | | | | | | | | | | | | | | | | When m_refresh_from_block_height has been set, only hashes will be retrieved up to that height, instead of full blocks. The same will be done for "refresh <height>" when the specified height is beyond the current local blockchain.
* | | Merge pull request #784Riccardo Spagni2016-04-141-0/+1
|\ \ \ | | | | | | | | | | | | 087373e Fix potential race with parallel processing of txes/signatures/blocks (moneromooo-monero)
| * | | Fix potential race with parallel processing of txes/signatures/blocksmoneromooo-monero2016-04-021-0/+1
| | | |
* | | | Merge pull request #783Riccardo Spagni2016-04-141-53/+36
|\ \ \ \ | | | | | | | | | | | | | | | 48d0747 wallet: better output selection for transfer/transfer_new (moneromooo-monero)
| * | | | wallet: better output selection for transfer/transfer_newmoneromooo-monero2016-04-021-53/+36
| |/ / / | | | | | | | | | | | | | | | | | | | | 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.
* / / / rpc: add a do_not_relay boolean to tx submissionmoneromooo-monero2016-04-051-0/+1
|/ / / | | | | | | | | | Just to make it easier
* | | Merge pull request #769Riccardo Spagni2016-04-021-21/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | 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 load_keys check types when loading JSONmoneromooo-monero2016-03-271-21/+36
| | | |
* | | | Merge pull request #767Riccardo Spagni2016-04-021-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | 24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
| * | | Convey tx verification failure reasons to the RPC clientmoneromooo-monero2016-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | wallet: fix --generate-from-keys saving as watch onlymoneromooo-monero2016-03-281-1/+1
| |/ / |/| |
* | | wallet: pass std::function by const ref, not valuemoneromooo-monero2016-03-261-1/+1
| | | | | | | | | | | | Because we can.
* | | wallet: do not leak owned amounts to the daemon unless --trusted-daemonmoneromooo-monero2016-03-261-4/+5
| | | | | | | | | | | | | | | | | | 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-261-13/+91
| | | | | | | | | | | | | | | | | | 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: handle rare case where fee adjustment can bump to the next kBmoneromooo-monero2016-03-261-2/+3
| | | | | | | | | | | | It resulted in a tx being sent with too low a fee, and thus rejected.