summaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works.Lee Clagett2019-05-211-1/+4
|
* wallet: add unlock_time details to show_transfersmoneromooo-monero2019-05-161-2/+2
| | | | | also add a note when receiving the tx, because the user might not notice the "XXX blocks to unlock" in the balance.
* wallet: fix certificate fingerprint length checkmoneromooo-monero2019-05-111-1/+1
| | | | Fixed by crCr62U0
* Merge pull request #5508Riccardo Spagni2019-05-071-4/+2
|\ | | | | | | 1c44e658 wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
| * wallet2: reject standalone short payment IDs in monero: URI APImoneromooo-monero2019-05-011-4/+2
| |
* | Merge pull request #5501Riccardo Spagni2019-05-071-2/+5
|\ \ | | | | | | | | | b4ca72dd wallet2: fix infinite loop picking outputs in corner case (moneromooo-monero)
| * | wallet2: fix infinite loop picking outputs in corner casemoneromooo-monero2019-04-291-2/+5
| |/ | | | | | | | | | | | | If we have fewer outputs available on the chain than what we require, but the output we're spending already has a ring, it would loop picking outputs randomly, but never find enough. Also tune logs for better debugging this kind of thing.
* | Merge pull request #5493Riccardo Spagni2019-05-021-0/+6
|\ \ | | | | | | | | | 5e0da6fb change SSL certificate fingerprint whitelisting from SHA1 to SHA-256 (moneromooo-monero)
| * | change SSL certificate fingerprint whitelisting from SHA1 to SHA-256moneromooo-monero2019-04-261-0/+6
| |/ | | | | | | SHA1 is too close to bruteforceable
* | Merge pull request #5489Riccardo Spagni2019-05-021-3/+13
|\ \ | |/ |/| | | 64983fce wallet2: default to trying to keep 5 outputs of 2+ monero (moneromooo-monero)
| * wallet2: default to trying to keep 5 outputs of 2+ moneromoneromooo-monero2019-04-241-3/+13
| | | | | | | | | | | | | | In the case where previously a second unneeded output would be added to a transaction. This should help *some* of the cases where outputs are slowly being consolidated, leading to the whole balance being locked when sending monero.
* | Merge pull request #5486Riccardo Spagni2019-04-241-0/+2
|\ \ | | | | | | | | | | | | 4be18df3 tx_sanity_check: relax uniqueness check a bit (moneromooo-monero) b386ae57 wallet2: add missing "sanity check failed" reason message (moneromooo-monero)
| * | wallet2: add missing "sanity check failed" reason messagemoneromooo-monero2019-04-231-0/+2
| |/
* | Merge pull request #5485Riccardo Spagni2019-04-241-2/+2
|\ \ | | | | | | | | | c519d1df wallet2: fix wrong change being recorded in sweep_all (moneromooo-monero)
| * | wallet2: fix wrong change being recorded in sweep_allmoneromooo-monero2019-04-231-2/+2
| |/ | | | | | | leading to the sanity check triggering
* / wallet: fix key image computation signaling to the deviceDusan Klinec2019-04-221-1/+1
|/
* simplewallet: fix output representation offsetmoneromooo-monero2019-04-181-2/+2
|
* wallet2: "output lineup" fake out selectionmoneromooo-monero2019-04-181-60/+47
| | | | | Based on python code by sarang: https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py
* Merge pull request #5445Riccardo Spagni2019-04-161-53/+90
|\ | | | | | | b18f0b10 wallet: new --offline option (moneromooo-monero)
| * wallet: new --offline optionmoneromooo-monero2019-04-151-53/+90
| | | | | | | | | | It will avoid connecting to a daemon (so useful for cold signing using a RPC wallet), and not perform DNS queries.
* | Merge pull request #5434Riccardo Spagni2019-04-161-0/+1
|\ \ | | | | | | | | | ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
| * | rpc: new sanity check on relayed transactionsmoneromooo-monero2019-04-121-0/+1
| | | | | | | | | | | | This will weed out some transactions with silly rings
* | | Merge pull request #5422Riccardo Spagni2019-04-161-1/+1
|\ \ \ | | | | | | | | | | | | 2c221d1b wallet2: update estimate_rct_tx_size for smaller rct proofs (moneromooo-monero)
| * | | wallet2: update estimate_rct_tx_size for smaller rct proofsmoneromooo-monero2019-04-111-1/+1
| |/ /
* | | Merge pull request #5418Riccardo Spagni2019-04-161-5/+6
|\ \ \ | |_|/ |/| | | | | 374f388d wallet_rpc_server: add a all flag to export_outputs (moneromooo-monero)
| * | wallet_rpc_server: add a all flag to export_outputsmoneromooo-monero2019-04-101-5/+6
| | | | | | | | | | | | if we don't want to export new outputs only
* | | Merge pull request #5396Riccardo Spagni2019-04-151-3/+8
|\ \ \ | | | | | | | | | | | | b40392fb wallet2: add --no-dns flag (moneromooo-monero)
| * | | wallet2: add --no-dns flagmoneromooo-monero2019-04-041-3/+8
| | | |
* | | | Merge pull request #5395Riccardo Spagni2019-04-151-7/+9
|\ \ \ \ | | | | | | | | | | | | | | | 15f27c80 wallet2: support multi out txes without change in sanity check (moneromooo-monero)
| * | | | wallet2: support multi out txes without change in sanity checkmoneromooo-monero2019-04-031-7/+9
| |/ / /
* | | | Merge pull request #5392Riccardo Spagni2019-04-151-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | a2195b9b crypto: replace rand<T>()%N idiom with unbiased rand_idx(N) (stoffu)
| * | | | crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)stoffu2019-04-041-4/+4
| |/ / /
* | | | Merge pull request #5355Riccardo Spagni2019-04-151-0/+12
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | c68fe787 device/trezor: add button pressed request (Dusan Klinec) 827f52ad wallet: API changes to enable passphrase entry (Dusan Klinec)
| * | | device/trezor: add button pressed requestDusan Klinec2019-04-071-0/+12
| |/ /
* | | Merge pull request #5388Riccardo Spagni2019-04-111-0/+37
|\ \ \ | | | | | | | | | | | | 0be5b2ee simplewallet: new unset_ring command (moneromooo-monero)
| * | | simplewallet: new unset_ring commandmoneromooo-monero2019-04-021-0/+37
| |/ / | | | | | | | | | Useful when debugging, though not much for users
* | | Merge pull request #5382Riccardo Spagni2019-04-111-12/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c12b43cb wallet: add number of blocks required for the balance to fully unlock (moneromooo-monero) 3f1e9e84 wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero) 36c037ec wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero) cd1eaff2 wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
| * | | wallet: add number of blocks required for the balance to fully unlockmoneromooo-monero2019-04-011-12/+43
| | | |
| * | | wallet2: set confirmations to 0 for pool txes in proofsmoneromooo-monero2019-04-011-4/+4
| | | | | | | | | | | | | | | | | | | | It makes more sense than (uint64_t)-1, which is going to look like very much confirmed when not checking in_pool
* | | | Merge pull request #5374Riccardo Spagni2019-04-111-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | a2561653 wallet: new option to start background mining (moneromooo-monero)
| * | | | wallet: new option to start background miningmoneromooo-monero2019-04-041-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | 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/+10
| | | | | | | | | | | | | | | | displays total sent and received bytes
* | | | Enabling daemon-rpc SSL now requires non-system CA verificationLee Clagett2019-04-071-10/+13
| | | | | | | | | | | | | | | | | | | | If `--daemon-ssl enabled` is set in the wallet, then a user certificate, fingerprint, or onion/i2p address must be provided.
* | | | Require manual override for user chain certificates.Lee Clagett2019-04-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An override for the wallet to daemon connection is provided, but not for other SSL contexts. The intent is to prevent users from supplying a system CA as the "user" whitelisted certificate, which is less secure since the key is controlled by a third party.
* | | | Pass SSL arguments via one class and use shared_ptr instead of referenceLee Clagett2019-04-071-14/+24
| | | |
* | | | Change default SSL to "enabled" if user specifies fingerprint/certificateLee Clagett2019-04-061-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if a user specifies a ca file or fingerprint to verify peer, the default behavior is SSL autodetect which allows for mitm downgrade attacks. It should be investigated whether a manual override should be allowed - the configuration is likely always invalid.
* | | | Change SSL certificate file list to OpenSSL builtin load_verify_locationLee Clagett2019-04-061-21/+10
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying SSL certificates for peer verification does an exact match, making it a not-so-obvious alias for the fingerprints option. This changes the checks to OpenSSL which loads concatenated certificate(s) from a single file and does a certificate-authority (chain of trust) check instead. There is no drop in security - a compromised exact match fingerprint has the same worse case failure. There is increased security in allowing separate long-term CA key and short-term SSL server keys. This also removes loading of the system-default CA files if a custom CA file or certificate fingerprint is specified.
* | | Merge pull request #5350Riccardo Spagni2019-04-061-36/+22
|\ \ \ | | | | | | | | | | | | 050bb337 wallet2: factor the watchonly/multisig/etc fields on creation (moneromooo-monero)
| * | | wallet2: factor the watchonly/multisig/etc fields on creationmoneromooo-monero2019-03-271-36/+22
| | | | | | | | | | | | | | | | | | | | There's half a dozen calls, and it's easy to miss some when adding a new field.
* | | | Merge pull request #5347Riccardo Spagni2019-04-061-1/+21
|\ \ \ \ | | | | | | | | | | | | | | | d45b85e1 wallet2: skip derivation precalc for blocks we know we'll skip (moneromooo-monero)