aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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)
| * | | | wallet: fix memory only walletsmoneromooo-monero2019-03-251-16/+5
| | | | | | | | | | | | | | | | | | | | at least when using restore_deterministic_wallet
* | | | | Merge pull request #5282Riccardo Spagni2019-03-241-0/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | f962449d wallet_rpc_server: include out subaddress indices in get_transfers (moneromooo-monero)
| * | | | wallet_rpc_server: include out subaddress indices in get_transfersmoneromooo-monero2019-03-131-0/+4
| | |/ / | |/| |
* | | | Merge pull request #5203Riccardo Spagni2019-03-191-22/+52
|\ \ \ \ | |_|/ / |/| | | | | | | 8b514645 add multisig tx sets to describe_transfer rpc endpoint (spoke0)
| * | | add multisig tx sets to describe_transfer rpc endpointspoke02019-03-051-22/+52
| | | |
* | | | Merge pull request #5165Riccardo Spagni2019-03-171-0/+168
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36451697 Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_key (Joel) c17c8188 Remove code duplication (Joel) acb14c10 Add generate_from_view_key RPC method (Joel) 7dd7a3b7 Add generate_from_keys RPC method (Joel)
| * | | | Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_keyJoel2019-03-021-15/+4
| | | | |
| * | | | Remove code duplicationJoel2019-02-211-157/+18
| | | | |
| * | | | Add generate_from_view_key RPC methodJoel2019-02-191-0/+152
| | | | |
| * | | | Add generate_from_keys RPC methodJoel2019-02-191-0/+166
| |/ / /
* | | | Merge pull request #5061Riccardo Spagni2019-03-171-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * | | Update 2019 copyrightbinaryFate2019-03-051-1/+1
| | |/ | |/|
* / | wallet_rpc_server: add missing --rpc-ssl-allowed-fingerprintsmoneromooo-monero2019-03-131-0/+1
|/ /
* | Merge pull request #4852Riccardo Spagni2019-03-051-1/+6
|\ \ | | | | | | | | | 057c279c epee: add SSL support (Martijn Otto)
| * | epee: add SSL supportMartijn Otto2019-03-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | wallet_rpc_server: avoid repeated string allocations when parsingmoneromooo-monero2019-03-051-20/+14
|/ /
* | various: remove unused variablesmoneromooo-monero2019-03-041-5/+0
| |
* | Merge pull request #5156Riccardo Spagni2019-03-041-20/+44
|\ \ | | | | | | | | | 3d2772a0 wallet-rpc: get balance for all accounts and subaddresses (stoffu)
| * | wallet-rpc: get balance for all accounts and subaddressesstoffu2019-02-201-20/+44
| |/
* | Merge pull request #5154Riccardo Spagni2019-03-041-4/+12
|\ \ | | | | | | | | | 8a1ff079 wallet-rpc: get transfers for all accounts and subaddresses (Jethro Grassie)
| * | wallet-rpc: get transfers for all accounts and subaddressesJethro Grassie2019-02-171-4/+12
| |/
* | Merge pull request #5141Riccardo Spagni2019-03-041-0/+51
|\ \ | | | | | | | | | 5c81a9f1 wallet_rpc_server: add a validate_address RPC (moneromooo-monero)
| * | wallet_rpc_server: add a validate_address RPCmoneromooo-monero2019-02-141-0/+51
| |/
* | Merge pull request #4054Riccardo Spagni2019-03-041-1/+31
|\ \ | | | | | | | | | 24569454 epee: add SSL support (moneromooo-monero)
| * | epee: add SSL supportmoneromooo-monero2019-02-021-1/+31
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / wallet_rpc_server: remove detached short payment ids supportmoneromooo-monero2019-02-021-5/+1
|/