aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-12-31wallet: optionally keep track of owned outputs usesmoneromooo-monero2-16/+75
2018-12-31Merge pull request #4948luigi11111-2/+12
1d892ec simplewallet: donate command validate amount (selsta)
2018-12-23Simplewallet: Unify usage messages.Tadeas Moravec1-144/+230
Help messages describe the commands usage. When users run the command with wrong arguments, it usually helpfully offers the usage, too. Unfortunately, these two usage messages were duplicated in the code and started to get out of sync. Fixing with constant strings.
2018-12-12MMS (Multisig Messaging System): Initial versionrbrunner72-120/+1410
2018-12-12Merge pull request #4897Riccardo Spagni1-8/+21
9b5efad2 simplewallet: enable donation on testnet/stagenet for easier testing (stoffu)
2018-12-12Merge pull request #4839Riccardo Spagni2-13/+84
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-07simplewallet: donate command validate amountselsta1-2/+12
2018-12-04device/trezor: ask for KI sync on first refreshDusan Klinec2-12/+43
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/+2
- 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-1/+0
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 #4880Riccardo Spagni1-5/+1
96e6b439 blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
2018-12-04Merge pull request #4862Riccardo Spagni1-5/+9
3998a937 Enhance help text for print_ring. (Tadeas Moravec) 3900fb77 Enhance help text for incoming_transfers. (Tadeas Moravec)
2018-11-29device/trezor: passphrase entry on hostDusan Klinec2-1/+39
- 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-27simplewallet: use is_transfer_unlocked instead of is_tx_spendtime_unlocked ↵stoffu1-1/+1
for show_transfers Followup on #4728
2018-11-24simplewallet: enable donation on testnet/stagenet for easier testingstoffu1-8/+21
2018-11-23remove some unused codemoneromooo-monero1-1/+0
Found by codacy.com
2018-11-21blockchain_stats: don't use gmtime_r on Windowsmoneromooo-monero1-5/+1
In some cases, it doesn't like it (I don't know the details). Factor into a new epee function
2018-11-16Enhance help text for print_ring.Tadeas Moravec1-2/+4
2018-11-16Enhance help text for incoming_transfers.Tadeas Moravec1-3/+5
2018-11-16Merge pull request #4800Riccardo Spagni1-2/+2
79b4dae6 simplewallet: slightly adjust wording when printing multisig seed (stoffu)
2018-11-16Merge pull request #4792Riccardo Spagni1-17/+25
5d4f3df8 simplewallet: reorganize SCOPED_WALLET_UNLOCK a bit more (stoffu)
2018-11-16Merge pull request #4791Riccardo Spagni1-1/+1
5878fe95 simplewallet: don't skip asking for password when watch-only (stoffu)
2018-11-16Merge pull request #4786Riccardo Spagni1-18/+0
c22e85fe simplewallet: remove redundant messages on daemon connection failure (stoffu)
2018-11-16Merge pull request #4236Riccardo Spagni2-46/+244
a9357141 Add new command "export_transfers" to save transfers to csv (sachaaaaa)
2018-11-15simplewallet: slightly adjust wording when printing multisig seedstoffu1-2/+2
2018-11-15cmake: move Boost_LOCALE_LIBRARY out of ICU_LIBRARIESstoffu1-0/+1
2018-11-12Add new command "export_transfers" to save transfers to csvsachaaaaa2-46/+244
2018-11-06Merge pull request #4731Riccardo Spagni2-12/+30
f26ce08c wallet: add a non destructive blockchain rescan (moneromooo-monero)
2018-11-06Merge pull request #4728Riccardo Spagni1-4/+5
1f35de23 simplewallet: display locked/unlocked state in show_transfers (moneromooo-monero)
2018-11-04simplewallet: print the number of show/all transfersmoneromooo-monero1-2/+6
2018-11-04wallet2: only export necessary outputs and key imagesmoneromooo-monero1-2/+2
and disable annoying test that requires ridiculous amounts of skullduggery every time some format changes
2018-11-04simplewallet: reorganize SCOPED_WALLET_UNLOCK a bit morestoffu1-17/+25
Followup on #4555
2018-11-04simplewallet: don't skip asking for password when watch-onlystoffu1-1/+1
2018-11-03wallet: add a non destructive blockchain rescanmoneromooo-monero2-12/+30
2018-11-02device/trezor: trezor support addedDusan Klinec2-1/+148
2018-11-02simplewallet: remove redundant messages on daemon connection failurestoffu1-18/+0
try_connect_to_daemon with silent=false already prints failure message
2018-11-01Merge pull request #4645Riccardo Spagni1-1/+9
6f88c03d Simplewallet: update help text for show_transfers. (Ted Moravec)
2018-10-26Merge pull request #4555Riccardo Spagni1-2/+2
68e9744d simplewallet: perform trivial error checks before password prompt (xiphon)
2018-10-26Merge pull request #4547Riccardo Spagni1-6/+0
f2c2c47a simplewallet: fixed deadlock if a user hits CTRL+C twice (xiphon)
2018-10-25simplewallet: display locked/unlocked state in show_transfersmoneromooo-monero1-4/+5
it doesn't display the details, which are already displayed in show_transfer
2018-10-18Rename "blackball" for claritymoneromooo-monero1-17/+17
Apparently some people seem to think it's a censorship list...
2018-10-18Simplewallet: update help text for show_transfers.Ted Moravec1-1/+9
Describe the output format.
2018-10-15Merge pull request #4551Riccardo Spagni1-1/+1
c0822fdd simplewallet: mark default-ring-size setting as obsolete (moneromooo-monero)
2018-10-12simplewallet: fix view key parsing in --generate-from-view-keymoneromooo-monero1-1/+1
2018-10-10simplewallet: perform trivial error checks before password promptxiphon1-2/+2
2018-10-10simplewallet: fixed deadlock if a user hits CTRL+C twicexiphon1-6/+0
Co-authored-by: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
2018-10-10simplewallet: mark default-ring-size setting as obsoletemoneromooo-monero1-1/+1
2018-10-07Merge pull request #4036Riccardo Spagni2-1/+61
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-41/+41
Some strings were not detected by lupdate because "tr() cannot be called without context".
2018-10-05Merge pull request #4390Riccardo Spagni1-47/+3
a0613532 secure_pwd_reader: Add proper Unicode handling [Ryo contribution] (fireice-uk) 579383c2 simplewallet: Add Unicode input_line [Ryo backport] (fireice-uk)
2018-10-01Arbitrary M/N multisig schemes:naughtyfox2-1/+61
* 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-1/+3
2018-09-29Merge pull request #4459Riccardo Spagni1-1/+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 #4439Riccardo Spagni1-1/+2
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
2018-09-21Merge pull request #4405Riccardo Spagni1-2/+2
8db2d8d4 simplewallet: fix --generate-from-json setting wrong wallet filename (moneromooo-monero)
2018-09-21Merge pull request #4401Riccardo Spagni1-7/+45
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 #4388Riccardo Spagni2-16/+5
05edc969 simplewallet: remove obsolete transfer_original command (moneromooo-monero)
2018-09-21Merge pull request #4376Riccardo Spagni1-1/+1
2ace509a simplewallet: print reason why refresh+password is needed (moneromooo-monero)
2018-09-19simplewallet: fix --generate-from-json setting wrong wallet filenamemoneromooo-monero1-2/+2
2018-09-19simplewallet: Add Unicode input_line [Ryo backport]fireice-uk1-47/+3
2018-09-18Merge pull request #4306Riccardo Spagni1-22/+17
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 Spagni1-1/+1
ba8dd347 api/wallet: properly disable key encryption (stoffu)
2018-09-18wallet: add 'outputs' option for sweep_* commandswhythat1-7/+45
'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-1/+1
2018-09-16simplewallet: remove obsolete transfer_original commandmoneromooo-monero2-16/+5
2018-09-14hw_device: support for multiple devices added [for review]Dusan Klinec2-5/+37
- 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-15/+33
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-15/+33
2018-09-14Merge pull request #4332Riccardo Spagni1-1/+2
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 #4253Riccardo Spagni1-7/+4
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-7/+4
2018-09-14Merge pull request #4260Riccardo Spagni1-23/+40
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 #4208Riccardo Spagni1-32/+80
2c636e45 simplewallet: handle transfers using a monero: URI (moneromooo-monero)
2018-09-14simplewallet: print reason why refresh+password is neededmoneromooo-monero1-1/+1
2018-09-12wallet: use wipeable_string in more places where a secret is usedmoneromooo-monero1-22/+17
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-8/+39
2018-09-10record blackballs as amount/offset, and add export abilitymoneromooo-monero1-23/+40
2018-09-04Merge pull request #4262luigi11111-9/+37
c3c14f3 simplewallet: allow named priority levels for default-priority (moneromooo-monero)
2018-09-03wallet2: factor the creation of a new wallet keys filemoneromooo-monero1-1/+2
2018-08-28simplewallet: handle transfers using a monero: URImoneromooo-monero1-32/+80
2018-08-23wallet: store trusted-daemon flag in wallet2stoffu2-51/+26
2018-08-22Merge pull request #4249luigi11111-6/+1
77655b0 simplewallet: Simplify LOCK_IDLE_SCOPE macro (rbrunner7)
2018-08-22Merge pull request #4231luigi11111-1/+9
3e914ad simplewallet: add a warning and prompt on rescan_blockchain (moneromooo-monero)
2018-08-22Merge pull request #4225luigi11111-1/+1
2fd9be1 simplewallet: correct number of human-readable months (rbrunner7)
2018-08-16store secret keys encrypted where possiblemoneromooo-monero2-78/+160
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-monero2-25/+87
2018-08-15Merge pull request #4195luigi11112-28/+40
f13c7a8 simplewallet: make sure wallet config is stored right after creation (stoffu)
2018-08-15Merge pull request #4188luigi11112-0/+63
a3fe1c5 simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
2018-08-15Merge pull request #4172luigi11111-1/+1
3a4c3ac simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
2018-08-15Merge pull request #4166luigi11111-4/+6
5e675de simplewallet: fix language detection when using --use-english-language-names (moneromooo-monero)
2018-08-15Merge pull request #4153luigi11111-13/+22
37f0799 wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
2018-08-15Merge pull request #4106luigi11111-2/+2
20eb192 simplewallet: reword 'seed encryption' to 'seed offset' (moneromooo-monero)
2018-08-15Merge pull request #4024luigi11111-0/+1
5a2864c simplewallet: fix delay when setting auto-refresh off (moneromooo-monero)
2018-08-15simplewallet: allow named priority levels for default-prioritymoneromooo-monero1-9/+37
to match those used by the various transfer functions
2018-08-13simplewallet: Simplify LOCK_IDLE_SCOPE macrorbrunner71-6/+1
2018-08-07simplewallet: add a warning and prompt on rescan_blockchainmoneromooo-monero1-1/+9
Many people are using this as a "let's see what this does" command when something doesn't work as they thought it should, and thus destroying info that they might still need.
2018-08-05simplewallet: correct number of human-readable monthsrbrunner71-1/+1
2018-08-03wallet: distinguish coinbase from other txes in show_transfersmoneromooo-monero1-13/+22
2018-07-30simplewallet: add set_tx_key for importing tx keys from 3rd party walletsstoffu2-0/+63
2018-07-30simplewallet: make sure wallet config is stored right after creationstoffu2-28/+40
2018-07-27Merge pull request #4109luigi11111-0/+19
2951436 wallet: warn when payment IDs are used (moneromooo-monero)
2018-07-24simplewallet.unspent_outputs: fix wrong logic for parsingstoffu1-1/+1
2018-07-23monero-wallet-cli: added locked_sweep_all commandjcktm2-6/+51
2018-07-22simplewallet: fix language detection when using --use-english-language-namesmoneromooo-monero1-4/+6
2018-07-19Merge pull request #4088luigi11111-6/+1
8c4db68 node_rpc_proxy: factor a few RPC calls using get_info (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/+16
d6d78f1 Allow fractional outputs to be ignored (stoffu)
2018-07-19Merge pull request #4062luigi11111-1/+10
13851b2 simplewallet.sweep_all: show usage when parsing fails (stoffu)
2018-07-19Merge pull request #4023luigi11111-1/+0
6cb9707 simplewallet: remove leftover global debug trace (moneromooo-monero)
2018-07-12wallet: warn when payment IDs are usedmoneromooo-monero1-0/+19
Subaddresses are better for privacy
2018-07-07simplewallet: reword "seed encryption" to "seed offset"moneromooo-monero1-2/+2
avoids people thinking it's somehow a generic AE system
2018-07-03Merge pull request #4042Riccardo Spagni1-0/+1
9d7f6e60 simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
2018-07-03Allow fractional outputs to be ignoredstoffu2-0/+16
2018-07-02node_rpc_proxy: factor a few RPC calls using get_infomoneromooo-monero1-6/+1
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 #3907luigi11111-0/+4
dcbc17e wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
2018-06-27Merge pull request #3998luigi11111-2/+2
8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
2018-06-27Merge pull request #3991luigi11111-0/+14
798dfcf wallet: allow unspendable unmixable outputs to be discarded (stoffu)
2018-06-27Merge pull request #3982luigi11111-1/+1
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-0/+4
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 #3979luigi11111-3/+5
362f5e6 simplewallet: don't confirm missing payment ID when sending to only subaddresses (stoffu)
2018-06-27simplewallet.sweep_all: show usage when parsing failsstoffu1-1/+10
2018-06-25Merge pull request #3966luigi11111-1/+1
948c482 simplewallet: grammar fix in warning message (moneromooo-monero)
2018-06-25Merge pull request #3921luigi11111-14/+3
8fc0cdb wallet2: lower default for subaddress lookahead when restoring with hardware (stoffu) 248310d Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (stoffu) 46e90b7 Wallet API: add support for wallet creation from hardware device (stoffu)
2018-06-25Merge pull request #3677luigi11111-1/+1
d45cd37 fix typos in language files and rpc_args.cpp (ordtrogen)
2018-06-25Merge pull request #3407luigi11111-1/+1
7bf99a2 fix string handling for donation message (cryptochangements34)
2018-06-23simplewallet: init trusted daemon flag to false when autodetectingmoneromooo-monero1-0/+1
2018-06-21fix typos in language files and rpc_args.cppordtrogen1-1/+1
2018-06-21Move parse_subaddress_lookahead() from simplewallet.cpp to util.cppstoffu1-14/+3
2018-06-20Merge pull request #3784luigi11111-4/+2
261ee56 don't limit miner threads in wallet (cryptochangements34)
2018-06-20fix string handling for donation messagecryptochangements341-1/+1
2018-06-20Merge pull request #3932luigi11111-1/+28
8962f00 simplewallet: add optional trusted/untrusted argument to set_daemon (moneromooo-monero) 941a608 util: consider Tor/I2P addresses to be non local (moneromooo-monero) 2b3357e README: mention --untrusted-daemon (moneromooo-monero)
2018-06-20Merge pull request #3896luigi11111-4/+4
6b8568e simplewallet.sign_transfer: rename export to export_raw, add help message (stoffu)
2018-06-18simplewallet: fix delay when setting auto-refresh offmoneromooo-monero1-0/+1
2018-06-18simplewallet: remove leftover global debug tracemoneromooo-monero1-1/+0
2018-06-16Merge pull request #3804luigi11111-0/+2
89e51ec simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet (jcktm)
2018-06-16Merge pull request #3798luigi11111-1/+1
f357210 Fix Typo (Rafficer)
2018-06-16Merge pull request #3780luigi11111-64/+4
9c2a7b4 wallet-rpc: watch-only and cold wallet features added (ph4r05)
2018-06-16Merge pull request #3538luigi11111-2/+110
f4e3295 simplewallet: set_ring can now take a file with rings (moneromooo-monero)
2018-06-13wallet: on first refresh, start off with a quantized heightmoneromooo-monero1-2/+2
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/+14
2018-06-12Merge pull request #3648luigi11111-8/+5
6f36cf0 Improve 'show_transfers' date formatting (ryan-ronnander)
2018-06-12Merge pull request #3643luigi11111-2/+18
e2b7558 handle improper log levels (cryptochangements34)
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? ↵stoffu1-1/+1
config::testnet::X : stagenet ? config::stagenet::X : config::X
2018-06-10simplewallet: don't confirm missing payment ID when sending to only subaddressesstoffu1-3/+5
2018-06-09simplewallet: set_ring can now take a file with ringsmoneromooo-monero1-2/+110
2018-06-08simplewallet: grammar fix in warning messagemoneromooo-monero1-1/+1
2018-06-05simplewallet: add optional trusted/untrusted argument to set_daemonmoneromooo-monero1-1/+28
Otherwise the previous daemon's trustedness would carry over. If not specified, the local address check is performed again.
2018-06-03wallet-rpc: watch-only and cold wallet features addedDusan Klinec1-64/+4
- 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-06-01simplewallet.sign_transfer: rename export to export_raw, add help messagestoffu1-4/+4
2018-05-31Merge pull request #3640luigi11111-1/+8
f36132a wallet cli/rpc: terminate execution with code 0 when --help or --version is given (stoffu)
2018-05-30Merge pull request #3491luigi11111-0/+11
c8cb5fc exit if specified wallet file doesn't exist (cryptochangements34)
2018-05-29Merge pull request #3477luigi11112-25/+34
3f5fb6f simplewallet: add --untrusted-daemon option (moneromooo-monero)
2018-05-29Merge pull request #3470luigi11111-1/+1
ad19f86 don't show error twice when starting simplewallet (cryptochangements34)
2018-05-20simplewallet: use correct unit for fee commandstoffu1-1/+1
2018-05-15simple-wallet-cli: Add warnings about inaccurate balances to to watch-only ↵jcktm1-0/+2
wallet
2018-05-12Fix TypoRafficer1-1/+1
2018-05-08don't limit miner threads in walletcryptochangements341-4/+2
2018-04-22wallet cli/rpc: terminate execution with code 0 when --help or --version is ↵stoffu1-1/+8
given
2018-04-21Merge pull request #3579Riccardo Spagni1-2/+2
0b88fff3 simplewallet: fix help message of sign_transfer (stoffu)
2018-04-15Improve 'show_transfers' date formattingRyan Ronnander1-8/+5
Change the wallet's 'show_transfers' command to always output the transaction date with timestamp (24 hour UTC).
2018-04-15handle improper log levelscryptochangements341-2/+18
2018-04-13simplewallet: add version commandmoneromooo-monero2-0/+12
2018-04-12Merge pull request #3534Riccardo Spagni1-0/+20
eecfb57d wallet: warn if not using the default ring size (moneromooo-monero)
2018-04-12Merge pull request #3532Riccardo Spagni1-1/+1
aa5c2e01 simplewallet: warn about key reuse on startup (moneromooo-monero)
2018-04-12Merge pull request #3536Riccardo Spagni1-2/+18
c77d2bfa Add the possibility to export private view key for fast scan. (cslashm) 100b7bc1 Change mutex lock model to avoid dead lock and ensure locks are always released. (cslashm) 641dfc99 Automatic height setup when creating/restoring hw device. (cslashm)
2018-04-07simplewallet: fix help message of sign_transferstoffu1-2/+2
2018-03-31Automatic height setup when creating/restoring hw device.cslashm1-2/+18
When creating/restoring wallet, if --restore-height option is not used the current estimate height is used for starting the scan. In other words it is assume we are creating a new account.
2018-03-31wallet: warn if not using the default ring sizemoneromooo-monero1-0/+20
2018-03-31simplewallet: warn about key reuse on startupmoneromooo-monero1-1/+1
2018-03-24exit if specified wallet file doesn't existcryptochangements341-0/+11
2018-03-22simplewallet: add --untrusted-daemon optionmoneromooo-monero2-25/+34
2018-03-21don't show error twice when starting simplewalletcryptochangements341-1/+1
2018-03-21wallet: catch exceptions dealing with ringdb and warnmoneromooo-monero1-0/+3
2018-03-18Merge pull request #3426Riccardo Spagni2-2/+10
8ea3c4d5 simplewallet: new --use-english-language-names flag (moneromooo-monero)
2018-03-17simplewallet: new --use-english-language-names flagmoneromooo-monero2-2/+10
On some Windows systems, displaying language names in their own languages freezes the display.
2018-03-17wallet: make the segregation height settablemoneromooo-monero2-1/+24
via user setting first, then DNS TXT record, hardcoded fallback
2018-03-16Add command line option allowing to restrict the default sub-address ↵stoffu2-1/+83
lookahead in order to avoid so looooong time of set-up when creating a HW based wallet.
2018-03-16Merge pull request #3416Riccardo Spagni1-0/+5
6f54c910 simplewallet: fix restore height prompt that got disabled by #3175 (stoffu)
2018-03-16Merge pull request #3376Riccardo Spagni1-2/+6
833f9fcf show '<Not set>' for empty wallet description (cryptochangements34)
2018-03-16Merge pull request #3336Riccardo Spagni1-1/+1
57c0b1ed Fix typos in various files (Dimitris Apostolou)
2018-03-16wallet: more user friendly print_ringmoneromooo-monero1-9/+22
It can now take a txid (to display rings for all its inputs), and will print rings in a format that set_ring understands
2018-03-16wallet: add a set_ring commandmoneromooo-monero2-1/+81
This is so one can set rings for spent key images in case the attackers don't merge the ring matching patch set.
2018-03-16wallet: make ringdb an object with database statemoneromooo-monero1-2/+2
2018-03-16wallet: add an output blackball list to avoid using those in ringsmoneromooo-monero2-0/+144
2018-03-16wallet: key reuse mitigation optionsmoneromooo-monero2-1/+37
If a pre-fork output is spent on both Monero and attack chain, any post-fork output can be deduced to be a fake output, thereby decreasing the effective ring size. The segregate-per-fork-outputs option, on by default, allows selecting only pre-fork outputs in this case, so that the same ring can be used when spending it on the other side, which does not decrease the effective ring size. This is intended to be SET when intending to spend Monero on the attack fork, and to be UNSET if not intending to spend Monero on the attack fork (since it leaks the fact that the output being spent is pre-fork). If the user is not certain yet whether they will spend pre-fork outputs on a key reusing fork, the key-reuse-mitigation2 option should be SET instead. If you use this option and intend to spend Monero on both forks, then spend real Monero first.
2018-03-16wallet: add shared ring databasemoneromooo-monero2-0/+62
This maps key images to rings, so that different forks can reuse the rings by key image. This avoids revealing the real inputs like would happen if two forks spent the same outputs with different rings. This database is meant to be shared with all Monero forks which don't bother making a new chain, putting users' privacy at risk in the process. It is placed in a shared data directory by default ($HOME/.shared-ringdb on UNIX like systems). You may use --shared-ringdb-dir to override this location, and should then do so for all Monero forks for them to share the database.
2018-03-15show '<Not set>' for empty wallet descriptioncryptochangements341-2/+6
2018-03-16simplewallet: fix restore height prompt that got disabled by #3175stoffu1-0/+5
2018-03-15Fix typos in various filesDimitris Apostolou1-1/+1
2018-03-15Merge pull request #3410Riccardo Spagni1-7/+19
c5024c5b simplewallet: add a warning when getting a daemon error in transfer (moneromooo-monero)
2018-03-15simplewallet: add a warning when getting a daemon error in transfermoneromooo-monero1-7/+19
A malicious daemon (or MITM) could attempt to add spurious errors so the wallet tries again, sending another set of fake outs.
2018-03-15wallet2+cli+rpc: eliminate redundant m_http_client from cli/rpc and delegate ↵stoffu2-7/+5
calls to wallet2
2018-03-14Merge pull request #3384Riccardo Spagni1-2/+1
b63ea060 simplewallet: do not call a RPC when displaying the prompt (moneromooo-monero)
2018-03-14device: untangle cyclic depenencystoffu1-1/+0
When #3303 was merged, a cyclic dependency chain was generated: libdevice <- libcncrypto <- libringct <- libdevice This was because libdevice needs access to a set of basic crypto operations implemented in libringct such as scalarmultBase(), while libringct also needs access to abstracted crypto operations implemented in libdevice such as ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct into libringct_basic and libringct, where the basic crypto ops previously in libringct are moved into libringct_basic. The cyclic dependency is now resolved thanks to this separation: libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct This eliminates the need for crypto_device.cpp and rctOps_device.cpp. Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and get_subaddress_secret_key() were previously implemented in libcryptonote_basic (cryptonote_format_utils.cpp) and were then called from hw::core::device_default, which is odd because libdevice is supposed to be independent of libcryptonote_basic. Therefore, those functions were moved to device_default.cpp.
2018-03-14Merge pull request #3369Riccardo Spagni1-1/+11
1979d53d wallet: fixes and tweaks to the save_watch_only command (moneromooo-monero)
2018-03-14Merge pull request #3315Riccardo Spagni1-4/+12
649a1b7a wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new wallets (Leon Klingele)
2018-03-11simplewallet: do not call a RPC when displaying the promptmoneromooo-monero1-2/+1
Speeds up refresh when you have a lot of in/out transactions
2018-03-10wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new ↵Leon Klingele1-4/+12
wallets Previously, a file containing the unencrypted Monero address was created by default in the wallet's directory. This file might pose as a privacy risk. The creation of this file is now opt-in and can be enabled by providing --create-address-file
2018-03-07wallet: fixes and tweaks to the save_watch_only commandmoneromooo-monero1-1/+11
- save the new keys file as FOO-watchonly.keys, not FOO.keys-watchonly - catch any exception (eg, I/O errors) and error out - print the new keys filename in simplewallet