summaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wallet rpc: enable solo miningstoffu2017-03-201-0/+51
|
* wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi842017-03-191-1/+1
|
* Merge pull request #1884Riccardo Spagni2017-03-181-0/+28
|\ | | | | | | e9175cec wallet_rpc_server: make a few RPCs unavailable in restricted mode (moneromooo-monero)
| * wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero2017-03-181-0/+28
| | | | | | | | Address book modification, setting tx nodes, importing key images
* | Merge pull request #1883Riccardo Spagni2017-03-181-8/+8
|\ \ | | | | | | | | | d0238313 use const references in catch blocks (moneromooo-monero)
| * | use const references in catch blocksmoneromooo-monero2017-03-181-8/+8
| |/
* | Merge pull request #1882Riccardo Spagni2017-03-181-0/+22
|\ \ | | | | | | | | | | | | 3fa59755 wallet2: call is_key_image_spent in blocks in rescan_spent (moneromooo-monero) 9d134e86 wallet_rpc_server: add a rescan_spent RPC (moneromooo-monero)
| * | wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero2017-03-181-0/+22
| |/
* / wallet-rpc: enable openaliasstoffu2017-03-171-3/+3
|/
* wallet: fix --log-file not workingmoneromooo-monero2017-02-281-0/+1
|
* wallet_rpc_server: new --trusted-daemon flagmoneromooo-monero2017-02-241-5/+16
| | | | | and remove trusted_daemon fields from transfer RPCs, it is much friendlier on users
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* simplewallet: validate hex input sizemoneromooo-monero2017-02-141-4/+4
|
* Merge pull request #1689Riccardo Spagni2017-02-111-62/+25
|\ | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-62/+25
| |
* | extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-2/+2
|/
* wallet_rpc_server: add address book RPC callsmoneromooo-monero2017-02-041-0/+98
|
* Merge pull request #1643Riccardo Spagni2017-02-021-4/+2
|\ | | | | | | 69d2ad39 wallet_rpc_server: fix logs going to the wrong file (moneromooo-monero)
| * wallet_rpc_server: fix logs going to the wrong filemoneromooo-monero2017-01-281-4/+2
| |
* | wallet_rpc_server: fix short payment id validation in transfermoneromooo-monero2017-01-291-1/+1
|/
* wallet2: reuse fake outs when adjusting fee on transfermoneromooo-monero2017-01-161-0/+5
| | | | | | | | This avoids indirectly leaking the real output to the daemon, and is faster. This will still happen for more complex cases, especially when cancelling a tx and "re-rolling" it.
* Change logging to easylogging++moneromooo-monero2017-01-161-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
* Added (not yet enabled) HTTP client authenticationLee Clagett2017-01-111-1/+1
|
* wallet_rpc_server: new RPC call to get a transfer by txidmoneromooo-monero2017-01-081-61/+152
|
* Refactored password prompting for walletsLee Clagett2016-12-191-3/+3
|
* Enabled HTTP auth support for monero-wallet-rpcLee Clagett2016-12-161-7/+91
|
* Added confirmation before binding wallet-rpc to external IPLee Clagett2016-12-051-11/+30
|
* Merge pull request #1398Riccardo Spagni2016-12-041-1/+1
|\ | | | | | | f4772bae Fix a few minor typos (Pierre Boyer)
| * Fix a few minor typosPierre Boyer2016-12-041-1/+1
| |
* | wallet: add API and RPC to create/parse monero: URIsmoneromooo-monero2016-11-281-0/+27
|/
* wallet: return fee in transfer RPCmoneromooo-monero2016-11-161-0/+4
|
* Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett2016-11-101-10/+117
|
* epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2016-09-181-1/+4
| | | | | | | | This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged.
* wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero2016-09-161-3/+3
| | | | | | | | | | | We keep 1, 2, 3 multipliers till the fee decrase from 0.01/kB to 0.002/kB, where we start using 1, 20, 166 multipliers. This ensures the higher multiplier will compensate for the block reward penalty when pushing past 100% of the past median. The fee-multiplier wallet setting is now rename to priority, since it keeps its [0..3] range, but maps to different multiplier values.
* wallet_rpc_server: return payment id in make_integrated_address RPCmoneromooo-monero2016-08-291-0/+1
| | | | It is useful, especially when requesting a random one
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-281-31/+0
| | | | | | | | | This allows the key to be not the same for two outputs sent to the same address (eg, if you pay yourself, and also get change back). Also remove the key amounts lists and return parameters since we don't actually generate random ones, so we don't need to save them as we can recalculate them when needed if we have the correct keys.
* wallet: do not store signatures in the wallet cachemoneromooo-monero2016-08-281-1/+1
| | | | | Saves some substantial space. Also avoid calculating tx hashes we don't need.
* wallet: always use new algorithm for RPC transfersmoneromooo-monero2016-08-281-5/+2
| | | | This ensures we get rct transactions when appropriate
* wallet: do not try to use rct txes a few blocks before the forkmoneromooo-monero2016-08-281-2/+2
|
* port get_tx_key/check_tx_key to rctmoneromooo-monero2016-08-281-0/+39
|
* add rct to the protocolmoneromooo-monero2016-08-281-4/+2
| | | | | It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
* wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero2016-07-241-0/+66
| | | | | | They are used to export a signed set of key images from a wallet with a private spend key, so an auditor with the matching view key may see which of those are spent, and which are not.
* wallet: add unconfirmed incoming txes from the txpoolmoneromooo-monero2016-07-201-2/+25
| | | | | Shown in show_transfers simplewallet command, and get_transfers RPC command, if req.pool is true.
* Merge pull request #899Riccardo Spagni2016-07-201-1/+8
|\ | | | | | | a95a2cb wallet_rpc_server: add payment id from integrated addresses to extra (moneromooo-monero)
| * wallet_rpc_server: add payment id from integrated addresses to extramoneromooo-monero2016-07-101-1/+8
| |
* | wallet: add command and RPC to sign/verify datamoneromooo-monero2016-07-191-0/+36
|/ | | | | | | | | Signing is done using the spend key, since the view key may be shared. This could be extended later, to let the user choose which key (even a per tx key). simplewallet's sign/verify API uses a file. The RPC uses a string (simplewallet can't easily do strings since commands receive a tokenized set of arguments).
* wallet: add a fee multipliermoneromooo-monero2016-06-221-4/+4
| | | | | | | Fee can now be multiplied by 2 or 3, if users want to give priority to their transactions. There are only three levels to avoid too much fingerprinting. Default is 1 (minimum fee). The default multiplier can be set by "set fee-multiplier X".
* wallet_rpc_server: fix some string values being returned between <>moneromooo-monero2016-06-191-10/+10
|
* wallet: add a filter_by_height field to get_transfersmoneromooo-monero2016-04-271-2/+9
| | | | | | It allows a simple get_transfers (with default 0 min_height and max_height) to return all transactions, instead of the unexpected set of txes in block 0, which is probably none at all.
* wallet: add get_transfers rpc callmoneromooo-monero2016-04-261-0/+89
| | | | | Allows getting in, out, pending, and failed transfers, similarly to the show_transfers command.