aboutsummaryrefslogtreecommitdiff
path: root/src/wallet (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16wallet2: remember which output keys map to which key imagesmoneromooo-monero2-16/+101
This allows filling in transfer_details when a cold signed tx gets seen in a block next
2019-01-07wallet_api: fix usage of LOG_ERRORmoneromooo-monero1-10/+10
2019-01-02wallet api/device: set estimated restore height if none is providedselsta4-0/+15
2018-12-31wallet2: speedup output trackingmoneromooo-monero2-13/+49
It can get heavy for large wallets
2018-12-31wallet: optionally keep track of owned outputs usesmoneromooo-monero2-3/+34
2018-12-30wallet: do not display daemon controlled text if untrustedmoneromooo-monero2-26/+76
2018-12-24wallet_rpc_server: add all field to export_key_imagesmoneromooo-monero4-6/+12
To use if you want all key images, not just the ones for recently imported outputs
2018-12-22message_store: fix error message adding const char * with offsetmoneromooo-monero1-7/+7
2018-12-21wallet2: finalize_multisig now rejects non N-1/N multisig walletsmoneromooo-monero1-0/+17
2018-12-19Remove unused hash in export_key_imagesdoy-lee1-3/+0
2018-12-18build: protobuf dependency fixes, libusb buildDusan Klinec1-0/+6
- docker protobuf dependencies, cross-compilation - device/trezor protobuf build fixes, try_compile - libusb built under all platforms, used by trezor for direct connect
2018-12-16wallet2: cut down on the number of useless derivation threadsmoneromooo-monero1-6/+9
2018-12-16wallet2: fix accessing unwound stack on exceptionmoneromooo-monero1-4/+12
2018-12-14Sync hashchain bug fixednaughtyfox1-4/+3
2018-12-14Wallet: Initialize members without default ctor.Tadeas Moravec1-0/+2
Found by Coverity (188336 in Anonimal's Coverity account).
2018-12-12MMS (Multisig Messaging System): Initial versionrbrunner78-7/+2453
2018-12-08wallet2: clear all payments on soft rescan_bcmoneromooo-monero1-0/+4
They'll get duplicated otherwise
2018-12-04device/trezor: ask for KI sync on first refreshDusan Klinec2-6/+15
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 Klinec2-0/+23
- 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-11-29device/trezor: passphrase entry on hostDusan Klinec3-3/+79
- 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-26rpc: speedup get_outs.binmoneromooo-monero1-0/+1
2018-11-23wallet_rpc_server: do not use RPC data if the call failedmoneromooo-monero1-1/+2
Found by codacy.com
2018-11-23remove some unused codemoneromooo-monero1-5/+0
Found by codacy.com
2018-11-23a few minor (but easy) performance tweaksmoneromooo-monero2-4/+4
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 signaturenaughtyfox2-18/+63
2018-11-20rpc: speedup get_output_distributionmoneromooo-monero1-2/+5
and decrease the amount of data carried around
2018-11-15Removed a lot of unnecessary includesMartijn Otto3-1/+3
2018-11-15various: do not propagate exception through dtormoneromooo-monero1-1/+6
Coverity 189689, 189690, 189692, 189695
2018-11-07api/wallet: fix compile errors made in #4720stoffu1-3/+3
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-06Fix build of monero-gui by adding device_trezor to wallet_mergedburicl1-1/+2
2018-11-05wallet2: fix off by one in output pickingmoneromooo-monero1-12/+19
and take into account wallet level minimum spend age
2018-11-05wallet_rpc_server: account for watch-only/non-deterministic/multisig when ↵stoffu1-1/+32
querying seed Followup on #4653
2018-11-04wallet2: only export necessary outputs and key imagesmoneromooo-monero4-59/+106
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-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: warn if lockable memory limit is too lowmoneromooo-monero1-0/+8
2018-11-03wallet: add a non destructive blockchain rescanmoneromooo-monero4-5/+24
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 Klinec3-27/+154
2018-11-02wallet_rpc_server: include additional tx keys in sign_transfer responsestoffu1-0/+4
Followup on #4552
2018-10-31wallet2: use padded bulletproofs for multisig signingstoffu1-4/+1
Analogous to #4540
2018-10-29wallet-rpc: add on_restore_deterministic RPC call.Hasan Pekdemir3-1/+234
2018-10-29wallet2: initialize amount to 0 in tx_scan_info_t ctormoneromooo-monero1-1/+1
It seems the more prudent thing to do here. It will not catch attempts to use that value before it is initialized when using ASAN or valgrind, but in a case where it does, it will have smaller repercussions. So it seems appropriate in this particular case. Coverity 182498
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-25simplewallet: display locked/unlocked state in show_transfersmoneromooo-monero1-1/+2
it doesn't display the details, which are already displayed in show_transfer
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-18Add RPC error code for non-deterministic walletMichał Sałaban2-0/+2
2018-10-18Rename "blackball" for claritymoneromooo-monero3-6/+6
Apparently some people seem to think it's a censorship list...
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-16wallet2: initialize some scalar fields in ctor where appropriatemoneromooo-monero1-0/+4
Coverity 188336
2018-10-16WalletAPI: rescanBlockchain, rescanBlockchainAsyncmmitkevich3-2/+38
2018-10-13SOFTWARE is the default wallet devicem2049r1-0/+1
2018-10-12Remove epee header dependency on cryptonote_coremoneromooo-monero1-0/+1
2018-10-11Return appropriate RPC error code when key image signature check failsMichał Sałaban3-1/+15
2018-10-10wallet_rpc_server: optionally return tx keys in sign_transfermoneromooo-monero3-0/+10
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-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-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-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-28wallet_rpc_server: remove verbose field in incoming_transfers querymoneromooo-monero2-3/+1
The key image (which was only supplied if verbose was true) is readily available, not a secret key, and it was only modelled after the CLI command because it's a bit spammy for the CLI.
2018-09-25wallet2: fix duplicate output making it to the RPCmoneromooo-monero1-8/+33
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: use unique_ptr for WalletImpl membersoneiric2-22/+16
Use unique_ptr to manage WalletImpl internals, rather than raw pointers.
2018-09-22wallet2: handle corner case in picking fake outputsmoneromooo-monero1-3/+27
If we originally think we have enough outputs on the blockchain to pick random fake outputs, we might end up with not enough of them if enough are actually blackballed.
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-21WalletAPI: multisigSignData bug fixednaughtyfox1-1/+5
2018-09-20ringdb: use cursors to be a bit fastermoneromooo-monero1-7/+8
2018-09-19query backing devicem2049r7-14/+109
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-14wallet: ask-password can now ask without encrypting the secret spend keymoneromooo-monero2-39/+48
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero4-382/+8
2018-09-12wallet: use wipeable_string in more places where a secret is usedmoneromooo-monero1-15/+24
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-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-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-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-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-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-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-28api/wallet: add missing arg to wallet2::refresh()stoffu1-1/+1
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-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-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-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-19wallet2: fix double header in unsigned transfer filemoneromooo-monero1-1/+1
2018-06-15Fix RPC crashes that didn't check for an open walletHoward Chu1-0/+6
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-monero3-20/+27
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-13mlog: --max-log-files to set the max number of rotated log filesstoffu1-1/+3
2018-06-13wallet: allow unspendable unmixable outputs to be discardedstoffu2-0/+11
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-07wallet2: fix bulletproof cold signingmoneromooo-monero2-5/+11
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