summaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* wallet2_api: add updates check apimoneromooo-monero2017-02-221-0/+28
|
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Merge pull request #1747Riccardo Spagni2017-02-211-1/+0
|\ | | | | | | 26bd7aac wallet_api: fix logging init via api (moneromooo-monero)
| * wallet_api: fix logging init via apimoneromooo-monero2017-02-181-1/+0
| |
* | simplewallet: validate hex input sizemoneromooo-monero2017-02-141-2/+2
|/
* Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-1/+1
|
* Merge pull request #1629Riccardo Spagni2017-02-021-21/+20
|\ | | | | | | c02e1cb9 Updates to epee HTTP client code - http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed (Lee Clagett)
| * Updates to epee HTTP client codeLee Clagett2017-01-251-21/+20
| | | | | | | | | | | | | | | | - http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed
* | Wallet API: Create wallet from keysJaquee2017-01-301-0/+16
|/
* wallet2_api: add API to set log categoriesmoneromooo-monero2017-01-161-0/+5
|
* Change logging to easylogging++moneromooo-monero2017-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* wallet2_api: add solo mining APImoneromooo-monero2017-01-091-1/+37
|
* Merge pull request #1500Riccardo Spagni2017-01-081-1/+32
|\ | | | | | | c0a0fcaf wallet2_api: some new APIs to access daemon state (moneromooo-monero)
| * wallet2_api: some new APIs to access daemon statemoneromooo-monero2016-12-251-1/+32
| |
* | make openalias also available for solo miner; introduce namespace ↵kenshi842016-12-211-1/+2
|/ | | | tools::dns_utils; support integrated address with dns lookup
* wallet2_api: add an API to the OpenAlias resolvermoneromooo-monero2016-12-171-0/+8
|
* Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that ↵Randi Joseph2016-12-131-1/+3
| | | | third party uses of the wallet api can transition.
* GUI address bookJaquee2016-12-121-0/+2
|
* wallet_api: add a few daemon related gettersmoneromooo-monero2016-11-291-1/+64
| | | | Blockchain height, version, Mining hash rate...
* wallet_api: txkey checking functions for the GUImoneromooo.monero2016-11-051-0/+153
|
* Wallet API: added walletExists logicJacob Brydolf2016-10-301-1/+7
|
* Wallet API: make sure path exists before searching for walletsJacob Brydolf2016-10-281-2/+5
|
* libwallet_api: Added option to restore from specific heightJacob Brydolf2016-10-081-1/+4
|
* wallet_api: async init, Wallet::connected status, log levelIlya Kitaev2016-07-181-0/+5
|
* wallet2_api: make this build (smatch needs .str() for /=)moneromooo-monero2016-07-071-1/+1
|
* WalletManager::findWallets: searching by "keys" files instead ofIlya Kitaev2016-06-231-5/+3
| | | | "address.txt" files
* commented regexIlya Kitaev2016-06-231-1/+1
|
* removed unused "using"Ilya Kitaev2016-06-231-1/+0
|
* Wallet API : WalletManager::findWallets() addedIlya Kitaev2016-06-231-0/+37
|
* api implementation splitted over separate filesIlya Kitaev2016-06-231-0/+108