aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
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-14Merge pull request #4761Riccardo Spagni1-12/+19
6e1282b6 wallet2: fix off by one in output picking (moneromooo-monero)
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.
2018-06-13wallet: allow unspendable unmixable outputs to be discardedstoffu1-0/+10
2018-06-13wallet2: use decoded amount when reporting repeated output keystoffu1-5/+5
2018-06-12wallet2: use correct fee for split txesstoffu1-6/+14
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? ↵stoffu1-14/+4
config::testnet::X : stagenet ? config::stagenet::X : config::X
2018-06-08Merge pull request #3598luigi11111-0/+36
b21bc00 Wallet: added methods to sign and verify arbitrary message with multisig public signer's key (libwallet & wallet api) (naughtyfox)
2018-06-07Merge pull request #3890luigi11111-1/+1
f80b157 wallet2: don't ask for pruned txes yet, we still parse the entire tx (moneromooo-monero)
2018-06-07wallet2: fix bulletproof cold signingmoneromooo-monero1-4/+4
Cold signing was always using Borromean range proofs, causing a larger tx, and an incorrect fee
2018-06-06wallet2: fix get_approximate_blockchain_height for stagenetstoffu1-2/+2
2018-06-03wallet-rpc: watch-only and cold wallet features addedDusan Klinec1-26/+157
- unsigned_txset, signed_txset in transfer / submit_transfer / sign_transfer - export_outputs, import_outputs Squashed commits: [f4d9f3d4] wallet-rpc: do_not_relay removed from submit_transfer [5b16a86f] wallet-rpc: review-fix - method signature changes, renaming [b7fbb10a] wallet-rpc: naming fixes (unsigned vs signed), consts renamed [8c7d2727] wallet-rpc: sign_transfer added [481d024a] wallet2: sign_tx splitted to work with strings and structs, more granular [2a474db9] wallet-rpc: wallet2::load_unsigned_tx split to load from str, file [b1e3a018] wallet-rpc: review fix, load_tx_from_str variable rename [1f6373be] wallet-rpc: review fix: save_tx_to_{str,file} [2a08eafc] wallet-rpc: review comments fixes - redundant this removed from wallet2.cpp - load_tx_from_str, load_tx_from_file [43498052] wallet-rpc: submit_transfer added [9c45d1ad] wallet-rpc: watch_only check, return unsigned_txset [62831396] wallet2: added string variants to load_tx, save_tx - analogously to save_multisig_tx - required for monero-wallet-rpc to support watch-only wallet
2018-05-31Merge pull request #3489luigi11111-2/+6
47fdb74 WalletApi: getMultisigInfo entry for gui wallets... (naughtyfox) 47fdb74 Refactored: work with wallet api statuses to make setting and getting operations atomic along with error strings (naughtyfox)
2018-05-31wallet2: don't ask for pruned txes yet, we still parse the entire txmoneromooo-monero1-1/+1
2018-05-31wallet: fix shared ring db pathstoffu1-4/+6
2018-05-29Merge pull request #3405luigi11111-18/+26
80d2f80 wallet2: Update function parameter documentation (leonklingele)
2018-05-28disable file size sanity check when loading the wallet cachemoneromooo-monero1-1/+1
2018-05-20Fix output shuffling for multisigstoffu1-2/+2
2018-05-15simple-wallet-cli: Add warnings about inaccurate balances to to watch-only ↵jcktm1-0/+8
wallet
2018-05-10wallet2: consider 6 outputs or less to be unmixable from v7moneromooo-monero1-2/+2
2018-05-06check_spend_proofitssteven1-2/+3
My intention is to mitigate #3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: https://github.com/monero-integrations/monerophp/issues/72 & my temp fix: https://github.com/monero-integrations/monerophp/pull/74
2018-04-28Merge pull request #3685Riccardo Spagni1-0/+3
ffeeefde speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero) 2dae0f20 wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
2018-04-28Merge pull request #3650Riccardo Spagni1-1/+6
5bd7f760 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
2018-04-25Wallet: added methods to sign and verify arbitrary message with multisig ↵naughtyfox1-0/+36
public signer's key (libwallet & wallet api)
2018-04-23wallet2: add missing parameters to get_output_histogrammoneromooo-monero1-0/+3
2018-04-21import_multisig_info: fix sanity check crash in detach_blockchainMikhail Mitkevichl1-1/+6