aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-05Clarify in/out connections for usersNanoAkron1-1/+1
2017-02-04Merge pull request #1669Riccardo Spagni4-0/+184
4f5b130d wallet_rpc_server: add address book RPC calls (moneromooo-monero)
2017-02-04Merge pull request #1670Riccardo Spagni1-1/+6
c3d7a198 mlog: probable fix for gmtime_r not being available on windows (moneromooo-monero)
2017-02-04Merge pull request #1671Riccardo Spagni3-8/+34
cd34fc65 Use easylogging++'s stack trace facility where possible (moneromooo-monero)
2017-02-04Merge pull request #1672Riccardo Spagni1-27/+27
cbdfa757 mlog: fix default logging being not verbose enough (moneromooo-monero)
2017-02-04Merge pull request #1666Riccardo Spagni1-2/+2
03ff3639 Fix missing parentheses (Miguel Herranz)
2017-02-04Merge pull request #1665Riccardo Spagni1-6/+1
34719071 simplewallet: cleanup (moneromooo-monero) a9a9b64b simplewallet: fix build (unqualified type not in current scope) (moneromooo-monero)
2017-02-04Merge pull request #1664Riccardo Spagni1-0/+2
b5cb8861 core: fix integrated addresses breaking with auto zero change (moneromooo-monero)
2017-02-04Merge pull request #1640Riccardo Spagni4-2/+54
f97526e6 simplewallet: option to always ask password for any crytical operations (kenshi84)
2017-02-04mlog: fix default logging being not verbose enoughmoneromooo-monero1-27/+27
2017-02-04Use easylogging++'s stack trace facility where possiblemoneromooo-monero3-8/+34
This avoids using libunwind, which often causes trouble.
2017-02-04mlog: probable fix for gmtime_r not being available on windowsmoneromooo-monero1-1/+6
2017-02-04wallet_rpc_server: add address book RPC callsmoneromooo-monero4-0/+184
2017-02-03simplewallet: option to always ask password for any crytical operationskenshi844-2/+54
2017-02-02Fix missing parenthesesMiguel Herranz1-2/+2
2017-02-02simplewallet: cleanupmoneromooo-monero1-5/+0
Remove empty static function which was refactored, as well as leftover exception testing code.
2017-02-02simplewallet: fix build (unqualified type not in current scope)moneromooo-monero1-1/+1
2017-02-02core: fix integrated addresses breaking with auto zero changemoneromooo-monero1-0/+2
Zero change is sent to a random address, which confuses the code which determines which key to use to encrypt the payment id. Ignore zero amounts for this purpose, so the payment id gets encrypted with the real destination's key.
2017-02-02Merge pull request #1663Riccardo Spagni1-0/+2
bbcc3a12 Add missing include (Miguel Herranz)
2017-02-02Merge pull request #1641Riccardo Spagni2-1/+16
ca94d0a4 Separate data per P2P port (Miguel Herranz)
2017-02-02Merge pull request #1656Riccardo Spagni1-7/+9
edfd7f6e Workaround VL32 cursor refcounting miscount (Howard Chu)
2017-02-02Merge pull request #1654Riccardo Spagni1-4/+6
084aef70 Added days uptime to the status message (NanoAkron)
2017-02-02Merge pull request #1652Riccardo Spagni1-1/+1
fba9332d Changed console output for transaction from L0 to L1 (NanoAkron)
2017-02-02Merge pull request #1651Riccardo Spagni1-2/+2
fc91e6a7 Fixed a deadlock issue with easylogger++ (NanoAkron)
2017-02-02Merge pull request #1647Riccardo Spagni1-1/+2
2bf029be wallet2: fix corner case failing to send a second output (moneromooo-monero)
2017-02-02Merge pull request #1646Riccardo Spagni2-6/+7
95f3e193 Update and use blockchain data files defines (Miguel Herranz)
2017-02-02Merge pull request #1645Riccardo Spagni4-65/+43
9bd9906e Factor is_address_local code into a tools function (moneromooo-monero)
2017-02-02Merge pull request #1643Riccardo Spagni3-7/+7
69d2ad39 wallet_rpc_server: fix logs going to the wrong file (moneromooo-monero)
2017-02-02Merge pull request #1642Riccardo Spagni2-1/+2
3ae79a59 core: set missing verifivation_failed flag when rejecting a tx (moneromooo-monero) ea6549e9 core_tests: decrease trace level from trace to debug (moneromooo-monero)
2017-02-02Merge pull request #1639Riccardo Spagni2-0/+28
48aa9cf0 Add change_password for simplewallet (Ashley Perpetual)
2017-02-02Merge pull request #1636Riccardo Spagni1-0/+17
cc1462e0 Add concurrency check to rpc mining to ensure not too many threads. number of cores times 4 or 257. (Ashley Perpetual)
2017-02-02Add missing includeMiguel Herranz1-0/+2
Fails to build without it.
2017-02-02Merge pull request #1634Riccardo Spagni2-4/+4
99f58437 Fix invalid + of std::string and int (Timothy D. Prime)
2017-02-02Merge pull request #1631Riccardo Spagni1-4/+8
58e82506 Blockfill - Sort tx pool correctly (Alexis Enston) 5f7a8741 Blockfill - Take TX fees into account properly (Alexis Enston) 4ecab0d8 Consider empty block when filling with TXs (Alexis Enston)
2017-02-02Merge pull request #1629Riccardo Spagni15-323/+172
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)
2017-02-02Merge pull request #1628Riccardo Spagni1-0/+1
66665003 Clear feedback to user when daemon has stopped successfully (NanoAkron)
2017-02-02Merge pull request #1627Riccardo Spagni5-29/+48
55a8e982 moved get_account_address_from_str_or_url from libcommon to libcryptonote_core (kenshi84)
2017-02-02Merge pull request #1624Riccardo Spagni1-0/+1
a39cd745 rpc: fix bc_dyn_stats not setting grace blocks (moneromooo-monero)
2017-02-02Merge pull request #1617Riccardo Spagni20-94/+84
0644eed7 Remove boost/foreach.cpp includes (Miguel Herranz) 36dd3e23 Replace BOOST_REVERSE_FOREACH with ranged for (Miguel Herranz) 629e3101 Replace BOOST_FOREACH with C++11 ranged for (Miguel Herranz)
2017-02-02Merge pull request #1614Riccardo Spagni1-0/+44
7b6a9e91 Added instructions for getting stack traces with gdb (NanoAkron)
2017-02-01Fixed a deadlock issue with easylogger++NanoAkron1-2/+2
Ubuntu 16.04/GCC 5.4.0/ARMv8 fix to match previous recursive mutex fix for GCC
2017-01-31Workaround VL32 cursor refcounting miscountHoward Chu1-7/+9
Don't try to deref cursor page if txn's pagelist is empty
2017-01-31Added days uptime to the status messageNanoAkron1-4/+6
Also broke down the time calculations for legibility
2017-01-30Merge pull request #1649luigi11111-0/+10
aa95619 GUI: Add install target for epee (Jaqueeee)
2017-01-30Merge pull request #1637luigi11111-1/+1
6b14576 Fix clang build failure, caused by mixing C and C++ (tdprime)
2017-01-30Merge pull request 1635luigi11115-0/+178
774a213 Wallet API: Create wallet from keys (Jaqueeee)
2017-01-30Merge pull request 1648luigi11111-1/+1
8c8482a wallet_rpc_server: fix short payment id validation in transfer (moneromooo-monero)
2017-01-30GUI: Add install target for epeeJaquee1-0/+10
2017-01-30Wallet API: Create wallet from keysJaquee5-0/+178
2017-01-30Changed console output for transaction from L0 to L1NanoAkron1-1/+1
2017-01-29wallet_rpc_server: fix short payment id validation in transfermoneromooo-monero1-1/+1
2017-01-29Add change_password for simplewalletAshley Perpetual2-0/+28
2017-01-28wallet2: fix corner case failing to send a second outputmoneromooo-monero1-1/+2
If a rct transaction can be made with just one input, a second output will be added. This output will be the smallest amount output available. However, if this output is a non rct output with less available fake outs than requested, the transaction will be rejected. We now check the histogram to only consider outputs with enough available fake outs in the first place.
2017-01-28Factor is_address_local code into a tools functionmoneromooo-monero4-65/+43
2017-01-28Update and use blockchain data files definesMiguel Herranz2-6/+7
2017-01-28Separate data per P2P portMiguel Herranz2-1/+16
poolstate.bin and p2pstate.bin are stored in .bitmonero/ if the default P2P port is being used. If another port is used both files are stored in .bitmonero/PORTNUMBER/.
2017-01-28wallet_rpc_server: fix logs going to the wrong filemoneromooo-monero3-7/+7
2017-01-28core: set missing verifivation_failed flag when rejecting a txmoneromooo-monero1-0/+1
This fixes two core rct tests
2017-01-28core_tests: decrease trace level from trace to debugmoneromooo-monero1-1/+1
It had become very, very spammy
2017-01-28Add concurrency check to rpc mining to ensure not too many threads. number ↵Ashley Perpetual1-0/+17
of cores times 4 or 257.
2017-01-27Merge pull request #1618luigi11112-0/+2
2017-01-26Fix clang build failure, caused by mixing C and C++Timothy D. Prime1-1/+1
Easily fixed by moving a C++ header out of 'extern "C" {...}'. When building with CC=clang CXX=clang++ make, [ 21%] Building CXX object src/ringct/CMakeFiles/obj_ringct.dir/rctTypes.cpp.o In file included from /home/tdprime/bitmonero/src/ringct/rctTypes.cpp:31: In file included from /home/tdprime/bitmonero/src/ringct/rctTypes.h:43: In file included from /home/tdprime/bitmonero/src/crypto/generic-ops.h:34: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/cstring:100:3: error: conflicting types for 'memchr' memchr(void* __s, int __c, size_t __n) ^ /usr/include/string.h:92:14: note: previous declaration is here extern void *memchr (const void *__s, int __c, size_t __n) ^ ... and 4 more similar errors
2017-01-26Fix invalid + of std::string and intTimothy D. Prime2-4/+4
These warnings were emitted by clang++, and they are real bugs. src/rpc/core_rpc_server.cpp:208:58: warning: adding 'uint64_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int] res.status = "Error retrieving block at height " + height; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ The obvious intent is achieved by using std::to_string().
2017-01-25Updates to epee HTTP client codeLee Clagett15-323/+172
- 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
2017-01-25Blockfill - Sort tx pool correctlyAlexis Enston1-2/+2
2017-01-25Blockfill - Take TX fees into account properlyAlexis Enston1-1/+1
2017-01-25Consider empty block when filling with TXsAlexis Enston1-1/+5
2017-01-25Clear feedback to user when daemon has stopped successfullyNanoAkron1-0/+1
2017-01-24moved get_account_address_from_str_or_url from libcommon to libcryptonote_corekenshi845-29/+48
2017-01-23Added instructions for getting stack traces with gdbNanoAkron1-0/+44
2017-01-23rpc: fix bc_dyn_stats not setting grace blocksmoneromooo-monero1-0/+1
This caused a random value to be used, and the resulting incorrect fee when it wasn't 0.
2017-01-23Merge pull request #1622Riccardo Spagni1-3/+0
8141973e Remove unreachable returns (Miguel Herranz)
2017-01-23Merge pull request #1621Riccardo Spagni1-1/+1
feed6175 fixed typo: monero-wallet-cli,log (kenshi84)
2017-01-23Merge pull request #1620Riccardo Spagni2-10/+6
98357db4 Update log messages to reflect fact we no longer need to type `exit` to save database before quitting (NanoAkron)
2017-01-23Remove unreachable returnsMiguel Herranz1-3/+0
CATCH_ENTRY_L0 already returns the second value.
2017-01-23fixed typo: monero-wallet-cli,logkenshi841-1/+1
2017-01-23Update log messages to reflect fact we no longer need to type `exit` to save ↵NanoAkron2-10/+6
database before quitting
2017-01-22Remove boost/foreach.cpp includesMiguel Herranz12-12/+0
2017-01-22Wallet api: testnet getter=2-0/+2
2017-01-22Replace BOOST_REVERSE_FOREACH with ranged forMiguel Herranz2-4/+6
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz12-78/+78
2017-01-22Merge pull request #1608Riccardo Spagni2-33/+47
1e8cc676 mlog: allow using numerical level as default prefix (moneromooo-monero) 8028b532 protocol: log received messages in a separate category (moneromooo-monero)
2017-01-22mlog: allow using numerical level as default prefixmoneromooo-monero1-25/+37
eg, 2,foo:ERROR,bar:INFO
2017-01-22protocol: log received messages in a separate categorymoneromooo-monero1-8/+10
Makes it easier to log just what's going on on P2P
2017-01-22Merge pull request #1615Riccardo Spagni2-0/+10
f0989893 core: cache tx hashes of failing semantics txes (moneromooo-monero)
2017-01-22Merge pull request #1613Riccardo Spagni1-2/+2
13dd102e mlog: fix default level/category mapping (moneromooo-monero)
2017-01-22Merge pull request #1612Riccardo Spagni1-3/+50
20f71527 wallet2: fix sending a rct tx with a single output available (moneromooo-monero)
2017-01-22Merge pull request #1610Riccardo Spagni5-9/+16
b70ab128 rpc: fix orphan_status when getting blocks (moneromooo-monero)
2017-01-22Merge pull request #1609Riccardo Spagni3-2/+19
4cdf0a35 p2p: always recreate a new peer id on startup (moneromooo-monero)
2017-01-22Merge pull request #1607Riccardo Spagni1-1/+1
f9293b69 unit_tests: fix missing return after batch_start prototype change (moneromooo-monero)
2017-01-22Merge pull request #1606Riccardo Spagni1-3/+3
f8b97aef p2p: show ban/unban logs by default again (moneromooo-monero)
2017-01-22Merge pull request #1605Riccardo Spagni2-17/+29
7c3f79cb core: early out in handle_incoming_tx if already in pool or blockchain (moneromooo-monero) 6cc7d261 ringct: reorder a bit to check quicker tests first (moneromooo-monero)
2017-01-22Merge pull request #1604Riccardo Spagni2-3/+3
a854cec3 Make stack trace show up in log file with default settings (moneromooo-monero)
2017-01-22Merge pull request #1601Riccardo Spagni1-27/+19
c3b8ddff streamline (vdo)
2017-01-22Merge pull request #1600Riccardo Spagni3-0/+121
1c4d65c0 Rename method to get_random_gray_peer (Miguel Herranz) 03a54ee0 Fix logging that broke after rebasing (Miguel Herranz) 6bdd3a59 Use set_peer_just_seen to keep last_seen updated (Miguel Herranz) 82dbeedd Add gray peer list housekeeping system (Miguel Herranz)
2017-01-22Merge pull request #1597Riccardo Spagni5-728/+0
4d6976fb undelete epee tests.cpp (moneroexamples) 0fd2508b removing some unsed epee files (moneroexamples)
2017-01-22core: cache tx hashes of failing semantics txesmoneromooo-monero2-0/+10
2017-01-22mlog: fix default level/category mappingmoneromooo-monero1-2/+2
It was not matching the LOG_PRINT_Lx mapping for 2/3/4
2017-01-22wallet2: fix sending a rct tx with a single output availablemoneromooo-monero1-3/+50
This would have tried to send a second output to make the tx look like the 2/2 ideal, but it would not fail to find one because picking an output from preferred_inputs priority list did not remove it from the unused tranfer/dust outputs, so it would try to send the same output twice. While there, I also added a check to avoid sending a second input if it's related to the first. Better 1/2 than linking inputs, I think.
2017-01-22rpc: fix orphan_status when getting blocksmoneromooo-monero5-9/+16
It was always set to false, even for orphan blocks
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero3-2/+19
This prevents easy fingerprinting when you change IPs, and will be a must when kovri gets used.
2017-01-21unit_tests: fix missing return after batch_start prototype changemoneromooo-monero1-1/+1
2017-01-21p2p: show ban/unban logs by default againmoneromooo-monero1-3/+3
2017-01-21core: early out in handle_incoming_tx if already in pool or blockchainmoneromooo-monero1-0/+12
2017-01-21ringct: reorder a bit to check quicker tests firstmoneromooo-monero1-17/+17
2017-01-21Make stack trace show up in log file with default settingsmoneromooo-monero2-3/+3
2017-01-21Rename method to get_random_gray_peerMiguel Herranz2-4/+4
2017-01-21Fix logging that broke after rebasingMiguel Herranz1-1/+1
2017-01-21Use set_peer_just_seen to keep last_seen updatedMiguel Herranz1-1/+1
2017-01-21Add gray peer list housekeeping systemMiguel Herranz3-0/+121
A random peer from the gray peer list is selected and a connection is made to check if the peer is alive. If the connection and handshake are successful the peer is promoted to the white peer list, in case of failure the peer is evicted from the gray peer list. The connection is closed after the check in either case.
2017-01-21streamlinevdo1-27/+19
2017-01-21undelete epee tests.cppmoneroexamples1-0/+59
2017-01-20Merge pull request #1599Riccardo Spagni2-10/+10
17246d05 wallet: print exception message on get_random_outs_error (moneromooo-monero)
2017-01-20Merge pull request #1596Riccardo Spagni1-1/+6
7c0c5c17 easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
2017-01-20Merge pull request #1593Riccardo Spagni1-2/+4
cbcdf8ad Honor depth in get_peerlist_head method (Miguel Herranz)
2017-01-20Merge pull request #1592Riccardo Spagni1-1/+1
78d560a9 simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004 (kenshi84)
2017-01-20Merge pull request #1589Riccardo Spagni2-0/+6
87c658f8 wallet2_api: add API to set log categories (moneromooo-monero)
2017-01-20Merge pull request #1587Riccardo Spagni1-11/+13
843769f8 Tweak some msg loglevels (Howard Chu)
2017-01-20Merge pull request #1586Riccardo Spagni2-3/+9
5e61687f mlog: allow overriding log format (moneromooo-monero) 5161f16f easylogging++: enforce recursive mutex (moneromooo-monero)
2017-01-20Merge pull request #1572Riccardo Spagni2-0/+32
0e0e6c5f Reduce to one connection per IP (Miguel Herranz) 3f269e98 Limit incoming connections from the same IP (Miguel Herranz)
2017-01-20wallet: print exception message on get_random_outs_errormoneromooo-monero2-10/+10
2017-01-20removing some unsed epee filesmoneroexamples6-787/+0
2017-01-20easylogging++: detect DragonFly BSD as a UNIXmoneromooo-monero1-1/+6
2017-01-18Honor depth in get_peerlist_head methodMiguel Herranz1-2/+4
The method returned depth + 2 because: - push_back was executed before the condition. - > instead of >= causing one more iteration.
2017-01-18simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004kenshi841-1/+1
2017-01-16wallet2_api: add API to set log categoriesmoneromooo-monero2-0/+6
2017-01-16Tweak some msg loglevelsHoward Chu1-11/+13
2017-01-16mlog: allow overriding log formatmoneromooo-monero1-2/+4
using the MONERO_LOG_FORMAT environment variable. Default is: %datetime{%Y-%M-%d %H:%m:%s.%g}\t%thread\t%level\t%logger\t%loc\t%msg Field list in easylogging++ documentation. Don't forget to escape as needed.
2017-01-16easylogging++: enforce recursive mutexmoneromooo-monero1-1/+5
This fixes a hang when logging something which causes some other logging code to be called
2017-01-16Reduce to one connection per IPMiguel Herranz1-1/+1
2017-01-16Merge pull request #1585Riccardo Spagni7-6/+7
a480bf6b fixups in logging init calls, and add missing net context in a log (moneromooo-monero)
2017-01-16Merge pull request #1584Riccardo Spagni1-3/+2
990e08f0 Fix PR#1506, off by one in chain height (Howard Chu)
2017-01-16Merge pull request #1583Riccardo Spagni1-8/+0
e389bd9e Makefile: remove mistakenly added local custom target (moneromooo-monero)
2017-01-16Merge pull request #1536Riccardo Spagni8-102/+316
693c1908 wallet: add a node RPC cache layer for simple RPC calls (moneromooo-monero) d86ae2be wallet2: reuse fake outs when adjusting fee on transfer (moneromooo-monero) 64da0983 core: don't try to deserialize an empty extra to remove a field (moneromooo-monero)
2017-01-16fixups in logging init calls, and add missing net context in a logmoneromooo-monero7-6/+7
2017-01-16Fix PR#1506, off by one in chain heightHoward Chu1-3/+2
2017-01-16wallet: add a node RPC cache layer for simple RPC callsmoneromooo-monero6-79/+259
Mostly getinfo and get_hard_fork_info, which are called pretty often. This speeds up transfers as a bonus.
2017-01-16wallet2: reuse fake outs when adjusting fee on transfermoneromooo-monero3-23/+55
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.
2017-01-16core: don't try to deserialize an empty extra to remove a fieldmoneromooo-monero1-0/+2
2017-01-16Makefile: remove mistakenly added local custom targetmoneromooo-monero1-8/+0
2017-01-15Merge pull request #1569Riccardo Spagni6-17/+207
16b8b66a specify restore height by YYYY-MM-DD format (kenshi84)
2017-01-15Merge pull request #1522Riccardo Spagni126-4406/+8315
5833d66f Change logging to easylogging++ (moneromooo-monero) dc98019b easylogging++: fix logging with static const header only data members (moneromooo-monero) 3b46617b easylogging++: add ELPP_DISABLE_CHECK_MACROS (moneromooo-monero) 6fe39d90 easylogging++: allow clipping a common filename prefix (moneromooo-monero) 43abf6ff easylogging++: add file-only logs (moneromooo-monero) c313bea4 eayslogging++: Fix bad memory access before opening any files (moneromooo-monero) 0af5d168 easylogging++: avoid creating directory/filename for the builtin default log file (moneromooo-monero) 28362847 easylogging++: allow setting thread names (moneromooo-monero) ec71ce8d easylogging++: Print thread ID in a nicer way (moneromooo-monero) 2a0bf783 easylogging++: Add logging categories (moneromooo-monero) c50bbbfe easylogging++: import upstream (moneromooo-monero)
2017-01-16specify restore height by YYYY-MM-DD formatkenshi846-17/+207
2017-01-16Change logging to easylogging++moneromooo-monero125-4406/+1458
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-16easylogging++: fix logging with static const header only data membersmoneromooo-monero1-1/+13
2017-01-16easylogging++: add ELPP_DISABLE_CHECK_MACROSmoneromooo-monero1-0/+2
2017-01-16easylogging++: allow clipping a common filename prefixmoneromooo-monero1-3/+20
2017-01-16easylogging++: add file-only logsmoneromooo-monero1-10/+12
2017-01-16eayslogging++: Fix bad memory access before opening any filesmoneromooo-monero1-0/+1
2017-01-16easylogging++: avoid creating directory/filename for the builtin default log ↵moneromooo-monero1-0/+2
file
2017-01-16easylogging++: allow setting thread namesmoneromooo-monero1-1/+16
2017-01-16easylogging++: Print thread ID in a nicer waymoneromooo-monero1-1/+2
2017-01-16easylogging++: Add logging categoriesmoneromooo-monero1-1/+111
2017-01-16easylogging++: import upstreammoneromooo-monero1-0/+6695
2017-01-15Merge pull request #1578Riccardo Spagni1-1/+2
ce866d1c macro to define core RPC version for avoiding future mistake (kenshi84)
2017-01-15Merge pull request #1581Riccardo Spagni1-1/+1
6da9335a blockchain_import: fix build after tx_pool::add_tx changes (moneromooo-monero)
2017-01-15Merge pull request #1561Riccardo Spagni9-77/+71
d561f4ad enable clang checks that were disabled (Chris Vickio) 0aefb2f6 remove std::move from return statements (pessimizing-move warning) (Chris Vickio) 629d5b76 change counter from bool to int (deprecated-increment-bool warning) (Chris Vickio) fb76d439 add extra braces around subobjects (missing-braces warning) (Chris Vickio) 3b6d5f25 make struct/class declarations consistent (mismatched-tags warning) (Chris Vickio) fcf66925 remove unused fields from network_throttle (unused-private-field warning) (Chris Vickio) 296f8c16 inline unused function (for unused-function warning) (Chris Vickio)
2017-01-16macro to define core RPC version for avoiding future mistakekenshi841-1/+2
2017-01-15blockchain_import: fix build after tx_pool::add_tx changesmoneromooo-monero1-1/+1
2017-01-15Merge pull request #1579Riccardo Spagni2-1/+45
f5f4109f mnemonics: fix language detection with checksum word (moneromooo-monero)
2017-01-15Merge pull request #1577Riccardo Spagni3-0/+36
feb499aa core: check block version for alt chains too (moneromooo-monero)
2017-01-15Merge pull request #1576Riccardo Spagni4-84/+148
ba3968f6 rct: split rct checks between semantics and other (moneromooo-monero)
2017-01-15Merge pull request #1575Riccardo Spagni2-4/+5
b3ca0c62 unit_tests: fix portable serialization tests hardcoded data path (moneromooo-monero)
2017-01-15Merge pull request #1574Riccardo Spagni2-9/+36
d276a165 wallet2: use at least two rct inputs if possible (moneromooo-monero)
2017-01-15Merge pull request #1573Riccardo Spagni3-5/+7
dea53962 fix timeout in check_connection (Jaquee)
2017-01-15Merge pull request #1571Riccardo Spagni13-38/+55
81c384e4 fix do_not_relay not preventing relaying on a timer (moneromooo-monero)
2017-01-15Merge pull request #1568Riccardo Spagni7-1/+134
5b5017e2 rpc: add a command to get info about the current blockchain (moneromooo-monero)
2017-01-15Merge pull request #1567Riccardo Spagni1-7/+13
c9f13c5e wallet2: fix tx reroll not updating fee is going up a kB step (moneromooo-monero)
2017-01-15Merge pull request #1565Riccardo Spagni1-0/+2
50b230d1 core: ensure block size limit is set from the start (moneromooo-monero)
2017-01-15Merge pull request #1564Riccardo Spagni3-6/+67
1d317981 Wallet API: add key image import/export functions (Jaquee)
2017-01-15Merge pull request #1563Riccardo Spagni2-21/+26
36ba311c Prioritize older transactions in the mempool (Miguel Herranz)
2017-01-15Merge pull request #1560Riccardo Spagni3-1/+24
46550c0b Wallet API: add rescanSpent() (Jaquee)
2017-01-15Merge pull request #1552Riccardo Spagni1-12/+42
4a017674 Wallet API: support integrated addresses in address book. (Jaquee)
2017-01-15Merge pull request #1506Riccardo Spagni9-33/+71
3ff54bdd Check for correct thread before ending batch transaction (Howard Chu) eaf8470b Must wait for previous batch to finish before starting new one (Howard Chu) c903c554 Don't cache block height, always get from DB (Howard Chu) eb1fb601 Tweak default db-sync-mode to fast:async:1 (Howard Chu) 0693cff9 Use batch transactions when syncing (Howard Chu)
2017-01-15enable clang checks that were disabledChris Vickio1-1/+0
2017-01-15remove std::move from return statements (pessimizing-move warning)Chris Vickio1-2/+2
2017-01-15change counter from bool to int (deprecated-increment-bool warning)Chris Vickio1-1/+1
2017-01-15Check for correct thread before ending batch transactionHoward Chu1-0/+7
2017-01-15mnemonics: fix language detection with checksum wordmoneromooo-monero2-1/+45
If a checksum word is present, language detection would use just the word prefixes. However, a set of word prefixes may be found in more than one language, and so the wrong language may be found first, which could then fail the checksum, since the check may be done with a different unique prefix length from the one it was created from. We now make a checksum test when we we detect a language from prefixes only, to make sure we have the correct one.
2017-01-15Limit incoming connections from the same IPMiguel Herranz2-0/+32
2017-01-14Must wait for previous batch to finish before starting new oneHoward Chu1-1/+6
2017-01-14Don't cache block height, always get from DBHoward Chu2-14/+29
2017-01-14Tweak default db-sync-mode to fast:async:1Howard Chu1-4/+7
fsync the DB asynchronously, to allow block download/verification to proceed while syncing. Sync after every batch. Note that "fastest" still defaults to fastest:async:1000.
2017-01-14Use batch transactions when syncingHoward Chu8-15/+23
Faster throughput while avoiding corruption. I.e., makes running with --db-sync-mode safe more tolerable.
2017-01-14core: check block version for alt chains toomoneromooo-monero3-0/+36
This is incompatible with block version voting
2017-01-14wallet2: use at least two rct inputs if possiblemoneromooo-monero2-9/+36
If we'd make a rct tx with just one input, we try to add a second one to match the 2/2 ideal. This means more txes use that template (and are thus using a larger anonymity set), and it coalesces outputs "for free". We use the smallest amount outputs in priority for this, so we can "clean" the wallet at the same time.
2017-01-14unit_tests: fix portable serialization tests hardcoded data pathmoneromooo-monero2-4/+5
2017-01-14rct: split rct checks between semantics and othermoneromooo-monero4-84/+148
Semantics can be checked early
2017-01-14Merge pull request #1566Riccardo Spagni1-2/+6
176b70a0 account: fix build error involving std::max and different types (moneromooo-monero)
2017-01-14fix timeout in check_connectionJaquee3-5/+7
2017-01-14fix do_not_relay not preventing relaying on a timermoneromooo-monero13-39/+56
Also print its value when printing pool
2017-01-14add extra braces around subobjects (missing-braces warning)Chris Vickio1-64/+64
2017-01-14make struct/class declarations consistent (mismatched-tags warning)Chris Vickio4-5/+3
2017-01-14remove unused fields from network_throttle (unused-private-field warning)Chris Vickio1-3/+0
2017-01-14inline unused function (for unused-function warning)Chris Vickio1-1/+1
2017-01-13rpc: add a command to get info about the current blockchainmoneromooo-monero7-1/+134
About the tip of the main chain, and the last N blocks
2017-01-13wallet2: fix tx reroll not updating fee is going up a kB stepmoneromooo-monero1-7/+13
2017-01-13account: fix build error involving std::max and different typesmoneromooo-monero1-2/+6
2017-01-13Wallet API: add key image import/export functionsJaquee3-6/+67
2017-01-13Wallet API: support integrated addresses in address book.Jaquee1-12/+42