aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | wallet: fix memory only walletsmoneromooo-monero2019-03-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | at least when using restore_deterministic_wallet
* | | | | | Merge pull request #5292Riccardo Spagni2019-04-011-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 328d291f wallet2: set seed language when creating from json (moneromooo-monero)
| * | | | | | wallet2: set seed language when creating from jsonmoneromooo-monero2019-03-151-0/+2
| | | | | | |
* | | | | | | Merge pull request #5291Riccardo Spagni2019-04-011-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | a52366c1 wallet2: fix generation from json when restore height is not set (moneromooo-monero)
| * | | | | | wallet2: fix generation from json when restore height is not setmoneromooo-monero2019-03-141-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | It was not recovering then, but creating a new random address
* | | | / / Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett2019-03-251-3/+50
| |_|_|/ / |/| | | |
* | | | | Merge pull request #5277Riccardo Spagni2019-03-241-14/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | adf6d773 wallet: fix offline signing calling a daemon RPC (moneromooo-monero)
| * | | | wallet: fix offline signing calling a daemon RPCmoneromooo-monero2019-03-211-14/+4
| | | | |
* | | | | wallet2: sanity check new tx before sendingmoneromooo-monero2019-03-211-105/+213
|/ / / / | | | | | | | | | | | | | | | | We generate and check tx proofs and verify the amounts in those match what the original amounts were.
* | | | Merge pull request #5266Riccardo Spagni2019-03-211-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | 576116d4 wallet: fix load failure if the mms isn't usable (moneromooo-monero)
| * | | | wallet: fix load failure if the mms isn't usablemoneromooo-monero2019-03-111-1/+8
| |/ / /
* | | | Merge pull request #5248Riccardo Spagni2019-03-211-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | 3f6f90bb wallet2: do not use invalid keys as fake outs in rings (moneromooo-monero)
| * | | | wallet2: do not use invalid keys as fake outs in ringsmoneromooo-monero2019-03-071-0/+11
| |/ / /
* | | | Merge pull request #5235Riccardo Spagni2019-03-211-15/+17
|\ \ \ \ | | | | | | | | | | | | | | | c6a70af8 wallet2: key image import fixes (moneromooo-monero)
| * | | | wallet2: key image import fixesmoneromooo-monero2019-03-051-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - return the right output data when offset is not zero - do not consider import failed if result height is zero (it can be 0 if unknown) - select the right tx pubkey when using subaddresses (it's faster, and we might select the wrong one if we got an output using one of the additional tx keys) - account for skipped outputs for spent/unspent balance info "spent" is arguably wrong, since it will count spent change multiple times as it goes through receive/spend cycles.
* | | | | Merge pull request #5211Riccardo Spagni2019-03-211-26/+141
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-26/+141
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 #5203Riccardo Spagni2019-03-191-4/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 8b514645 add multisig tx sets to describe_transfer rpc endpoint (spoke0)
| * | | | | add multisig tx sets to describe_transfer rpc endpointspoke02019-03-051-4/+15
| | | | | |
* | | | | | Merge pull request #4889Riccardo Spagni2019-03-191-16/+88
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | f42263eb wallet: adds rescan_bc option with preserving key images (Dusan Klinec)
| * | | | | wallet: adds rescan_bc option with preserving key imagesDusan Klinec2019-03-151-16/+88
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | Merge pull request #5182Riccardo Spagni2019-03-171-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | b674728d Better error when sending a tx with a too large extra field (moneromooo-monero)
| * | | | | Better error when sending a tx with a too large extra fieldmoneromooo-monero2019-02-221-0/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #5168Riccardo Spagni2019-03-171-7/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 8630a028 wallet: fix payment ID decryption for construction data (Dusan Klinec)
| * | | | | wallet: fix payment ID decryption for construction dataDusan Klinec2019-02-201-7/+6
| |/ / / /
* | | | | Merge pull request #5061Riccardo Spagni2019-03-171-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * | | | Update 2019 copyrightbinaryFate2019-03-051-1/+1
| | |_|/ | |/| |
* / | | wallet2: don't store 0 amount outputs, they'll fail to be spentmoneromooo-monero2019-03-121-1/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | It's better to just ignore them, the user does not really need to know they're here. If the mask is wrong, they'll fail to be used, and sweeping will fail as it tries to use it. Reported by Josh Davis.
* | | Merge pull request #4852Riccardo Spagni2019-03-051-3/+9
|\ \ \ | |_|/ |/| | | | | 057c279c epee: add SSL support (Martijn Otto)
| * | epee: add SSL supportMartijn Otto2019-03-051-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
* | | wallet2: don't calculate prefix hash when we don't need itmoneromooo-monero2019-03-051-6/+6
|/ /
* | various: remove unused variablesmoneromooo-monero2019-03-041-1/+0
| |
* | Merge pull request #5131Riccardo Spagni2019-03-041-1/+1
|\ \ | | | | | | | | | d2c95ab9 Don't decrypt keys in view only wallets in wallet_keys_unlocker (Doyle)
| * | Don't decrypt keys in view only wallets in wallet_keys_unlockerDoyle2019-02-131-1/+1
| |/
* | Merge pull request #5084Riccardo Spagni2019-03-041-0/+5
|\ \ | | | | | | | | | 9d58749b wallet2: fix hashchain going out of sync on refresh error (moneromooo-monero)
| * | wallet2: fix hashchain going out of sync on refresh errormoneromooo-monero2019-01-191-0/+5
| | |
* | | Merge pull request #4054Riccardo Spagni2019-03-041-7/+41
|\ \ \ | | | | | | | | | | | | 24569454 epee: add SSL support (moneromooo-monero)
| * | | epee: add SSL supportmoneromooo-monero2019-02-021-7/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
* | | Merge pull request #5217Riccardo Spagni2019-03-041-6/+12
|\ \ \ | | | | | | | | | | | | fa2fbc39 wallet2: fix mishandling rct outputs in coinbase tx (moneromooo-monero)
| * | | wallet2: fix mishandling rct outputs in coinbase txmoneromooo-monero2019-03-031-6/+12
| |/ / | | | | | | | | | Reported by cutcoin
* / / Print the reason why a notification spec failed to parsemoneromooo-monero2019-03-041-1/+1
|/ /
* | Merge pull request #5053Riccardo Spagni2019-01-281-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 23813c71 blockchain: add --reorg-notify (moneromooo-monero) f6db59b0 notify: handle arbitrary tags (moneromooo-monero) ff959216 notify: warn if the spec contains one of '"\ (moneromooo-monero) 13852678 common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawn (moneromooo-monero)
| * | notify: handle arbitrary tagsmoneromooo-monero2019-01-281-1/+1
| | |
* | | Merge pull request #5069Riccardo Spagni2019-01-281-3/+10
|\ \ \ | |/ / |/| | | | | 2112060d wallet2: fix duplicate tx notifications for pool txes (moneromooo-monero)
| * | wallet2: fix duplicate tx notifications for pool txesmoneromooo-monero2019-01-131-3/+10
| | |
* | | Merge pull request #5068Riccardo Spagni2019-01-281-1/+1
|\ \ \ | | | | | | | | | | | | 96e35506 wallet2: fix incorrect patch for determining fork rules (moneromooo-monero)
| * | | wallet2: fix incorrect patch for determining fork rulesmoneromooo-monero2019-01-131-1/+1
| |/ / | | | | | | | | | | | | | | | Half of the patch was correct, but half was introducing another bug, where a wallet asking for a fork that the daemon does not know about yet would decide to use those rules.
* | | Merge pull request #5056Riccardo Spagni2019-01-281-7/+7
|\ \ \ | | | | | | | | | | | | 8258a9e7 wallet: do not check txpool in background mode (moneromooo-monero)
| * | | wallet: do not check txpool in background modemoneromooo-monero2019-01-091-7/+7
| |/ / | | | | | | | | | | | | | | | | | | This avoids the constant message about needed to run refresh to enter a password. Also mention the txpool when asking for the password if the reason is a pool tx.
* | | Merge pull request #5052Riccardo Spagni2019-01-281-20/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6534c40 ringct: remove unused senderPk from ecdhTuple (moneromooo-monero) 7d375981 ringct: the commitment mask is now deterministic (moneromooo-monero) 99d946e6 ringct: encode 8 byte amount, saving 24 bytes per output (moneromooo-monero) cdc3ccec ringct: save 3 bytes on bulletproof size (moneromooo-monero) f931e16c add a bulletproof version, new bulletproof type, and rct config (moneromooo-monero)