aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Preserve commitment format inside transactionsLuke Parker2022-04-211-3/+1
|
* 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
* | Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-128/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
* | Fee changes from ArticMinemoneromooo-monero2022-04-101-32/+62
|/ | | | | | https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate
* Merge pull request #8197luigi11112022-04-061-1/+1
|\ | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * Copyright: Update to 2022mj-xmr2022-03-041-1/+1
| |
* | Merge pull request #8195luigi11112022-04-061-4/+4
|\ \ | | | | | | | | | 3c82958 wallet2: update stagenet rollback blocks (selsta)
| * | wallet2: update stagenet rollback blocksselsta2022-03-011-4/+4
| | |
* | | Merge pull request #8179luigi11112022-04-061-7/+125
|\ \ \ | | | | | | | | | | | | ae0a840 wallet2: decrease the amount of data exchanged for output export (moneromooo-monero)
| * | | wallet2: decrease the amount of data exchanged for output exportmoneromooo-monero2022-03-291-7/+125
| | |/ | |/|
* | | Merge pull request #7170luigi11112022-04-051-38/+51
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd27deb Bulletproofs+ (SarangNoether) b7713cc Precompute initial transcript hash (SarangNoether) b535d66 Updates from security audit (SarangNoether) a0d80b1 plug bulletproofs plus into consensus (moneromooo-monero) 75bd004 ringct: a few minor optimizations from review (moneromooo-monero) a345060 ringct: port some of vtnerd's review changes from BP+ to BP (moneromooo-monero) 4c94cfe store outPk/8 in the tx for speed (moneromooo-monero) 5acdd0e bulletproofs+: some minor cleanup from vtnerd's review (moneromooo-monero)
| * | | store outPk/8 in the tx for speedmoneromooo-monero2022-04-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | It avoids dividing by 8 when deserializing a tx, which is a slow operation, and multiplies by 8 when verifying and extracing the amount, which is much faster as well as less frequent
| * | | plug bulletproofs plus into consensusmoneromooo-monero2022-04-051-37/+48
| | | |
* | | | Merge pull request #7153luigi11112022-04-051-0/+7
|\ \ \ \ | |/ / / |/| | | | | | | 354e1d9 Make the wallet name optional when locked. (Norman Moeschter)
| * | | Make the wallet name optional when locked.Norman Moeschter2022-03-101-0/+7
| |/ /
* | | Merge pull request #8158luigi11112022-03-181-0/+13
|\ \ \ | |/ / |/| | | | | e5000a9 Balance includes unconfirmed transfers to self (woodser)
| * | Balance includes unconfirmed transfers to selfwoodser2022-01-311-0/+13
| |/
* | Merge pull request #7877luigi11112022-03-021-446/+146
|\ \ | |/ |/| | | e08abaa multisig key exchange update and refactor (koe)
| * multisig key exchange update and refactorkoe2022-02-221-446/+146
| |
* | wallet inits cache if file and blob missingwoodser2021-12-241-4/+5
| |
* | `make_uri` disallows standalone payment idswoodser2021-11-301-6/+2
| |
* | Merge pull request #8017luigi11112021-11-011-2/+0
|\ \ | | | | | | | | | a15466d wallet2: remove 2 unused variables (selsta)
| * | wallet2: remove 2 unused variablesselsta2021-10-201-2/+0
| | |
* | | wallet2: fix key encryption when changing ask-password from 0/1 to 2moneromooo-monero2021-10-191-20/+3
|/ / | | | | | | | | we reuse the wallet_keys_unlocker object, which does the right thing in conjunction with other users of decrypt/encrypt (ie, refresh).
* | Merge pull request #7994luigi11112021-10-171-1/+1
|\ \ | | | | | | | | | 84c5257 Decrease the 'recent spend window' in gamma re-select to 15 blocks (j-berman)
| * | Decrease the "recent spend window" in gamma re-select to 15 blocksj-berman2021-10-041-1/+1
| |/ | | | | | | | | - combined with patching integer truncation (#7798), this gets the algorithm marginally closer to mirroring empirically observed output ages - 50 was originally chosen assuming integer truncation would remain in the client for that client release version. But patching integer truncation causes the client to select more outputs in the 10-100 block range, and therefore the benefit of choosing a larger recent spend window of 50 has less merit - 15 seems well-suited to cover the somewhat sizable observable gap in the early window of blocks
* | Merge pull request #7799luigi11112021-10-171-7/+1
|\ \ | | | | | | | | | 76542ea Fix precision of average_output_time (j-berman)
| * | Fix precision of average_output_timej-berman2021-09-121-7/+1
| |/ | | | | | | The fix as suggested by <jberman> on IRC. Before the fix, it would truncate 1.9 to 1 skewing the output selection.
* | Merge pull request #7793luigi11112021-10-111-1/+20
|\ \ | |/ |/| | | 13a8a57 trezor: try empty passphrase first (Dusan Klinec)
| * trezor: try empty passphrase firstDusan Klinec2021-08-031-1/+20
| | | | | | | | | | | | | | | | | | | | - Try empty passphrase first when opening a wallet, as all Trezors will have passphrase enabled by default by Trezor Suite by default. This feature enables easier access to all users using disabled passphrase (or empty passhprase) - If wallet address differs from device address with empty passphrase, another opening attempt is made, without passphrase suppression, so user can enter his passhprase if using some. In this scenario, nothing changes to user, wallet opening just consumes one more call to Trezor (get wallet address with empty passphrase) - also change how m_passphrase is used. Previous version did not work well with recent passphrase entry mechanism change (made in Trezor), thus this commit fixes the behaviour).
* | Merge pull request #7899luigi11112021-09-091-1/+1
|\ \ | | | | | | | | | cd76eb7 wallet: fix unused lambda capture warning (selsta)
| * | wallet: fix unused lambda capture warningselsta2021-08-281-1/+1
| | |
* | | Merge pull request #7823luigi11112021-09-091-4/+6
|\ \ \ | | | | | | | | | | | | 24d3d65 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (Kermit Alexander II)
| * | | monero-wallet-rpc: Prevent --password-file from being used with --wallet-dirKermit Alexander II2021-08-201-4/+6
| | | |
* | | | Merge pull request #7342luigi11112021-09-091-20/+34
|\ \ \ \ | |_|/ / |/| | | | | | | 520ce1c Attempt to carve the fee from a partial payment early (lxop)
| * | | Attempt to carve the fee from a partial payment earlyAlex Opie2021-01-251-20/+34
| | | | | | | | | | | | | | | | | | | | Do this for both the estimate and actual fee. #7337
* | | | Wallet2: fix optimize-coinbase for p2pool payoutsSChernykh2021-08-261-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet. When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now. With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction. Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
* | | | Merge pull request #7849luigi11112021-08-201-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | 6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
| * | | | Make sure node returns to wallet that real output is unlockedj-berman2021-08-111-1/+2
| | |/ / | |/| |
* | | | Merge pull request #7845luigi11112021-08-201-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
| * | | | Protect client from divide by 0 caused by integer truncationj-berman2021-08-191-0/+6
| |/ / /
* | | | Merge pull request #7821luigi11112021-08-201-0/+31
|\ \ \ \ | | | | | | | | | | | | | | | da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
| * | | | Apply gamma distr from chain tip when selecting decoysj-berman2021-08-191-0/+31
| |/ / / | | | | | | | | | | | | - matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time - if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
* | | | Merge pull request #7786luigi11112021-08-111-3/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | 9c6e094 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
| * | | fix #7784 - deinit wallet in wallet dtorDusan Klinec2021-07-141-3/+6
| | | |
* | | | Merge pull request #7796luigi11112021-08-021-8/+20
|\ \ \ \ | | | | | | | | | | | | | | | 0c6e1d3 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
| * | | | wallet2: chunk get_outs.bin calls to avoid sanity limitsmoneromooo-monero2021-07-151-8/+20
| |/ / /
* | | | Merge pull request #7790luigi11112021-08-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | bc8d764 wallet: rephrase error message on invalid device address (Dusan Klinec)
| * | | | wallet: rephrase error message on invalid device addressDusan Klinec2021-07-141-1/+1
| |/ / /