summaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wallet_rpc_server: fix get_bulk_payments with short payment idsmoneromooo-monero2019-07-091-0/+5
|
* Fix allow any cert mode in wallet rpc when configured over rpcLee Clagett2019-05-211-1/+5
|
* Add ssl_options support to monerod's rpc mode.Lee Clagett2019-05-211-50/+1
|
* Merge pull request #5538luigi11112019-05-141-1/+1
|\ | | | | | | 615f287 wallet: fix certificate fingerprint length check (moneromooo-monero)
| * wallet: fix certificate fingerprint length checkmoneromooo-monero2019-05-111-1/+1
| | | | | | | | Fixed by crCr62U0
* | wallet_rpc_server: use original addresses in destinations in get_transfersmoneromooo-monero2019-05-101-1/+9
|/ | | | And add them for pending transfers, where they were missing
* Merge pull request #5503Riccardo Spagni2019-05-071-4/+4
|\ | | | | | | ccc1e311 wallet_rpc_server: reject standalone short payment id in address book (moneromooo-monero)
| * wallet_rpc_server: reject standalone short payment id in address bookmoneromooo-monero2019-04-301-4/+4
| |
* | Merge pull request #5493Riccardo Spagni2019-05-021-0/+9
|\ \ | | | | | | | | | 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/+9
| |/ | | | | | | SHA1 is too close to bruteforceable
* | Merge pull request #5491Riccardo Spagni2019-05-021-2/+4
|\ \ | |/ |/| | | | | | | 98fb98f9 wallet_rpc_server: adding missing return on error in set_daemon (moneromooo-monero) 9074c0d8 wallet_rpc_server: return false on error in set_log_categories (moneromooo-monero) 968848a7 wallet_rpc_server: fix crash in validate_address if no wallet is loaded (moneromooo-monero)
| * wallet_rpc_server: adding missing return on error in set_daemonmoneromooo-monero2019-04-251-0/+1
| |
| * wallet_rpc_server: return false on error in set_log_categoriesmoneromooo-monero2019-04-251-1/+1
| | | | | | | | Reported by SmajeNz0
| * wallet_rpc_server: fix crash in validate_address if no wallet is loadedmoneromooo-monero2019-04-251-1/+2
| | | | | | | | Reported by SmajeNz0
* | wallet_rpc_server: add block_height and frozen to incoming_transfersmoneromooo-monero2019-04-201-0/+2
|/
* Merge pull request #5458Riccardo Spagni2019-04-181-0/+1
|\ | | | | | | 84047cb7 wallet_rpc_server: add unlocked field to incoming_transfers output (moneromooo-monero)
| * wallet_rpc_server: add unlocked field to incoming_transfers outputmoneromooo-monero2019-04-171-0/+1
| |
* | wallet_rpc_server: set suggested_confirmations_threshold for pool txesmoneromooo-monero2019-04-161-5/+3
|/
* wallet_rpc_server: add set_log_level/set_log_categoriesmoneromooo-monero2019-04-161-0/+33
|
* Merge pull request #5446Riccardo Spagni2019-04-161-5/+1
|\ | | | | | | | | | | | | | | | | 7d79222f daemon: remove debug info (moneromooo-monero) 8fec0f98 functional_tests: add sweep_single test (moneromooo-monero) 9880d61b wallet_rpc_server: remove unused code (moneromooo-monero) 8a61b33d rpc: omit irrelevant fields for pool txes in gettransactions (moneromooo-monero) 56508524 rpc: add relayed in get_transaction output (moneromooo-monero) 82e510f1 rpc: set default log category in core_rpc_server.h (moneromooo-monero)
| * wallet_rpc_server: remove unused codemoneromooo-monero2019-04-151-5/+1
| |
* | Merge pull request #5429Riccardo Spagni2019-04-161-41/+48
|\ \ | | | | | | | | | bcb86ae6 wallet_rpc_server: fix inconsistent wallet caches on reload (moneromooo-monero)
| * | wallet_rpc_server: fix inconsistent wallet caches on reloadmoneromooo-monero2019-04-121-41/+48
| |/ | | | | | | | | | | | | | | | | | | Loading the same wallet as the currently loaded one would autosave the current state after loading it, leading to some kind of rollback effect. We now save before loading to avoid this. If loading fails, it means the current wallet will be saved (or maybe not, depending on where the failure occurs: most of the sanity checks occur before saving). There is a new autosave_current flag to open/restore calls so the (enabled by default) autosave can be skipped.
* | Merge pull request #5418Riccardo Spagni2019-04-161-1/+1
|\ \ | |/ |/| | | 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-1/+1
| | | | | | | | if we don't want to export new outputs only
* | Merge pull request #5382Riccardo Spagni2019-04-111-4/+5
|\ \ | | | | | | | | | | | | | | | | | | 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-4/+5
| | |
| * | wallet_rpc_server: error out on getting the spend key from a hot walletmoneromooo-monero2019-04-011-1/+7
| | |
| * | wallet_rpc_server: always fill out subaddr_indices in get_transfersmoneromooo-monero2019-04-011-0/+2
| | | | | | | | | | | | It was not filled out for in and pool types
* | | Merge pull request #5374Riccardo Spagni2019-04-111-0/+56
|\ \ \ | | | | | | | | | | | | a2561653 wallet: new option to start background mining (moneromooo-monero)
| * | | wallet: new option to start background miningmoneromooo-monero2019-04-041-0/+56
| |/ / | | | | | | | | | | | | | | | 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.
* | | Enabling daemon-rpc SSL now requires non-system CA verificationLee Clagett2019-04-071-7/+16
| | | | | | | | | | | | | | | If `--daemon-ssl enabled` is set in the wallet, then a user certificate, fingerprint, or onion/i2p address must be provided.
* | | Pass SSL arguments via one class and use shared_ptr instead of referenceLee Clagett2019-04-071-9/+29
| | |
* | | Change default SSL to "enabled" if user specifies fingerprint/certificateLee Clagett2019-04-061-4/+9
| | | | | | | | | | | | | | | | | | | | | 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-15/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | 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 #5345Riccardo Spagni2019-04-061-3/+9
|\ \ | | | | | | | | | 678262ab wallet_rpc_server: allow english/local language names in create_wallet (moneromooo-monero)
| * | wallet_rpc_server: allow english/local language names in create_walletmoneromooo-monero2019-03-251-3/+9
| | | | | | | | | | | | and return both in get_languages
* | | Merge pull request #5340Riccardo Spagni2019-04-061-1/+1
|\ \ \ | | | | | | | | | | | | 16eda54b wallet: use original user address if we have a short payment id (moneromooo-monero)
| * | | wallet: use original user address if we have a short payment idmoneromooo-monero2019-03-241-1/+1
| | | |
* | | | wallet_rpc_server: error out on getting the spend key from a hot walletmoneromooo-monero2019-04-011-1/+7
| | | |
* | | | wallet_rpc_server: add a set_daemon RPCmoneromooo-monero2019-04-011-0/+34
| | | |
* | | | wallet_rpc_server: always fill out subaddr_indices in get_transfersmoneromooo-monero2019-04-011-0/+2
| | | | | | | | | | | | | | | | It was not filled out for in and pool types
* | | | wallet_rpc_server: set confirmations to 0 for pending/pool txesmoneromooo-monero2019-04-011-1/+1
| |_|/ |/| |
* | | Merge pull request #5329Riccardo Spagni2019-04-011-36/+4
|\ \ \ | | | | | | | | | | | | 023f2c77 wallet_rpc_server: remove mixin from transfer RPCs (moneromooo-monero)
| * | | wallet_rpc_server: remove mixin from transfer RPCsmoneromooo-monero2019-03-211-36/+4
| |/ / | | | | | | | | | it's been a while, only use ring_size now
* | | Merge pull request #5302Riccardo Spagni2019-04-011-1/+33
|\ \ \ | | | | | | | | | | | | 23fb056a wallet_rpc_server: new auto_refresh RPC (moneromooo-monero)
| * | | wallet_rpc_server: new auto_refresh RPCmoneromooo-monero2019-03-171-1/+33
| | | | | | | | | | | | | | | | It can enable/disable auto refresh, and set auto refresh period
* | | | Merge pull request #5299Riccardo Spagni2019-04-011-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 4ee15655 wallet_rpc_server: fix buffer read overflow in string assignment (moneromooo-monero)
| * | | | wallet_rpc_server: fix buffer read overflow in string assignmentmoneromooo-monero2019-03-151-1/+1
| | | | |
* | | | | Merge pull request #5297Riccardo Spagni2019-04-011-16/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | a8b98a0b wallet: fix memory only wallets (moneromooo-monero)