Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-22 | ringct: move ge_frombytes_vartime failure error to warning | moneromooo-monero | 1 | -11/+13 | |
Avoids scaring people when seeing some invalid txes | |||||
2017-01-16 | Change logging to easylogging++ | moneromooo-monero | 1 | -0/+3 | |
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. | |||||
2016-12-04 | ringct: switch to Borromean signatures | Shen Noether | 1 | -1/+14 | |
2016-10-23 | ringct: some more small optimizations | moneromooo-monero | 1 | -48/+11 | |
2016-10-15 | ringct: avoid unnecessary memcpy | moneromooo-monero | 1 | -16/+3 | |
2016-10-15 | ringct: add a few consts where possible | moneromooo-monero | 1 | -4/+4 | |
2016-10-15 | ringct: pass vectors by const ref where possible | moneromooo-monero | 1 | -2/+2 | |
2016-08-28 | ringct: remove unused code | moneromooo-monero | 1 | -245/+0 | |
2016-08-28 | ringct: use memcpy/memset instead of handwritten loop where appropriate | moneromooo-monero | 1 | -29/+11 | |
2016-08-28 | ringct: remove spurious copies | moneromooo-monero | 1 | -24/+4 | |
2016-08-28 | rct amount key modified as per luigi1111's recommendations | moneromooo-monero | 1 | -14/+4 | |
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. | |||||
2016-08-28 | rct: make the amount key derivable by a third party with the tx key | moneromooo-monero | 1 | -7/+13 | |
Scheme design from luigi1114. | |||||
2016-08-28 | rct: use the already defined H where possible | moneromooo-monero | 1 | -2/+1 | |
Found by luigi1111w | |||||
2016-08-28 | ringct: optimization/cleanup of hash functions | Shen Noether | 1 | -0/+25 | |
2016-08-28 | ringct: "simple" ringct variant | Shen Noether | 1 | -0/+6 | |
Allows the fake outs to be in different positions for each ring. For rct inputs only. | |||||
2016-08-28 | ringct: fix size unit mismatch calling keccak | moneromooo-monero | 1 | -1/+1 | |
2016-08-28 | ringct: catch errors from ge_frombytes_vartime | moneromooo-monero | 1 | -11/+12 | |
2016-08-28 | ringct: add functions to commit to an amount | moneromooo-monero | 1 | -0/+17 | |
One to commit to an amount with zero key (for use with fake commitments for pre-rct outputs), and one with an arbitrary key (for rct outputs). | |||||
2016-08-28 | ringct: simplify random key generation | moneromooo-monero | 1 | -7/+2 | |
2016-08-28 | ringct: cosmetic fixes | Shen Noether | 1 | -29/+3 | |
Ported from Shen's RingCT repo | |||||
2016-08-28 | ringct: changes to hashToPointSimple to calcualte H2 values | Shen Noether | 1 | -0/+5 | |
Ported from Shen's RingCT repo | |||||
2016-08-28 | ringct: compare keys with bitwise equality, not crypto ops | Shen Noether | 1 | -7/+6 | |
Ported from Shen's RingCT repo | |||||
2016-08-28 | ringct: fix size argument to cn_fast_hash | Shen Noether | 1 | -1/+1 | |
Ported from Shen's RingCT repo | |||||
2016-08-28 | ringct: lock access to the PRNG | moneromooo-monero | 1 | -2/+2 | |
2016-08-28 | ringct: import of Shen Noether's ring confidential transactions | moneromooo-monero | 1 | -0/+741 | |