aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |/ /
* | | Merge pull request #7788luigi11112021-08-021-2/+1
|\ \ \ | | | | | | | | | | | | f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
| * | | wallet2: Don't auto lock device on process parsed blockstobtoht2021-07-141-2/+1
| |/ /
* | | Merge pull request #7747luigi11112021-08-021-8/+9
|\ \ \ | |_|/ |/| | | | | 8cf95c8 wallet2: refresh: check error and throw before potentially breaking out of loop (tobtoht)
| * | wallet2: refresh: check error and throw before potentially breaking out of looptobtoht2021-06-041-8/+9
| | |
* | | Merge pull request #7740luigi11112021-07-271-0/+3
|\ \ \ | |_|/ |/| | | | | 8cea9d8 wallet: Reset RPC Pay ID on node switch (tobtoht)
| * | wallet: Reset RPC Pay ID on node switchtobtoht2021-06-041-0/+3
| | | | | | | | | | | | RPC pay client ID is sent with each RPC request, set a new secret every time we switch nodes to mitigate trivial correlation
* | | Merge pull request #7661luigi11112021-06-101-19/+8
|\ \ \ | | | | | | | | | | | | 08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
| * | | Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-19/+8
| | | |
* | | | Merge pull request #7662luigi11112021-06-101-4/+14
|\ \ \ \ | |_|_|/ |/| | | | | | | 4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
| * | | rpc: send confirmations in get_transactions resultmoneromooo-monero2021-04-151-4/+14
| | | | | | | | | | | | | | | | | | | | if the wallet does it, it would get a wrong result (possibly even negative) if its local chain is not synced up to the daemon's yet
* | | | Merge pull request #7682luigi11112021-05-121-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | bbdb612 Wallet2: Update 'approximate_testnet_rolled_back_blocks' (rbrunner7)
| * | | | Wallet2: Update 'approximate_testnet_rolled_back_blocks'rbrunner72021-04-251-1/+1
| | |/ / | |/| |
* / | | wallet2: Fix rescan_bc keep_ki optionNathan Dorfman2021-04-231-21/+26
|/ / /
* | | Merge pull request #7651luigi11112021-04-221-4/+4
|\ \ \ | | | | | | | | | | | | c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
| * | | monero-wallet-cli: improve error message when tx amount is zeroElliot Wirrick2021-04-071-4/+4
| | |/ | |/|
* | | Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2021-04-161-0/+1
| |/ |/|
* | Merge pull request #7635luigi11112021-04-061-2/+2
|\ \ | | | | | | | | | 447bfae wallet2: fix unlocked mixup in light wallet mode (moneromooo-monero)
| * | wallet2: fix unlocked mixup in light wallet modemoneromooo-monero2021-03-251-2/+2
| |/
* / fix serialization being different on macmoneromooo-monero2021-03-051-5/+15
|/ | | | | | | | | | | | On Mac, size_t is a distinct type from uint64_t, and some types (in wallet cache as well as cold/hot wallet transfer data) use pairs/containers with size_t as fields. Mac would save those as full size, while other platforms would save them as varints. Might apply to other platforms where the types are distinct. There's a nasty hack for backward compatibility, which can go after a couple forks.
* Merge pull request #7355luigi11112021-02-181-2/+0
|\ | | | | | | | | bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)
| * Removing unused namespace aliasLee Clagett2021-01-281-2/+0
| |
* | Merge pull request #7346luigi11112021-02-181-9/+1
|\ \ | | | | | | | | | 85db173 Remove unused variables in monero codebase (Kevin Barbour)
| * | Remove unused variables in monero codebaseKevin Barbour2021-02-091-9/+1
| |/ | | | | | | | | | | | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* | Merge pull request #7341luigi11112021-02-181-7/+35
|\ \ | | | | | | | | | b587ffa Stop adding more outputs than bulletproof allows (Alex Opie)
| * | Stop adding more outputs than bulletproof allowsAlex Opie2021-01-251-7/+35
| |/ | | | | | | | | | | If more outputs are requested, they are split across multiple transactions. #7322
* | Merge pull request #7312luigi11112021-02-181-0/+42
|\ \ | | | | | | | | | 186271e monero-wallet-cli: Added command scan_tx (Horia Mihai David)
| * | monero-wallet-cli: Added command scan_txHoria Mihai David2021-02-171-0/+42
| |/ | | | | | | To implement this feature, the wallet2::scan_tx API was implemented.
* | Merge pull request #6986luigi11112021-02-151-0/+8
|\ \ | |/ |/| | | ee58f4f Balance includes unconfirmed payments (woodser)
| * Balance includes unconfirmed paymentswoodser2020-11-061-0/+8
| |
* | restrict public node checks a littlemoneromooo-monero2020-12-221-0/+1
| | | | | | | | | | do not include blocked hosts in peer lists or public node lists by default, warn about no https on clearnet and about untrusted peers likely being spies
* | Change epee binary output from std::stringstream to byte_streamLee Clagett2020-10-101-5/+4
| |
* | Merge pull request #7043Alexander Blair2020-12-041-0/+14
|\ \ | | | | | | | | | 17c537039 wallet2: check imported multisig curve points are in main subgroup (Crypto City)
| * | wallet2: check imported multisig curve points are in main subgroupCrypto City2020-11-241-0/+14
| |/
* | wallet2: set propagation timeout to current max timeoutselsta2020-12-031-1/+2
| |
* | Merge pull request #6890Alexander Blair2020-12-011-0/+21
|\ \ | | | | | | | | | ec14e4b8c wallet2: skip reorgs exceeding max-reorg-depth wallet setting (xiphon)
| * | wallet2: skip reorgs exceeding max-reorg-depth wallet settingxiphon2020-10-131-0/+21
| | |
* | | wallet2: wait for propagation timeout before marking tx as failedxiphon2020-10-181-2/+6
| |/ |/|