aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-02-04wallet_rpc_server: add address book RPC callsmoneromooo-monero1-0/+6
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+4
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.
2017-01-08wallet_rpc_server: new RPC call to get a transfer by txidmoneromooo-monero1-0/+8
2016-12-20Merge pull request #1473Riccardo Spagni1-2/+0
e3639f5c Removed unused functions (Lee Clagett)
2016-12-19Removed unused functionsLee Clagett1-2/+0
2016-12-16Enabled HTTP auth support for monero-wallet-rpcLee Clagett1-0/+3
2016-12-05Added confirmation before binding wallet-rpc to external IPLee Clagett1-3/+0
2016-11-28wallet: add API and RPC to create/parse monero: URIsmoneromooo-monero1-0/+4
2016-11-10Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett1-7/+2
2016-09-18epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero1-0/+2
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.
2016-07-24wallet: new {ex,im}port_key_images commands and RPC callsmoneromooo-monero1-0/+4
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.
2016-07-19wallet: add command and RPC to sign/verify datamoneromooo-monero1-0/+4
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).
2016-04-26wallet: add get_transfers rpc callmoneromooo-monero1-0/+2
Allows getting in, out, pending, and failed transfers, similarly to the show_transfers command.
2016-04-26wallet: allow attaching notes to txidsmoneromooo-monero1-0/+4
2016-04-19wallet: add a new sweep_all command and RPC commandmoneromooo-monero1-0/+2
This sends all outputs in a wallet to a given address, alleviating the difficulty people have had trying to send all monero but being left with some small amount left.
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-30wallet: add a rescan_bc command and rescan_blockchain RPCmoneromooo-monero1-0/+2
Blockchain hashes and key images are flushed, and blocks are pulled anew from the daemon. The console command is shortened to match bc_height. This should make it a lot easier on users who are currently told to remove this particular cache file but keep the keys one, etc, etc.
2015-12-28wallet_rpc_server: exit async, so we reply to stop_wallet RPCmoneromooo-monero1-0/+1
Reported by saddam
2015-12-23added RPC wallet command getheightBrendan Telzrow1-0/+2
2015-12-05wallet: add a stop_wallet RPC callmoneromooo-monero1-0/+2
2015-06-13Add RPC commands to manipulate integrated addressesmoneromooo-monero1-0/+4
2015-05-30wallet_rpc_server: add a sweep_dust RPC command as wellmoneromooo-monero1-0/+2
2015-03-27Restore daemon interactive modeThomas Winget1-9/+9
Daemon interactive mode is now working again. RPC mapped calls in daemon and wallet have both had connection_context removed as an argument as that argument was not being used anywhere.
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-08-05query_key command in wallet rpc.Jakob Lind1-0/+4
only support mnemonic as key_type currently
2014-07-23Merge pull request #70 from fluffypony/masterRiccardo Spagni1-3/+29
New readme, license changes
2014-07-23wallet rpc: actually populate the extra while assembling a transactionErik Kimmo1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-07-22Add get_bulk_payments rpc callZachary Michaels1-0/+2
2014-06-30wallet RPC converted to use new transaction semanticsThomas Winget1-1/+4
wallet RPC now uses wallet2::create_transactions and wallet2::commit_tx instead of wallet2::transfer. This made it possible to add the RPC call /transfer_split, which will split transactions automatically if they are too large. The old call to /transfer will return an error stating to use /transfer_split if multiple transactions are needed to fulfill the request.
2014-06-02fixed conflictpaybee1-0/+2
2014-05-27Added incoming_transfers RPC API methodpaybee1-4/+6
2014-05-25'getaddress' wallet-rpc commandNeozaru1-0/+2
2014-05-03initial [broken] updatemydesktop1-4/+6
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-0/+55