aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #5374Riccardo Spagni2019-04-111-1/+9
|\ \ | | | | | | | | | a2561653 wallet: new option to start background mining (moneromooo-monero)
| * | wallet: new option to start background miningmoneromooo-monero2019-04-041-1/+9
| |/ | | | | | | | | | | The setup-background-mining option can be used to select background mining when a wallet loads. The user will be asked the first time the wallet is created.
* / simplewallet: new net_stats commandmoneromooo-monero2019-04-111-0/+1
|/ | | | displays total sent and received bytes
* wallet: add freeze/thaw/frozen commandsmoneromooo-monero2019-03-221-1/+5
| | | | | | | | | | | | | These commands let one freeze outputs by key image, so they do not appear in balance, nor are considered when creating a transaction, etc This is helpful when receiving an output from a suspected spy, who might try to track your other outputs by seeing with what other outputs it gets spent. The frozen command may be used without parameters to list all currently frozen outputs.
* Merge pull request #5211Riccardo Spagni2019-03-211-3/+3
|\ | | | | | | | | | | c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
| * device/trezor: HF10 support added, wallet::APIDusan Klinec2019-03-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | - import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
* | Merge pull request #4889Riccardo Spagni2019-03-191-1/+1
|\ \ | | | | | | | | | f42263eb wallet: adds rescan_bc option with preserving key images (Dusan Klinec)
| * | wallet: adds rescan_bc option with preserving key imagesDusan Klinec2019-03-151-1/+1
| |/ | | | | | | | | | | | | | | - enables to perform rescan_spent / ki sync with untrusted daemon. Spent check status involves RPC calls which require trusted daemon status as it leaks information. The new call performs soft reset while preserving key images thus a sequence: refresh, ki sync / import, rescan_bc keep_ki will correctly perform spent checking without need for trusted daemon. - useful to detect spent outputs with untrusted daemon on watch_only / multisig / hw-cold wallets after expensive key image sync. - cli: rescan_bc keep_ki
* / Update 2019 copyrightbinaryFate2019-03-051-1/+1
|/
* simplewallet: disable long payment ids by defaultmoneromooo-monero2019-01-161-0/+2
| | | | unless --long-payment-id-support is used
* Merge pull request #5009Riccardo Spagni2019-01-161-0/+1
|\ | | | | | | 5e10dee3 simplewallet: fix show_transfers colouring, and add red for failed (moneromooo-monero)
| * simplewallet: fix show_transfers colouring, and add red for failedmoneromooo-monero2018-12-231-0/+1
| | | | | | | | | | Also add the type back, as it was somehow weirdly split into two different fields, one being a union...
* | Merge pull request #4981Riccardo Spagni2019-01-161-0/+1
|\ \ | | | | | | | | | 60b35c91 Add --restore-date param (Howard Chu)
| * | Add --restore-date paramHoward Chu2018-12-141-0/+1
| | | | | | | | | | | | | | | Estimate restore height from given date Check date format early, error out early if invalid
* | | wallet: optionally keep track of owned outputs usesmoneromooo-monero2018-12-311-0/+2
| |/ |/|
* | MMS (Multisig Messaging System): Initial versionrbrunner72018-12-121-1/+44
|/
* device/trezor: ask for KI sync on first refreshDusan Klinec2018-12-041-0/+2
| | | | | | 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.
* device/trezor: passphrase entry on hostDusan Klinec2018-11-291-0/+3
| | | | | | - 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
* Add new command "export_transfers" to save transfers to csvsachaaaaa2018-11-121-0/+18
|
* Merge pull request #4731Riccardo Spagni2018-11-061-1/+4
|\ | | | | | | f26ce08c wallet: add a non destructive blockchain rescan (moneromooo-monero)
| * wallet: add a non destructive blockchain rescanmoneromooo-monero2018-11-031-1/+4
| |
* | device/trezor: trezor support addedDusan Klinec2018-11-021-0/+3
|/
* Arbitrary M/N multisig schemes:naughtyfox2018-10-011-0/+1
| | | | | | | | | * 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
* Merge pull request #4388Riccardo Spagni2018-09-211-1/+0
|\ | | | | | | 05edc969 simplewallet: remove obsolete transfer_original command (moneromooo-monero)
| * simplewallet: remove obsolete transfer_original commandmoneromooo-monero2018-09-161-1/+0
| |
* | hw_device: support for multiple devices added [for review]Dusan Klinec2018-09-141-1/+2
|/ | | | | | | - 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
* wallet: store trusted-daemon flag in wallet2stoffu2018-08-231-2/+0
|
* store secret keys encrypted where possiblemoneromooo-monero2018-08-161-0/+1
| | | | | | | | | 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.
* wallet: wipe seed from memory where appropriatemoneromooo-monero2018-08-161-3/+4
|
* Merge pull request #4195luigi11112018-08-151-4/+4
|\ | | | | | | f13c7a8 simplewallet: make sure wallet config is stored right after creation (stoffu)
| * simplewallet: make sure wallet config is stored right after creationstoffu2018-07-301-4/+4
| |
* | Merge pull request #4188luigi11112018-08-151-0/+1
|\ \ | | | | | | | | | a3fe1c5 simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
| * | simplewallet: add set_tx_key for importing tx keys from 3rd party walletsstoffu2018-07-301-0/+1
| |/
* / monero-wallet-cli: added locked_sweep_all commandjcktm2018-07-231-1/+2
|/
* Allow fractional outputs to be ignoredstoffu2018-07-031-0/+1
|
* Merge pull request #3477luigi11112018-05-291-1/+2
|\ | | | | | | 3f5fb6f simplewallet: add --untrusted-daemon option (moneromooo-monero)
| * simplewallet: add --untrusted-daemon optionmoneromooo-monero2018-03-221-1/+2
| |
* | simplewallet: add version commandmoneromooo-monero2018-04-131-0/+1
|/
* Merge pull request #3426Riccardo Spagni2018-03-181-0/+1
|\ | | | | | | 8ea3c4d5 simplewallet: new --use-english-language-names flag (moneromooo-monero)
| * simplewallet: new --use-english-language-names flagmoneromooo-monero2018-03-171-0/+1
| | | | | | | | | | On some Windows systems, displaying language names in their own languages freezes the display.
* | wallet: make the segregation height settablemoneromooo-monero2018-03-171-0/+1
|/ | | | via user setting first, then DNS TXT record, hardcoded fallback
* Add command line option allowing to restrict the default sub-address ↵stoffu2018-03-161-0/+2
| | | | | | lookahead in order to avoid so looooong time of set-up when creating a HW based wallet.
* wallet: add a set_ring commandmoneromooo-monero2018-03-161-0/+1
| | | | | This is so one can set rings for spent key images in case the attackers don't merge the ring matching patch set.
* wallet: add an output blackball list to avoid using those in ringsmoneromooo-monero2018-03-161-0/+3
|
* wallet: key reuse mitigation optionsmoneromooo-monero2018-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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.
* wallet: add shared ring databasemoneromooo-monero2018-03-161-0/+2
| | | | | | | | | | | | 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.
* wallet2+cli+rpc: eliminate redundant m_http_client from cli/rpc and delegate ↵stoffu2018-03-151-1/+0
| | | | calls to wallet2
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-0/+2
| | | | | | | | | | | | | | | | | | | The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
* Merge pull request #3188Riccardo Spagni2018-01-271-0/+1
|\ | | | | | | fbc0a6dd Bugfix : Missing i18n import in simplewallet (Neozaru)
| * Bugfix : Missing i18n import in simplewalletNeozaru2018-01-261-0/+1
| |