aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #2036Riccardo Spagni2017-05-301-0/+4
|\ \ | |/ |/| | | | | 89b2f306 tests: fix invalid key image test (moneromooo-monero) a374a522 wallet2: check key image validity domain in import_key_images (moneromooo-monero)
| * wallet2: check key image validity domain in import_key_imagesmoneromooo-monero2017-05-181-0/+4
| |
* | Merge pull request #2022Riccardo Spagni2017-05-301-2/+2
|\ \ | | | | | | | | | | | | e2529347 Correct spelling of 'get_upper_transaction_size_limit' (Nano Akron) 3029d0ef Remove the 1.25x multiplier in max transaction size in just the wallet (Nano Akron)
| * | Correct spelling of 'get_upper_transaction_size_limit'Nano Akron2017-05-091-1/+1
| | |
| * | Remove the 1.25x multiplier in max transaction size in just the walletNano Akron2017-05-091-1/+1
| |/
* | Merge pull request #2020Riccardo Spagni2017-05-301-0/+3
|\ \ | | | | | | | | | 6cb1ad1f wallet fix: ensure iterator to be valid (stoffu)
| * | wallet fix: ensure iterator to be validstoffu2017-05-091-0/+3
| |/
* / wallet2: fix sweep_unmixable assuming wrong minimum mixin at v5moneromooo-monero2017-05-071-2/+2
|/ | | | The bump to minimum mixin 4 was moved from v5 to v6
* wallet: add sweep_below functionmoneromooo-monero2017-04-241-5/+8
| | | | | | | It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
* Merge pull request #1996Riccardo Spagni2017-04-241-3/+3
|\ | | | | | | | | a6d5bb75 wallet2: refer to triangular distribution for recent zone in comment (moneromooo-monero) ac1aba90 wallet2: bias fake outs more towards recent outputs (moneromooo-monero)
| * wallet2: refer to triangular distribution for recent zone in commentmoneromooo-monero2017-04-221-1/+1
| | | | | | | | | | | | | | | | It was wrongly refering to equiprobable distribution, which I think I'd originally done, but forgot to update the comment after changing to triangular Reported by smooth on IRC
| * wallet2: bias fake outs more towards recent outputsmoneromooo-monero2017-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two recent papers quantified the real usage bias for the real output in a ring being the true one, and shows that the current biasing is much too weak. While we wait for a better solution, we increase the ratio of recent-to-total fake outputs, as well as decrease the time window for recent outputs, so that half the fake outs are selected within the last 1.8 day. Value plucked from figure 10, page 11 of An Empirical Analysis of Linkability in the Monero Blockchain, 2017, Miller et al. This is also arbitrary, of course, but serves as a stopgap till a better selection algorithm is chosen.
* | Merge pull request #1989Riccardo Spagni2017-04-241-1/+1
|\ \ | | | | | | | | | 7f4beaa4 wallet2: fix removal of wrong txes from unconfirmed_payments (moneromooo-monero)
| * | wallet2: fix removal of wrong txes from unconfirmed_paymentsmoneromooo-monero2017-04-171-1/+1
| |/ | | | | | | | | unconfirmed_payments changed from having the txid as key to the payment id, and this was not changed to match.
* | Merge pull request #1976Riccardo Spagni2017-04-241-3/+5
|\ \ | | | | | | | | | a7d78dda wallet2: fix --generate-from-json in RPC mode (moneromooo-monero)
| * | wallet2: fix --generate-from-json in RPC modemoneromooo-monero2017-04-141-3/+5
| |/ | | | | | | The daemon address was initialized too late
* | Merge pull request #1961Riccardo Spagni2017-04-241-8/+20
|\ \ | | | | | | | | | 89d70756 wallet2: fix spurious output splitting when not merging destinations (moneromooo-monero)
| * | wallet2: fix spurious output splitting when not merging destinationsmoneromooo-monero2017-04-081-8/+20
| | |
* | | Merge pull request #1959Riccardo Spagni2017-04-241-1/+1
|\ \ \ | | | | | | | | | | | | 10e137be wallet2: mention escaping/quoting --password in help string (moneromooo-monero)
| * | | wallet2: mention escaping/quoting --password in help stringmoneromooo-monero2017-04-061-1/+1
| |/ /
* | / Resolve #92 add ability to create wallets thru RPCHoward Chu2017-04-111-0/+6
| |/ |/| | | | | | | Reviewed and squashed. Open/Create is only allowed if no walletfile was specified at startup.
* | wallet2: do not go over the target tx size if many destinationsmoneromooo-monero2017-04-021-12/+12
|/ | | | | | If using a large input and many destinations, the code would generate as many outputs as it could using that input, even if it would bring the resulting tx above the max tx size.
* wallet: option to merge destinationsmoneromooo-monero2017-03-251-4/+10
| | | | | | | | | | | | With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
* wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero2017-03-241-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
* core, wallet: faster tx pool scanningmoneromooo-monero2017-03-231-78/+83
| | | | Includes a new RPC to get tx pool hashes fast.
* Merge pull request #1903Riccardo Spagni2017-03-211-1/+20
|\ | | | | | | 350e99ae wallet2: cache which pool txes were scanned already (moneromooo-monero)
| * wallet2: cache which pool txes were scanned alreadymoneromooo-monero2017-03-211-1/+20
| | | | | | | | | | This massively speeds up the wallet updating the pool on mainnet, where the tx backlog is more than 500 txes.
* | Merge pull request #1899Riccardo Spagni2017-03-211-4/+40
|\ \ | |/ |/| | | c1e9ccc7 wallet2: speed up transactions using remote nodes (moneromooo-monero)
| * wallet2: speed up transactions using remote nodesmoneromooo-monero2017-03-201-4/+40
| | | | | | | | | | | | | | Asking for a full histogram from a remote node (since it's untrusted) is pretty slow, and spams the remote node, so we replace it by only adding a second input if we have rct ones, which are for all intents and purposes always mixable.
* | wallet2: start using new fee priorities at v5, not 14 days laermoneromooo-monero2017-03-201-1/+1
|/ | | | | Waiting would mean the fee used is 1x base, but the base will have suddenly dropped
* wallet2: call is_key_image_spent in blocks in rescan_spentmoneromooo-monero2017-03-181-20/+23
| | | | This is a potentially long lasting daemon RPC call
* Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-151-14/+35
| | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* Merge pull request #1846Riccardo Spagni2017-03-061-2/+2
|\ | | | | | | 4b48565c wallet: add password command (moneromooo-monero)
| * wallet: add password commandmoneromooo-monero2017-03-051-2/+2
| | | | | | | | | | Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
* | Revert "wallet: fix insertion of pool transactions"moneromooo-monero2017-03-041-1/+1
|/ | | | | | | | | This reverts commit d47dac9a88ddd46b88850a899311363b3261c89e. Callers actually expect the key to be payment id, so this needs a lot more changes (like storing payment ids in the structure, and possibly also to other existing structures which do the same thing).
* use txid in wallet2::process_new_transaction()Jaquee2017-03-031-1/+1
|
* Merge pull request #1826Riccardo Spagni2017-03-031-0/+15
|\ | | | | | | 2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
| * allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2017-03-021-0/+15
| |
* | Merge pull request #1823Riccardo Spagni2017-03-031-1/+1
|\ \ | | | | | | | | | d47dac9a wallet: fix insertion of pool transactions (moneromooo-monero)
| * | wallet: fix insertion of pool transactionsmoneromooo-monero2017-02-281-1/+1
| |/ | | | | | | They were inserted using payment id as key, not txid
* | Add support for the wallet to refresh pruned blocksmoneromooo-monero2017-02-271-42/+56
| |
* | wallet: invalidate node proxy cache when reconnectingmoneromooo-monero2017-02-271-0/+1
|/
* add rpc timeouts to calls that might timeoutRiccardo Spagni2017-02-241-4/+4
|
* wallet2: fix wrong status on daemon shutdown/startupJaquee2017-02-231-1/+5
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Merge pull request #1749Riccardo Spagni2017-02-211-5/+5
|\ | | | | | | 5a3b1e98 wallet2: fix failure to send (relatedness check in wrong case) (moneromooo-monero)
| * wallet2: fix failure to send (relatedness check in wrong case)moneromooo-monero2017-02-191-5/+5
| | | | | | | | | | | | A relatedness check was meant to be done in the case of adding an extra output if just one was enough. This was mistakenly added to the "preferred output" case.
* | simplewallet: validate hex input sizemoneromooo-monero2017-02-141-3/+3
|/
* Merge pull request #1689Riccardo Spagni2017-02-111-3/+18
|\ | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-3/+18
| |