aboutsummaryrefslogtreecommitdiff
path: root/src/wallet (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-10-26Merge pull request #4539Riccardo Spagni3-1/+229
977fc1bc wallet_rpc_server: add describe_transfer RPC (moneromooo-monero)
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-20Merge pull request #4518Riccardo Spagni1-3/+18
92a0827e wallet2: make fake out selection messages less spammy (moneromooo-monero)
2018-10-18Rename "blackball" for claritymoneromooo-monero3-6/+6
Apparently some people seem to think it's a censorship list...
2018-10-16Merge pull request #4623Riccardo Spagni1-2/+1
99d45a95 wallet_rpc_server: fix change_wallet_password RPC (moneromooo-monero)
2018-10-16wallet_rpc_server: fix change_wallet_password RPCmoneromooo-monero1-2/+1
2018-10-16wallet2_api: fix generating new wallet in the GUImoneromooo-monero1-1/+1
It was creating a new wallet without a password first (this should be fixed), then not changing the password correctly
2018-10-15Merge pull request #4577Riccardo Spagni1-0/+1
d886b97f SOFTWARE is the default wallet device (m2049r)
2018-10-13SOFTWARE is the default wallet devicem2049r1-0/+1
2018-10-12Remove epee header dependency on cryptonote_coremoneromooo-monero1-0/+1
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-09wallet_rpc_server: add describe_transfer RPCmoneromooo-monero3-1/+229
for unsigned tx sets using a view only wallet
2018-10-07Merge pull request #4036Riccardo Spagni8-99/+419
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-05Merge pull request #4495Riccardo Spagni1-3/+3
34a85e0c wallet2: disable height based segregation (moneromooo-monero)
2018-10-04wallet2_api: fix build with C++14moneromooo-monero1-7/+14
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-02Merge pull request #4484Riccardo Spagni2-9/+17
2c74b1a1 wallet_rpc_server: include all transfer records for a txid (moneromooo-monero)
2018-10-02Merge pull request #4482Riccardo Spagni3-6/+12
25e5890d wallet: fix --generate-from-json using wrong password (moneromooo-monero)
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:naughtyfox8-99/+419
* 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_rpc_server: include all transfer records for a txidmoneromooo-monero2-9/+17
Since subaddresses were added, a tx can now create more than one payment
2018-10-01wallet: fix --generate-from-json using wrong passwordmoneromooo-monero3-6/+12
2018-09-30wallet2_api: blackball/unblackball now take two parametersmoneromooo-monero3-2/+28
amount and offset (instead of pubkey)
2018-09-29Merge pull request #4333Riccardo Spagni2-0/+29
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 #4459Riccardo Spagni1-0/+3
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
2018-09-29Merge pull request #4458Riccardo Spagni2-3/+3
921b0fb1 use default create_address_file argument (m2049r)
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 #4427Riccardo Spagni2-3/+1
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)
2018-09-29Merge pull request #4417Riccardo Spagni2-22/+16
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
2018-09-29Merge pull request #4409Riccardo Spagni1-1/+5
7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox)
2018-09-29Merge pull request #4407Riccardo Spagni1-7/+8
43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
2018-09-29Merge pull request #4406Riccardo Spagni1-3/+27
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
2018-09-25Merge pull request #4438Riccardo Spagni1-8/+33
e350cc5a wallet2: fix duplicate output making it to the RPC (moneromooo-monero) bf9a0f4c epee: fix stack overflow on crafted input (moneromooo-monero) 45683ee0 epee: fix invalid memory write reading an array entry (moneromooo-monero)
2018-09-25wallet2: fix duplicate output making it to the RPCmoneromooo-monero1-8/+33
2018-09-25Merge pull request #4422Riccardo Spagni3-3/+3
6e270fbd wallet2_api: fix for latest code changes (moneromooo-monero)
2018-09-25Merge pull request #4433Riccardo Spagni2-2/+2
b35beaa8 wallet_rpc_server: include account index in incoming_transfers RPC (moneromooo-monero)
2018-09-24wallet_rpc_server: include account index in incoming_transfers RPCmoneromooo-monero2-2/+2
2018-09-22wallet2_api: fix for latest code changesmoneromooo-monero3-3/+3
2018-09-22wallet_rpc_server: fix --run-as-service on Windowsmoneromooo-monero1-0/+1
Thanks iDunk for the windows testing
2018-09-21wallet_rpc_server: fix build for windowsmoneromooo-monero1-8/+17
Thanks iDunk for building patches on windows
2018-09-21Merge pull request #4401Riccardo Spagni4-14/+54
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-21Merge pull request #4394Riccardo Spagni1-5/+5
b7660149 node_rpc_proxy: return a non empty error string on connection failure (moneromooo-monero)
2018-09-19query backing devicem2049r7-14/+109
2018-09-18Merge pull request #4387Riccardo Spagni3-18/+38
6e6ffc06 wallet2_api: bring up to latest wallet api (moneromooo-monero)
2018-09-18Merge pull request #4361Riccardo Spagni3-0/+20
26971d46 WalletAPI: 'hasMultisigPartialKeyImages' function added (naughtyfox)
2018-09-18Merge pull request #4360Riccardo Spagni1-1/+6
7a76354c wallet2: import_multisig forward refresh exception (naughtyfox)
2018-09-18Merge pull request #4306Riccardo Spagni1-15/+24
56b50faa wallet: use wipeable_string in more places where a secret is used (moneromooo-monero) 07ec748c wipeable_string: add hex_to_pod function (moneromooo-monero)
2018-09-18Merge pull request #4302Riccardo Spagni3-10/+9
ba8dd347 api/wallet: properly disable key encryption (stoffu)
2018-09-18Merge pull request #4299Riccardo Spagni2-2/+54
f9b22a7b hw_device: support for multiple devices added [for review] (Dusan Klinec)
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_* commandswhythat4-11/+29
'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 encryptionstoffu3-10/+9
2018-09-17node_rpc_proxy: return a non empty error string on connection failuremoneromooo-monero1-5/+5
This makes it easier to avoid bugs on the caller side if errors are represented by non empty strings. This fixes the refresh height setting in new wallets when no daemon is running.
2018-09-16wallet2_api: bring up to latest wallet apimoneromooo-monero3-18/+38
2018-09-15add daemonizer to rpc walletjcktm2-111/+166
2018-09-14hw_device: support for multiple devices added [for review]Dusan Klinec2-2/+54
- 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 Spagni2-39/+48
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-monero2-39/+48
2018-09-14Merge pull request #4347Riccardo Spagni1-1/+1
df0e7c2f wallet2: fix secondary partially signed multisig txes (moneromooo-monero)
2018-09-14Merge pull request #4337Riccardo Spagni1-1/+6
97764bae wallet_rpc_server: error out if wallet-file and wallet-dir are both used (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 Spagni2-112/+45
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 #4329Riccardo Spagni1-6/+0
45c85c89 remove unused fields from relay_tx RPC (el00ruobuob)
2018-09-14Merge pull request #4253Riccardo Spagni4-382/+8
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-monero4-382/+8
2018-09-14Merge pull request #4260Riccardo Spagni4-61/+90
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-12wallet: use wipeable_string in more places where a secret is usedmoneromooo-monero1-15/+24
2018-09-11Merge pull request #4352Riccardo Spagni1-9/+0
0664a984 wallet_rpc_server: remove some unused code (moneroexamples)
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-monero8-180/+336
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-monero2-14/+32
2018-09-10WalletAPI: 'hasMultisigPartialKeyImages' function addednaughtyfox3-0/+20
2018-09-10wallet2: import_multisig forward refresh exceptionnaughtyfox1-1/+6
2018-09-10record blackballs as amount/offset, and add export abilitymoneromooo-monero4-34/+44
2018-09-09wallet_rpc_server: remove some unused codemoneroexamples1-9/+0
2018-09-09ringdb: allow blackballing many outputs at oncemoneromooo-monero3-41/+60
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-08wallet_rpc_server: error out if wallet-file and wallet-dir are both usedmoneromooo-monero1-1/+6
2018-09-05wallet rpc: Add close_wallet RPCGuillaume LE VAILLANT3-0/+59
And close the current wallet automatically if necessary when opening another wallet.
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 #4269luigi11113-1/+54
3d5abbe [#4027] add change_wallet_password wallet rpc command (artyomsol)
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 #4263luigi11111-2/+0
5ed6669 wallet_rpc_server: remove unused amount_keys field in transfer RPC (moneromooo-monero)
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-monero2-76/+27
2018-09-03wallet2: factor new blockchain setupmoneromooo-monero2-36/+18
2018-09-03wallet2: fill in v2 height for stagenetmoneromooo-monero1-1/+1
2018-09-02remove unused fields from relay_tx RPCel00ruobuob1-6/+0
2018-08-23wallet: store trusted-daemon flag in wallet2stoffu6-78/+95
2018-08-22Merge pull request #4247luigi11112-2/+2
10475ab node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
2018-08-22Merge pull request #4242luigi11113-0/+47
6fcdc9e rpc-wallet: refresh command added (ph4r05)
2018-08-22Merge pull request #4202luigi11111-0/+1
8439306 wallet2: do not divide by 0 on invalid daemon response (moneromooo-monero)
2018-08-22rpc-wallet: refresh command addedDusan Klinec3-0/+47
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-17[#4027] add change_wallet_password wallet rpc commandartyomsol3-1/+54
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-monero5-75/+316
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-monero4-20/+43
2018-08-16wallet2: make --restricted-rpc available for wallet RPC onlystoffu7-49/+47
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 #4188luigi11112-0/+49
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 #4171luigi11112-4/+12
9127a8b wallet-rpc: filter getbalance response by address index (stoffu)
2018-08-15Merge pull request #4170luigi11115-1/+52
1c6cfd3 wallet-rpc: add get_address_index command (stoffu)
2018-08-15Merge pull request #4158luigi11112-1/+35
7db7ec8 wallet rpc: support making integrated address of given standard address (stoffu)
2018-08-15Merge pull request #4153luigi11113-3/+13
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 #4136luigi11112-0/+6
4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
2018-08-15Merge pull request #4103luigi11117-39/+59
bcab579 wallet: allow adjusting number of rounds for the key derivation function (stoffu)
2018-08-15Merge pull request #3528luigi11112-30/+115
34d4b79 wallet2: use a gamma distribution to pick fake outs (moneromooo-monero)
2018-08-15wallet_rpc_server: remove unused amount_keys field in transfer RPCmoneromooo-monero1-2/+0
2018-08-13node_rpc_proxy: fix fork earliest height caching [RYO backport]fireice-uk2-2/+2
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-12wallet: disable core dumps on startup in release modemoneromooo-monero2-0/+6
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu7-39/+59
2018-08-03wallet: distinguish coinbase from other txes in show_transfersmoneromooo-monero3-3/+13
2018-07-31wallet2: do not divide by 0 on invalid daemon responsemoneromooo-monero1-0/+1
2018-07-31wallet-rpc: add get_address_index commandstoffu5-1/+52
2018-07-31wallet-rpc: filter getbalance response by address indexstoffu2-5/+13
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 walletsstoffu2-0/+49
2018-07-27Merge pull request #4109luigi11111-4/+2
2951436 wallet: warn when payment IDs are used (moneromooo-monero)
2018-07-27Merge pull request #4091luigi11115-10/+71
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-20wallet rpc: support making integrated address of given standard addressstoffu2-1/+35
2018-07-19Merge pull request #4088luigi11113-80/+57
8c4db68 node_rpc_proxy: factor a few RPC calls using get_info (moneromooo-monero)
2018-07-19Merge pull request #4087luigi11113-5/+44
d6440ab wallet2: recover from index out of hashchain bounds error (moneromooo-monero)
2018-07-19Merge pull request #4075luigi11111-1/+0
438d52d remove epee from link lines where it's redundant (moneromooo-monero)
2018-07-19Merge pull request #4071luigi11112-0/+22
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-monero3-5/+44
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-monero2-14/+18
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-monero2-30/+115
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 #4035Riccardo Spagni1-0/+2
66df13a5 wallet-rpc.getaddress: throw if index is out of bound (stoffu)
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 #4005Riccardo Spagni1-0/+6
b85acb4c Fix RPC crashes that didn't check for an open wallet (Howard Chu)
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)stoffu5-10/+71
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 ignoredstoffu2-0/+22
2018-07-02node_rpc_proxy: factor a few RPC calls using get_infomoneromooo-monero3-80/+57
Takes advantage of caching
2018-06-28remove epee from link lines where it's redundantmoneromooo-monero1-1/+0
For some reason, this confuses and kills ASAN on startup as it thinks const uint8_t ipv4_network_address::ID is defined multiple times.
2018-06-27Merge pull request #4067luigi11111-1/+1
9a39b7d wallet2: fix build for windows (std::max again) (moneromooo-monero)
2018-06-28api/wallet: add missing arg to wallet2::refresh()stoffu1-1/+1
2018-06-27Merge pull request #4000luigi11117-165/+164
4510f41 Wallet API: add some missing override keyword (stoffu)
2018-06-27Merge pull request #3994luigi11113-0/+10
1d17647 epee.string_tools: add conversion between UTF-8 and UTF-16 (stoffu) 59de6f8 util: add file_locker class (stoffu) 3d623a8 wallet: prevent the same wallet file from being opened by multiple processes (stoffu)
2018-06-28Wallet API: add some missing override keywordstoffu7-165/+164
Also remove dust() from UnsignedTransactionImpl (already in PendingTransactionImpl)
2018-06-28wallet: prevent the same wallet file from being opened by multiple processesstoffu3-0/+10
2018-06-28wallet2: fix build for windows (std::max again)moneromooo-monero1-1/+1
2018-06-27wallet_rpc_server: fix build - forgot to build rpc versionmoneromooo-monero1-3/+3
2018-06-27Merge pull request #3907luigi11114-3/+45
dcbc17e wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
2018-06-27Merge pull request #3998luigi11113-20/+27
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 #3991luigi11112-0/+11
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-monero4-3/+45
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 #3716luigi11112-194/+374
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-monero2-23/+47
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-monero2-16/+3
2018-06-26wallet2: speedup refreshmoneromooo-monero2-59/+258
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-monero2-8/+5
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-monero2-34/+51
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-monero2-15/+15
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 #3955luigi11112-5/+11
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-21Wallet API: add support for wallet creation from hardware devicestoffu5-1/+95
2018-06-21wallet2: lower default for subaddress lookahead when restoring with hardwarestoffu1-0/+6
2018-06-21wallet-rpc.getaddress: throw if index is out of boundstoffu1-0/+2
2018-06-20Merge pull request #3939luigi11111-0/+4
62c8c07 wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
2018-06-20Merge pull request #3897luigi11111-1/+3
63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)