aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-12-31wallet: optionally keep track of owned outputs usesmoneromooo-monero1-2/+25
2018-12-12MMS (Multisig Messaging System): Initial versionrbrunner71-4/+113
2018-12-12Merge pull request #4839Riccardo Spagni1-8/+77
d71f89e2 device/trezor: device/trezor: correct device initialization, status check (Dusan Klinec) 65b9bca7 device/trezor: python2 compatibility - bundle dependencies (Dusan Klinec) 9cf636af device/trezor: ask for KI sync on first refresh (Dusan Klinec) d21dad70 device: enable to use multiple independent device wallets (Dusan Klinec) 318cc784 device/trezor: passphrase entry on host (Dusan Klinec)
2018-12-04device/trezor: ask for KI sync on first refreshDusan Klinec1-5/+9
When doing a first refresh on HW-token based wallet KI sync is required if money were received. Received money may indicate wallet was already used before the restore I.e., some transaction could have been already sent from the wallet. The spent UTXO would not be detected as spent which could lead to double spending errors on submitting a new transaction. Thus if the wallet is HW-token based with the cold signing protocol and the first refresh detected received money the user is asked to perform the key image sync.
2018-12-04device: enable to use multiple independent device walletsDusan Klinec1-0/+19
- adds a new option `--hw-device-deriv-path` to the simple wallet. Enables to specify wallet derivation path / wallet code (path avoided so it can be misinterpreted as a file path). - devices can use different derivation mechanisms. Trezor uses standard SLIP-10 mechanism with fixed SLIP-44 prefix for Monero - Trezor: when empty, the default derivation mechanism is used with 44'/128'/0'. When entered the derivation path is 44'/128'/PATH. - Trezor: the path is always taken as elements are hardened (1<<31 bit turned on)
2018-12-04Merge pull request #4894Riccardo Spagni1-7/+2
aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
2018-12-04Merge pull request #4885Riccardo Spagni1-2/+2
b5573fc2 wallet2: resume processing when tx extra is partially broken (stoffu)
2018-12-04Merge pull request #4884Riccardo Spagni1-1/+1
56e616e8 wallet2: add n_vouts to capture list (moneromooo-monero)
2018-12-04Merge pull request #4853Riccardo Spagni1-1/+6
2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
2018-12-04Merge pull request #4845Riccardo Spagni1-16/+61
6732fc7f Fix issue 4793 - M/N multisig transaction signature (naughtyfox)
2018-11-29device/trezor: passphrase entry on hostDusan Klinec1-3/+49
- simple device callback object added. Device can request passphrase/PIN entry via the callback or notify user some action is required - callback is routed to wallet2, which routes the callback to i_wallet_callback so CLI or GUI wallets can support passphrase entry for HW tokens - wallet: device open needs wallet callback first - passphrase protected device needs wallet callback so user can enter passphrase
2018-11-26Merge pull request #4821Riccardo Spagni1-0/+1
fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
2018-11-26rpc: speedup get_outs.binmoneromooo-monero1-0/+1
2018-11-26Merge pull request #4825Riccardo Spagni1-2/+5
b9b307d1 rpc: speedup get_output_distribution (moneromooo-monero)
2018-11-26Merge pull request #4816Riccardo Spagni1-1/+0
1a4d1603 wallet2: remove redundant chacha key generation in store_keys (stoffu)
2018-11-23remove some unused codemoneromooo-monero1-5/+0
Found by codacy.com
2018-11-23a few minor (but easy) performance tweaksmoneromooo-monero1-2/+2
Found by codacy.com
2018-11-22wallet2: resume processing when tx extra is partially brokenstoffu1-2/+2
Motivated by https://monero.stackexchange.com/questions/10483 Some exchanges appear to have customized the wallet software in an inappropriate way, making the tx extra field partially unreadable. PR #3716 changed the wallet behavior disallowing such partially valid tx extra. An example tx reported by the user is e87c675a85f34ecac58a8846613d25062f1813e1023c552b705afad32b972c38 where the normal tx pubkey appears again with the aditional tx pubkeys tag `04` which is inappropriate.
2018-11-22wallet2: add n_vouts to capture listmoneromooo-monero1-1/+1
2018-11-20Fix issue 4793 - M/N multisig transaction signaturenaughtyfox1-16/+61
2018-11-20rpc: speedup get_output_distributionmoneromooo-monero1-2/+5
and decrease the amount of data carried around
2018-11-16Merge pull request #4794Riccardo Spagni1-1/+1
e198b06e Fix: out_of_hashchain_bounds_error in refresh (Hasan Pekdemir)
2018-11-16Merge pull request #4789Riccardo Spagni1-0/+1
0afdb00b wallet2: fix print_ring printing double entries for transactions (moneromooo-monero)
2018-11-16Merge pull request #4788Riccardo Spagni1-5/+5
8f3963d2 wallet2: demote a few uninteresting recurring logs to TRACE (moneromooo-monero)
2018-11-16Merge pull request #4764Riccardo Spagni1-4/+1
1598f01c wallet2: use padded bulletproofs for multisig signing (stoffu)
2018-11-15various: do not propagate exception through dtormoneromooo-monero1-1/+6
Coverity 189689, 189690, 189692, 189695
2018-11-14Merge pull request #4761Riccardo Spagni1-12/+19
6e1282b6 wallet2: fix off by one in output picking (moneromooo-monero)
2018-11-07wallet2: remove redundant chacha key generation in store_keysstoffu1-1/+0
2018-11-06build: fix Ubuntu 16.04 (GCC 5.4.0) compilationxiphon1-1/+2
2018-11-06Merge pull request #4743Riccardo Spagni1-0/+14
9335d5a2 wallet2: save ring in the ringdb once a tx is created (moneromooo-monero)
2018-11-06Merge pull request #4738Riccardo Spagni1-0/+3
107f3398 wallet2: fix ring reuse breaking when using histogram (moneromooo-monero)
2018-11-06Merge pull request #4731Riccardo Spagni1-3/+19
f26ce08c wallet: add a non destructive blockchain rescan (moneromooo-monero)
2018-11-06Merge pull request #4729Riccardo Spagni1-3/+12
e86af52e wallet2: rewrite keys file in a safer manner (Nathan Dorfman)
2018-11-05wallet2: fix off by one in output pickingmoneromooo-monero1-12/+19
and take into account wallet level minimum spend age
2018-11-04wallet2: only export necessary outputs and key imagesmoneromooo-monero1-46/+76
and disable annoying test that requires ridiculous amounts of skullduggery every time some format changes
2018-11-04wallet2: faster output and key image import/exportmoneromooo-monero1-18/+76
2018-11-04Merge pull request #4702Riccardo Spagni1-1/+1
70877b1d wallet2/create_transactions_2: removed obsolete '/ 1024' on min_fee calc (Paul Shapiro)
2018-11-04Merge pull request #4691Riccardo Spagni1-1/+7
7f0dd094 wallet2: sanity check rct output distribution from the daemon (moneromooo-monero)
2018-11-04Merge pull request #4687Riccardo Spagni1-8/+8
6097472a Update ZMQ fee estimate and add ZMQ output distribution (Lee Clagett)
2018-11-04Merge pull request #4686Riccardo Spagni1-5/+1
cf646e3a wallet2/create_transactions_2: removed extraneous shuffle before sort of unused_*_indices_per_subaddr (Paul Shapiro)
2018-11-04Merge pull request #4685Riccardo Spagni1-1/+1
76681b9b wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee args (Paul Shapiro)
2018-11-04Fix: out_of_hashchain_bounds_error in refreshHasan Pekdemir1-1/+1
15:43 < hahsun> Im on stagenet and I suddenly get this exception: 2018-11-04 14:42:52.416 [RPC0] ERROR wallet.wallet2 src/wallet/wallet2.cpp:2070 !m_blockchain.is_in_bounds(current_index). THROW EXCEPTION: error::out_of_hashchain_bounds_error 16:01 <+moneromooo> OK, possibly because the blckchain is always seeded with the genesis block hash... 16:02 <+moneromooo> So that case should be allowed, assuming it doesn't break the code around it. 16:05 <+moneromooo> OK if stop_height == size || (size==1 && stop_heigt ==0) 16:05 <+moneromooo> Throw if not that. 16:06 < hahsun> k
2018-11-03wallet: add a non destructive blockchain rescanmoneromooo-monero1-3/+19
2018-11-03wallet2: demote a few uninteresting recurring logs to TRACEmoneromooo-monero1-5/+5
2018-11-03wallet2: fix print_ring printing double entries for transactionsmoneromooo-monero1-0/+1
When a tx gets from unconfirmed to conirmed, the rings for that transaction were being added twice
2018-11-02device/trezor: trezor support addedDusan Klinec1-25/+133
2018-10-31wallet2: use padded bulletproofs for multisig signingstoffu1-4/+1
Analogous to #4540
2018-10-28wallet2: rewrite keys file in a safer mannerNathan Dorfman1-3/+12
2018-10-27wallet2: save ring in the ringdb once a tx is createdmoneromooo-monero1-0/+14
Even if it is never relayed, it ensures a daemon supplying fake outs on demand will never be asked for a set with the real input being the only intersecting member (only a problem with people who trust their privacy to some stranger's node, but it seems to be a massively common thing, even in Monero)
2018-10-27wallet2: fix ring reuse breaking when using histogrammoneromooo-monero1-0/+3
2018-10-26Merge pull request #4617Riccardo Spagni1-0/+4
3ffbec15 rpc: init m_rpc_version in Message ctor (moneromooo-monero) bfa2dce1 rpc: remove unused ctors (moneromooo-monero) 7cc39845 account: init creation timestamp to 0 (moneromooo-monero) 32123789 wallet2: initialize some scalar fields in ctor where appropriate (moneromooo-monero) 4eca42b2 blockchain_db: initialize m_hardfork in ctor just in case (moneromooo-monero)
2018-10-26Merge pull request #4561Riccardo Spagni1-1/+1
04ddf02e Return appropriate RPC error code when key image signature check fails (Michał Sałaban)
2018-10-26Merge pull request #4552Riccardo Spagni1-0/+4
67e76aa0 wallet_rpc_server: optionally return tx keys in sign_transfer (moneromooo-monero)
2018-10-23Update ZMQ fee estimate and add ZMQ output distributionLee Clagett1-8/+8
2018-10-23wallet2: extend fake out picks away from the gamma pickmoneromooo-monero1-2/+23
in order to unbias selection from blocks with few txes
2018-10-22wallet2/create_transactions_2: removed obsolete '/ 1024' on min_fee calcPaul Shapiro1-1/+1
2018-10-22wallet2: sanity check rct output distribution from the daemonmoneromooo-monero1-1/+7
2018-10-21wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee argsPaul Shapiro1-1/+1
2018-10-21wallet2/create_transactions_2: removed extraneous shuffle before sort of ↵Paul Shapiro1-5/+1
unused_*_indices_per_subaddr
2018-10-20Merge pull request #4518Riccardo Spagni1-3/+18
92a0827e wallet2: make fake out selection messages less spammy (moneromooo-monero)
2018-10-18Rename "blackball" for claritymoneromooo-monero1-1/+1
Apparently some people seem to think it's a censorship list...
2018-10-16wallet2: initialize some scalar fields in ctor where appropriatemoneromooo-monero1-0/+4
Coverity 188336
2018-10-13SOFTWARE is the default wallet devicem2049r1-0/+1
2018-10-11Return appropriate RPC error code when key image signature check failsMichał Sałaban1-1/+1
2018-10-10wallet_rpc_server: optionally return tx keys in sign_transfermoneromooo-monero1-0/+4
2018-10-09wallet2: make fake out selection messages less spammymoneromooo-monero1-3/+18
2018-10-09wallet2: fix cold signing using non padded bulletproofsmoneromooo-monero1-4/+1
This code was deciding which bulletproof configuration to use based on ptx which weren't created yet.
2018-10-07Merge pull request #4036Riccardo Spagni1-98/+304
9acf42d3 Multisig M/N functionality core tests added (naughtyfox) 9f3963e8 Arbitrary M/N multisig schemes: * support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation (naughtyfox)
2018-10-06Fix some calls to the translation functionGuillaume LE VAILLANT1-2/+2
Some strings were not detected by lupdate because "tr() cannot be called without context".
2018-10-03wallet2: disable height based segregationmoneromooo-monero1-3/+3
It can still be enable via DNS if a key reusing fork pops up
2018-10-02Merge pull request #4490Riccardo Spagni1-1/+1
bccd88dd wallet2: clear found out for every tx key (doy-lee)
2018-10-02wallet2: clear found out for every tx keydoy-lee1-1/+1
Avoids triggering the sanity check
2018-10-01Arbitrary M/N multisig schemes:naughtyfox1-98/+304
* support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation
2018-10-01wallet: fix --generate-from-json using wrong passwordmoneromooo-monero1-4/+9
2018-09-29Merge pull request #4333Riccardo Spagni1-0/+24
73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
2018-09-29Merge pull request #4461Riccardo Spagni1-1/+5
7dd11711 wallet2: fix transfers between subaddresses hitting the sanity check (moneromooo-monero)
2018-09-29Merge pull request #4456Riccardo Spagni1-2/+9
06d05c21 device: set device name correctly if key_on_device is set (Dusan Klinec)
2018-09-29Merge pull request #4406Riccardo Spagni1-3/+27
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
2018-09-25wallet2: fix duplicate output making it to the RPCmoneromooo-monero1-8/+33
2018-09-21Merge pull request #4401Riccardo Spagni1-9/+31
66901901 README: harmonize command formatting inside README.md (Andrea) 8cd98408 disable AES on s390x architecture (Tuan M. Hoang) 4ed30bab wallet: implement coin splitting for sweep_* 'outputs' option (whythat) 24f52396 wallet: add 'outputs' option for sweep_* commands (whythat) 52e19d69 README: Compile boost with cxxflags=-fPIC cflags=-fPIC (Italocoin Project) 0c77523d README: fill in libsodium package name for Arch (phloatingman)
2018-09-19query backing devicem2049r1-12/+68
2018-09-18Merge pull request #4360Riccardo Spagni1-1/+6
7a76354c wallet2: import_multisig forward refresh exception (naughtyfox)
2018-09-18Merge pull request #4302Riccardo Spagni1-6/+5
ba8dd347 api/wallet: properly disable key encryption (stoffu)
2018-09-18wallet: implement coin splitting for sweep_* 'outputs' optionwhythat1-3/+25
Implemented strategy splits total amount into N equal parts, where N is a specified number of outputs. If N > 1, dummy change output is NOT created. rebased by moneromooo
2018-09-18wallet: add 'outputs' option for sweep_* commandswhythat1-6/+6
'outputs' option allows to specify the number of separate outputs of smaller denomination that will be created by sweep operation. rebased by moneromooo
2018-09-17api/wallet: properly disable key encryptionstoffu1-6/+5
2018-09-14hw_device: support for multiple devices added [for review]Dusan Klinec1-2/+49
- device name is a new wallet property - full device name is now a bit more structured so we can address particular device vendor + device path. Example: 'Ledger', 'Trezor:udp', 'Trezor:udp:127.0.0.1:21324', 'Trezor:bridge:usb01'. The part before ':' identifies HW device implementation, the optional part after ':' is device path to look for. - new --hw-device parameter added to the wallet, can name the hardware device - device reconnect added
2018-09-14Merge pull request #4324Riccardo Spagni1-29/+32
44259e56 wallet: ask-password can now ask without encrypting the secret spend key (moneromooo-monero)
2018-09-14wallet: ask-password can now ask without encrypting the secret spend keymoneromooo-monero1-29/+32
2018-09-14Merge pull request #4347Riccardo Spagni1-1/+1
df0e7c2f wallet2: fix secondary partially signed multisig txes (moneromooo-monero)
2018-09-14Merge pull request #4336Riccardo Spagni1-0/+1
5f8f5631 wallet2.get_reserve_proof: throw when specified amount is zero (stoffu)
2018-09-14Merge pull request #4332Riccardo Spagni1-111/+40
20171746 wallet2: factor the creation of a new wallet keys file (moneromooo-monero) be6acfd5 wallet2: factor new blockchain setup (moneromooo-monero)
2018-09-14Merge pull request #4331Riccardo Spagni1-1/+1
88fbc4a5 wallet2: fill in v2 height for stagenet (moneromooo-monero)
2018-09-14Merge pull request #4253Riccardo Spagni1-174/+1
be001326 remove obsolete daemon selection of fake outs and old tx construction (moneromooo-monero)
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero1-174/+1
2018-09-14Merge pull request #4260Riccardo Spagni1-8/+9
a54dbaee blockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero) 44439c32 record blackballs as amount/offset, and add export ability (moneromooo-monero) 4bce935b blockchain_blackball: more optimizations (moneromooo-monero) b66ba783 blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero) 639a3c01 blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero) eb8a51be blockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero) d6d276c6 blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero) 2b2a681b blockchain_blackball: avoid false positives for different amounts (moneromooo-monero) 80e4fef3 blockchain_blackball: set transaction looping txn to read only (moneromooo-monero) 4801d6b5 blockchain_blackball: add stats (moneromooo-monero) 846190fd blockchain_blackball: support pre-v2 databases (moneromooo-monero) daa6cc7d blockchain_blackball: use LMDB for the cache (moneromooo-monero) 50cb370d ringdb: allow blackballing many outputs at once (moneromooo-monero)
2018-09-14Merge pull request #4221Riccardo Spagni1-5/+9
62511df6 wallet2: fix refresh retry when a block/tx fails to parse (moneromooo-monero) b219c24c wallet2: trim hash chain after fast refresh of hashes (moneromooo-monero) 5b6bcca3 wallet2: fix checking the wrong vector when adding hashes (moneromooo-monero)
2018-09-11wallet2: bump testnet rollback to account for coming reorgmoneromooo-monero1-1/+1
2018-09-11Check inputs to addKeys are in rangemoneromooo-monero1-0/+2
Reported by QuarksLab.
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-137/+259
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero1-2/+1
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11bulletproofs: add multi output bulletproofs to rctmoneromooo-monero1-12/+30
2018-09-10wallet2: import_multisig forward refresh exceptionnaughtyfox1-1/+6
2018-09-10record blackballs as amount/offset, and add export abilitymoneromooo-monero1-6/+8
2018-09-09ringdb: allow blackballing many outputs at oncemoneromooo-monero1-2/+1
It cuts down on txn commits, and speeds up blackballing substantially
2018-09-08wallet2: fix secondary partially signed multisig txesmoneromooo-monero1-1/+1
2018-09-04Merge pull request #4270luigi11111-0/+2
29dea03 epee: resize vectors where possible in serialization (moneromooo-monero) 76affd9 epee: some speedup in parsing (moneromooo-monero) dc6c069 db_lmdb: speedup the get_output_distribution common case (moneromooo-monero) 76ac5a8 wallet2: ask for a binary output distribution, for speed (moneromooo-monero)
2018-09-04Merge pull request #4268luigi11111-0/+2
1f2409e Do memwipe for critical secret keys copied to rct::key (stoffu)
2018-09-04Merge pull request #4252luigi11111-28/+1
ac09cfa wallet2: remove obsolete pruned/unpruned case (moneromooo-monero)
2018-09-04wallet2.get_reserve_proof: throw when specified amount is zerostoffu1-0/+1
2018-09-03wallet2: factor the creation of a new wallet keys filemoneromooo-monero1-75/+24
2018-09-03wallet2: factor new blockchain setupmoneromooo-monero1-36/+16
2018-09-03wallet2: fill in v2 height for stagenetmoneromooo-monero1-1/+1
2018-08-23wallet: store trusted-daemon flag in wallet2stoffu1-27/+54
2018-08-22Merge pull request #4247luigi11111-1/+1
10475ab node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
2018-08-22Merge pull request #4202luigi11111-0/+1
8439306 wallet2: do not divide by 0 on invalid daemon response (moneromooo-monero)
2018-08-22wallet2: fix refresh retry when a block/tx fails to parsemoneromooo-monero1-4/+5
It would switch to a new set of blocks and fail, getting out of sync with the hash chain in the process
2018-08-22wallet2: trim hash chain after fast refresh of hashesmoneromooo-monero1-0/+1
This ensures it can't end up filled with the actual placeholders
2018-08-22wallet2: fix checking the wrong vector when adding hashesmoneromooo-monero1-1/+3
The two vectors should be the same size anyway, so add an assert to catch any case where they aren't
2018-08-19wallet2: ask for a binary output distribution, for speedmoneromooo-monero1-0/+2
2018-08-16Do memwipe for critical secret keys copied to rct::keystoffu1-0/+2
2018-08-16crypto: make secret_key automatically mlockmoneromooo-monero1-1/+1
2018-08-16store secret keys encrypted where possiblemoneromooo-monero1-51/+261
The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
2018-08-16wallet: wipe seed from memory where appropriatemoneromooo-monero1-13/+31
2018-08-16wallet2: make --restricted-rpc available for wallet RPC onlystoffu1-6/+2
2018-08-15Merge pull request #4194luigi11111-4/+3
0f75717 wallet2: avoid using arbitrary random values when unknown (moneromooo-monero)
2018-08-15Merge pull request #4193luigi11111-2/+4
4520cfd wallet2: guard against bad outputs in import_outputs (moneromooo-monero)
2018-08-15Merge pull request #4188luigi11111-0/+48
a3fe1c5 simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
2018-08-15Merge pull request #4174luigi11111-21/+15
ff37bd0 wallet2: fix O(n^2) behaviour in import_key_images (moneromooo-monero)
2018-08-15Merge pull request #4170luigi11111-0/+8
1c6cfd3 wallet-rpc: add get_address_index command (stoffu)
2018-08-15Merge pull request #4153luigi11111-0/+2
37f0799 wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
2018-08-15Merge pull request #4150luigi11111-2/+3
f2e65c6 wallet2: consider minimum fee when testing if balance is sufficient (stoffu)
2018-08-15Merge pull request #4103luigi11111-10/+15
bcab579 wallet: allow adjusting number of rounds for the key derivation function (stoffu)
2018-08-15Merge pull request #3528luigi11111-29/+114
34d4b79 wallet2: use a gamma distribution to pick fake outs (moneromooo-monero)
2018-08-13node_rpc_proxy: fix fork earliest height caching [RYO backport]fireice-uk1-1/+1
xref https://github.com/ryo-currency/ryo-currency/pull/86
2018-08-13wallet2: remove obsolete pruned/unpruned casemoneromooo-monero1-28/+1
All daemons will not support pruned blocks
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu1-10/+15
2018-08-03wallet: distinguish coinbase from other txes in show_transfersmoneromooo-monero1-0/+2
2018-07-31wallet2: do not divide by 0 on invalid daemon responsemoneromooo-monero1-0/+1
2018-07-31wallet-rpc: add get_address_index commandstoffu1-0/+8
2018-07-30wallet2: avoid using arbitrary random values when unknownmoneromooo-monero1-4/+3
2018-07-30wallet2: guard against bad outputs in import_outputsmoneromooo-monero1-2/+4
also some minor speedup
2018-07-30simplewallet: add set_tx_key for importing tx keys from 3rd party walletsstoffu1-0/+48
2018-07-27Merge pull request #4109luigi11111-4/+2
2951436 wallet: warn when payment IDs are used (moneromooo-monero)
2018-07-27Merge pull request #4091luigi11111-9/+40
a4272de wallet2: unlock keys file before calling verify_password (needed for Windows) (stoffu)
2018-07-24wallet2: fix O(n^2) behaviour in import_key_imagesmoneromooo-monero1-21/+15
That takes a lot of time for even not so large wallets
2018-07-19Merge pull request #4088luigi11111-42/+16
8c4db68 node_rpc_proxy: factor a few RPC calls using get_info (moneromooo-monero)
2018-07-19Merge pull request #4087luigi11111-4/+32
d6440ab wallet2: recover from index out of hashchain bounds error (moneromooo-monero)
2018-07-19Merge pull request #4071luigi11111-0/+19
d6d78f1 Allow fractional outputs to be ignored (stoffu)
2018-07-19Merge pull request #4033luigi11111-2/+2
3e46db9 rpc: add a non binary get_transaction_pool_hashes RPC (moneromooo-monero)
2018-07-19wallet2: consider minimum fee when testing if balance is sufficientstoffu1-2/+3
2018-07-16wallet2: recover from index out of hashchain bounds errormoneromooo-monero1-4/+32
This can happen when there's a very large reorg on the daemon (ie, on testnet)
2018-07-12wallet: warn when payment IDs are usedmoneromooo-monero1-4/+2
Subaddresses are better for privacy
2018-07-08wallet2: ensure outputs are processed only oncemoneromooo-monero1-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
2018-07-03wallet2: use a gamma distribution to pick fake outsmoneromooo-monero1-29/+114
as per "An Empirical Analysis of Linkability in the Monero Blockchain", by Miller et al.
2018-07-03Merge pull request #3985Riccardo Spagni1-10/+24
58cceaad wallet2: fix double counting outs if the tx pubkey is duplicated (moneromooo-monero)
2018-07-03Merge pull request #4041Riccardo Spagni1-1/+1
df9d50a8 wallet2: fix read buffer overflow in import_key_images (moneromooo-monero)
2018-07-03Merge pull request #4028Riccardo Spagni1-1/+1
2a19697b wallet2: fix double header in unsigned transfer file (moneromooo-monero)
2018-07-03Merge pull request #4004Riccardo Spagni1-0/+1
bc443494 wallet2: fix out of sync account tag cache (moneromooo-monero)
2018-07-03wallet2: fix double counting outs if the tx pubkey is duplicatedmoneromooo-monero1-10/+24
2018-07-03wallet2: unlock keys file before calling verify_password (needed for Windows)stoffu1-9/+40
Also added notes to WalletManager::verifyWalletPassword (which afaik seems unused by anyone at the moment) regarding the need to unlock the keys file beforehand.
2018-07-03Allow fractional outputs to be ignoredstoffu1-0/+19
2018-07-02node_rpc_proxy: factor a few RPC calls using get_infomoneromooo-monero1-42/+16
Takes advantage of caching
2018-06-27Merge pull request #4067luigi11111-1/+1
9a39b7d wallet2: fix build for windows (std::max again) (moneromooo-monero)
2018-06-28wallet: prevent the same wallet file from being opened by multiple processesstoffu1-0/+8
2018-06-28wallet2: fix build for windows (std::max again)moneromooo-monero1-1/+1
2018-06-27Merge pull request #3907luigi11111-1/+12
dcbc17e wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
2018-06-27Merge pull request #3998luigi11111-13/+19
8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
2018-06-27Merge pull request #3995luigi11111-5/+5
0a5292c wallet2: use decoded amount when reporting repeated output key (stoffu)
2018-06-27Merge pull request #3992luigi11111-6/+14
25c15dc wallet2: use correct fee for split txes (stoffu)
2018-06-27Merge pull request #3991luigi11111-0/+10
798dfcf wallet: allow unspendable unmixable outputs to be discarded (stoffu)
2018-06-27Merge pull request #3982luigi11111-14/+4
08b85a8 cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu) 0cf80ba net_node: resolve host for node addresses given via command line flags (stoffu)
2018-06-27wallet: include a suggested number of confirmations based on amountmoneromooo-monero1-1/+12
This is based on how much an attacking miner stands to lose in block rewardy by mining a private chain which double spends a payment. This is not foolproof, since mining is based on luck, and breaks down as the attacking miner nears 50% of the network hash rate, and the estimation is based on a constant block reward.
2018-06-27Merge pull request #3716luigi11111-186/+327
a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
2018-06-26wallet2: cache ringdb key while refreshingmoneromooo-monero1-23/+33
Speeds up syncing with a lot of outgoing outputs as key generation runs Cryptonight.
2018-06-26threadpool: allow leaf functions to run concurrentlymoneromooo-monero1-17/+17
Decrease the number of worker threads by one to account for the fact the calling thread acts as a worker thread now
2018-06-26wallet2: remove unneeded divisionsmoneromooo-monero1-2/+2
2018-06-26wallet2: remove old blockchain size cache hackmoneromooo-monero1-14/+2
2018-06-26wallet2: speedup refreshmoneromooo-monero1-57/+238
key derivation and checking for incoming outputs are threaded in batch before adding blocks to the local blockchain. Other minor bits and bobs are also cached.
2018-06-26wallet2: avoid re-parsing blocks when refreshing in a loopmoneromooo-monero1-7/+4
2018-06-26wallet2: avoid duplicate parsing of tx extramoneromooo-monero1-9/+12
2018-06-26wallet2: remove useless device lockingmoneromooo-monero1-2/+1
2018-06-26wallet2: parse blocks in the RPC thread, not the processing threadmoneromooo-monero1-32/+41
Processing typically is the bottleneck
2018-06-26wallet2: simplify/speedup process_blocksmoneromooo-monero1-66/+17
2018-06-26wallet: don't process miner tx if we're refreshing with no-coinbasemoneromooo-monero1-1/+3
2018-06-26replace std::list with std::vector on some hot pathsmoneromooo-monero1-11/+11
also use reserve where appropriate
2018-06-26rpc: add option to skip coinbase info in get_blocks.binmoneromooo-monero1-0/+1
2018-06-26wallet2: use std::move on containers where appropriatemoneromooo-monero1-4/+4
2018-06-25Merge pull request #3955luigi11111-4/+4
d7a6b72 wallet2: fix bulletproof cold signing (moneromooo-monero)
2018-06-25Merge pull request #3941luigi11111-2/+2
bf26920 wallet2: fix get_approximate_blockchain_height for stagenet (stoffu)
2018-06-23wallet2: fix read buffer overflow in import_key_imagesmoneromooo-monero1-1/+1
2018-06-21rpc: add a non binary get_transaction_pool_hashes RPCmoneromooo-monero1-2/+2
2018-06-21wallet2: lower default for subaddress lookahead when restoring with hardwarestoffu1-0/+6
2018-06-19wallet2: fix double header in unsigned transfer filemoneromooo-monero1-1/+1
2018-06-19Merge pull request #3878luigi11111-1/+1
5a412b7 disable file size sanity check when loading the wallet cache (moneromooo-monero)
2018-06-16Merge pull request #3804luigi11111-0/+8
89e51ec simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet (jcktm)
2018-06-16Merge pull request #3780luigi11111-26/+157
9c2a7b4 wallet-rpc: watch-only and cold wallet features added (ph4r05)
2018-06-16Merge pull request #3762luigi11111-2/+3
eb9f3a3 check_spend_proof (itssteven)
2018-06-15wallet2: fix out of sync account tag cachemoneromooo-monero1-0/+1
This would cause crashes when trying to tag an account that was just created
2018-06-13wallet: on first refresh, start off with a quantized heightmoneromooo-monero1-13/+19
for privacy reasons, so an untrusted node can't easily track wallets from IP address to IP address, etc. The granularity is 1024 blocks, which is about a day and a half.