summaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wallet2: fix transfers between subaddresses hitting the sanity checkmoneromooo-monero2018-09-281-1/+5
| | | | Transfers between subaddresses are accounted for differently
* wallet2: fix duplicate output making it to the RPCmoneromooo-monero2018-09-251-7/+32
|
* wallet2: ensure outputs are processed only oncemoneromooo-monero2018-07-081-14/+17
| | | | | | This should be proof against any way one might get to multiple processing, such as generating the same derivation from the same pubkey, etc
* wallet2: fix double counting outs if the tx pubkey is duplicatedmoneromooo-monero2018-07-041-5/+16
|
* wallet2: fix read buffer overflow in import_key_imagesmoneromooo-monero2018-07-041-1/+1
|
* wallet2: fix out of sync account tag cachemoneromooo-monero2018-07-041-0/+1
| | | | | This would cause crashes when trying to tag an account that was just created
* wallet2: lower default for subaddress lookahead when restoring with hardwarestoffu2018-07-031-0/+6
|
* wallet: allow unspendable unmixable outputs to be discardedstoffu2018-07-031-0/+10
|
* wallet2: use decoded amount when reporting repeated output keystoffu2018-07-031-5/+5
|
* wallet2: use correct fee for split txesstoffu2018-07-031-6/+14
|
* wallet2: fix get_approximate_blockchain_height for stagenetstoffu2018-07-031-2/+2
|
* disable file size sanity check when loading the wallet cachemoneromooo-monero2018-07-031-1/+1
|
* wallet2: don't ask for pruned txes yet, we still parse the entire txmoneromooo-monero2018-05-311-1/+1
|
* Fix output shuffling for multisigstoffu2018-05-201-2/+2
|
* wallet2: consider 6 outputs or less to be unmixable from v7moneromooo-monero2018-05-101-2/+2
|
* Merge pull request #3686Riccardo Spagni2018-04-281-0/+3
|\ | | | | | | | | d003f07c speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero) df9d59ca wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
| * wallet2: add missing parameters to get_output_histogrammoneromooo-monero2018-04-221-0/+3
| |
* | Merge pull request #3684Riccardo Spagni2018-04-281-1/+6
|\ \ | | | | | | | | | 9670c917 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
| * | import_multisig_info: fix sanity check crash in detach_blockchainMikhail Mitkevichl2018-04-231-1/+6
| |/
* | wallet2: increase rpc timeout for get_output_distributionmoneromooo-monero2018-04-131-1/+1
| |
* | add top height to get_output_distribution, and cache it for rctmoneromooo-monero2018-04-131-0/+2
|/ | | | This should cache the vast majority of calls for long running wallets
* Merge pull request #3550Riccardo Spagni2018-04-121-21/+44
|\ | | | | | | | | 58f66073 wallet2: request transactions in slices when scanning for known rings (moneromooo-monero) 2897c269 rpc: allow getting pruned blocks from gettransactions (moneromooo-monero)
| * wallet2: request transactions in slices when scanning for known ringsmoneromooo-monero2018-04-071-22/+32
| | | | | | | | This avoid massive memory consumption for huge wallets
| * rpc: allow getting pruned blocks from gettransactionsmoneromooo-monero2018-04-071-0/+13
| | | | | | | | | | | | | | | | and get them pruned in find_and_save_rings, since it does not need the pruned data in the first place. Also set decode_to_json to false where missing, we don't need this either.
* | Merge pull request #3607Riccardo Spagni2018-04-121-0/+12
|\ \ | | | | | | | | | 5eeeec39 wallet2: store subaddress lookahead settings (stoffu)
| * | wallet2: store subaddress lookahead settingsstoffu2018-04-111-0/+12
| |/
* | Merge pull request #3574Riccardo Spagni2018-04-121-9/+9
|\ \ | | | | | | | | | cdf9ecfd wallet2: fix misc issues when the ringdb can't be initialized (moneromooo-monero)
| * | wallet2: fix misc issues when the ringdb can't be initializedmoneromooo-monero2018-04-061-9/+9
| |/
* | Merge pull request #3556Riccardo Spagni2018-04-121-1/+1
|\ \ | | | | | | | | | d400b4d3 wallet2: move segregation height to v7 (moneromooo-monero)
| * | wallet2: move segregation height to v7moneromooo-monero2018-04-051-1/+1
| |/ | | | | | | since people seem to really want to use things the wrong way.
* | Merge pull request #3535Riccardo Spagni2018-04-121-0/+7
|\ \ | | | | | | | | | 4c6ff21c wallet: warn if not using the default ring size (moneromooo-monero)
| * | wallet: warn if not using the default ring sizemoneromooo-monero2018-03-311-0/+7
| |/
* | Use 'boost' mutex instead of 'std' mutexcslashm2018-04-101-4/+4
| |
* | Fix sub-address tx scan.cslashm2018-04-091-3/+3
|/ | | | | | | | When additional keys was needed, the TX scan failed because the derivation data was always recomputed with the main tx_key and not the corresponding additional one. Moreover this patch avoid perf decreasing when not using HW device.
* Merge pull request #3503Riccardo Spagni2018-03-291-1/+1
|\ | | | | | | 8ff2cc75 fix lambda compile error on openbsd (moneromooo-monero)
| * fix lambda compile error on openbsdmoneromooo-monero2018-03-271-1/+1
| |
* | Add the possibility to export private view key for fast scan.cslashm2018-03-281-11/+44
| | | | | | | | | | | | On client startup the device asks for authorization to export the private view key. If user agree, the client hold the private view key allowing a fast blockchain scan. If the user does not agree, the blockchain scan is fully done via the device.
* | Merge pull request #3474Riccardo Spagni2018-03-221-5/+6
|\ \ | | | | | | | | | | | | eaa8bfe7 wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly The previous expression (stoffu) 0a619f78 wallet2: enable the mitigation only after the fork height (stoffu)
| * | wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctlystoffu2018-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The previous expression req_t.from_height = X ? Y >= Z : 0; forces the parameter to take the value of either 0 or 1.
| * | wallet2: enable the mitigation only after the fork heightstoffu2018-03-221-4/+5
| |/
* | Merge pull request #3469Riccardo Spagni2018-03-221-0/+9
|\ \ | | | | | | | | | 0098ed33 wallet2: fix for loading settings of key reuse mitigation (stoffu)
| * | wallet2: fix for loading settings of key reuse mitigationstoffu2018-03-221-0/+9
| |/
* / wallet: catch exceptions dealing with ringdb and warnmoneromooo-monero2018-03-211-19/+44
|/
* wallet: make the segregation height settablemoneromooo-monero2018-03-171-8/+58
| | | | via user setting first, then DNS TXT record, hardcoded fallback
* Merge pull request #3336Riccardo Spagni2018-03-161-4/+4
|\ | | | | | | 57c0b1ed Fix typos in various files (Dimitris Apostolou)
| * Fix typos in various filesDimitris Apostolou2018-03-151-4/+4
| |
* | wallet: more user friendly print_ringmoneromooo-monero2018-03-161-2/+38
| | | | | | | | | | It can now take a txid (to display rings for all its inputs), and will print rings in a format that set_ring understands
* | ringdb: use the genesis block as a db namemoneromooo-monero2018-03-161-1/+3
| | | | | | | | | | | | | | This will avoid careless forkers polluting the shared database even if they make their own chain. They'll then automatically start using another subdb, and any key-reusing fork of those forks will reuse their subdbs.
* | wallet: add a set_ring commandmoneromooo-monero2018-03-161-0/+11
| | | | | | | | | | This is so one can set rings for spent key images in case the attackers don't merge the ring matching patch set.
* | wallet: make ringdb an object with database statemoneromooo-monero2018-03-161-24/+48
| |