aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
Commit message (Collapse)AuthorAgeFilesLines
...
| * specify restore height by YYYY-MM-DD formatkenshi842017-01-161-16/+64
| |
* | Change logging to easylogging++moneromooo-monero2017-01-162-32/+41
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #1562Riccardo Spagni2017-01-131-78/+9
|\ | | | | | | a081b39c Move key image export/import functions to wallet2 (Jaquee)
| * Move key image export/import functions to wallet2Jaquee2017-01-131-78/+9
| |
* | Merge pull request #1559Riccardo Spagni2017-01-132-0/+6
|\ \ | | | | | | | | | db56a03f Wallet2 + API: Callbacks for unconfirmed transfers (Jaquee)
| * | Wallet2 + API: Callbacks for unconfirmed transfersJaquee2017-01-122-0/+6
| | |
* | | Merge pull request #1545Riccardo Spagni2017-01-131-0/+1
|\ \ \ | | | | | | | | | | | | 5ae00f0f add msg for donate (luigi1111)
| * | | add msg for donateluigi11112017-01-081-0/+1
| |/ / | | | | | | | | | #1498
* | | Merge pull request #1492Riccardo Spagni2017-01-132-14/+152
|\ \ \ | |_|/ |/| | | | | f1dde1a4 wallet cli: print originating block heights of mixin keys when making transfer (kenshi84)
| * | wallet cli: print originating block heights of mixin keys when making transferkenshi842017-01-092-14/+152
| |/
* / Fix monero-wallet-cli compileluigi11112017-01-081-1/+1
|/ | | | Not 100$ sure this is the right fix, nor whether address book entries from URL should be stored as addresses or URLs (or both with a check for change on payment).
* Merge pull request #1537Riccardo Spagni2017-01-082-0/+124
|\ | | | | | | | | c2135082 simplewallet: add a show_transfer <txid> command (moneromooo-monero) 19c4041d wallet_rpc_server: new RPC call to get a transfer by txid (moneromooo-monero)
| * simplewallet: add a show_transfer <txid> commandmoneromooo-monero2017-01-082-0/+124
| |
* | Merge pull request #1503Riccardo Spagni2017-01-081-24/+8
|\ \ | | | | | | | | | 542571f5 simplewallet: remove unnecessary local_args.erase(...) in set_variable() (kenshi84)
| * | simplewallet: remove unnecessary local_args.erase(...) in set_variable()kenshi842016-12-261-24/+8
| |/
* | Merge pull request #1496Riccardo Spagni2017-01-082-0/+120
|\ \ | | | | | | | | | adee1644 wallet cli: print unspent outputs with histogram (kenshi84)
| * | wallet cli: print unspent outputs with histogramkenshi842016-12-262-0/+120
| |/
* | Merge pull request #1482Riccardo Spagni2017-01-082-0/+82
|\ \ | | | | | | | | | 38f00d07 wallet cli: viewing and editing address book (kenshi84)
| * | wallet cli: viewing and editing address bookkenshi842016-12-212-0/+82
| |/
* / make openalias also available for solo miner; introduce namespace ↵kenshi842016-12-212-74/+5
|/ | | | tools::dns_utils; support integrated address with dns lookup
* simplewallet: bump output file format versionmoneromooo-monero2016-12-201-1/+1
| | | | | | | | The serialization format changed, and while there is code to load the older serialization format, an older monerod will not be able to load a file saved by a new monerod, even though both share the same version. This is not good, and we prefer a version bump.
* Merge pull request #1472Riccardo Spagni2016-12-202-163/+59
|\ | | | | | | 2bddb8eb Refactored password prompting for wallets (Lee Clagett)
| * Refactored password prompting for walletsLee Clagett2016-12-192-163/+59
| |
* | Merge pull request #1469Riccardo Spagni2016-12-201-1/+1
|\ \ | | | | | | | | | 9e4b3724 simplewallet: add pending/pool/failed in the show_transfers help (moneromooo-monero)
| * | simplewallet: add pending/pool/failed in the show_transfers helpmoneromooo-monero2016-12-171-1/+1
| |/ | | | | | | reported by nioc
* | Merge pull request #1466Riccardo Spagni2016-12-201-1/+3
|\ \ | | | | | | | | | | | | | | | c367d7df README: add note about the donate command (anonimal) b9a28677 simplewallet: add return type for donate function (anonimal) d36669fd simplewallet: hardcode Monero's donation address (anonimal)
| * | simplewallet: add return type for donate functionanonimal2016-12-171-0/+1
| | | | | | | | | | | | | | | | | | Resolves -Wreturn-type References #1447 #1451
| * | simplewallet: hardcode Monero's donation addressanonimal2016-12-171-1/+2
| |/ | | | | | | | | Closes #1447 References #1451
* | support importing unportable outputskenshi842016-12-201-3/+12
| |
* | added experimental boost::archive::portable_binary_{i|o}archivekenshi842016-12-161-2/+2
|/
* wallet cli: donate commandKenshi Takayama2016-12-152-0/+41
|
* monero-wallet-cli wording changes 'n' stuffluigi11112016-12-121-11/+13
| | | | Possibly other pedantry. Pedants are people too.
* simplewallet: restore automatically setting trusted local daemonmoneromooo-monero2016-12-081-0/+43
|
* Merge pull request #1379Riccardo Spagni2016-12-041-7/+12
|\ | | | | | | d6086f5b Improve daemon RPC version handling (moneromooo-monero)
| * Improve daemon RPC version handlingmoneromooo-monero2016-11-261-7/+12
| | | | | | | | | | | | | | Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
* | Added command_line::is_yesLee Clagett2016-11-251-17/+15
|/
* simplewallet: remove double confirmation when submitting signed txmoneromooo-monero2016-11-231-51/+0
|
* Merge pull request #1344Riccardo Spagni2016-11-172-16/+58
|\ | | | | | | | | | | | | | | | | | | | | | | | | a0131c8 wallet: auto sync outputs and key images in cold signing files (moneromooo-monero) f806611 wallet2: fill key image and pubkey maps when importing outputs (moneromooo-monero) 5fe363c wallet: cast indices to string in logs to be nice to CLANG (moneromooo-monero) 11ae187 wallet2: try all tx keys when scanning a new transaction (moneromooo-monero) 072d646 wallet2: fill in key image map when importing key images (moneromooo-monero) 23d80b1 core: remove any tx pubkey from extra before adding one (moneromooo-monero) d72376d simplewallet: add a verbose flag to incoming_transfers (moneromooo-monero) 47413a5 simplewallet: spell out change when signing a transfer (moneromooo-monero) 14cb088 simplewallet: print public keys too on spendkey/viewkey commands (moneromooo-monero) a99ab49 wallet: fix serialization of new m_key_image_known member (moneromooo-monero)
| * wallet: auto sync outputs and key images in cold signing filesmoneromooo-monero2016-11-162-8/+22
| | | | | | | | | | | | | | | | | | When passing around unsigned and signed transactions, outputs and key images are passed along (outputs are passed along unsigned transactions from the hot wallet to the cold wallet, key images are passed along with signed transations from the cold wallet to the hot wallet), to allow more user friendly syncing between hot and cold wallets.
| * simplewallet: add a verbose flag to incoming_transfersmoneromooo-monero2016-11-131-6/+18
| | | | | | | | Prints pubkey and key image as well
| * simplewallet: spell out change when signing a transfermoneromooo-monero2016-11-131-2/+16
| | | | | | | | Also catch change to multiple addresses, this is unexpected
| * simplewallet: print public keys too on spendkey/viewkey commandsmoneromooo-monero2016-11-131-2/+4
| |
* | simplewallet: include amount sent in transfer confirmationmoneromooo-monero2016-11-131-0/+10
|/
* Fixed generate-from-json bug introduced in 358e068Lee Clagett2016-11-121-1/+2
|
* Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett2016-11-105-1035/+117
|
* wallet: encrypt outputs and key images files with the view keymoneromooo-monero2016-11-071-14/+43
| | | | | | This key is available to both cold and hot wallet. Authenticated encryption will guard against interception and/or modification of the file.
* wallet: fix bad amounts/fees againmoneromooo-monero2016-11-021-2/+2
| | | | | | | | | | | m_amount_out was sometimes getting initialized with the sum of an transaction's outputs, and sometimes with the sum of outputs that were not change. This caused confusion and bugs. We now always set it to the sum of outputs. This reverts an earlier fix for bad amounts as this used the other semantics. The wallet data should be converted automatically in a percentage of cases that I'm hesitant to estimate. In any case, restoring from seed or keys or rebuilding the cache will get it right.
* Merge pull request #1281Riccardo Spagni2016-11-012-0/+102
|\ | | | | | | bb560dd wallet: new import_outputs/export_outputs commands (moneromooo-monero)
| * wallet: new import_outputs/export_outputs commandsmoneromooo-monero2016-10-302-0/+102
| | | | | | | | | | | | | | | | The intended use is to export outputs from a hot wallet, which can scan incoming transfers from the network, and import them in the cold wallet, which can't. The cold wallet can then compute key images for those outputs, which can then be exported with export_key_images, etc.
* | Merge pull request #1277Riccardo Spagni2016-11-012-5/+17
|\ \ | | | | | | | | | | | | 7e6d3cf wallet: set incoming outputs' key image to 0 on view wallets (moneromooo-monero) 1f9e6a4 wallet: print tx overview on submit_transfer too (moneromooo-monero)