summaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wallet2: fix create view-only wallet from existing walletj-berman2022-10-181-6/+2
|
* Merge pull request #8585luigi11112022-09-261-0/+1
|\ | | | | | | 5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
| * wallet2: fail to establish daemon cxn == "Disconnected" cxn statusj-berman2022-09-211-0/+1
| |
* | Merge pull request #8582luigi11112022-09-261-11/+20
|\ \ | | | | | | | | | 1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
| * | add an option to force-update multisig key exchange under some circumstanceskoe2022-09-211-11/+20
| |/
* / Second thread pool for IOSChernykh2022-09-201-3/+3
|/
* Merge pull request #8545v0.18.1.1luigi11112022-09-151-7/+5
|\ | | | | | | | | | | | | 12e7c41 Merge pull request #5 from j-berman/restore-msig-encrypted-seed (Justin Berman) 848a0c0 Fix segfault restoring encrypted multisig seed (j-berman) 401f5d9 Require user ack multisig is experimental to restore (j-berman) fc8a5d6 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
| * multisig: fix #8537 seed restore (suggestions by @UkoeHB)j-berman2022-09-011-7/+5
| | | | | | | | | | | | | | | | - spend secret key is no longer the sum of multisig key shares; no need to check that is the case upon restore. - restoring a multisig wallet from multisig info means that the wallet must have already completed all setup rounds. Upon restore, set the number of rounds completed accordingly.
* | wallet2: check wallet compatibility with daemon's hard fork versionj-berman2022-09-121-12/+141
| |
* | Merge pull request #8555luigi11112022-09-091-32/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | e29b2e9 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero) 1d3657a wallet2: better test on whether to allow output import (moneromooo-monero) 0cbf557 allow exporting outputs in chunks (moneromooo-monero) b03d709 wallet2: fixes for export/import output flow (j-berman) 4b7eb57 wallet2: do not assume imported outputs must be non empty (moneromooo-monero) 5b98beb wallet2: prevent importing outputs in a hot wallet (moneromooo-monero) 0de1571 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
| * | wallet2: ensure imported outputs subaddresses are createdmoneromooo-monero2022-09-071-0/+4
| | | | | | | | | | | | reported by j-berman
| * | wallet2: better test on whether to allow output importmoneromooo-monero2022-09-071-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Being offline is not a good enough heuristic, so we keep track of whether the wallet ever refreshed from a daemon, which is a lot better, and probably the best we can do without manual user designation (which would break existing cold wallet setups till the user designates those wallets)
| * | allow exporting outputs in chunksmoneromooo-monero2022-09-071-30/+64
| | | | | | | | | | | | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
| * | wallet2: fixes for export/import output flowj-berman2022-09-061-2/+6
| | | | | | | | | | | | | | | | | | - only allow offline wallets to import outputs - don't import empty outputs - export subaddress indexes when exporting outputs
| * | wallet2: do not assume imported outputs must be non emptymoneromooo-monero2022-09-061-2/+2
| | |
| * | wallet2: prevent importing outputs in a hot walletmoneromooo-monero2022-09-061-0/+2
| | |
| * | wallet2: fix missing subaddress indices in "light" exported outputsmoneromooo-monero2022-09-061-1/+3
| |/
* / Fix missing semi-colon in error messagej-berman2022-09-061-1/+1
|/ | | | Co-authored-by: woodser <woodser@protonmail.com>
* Merge pull request #8433luigi11112022-07-141-9/+14
|\ | | | | | | db8181a wallet2: force using output distribution for ringct outs (tobtoht)
| * wallet2: force using output distribution for ringct outstobtoht2022-06-251-9/+14
| | | | | | | | Co-authored-by: j-berman <justinberman@protonmail.com>
* | derive multisig tx secret keys from an entropy source plus the tx inputs' ↵koe2022-07-131-0/+4
| | | | | | | | key images
* | Merge pull request #8149luigi11112022-07-131-88/+210
|\ \ | | | | | | | | | c7b2944 multisig: fix critical vulnerabilities in signing (anon)
| * | multisig: fix critical vulnerabilities in signinganon2022-06-301-88/+210
| |/
* | Merge pull request #8408luigi11112022-07-061-37/+0
|\ \ | | | | | | | | | 09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
| * | wallet2: don't use DNS to obtain segregation heightstobtoht2022-06-281-37/+0
| |/
* | Merge pull request #8404luigi11112022-07-061-26/+1
|\ \ | | | | | | | | | 50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
| * | wallet2: remove obsolete rpc version checktobtoht2022-06-241-26/+1
| |/
* | Merge pull request #8394luigi11112022-07-061-1/+2
|\ \ | | | | | | | | | 4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
| * | cryptonote_basic: catch crypto api errorsmoneromooo-monero2022-06-201-1/+2
| |/
* | Merge pull request #8388luigi11112022-07-051-7/+11
|\ \ | | | | | | | | | 04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
| * | Chunk /gettransactions to avoid hitting restricted RPC limittobtoht2022-06-271-7/+11
| |/
* / Improve consistency between on_money_received and on_money_received_unconfirmedLuke Parker2022-06-011-3/+4
|/ | | | | | unconfirmed solely uses a - b, and received now accepts b so it can provide more detailed logs on what occurred (printing a - b, yet with a and b).
* Merge pull request #8331luigi11112022-05-261-9/+5
|\ | | | | | | fde7c96 wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
| * wallet2: fix spurious reorg detection with untrusted nodesmoneromooo-monero2022-05-151-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When forced to deal with an untrusted node, a wallet will quantize its current height to disguise the real height to the adversary, to try and minimize the daemon's ability to distinguish returning wallets. Daemons will thus return more blocks than the wallet needs, starting from earlier in the chain. These extra blocks will be disregarded by the wallet, which had already scanned them. However, for the purposes of reorg size detection, the wallet assumes all blocks the daemon sends are different, which is only correct if the wallet hasn't been coy, which is only the case for trusted daemons (which you should use). This causes an issue when the size of this "fake reorg" is above the sanity check threshold at which the wallet refuses a reorg. To fix this, the reorg size check is moved later on, when the reorg is about to actually happen, after the wallet has checked which blocks are actually different from the ones it expects.
* | Merge pull request #8328luigi11112022-05-261-1/+8
|\ \ | | | | | | | | | 2979474 disable multisig by default (moneromooo-monero)
| * | disable multisig by defaultmoneromooo-monero2022-05-171-1/+8
| |/ | | | | | | | | | | | | | | | | There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
* | Merge pull request #8308luigi11112022-05-161-6/+1
|\ \ | | | | | | | | | f63f7dc wallet2: fix a couple unused variable warnings (selsta)
| * | wallet2: fix a couple unused variable warningsselsta2022-05-021-6/+1
| | |
* | | wallet2: speedup large tx construction: reserve vector memorymoneromooo-monero2022-05-131-1/+7
| | | | | | | | | | | | 2.8 seconds -> 2.6 seconds on a test case
* | | wallet2: speedup large tx construction: batch ringdb lookupsCrypto City2022-05-131-4/+35
| | | | | | | | | | | | 3.3 seconds -> 2.8 seconds on a test case
* | | wallet2: speedup large tx construction: batch ringdb updatesCrypto City2022-05-131-2/+14
| | | | | | | | | | | | 5.2 seconds -> 4.1 seconds on a test case
* | | wallet2: speedup large tx construction: cache public key validitymoneromooo-monero2022-05-131-23/+31
| |/ |/| | | | | 5.9 second -> 5.2 seconds on a test case
* | Merge pull request #8277luigi11112022-05-101-3/+1
|\ \ | | | | | | | | | baee2c0 Preserve commitment format inside transactions (kayabaNerve)
| * | Preserve commitment format inside transactionsLuke Parker2022-04-211-3/+1
| | |
* | | Merge pull request #8220luigi11112022-05-101-3/+6
|\ \ \ | |_|/ |/| | | | | 0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
| * | multisig: add post-kex verification round to check that all participants ↵koe2022-04-291-3/+6
| | | | | | | | | | | | have completed the multisig address
* | | Merge pull request #8178luigi11112022-04-251-0/+4
|\ \ \ | |_|/ |/| | | | | 5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
| * | Bump ring size to 16 for v15 & remove set default in wallet clij-berman2022-04-181-0/+4
| | |
* | | Merge pull request #8254luigi11112022-04-191-1/+1
|\ \ \ | | | | | | | | | | | | 9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
| * | | wallet2: use BP+ for cold signingmoneromooo-monero2022-04-101-1/+1
| | | | | | | | | | | | | | | | reported by ukoehb