aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-24daemon: avoid pre-log-init spew on creating directoriesmoneromooo-monero1-1/+3
2017-02-24wallet: avoid pre-log-init spew on --versionmoneromooo-monero1-11/+11
2017-02-24Merge pull request #1797Riccardo Spagni3-13/+17
ada6a8a2 wallet_rpc_server: new --trusted-daemon flag (moneromooo-monero)
2017-02-24wallet_rpc_server: new --trusted-daemon flagmoneromooo-monero3-13/+17
and remove trusted_daemon fields from transfer RPCs, it is much friendlier on users
2017-02-24Merge pull request #1795Riccardo Spagni1-4/+4
3435038a add rpc timeouts to calls that might timeout (Riccardo Spagni)
2017-02-24Merge pull request #1796Riccardo Spagni1-4/+4
8c84d48c Updated default RPC timeout from 5 seconds to 15 seconds (Lee Clagett)
2017-02-24Updated default RPC timeout from 5 seconds to 15 secondsLee Clagett1-4/+4
2017-02-24add rpc timeouts to calls that might timeoutRiccardo Spagni1-4/+4
2017-02-24Merge pull request #1776Riccardo Spagni1-1/+5
e4dbea97 wallet2: fix wrong status on daemon shutdown/startup (Jaquee)
2017-02-24Merge pull request #1794Riccardo Spagni1-0/+1
29b34ed1 blockchain_utilities: link against blockchain_db (moneromooo-monero)
2017-02-24Merge pull request #1793Riccardo Spagni1-1/+1
eabe3bf2 simplewallet: updated help message for 'set ask-password' (kenshi84)
2017-02-24Merge pull request #1790Riccardo Spagni1-1/+1
032fd354 Makefile add missing space for target android (MoroccanMalinois)
2017-02-24Merge pull request #1789Riccardo Spagni8-26/+32
5db8df7b Unify dist files and prime (vdo) 38b9226f wrapper +x (vdo) b4c90d56 Add meta icon for snap (vdo) a2b90426 Add snap symlink (vdo) 2c51c4d1 Reorganize snap. Add daemon wrapper (vdo)
2017-02-24Merge pull request #1786Riccardo Spagni1-1/+3
4d05955d protocol: fix "sync done" message not appearing (moneromooo-monero)
2017-02-24Merge pull request #1785Riccardo Spagni3-1/+41
583a7b5c core: protect precomputed block hashes with SHA256 (moneromooo-monero)
2017-02-24Merge pull request #1784Riccardo Spagni2-32/+28
a1cd4db4 updated Dockerfile (Mine Coins)
2017-02-24Merge pull request #1783Riccardo Spagni1-1/+0
a6f0abb7 README: libevent is replaced by minievent (Mine Coins)
2017-02-24Merge pull request #1781Riccardo Spagni1-1/+1
520756c3 rpc: s/rcp/rpc/ (moneromooo-monero)
2017-02-24Merge pull request #1780Riccardo Spagni1-1/+1
8262da81 rpc: make mining_status RPC work when syncing (moneromooo-monero)
2017-02-24Merge pull request #1779Riccardo Spagni2-9/+16
9effa553 core: bound the amount of entries in bad tx semantics cache (moneromooo-monero) 240054a7 core: remove a couple unused/obsolete bits (moneromooo-monero)
2017-02-24Merge pull request #1777Riccardo Spagni5-0/+44
3bdda60f Add print_pl_stats daemon command (Miguel Herranz)
2017-02-24blockchain_utilities: link against blockchain_dbmoneromooo-monero1-0/+1
2017-02-24simplewallet: updated help message for 'set ask-password'kenshi841-1/+1
2017-02-24Makefile add missing space for target androidMoroccanMalinois1-1/+1
2017-02-24Unify dist files and primevdo1-4/+4
2017-02-24wrapper +xvdo1-0/+0
2017-02-24Add meta icon for snapvdo1-0/+0
2017-02-24Add snap symlinkvdo1-0/+1
2017-02-24protocol: fix "sync done" message not appearingmoneromooo-monero1-1/+3
2017-02-24Reorganize snap. Add daemon wrappervdo6-26/+31
2017-02-23core: protect precomputed block hashes with SHA256moneromooo-monero3-1/+41
2017-02-24updated DockerfileMine Coins2-32/+28
- minified image: 75% smaller image - statically-linked build - add .dockerignore: no need to send repo to build context
2017-02-24README: libevent is replaced by minieventMine Coins1-1/+0
2017-02-23rpc: s/rcp/rpc/moneromooo-monero1-1/+1
2017-02-23rpc: make mining_status RPC work when syncingmoneromooo-monero1-1/+1
2017-02-23core: bound the amount of entries in bad tx semantics cachemoneromooo-monero2-6/+16
This is to prevent unbounded memory use. Since I don't think there is a container that has quick insert, quick lookup, and automatic FIFO, I use two and swap every N, clearing the oldest one.
2017-02-23core: remove a couple unused/obsolete bitsmoneromooo-monero1-3/+0
2017-02-23Add print_pl_stats daemon commandMiguel Herranz5-0/+44
2017-02-23wallet2: fix wrong status on daemon shutdown/startupJaquee1-1/+5
2017-02-22Merge pull request #1775v0.10.2Riccardo Spagni2-0/+0
700d218c fix broken test data (Riccardo Spagni) 0abddd64 fix broken checkpoints.dat (Riccardo Spagni)
2017-02-22fix broken test dataRiccardo Spagni1-0/+0
2017-02-22fix broken checkpoints.datRiccardo Spagni1-0/+0
2017-02-22Merge pull request #1750Riccardo Spagni3-1/+32
ada0e23a updates: fix user/auto url split (moneromooo-monero) 14d0e002 wallet2_api: add updates check api (moneromooo-monero)
2017-02-22updates: fix user/auto url splitmoneromooo-monero1-1/+1
2017-02-22wallet2_api: add updates check apimoneromooo-monero2-0/+31
2017-02-22Merge pull request #1774Riccardo Spagni3-13/+15
59013316 updates: remove testnet case (moneromooo-monero) 822577eb updates: we now have a user URL, and an automatic one (moneromooo-monero) 9f17b1a3 updates: s/monerod/monero/ for the main download (moneromooo-monero) 6a5dfb88 updates: add all update servers (moneromooo-monero) 72d40f13 updates: use HTTP, not HTTPS (moneromooo-monero)
2017-02-22updates: remove testnet casemoneromooo-monero3-7/+4
It need not be any different
2017-02-22updates: we now have a user URL, and an automatic onemoneromooo-monero3-4/+5
So the user can use https, while the automatic does not have to
2017-02-22updates: s/monerod/monero/ for the main downloadmoneromooo-monero1-2/+2
Also print download success message as global log
2017-02-22updates: add all update serversmoneromooo-monero1-0/+4
2017-02-22updates: use HTTP, not HTTPSmoneromooo-monero1-1/+1
The files are hashed and the hashes signed
2017-02-22Merge pull request #1773Riccardo Spagni11-11/+11
27b477f6 update last few copyright year references (Riccardo Spagni)
2017-02-22update last few copyright year referencesRiccardo Spagni11-11/+11
2017-02-22Merge pull request #1765Riccardo Spagni1-8/+7
5cfddd74 Add support for smart mining through wallet. (Dion Ahmetaj)
2017-02-22Merge pull request #1762Riccardo Spagni1-1/+1
dcf684c7 http_server_impl_base: set bind message to MGINFO (anonimal)
2017-02-22Merge pull request #1766Riccardo Spagni356-361/+367
72deb484 updated fallback nodes (Riccardo Spagni) 33329f5b update version to 0.10.2 (Riccardo Spagni) 04a50a7e update checkpoints.dat (Riccardo Spagni) c3599fa7 update copyright year, fix occasional lack of newline at line end (Riccardo Spagni)
2017-02-22Merge pull request #1767Riccardo Spagni2-15/+24
708758b7 core: do not download an update we already downloaded (moneromooo-monero) 45101550 updates: use updates host, not downloads, for HTTP (moneromooo-monero)
2017-02-22Merge pull request #1771Riccardo Spagni1-1/+2
ec217cd1 README: add DragonFly BSD to build status + update FreeBSD version (anonimal)
2017-02-22Merge pull request #1772Riccardo Spagni1-0/+50
40946a29 kenshi84's gpg key (kenshi84)
2017-02-22kenshi84's gpg keykenshi841-0/+50
2017-02-22README: add DragonFly BSD to build status + update FreeBSD versionanonimal1-1/+2
2017-02-21core: do not download an update we already downloadedmoneromooo-monero1-14/+23
2017-02-21updates: use updates host, not downloads, for HTTPmoneromooo-monero1-1/+1
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update version to 0.10.2Riccardo Spagni1-1/+1
2017-02-21http_server_impl_base: set bind message to MGINFOanonimal1-1/+1
2017-02-21update checkpoints.datRiccardo Spagni1-0/+0
2017-02-21Merge pull request #1761Riccardo Spagni1-1/+1
56586bde mlog: restrict net.p2p to FATAL by default (moneromooo-monero)
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni355-354/+354
2017-02-21mlog: restrict net.p2p to FATAL by defaultmoneromooo-monero1-1/+1
2017-02-21Add support for smart mining through wallet.Dion Ahmetaj1-8/+7
2017-02-21Merge pull request #1760Riccardo Spagni4-17/+21
efdd783c add openssl to readme (Riccardo Spagni) 058eed36 cmakify openssl (Riccardo Spagni)
2017-02-21Merge pull request #1759Riccardo Spagni2-1/+2
417b126f Fix core_tests breaking on startup (moneromooo-monero)
2017-02-21Merge pull request #1758Riccardo Spagni1-1/+2
5664826a unit_tests: hardfork unit test now needs get_block_blob_from_height (moneromooo-monero)
2017-02-21Merge pull request #1757Riccardo Spagni1-0/+3
5c3badb7 dns_utils: fix infinite recursion when distributing empty dns_urls (anonimal)
2017-02-21Merge pull request #1756Riccardo Spagni1-1/+1
80749e59 More for PR #1724 (Howard Chu)
2017-02-21Merge pull request #1755Riccardo Spagni1-1/+0
86d8a33a BerkeleyDB code isn't usable any more, drop from dependencies (Howard Chu)
2017-02-21add openssl to readmeRiccardo Spagni1-0/+1
2017-02-21cmakify opensslRiccardo Spagni3-17/+20
2017-02-21Fix core_tests breaking on startupmoneromooo-monero2-1/+2
You're wondering how this fixes core tests, aren't you... It prevents the miner (initialized by cryptonote::core) from breaking trying to access arguments that were not added. Since the tests don't use the miner directly, it makes more sense to have cryptonote_core add those, since it also uses the miner.
2017-02-21unit_tests: hardfork unit test now needs get_block_blob_from_heightmoneromooo-monero1-1/+2
2017-02-21dns_utils: fix infinite recursion when distributing empty dns_urlsanonimal1-0/+3
load_txt_records_from_dns attempts to distribute `a = 0, b = -1` where (b = dns_urls.size() - 1) and IntType is signed integer. This results in an infinite recursion which leads to SIGSEGV.
2017-02-21More for PR #1724Howard Chu1-1/+1
Fix unit_tests build (get_output_key API change)
2017-02-21BerkeleyDB code isn't usable any more, drop from dependenciesHoward Chu1-1/+0
2017-02-21Merge pull request #1754Riccardo Spagni1-1/+1
13cd544d Makefile: fix copy/paste mistake in targets (s/freebsd/mac) (moneromooo-monero)
2017-02-21Makefile: fix copy/paste mistake in targets (s/freebsd/mac)moneromooo-monero1-1/+1
2017-02-21Merge pull request #1703Riccardo Spagni2-2/+6
e74b3ab5 core: add p2p bind port options from net_node (moneromooo-monero)
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero2-2/+6
They're now used by core to determine the data directory to use for the txpool directory. This fixes an assert in the core tests, which don't use the RPC server, which normally initializes the P2P code.
2017-02-21Merge pull request #1747Riccardo Spagni3-1/+6
26bd7aac wallet_api: fix logging init via api (moneromooo-monero)
2017-02-21Merge pull request #1728Riccardo Spagni1-3/+3
67693415 Fix compiler error about nested externs in slow_hash.c by moving declarations (NanoAkron)
2017-02-21Merge pull request #1736Riccardo Spagni1-1/+5
424b76a4 Fix spurious synchronization status msgs (Howard Chu)
2017-02-21Merge pull request #1727Riccardo Spagni13-87/+230
0288310e blockchain_db: add "raw" blobdata getters for block and transaction (moneromooo-monero)
2017-02-21Merge pull request #1725Riccardo Spagni1-6/+10
53f04044 cryptonote_protocol: tweaks to the syncing speedup (moneromooo-monero)
2017-02-21Merge pull request #1723Riccardo Spagni1-2/+2
d43fde8a network_throttle: demote spammy logs to TRACE (moneromooo-monero)
2017-02-21Merge pull request #1721Riccardo Spagni8-64/+69
2cde2c02 switch to boost::thread for mingw build (Lee Clagett)
2017-02-21Merge pull request #1716Riccardo Spagni1-3/+3
b560ed4a daemon: silence spurious warning about uninitialized variable (moneromooo-monero)
2017-02-21Merge pull request #1724Riccardo Spagni4-4/+11
cca95c1c blockchain_db: do not throw on expected partial results getting keys (moneromooo-monero)
2017-02-21Merge pull request #1730Riccardo Spagni1-1/+3
72c6b811 README: add/update AUR packaging information (anonimal)
2017-02-21Merge pull request #1731Riccardo Spagni3-5/+5
a427235e core: add a missing newline on a string to be logged (moneromooo-monero) b6a2230e unit_tests: fix minor blockchain_db regression (moneromooo-monero) c488eca5 hardfork: tone down some logs (moneromooo-monero)
2017-02-21Merge pull request #1733Riccardo Spagni1-4/+3
a493c0b1 BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so required a definition. (Dion Ahmetaj)
2017-02-21Merge pull request #1744Riccardo Spagni21-126/+710
a5a0a3c8 core: updates can now be downloaded (and SHA256 hash checked) (moneromooo-monero) 216f062e util: add a SHA256 function (moneromooo-monero) 4bf78492 mlog: only silence errors for net by default, not net.* (moneromooo-monero) d282cfcc core: test key images against validity domain (moneromooo-monero) efb72e74 http_client: add a couple consts (moneromooo-monero) f640512c Optionally query moneropulse DNS records to check for updates (moneromooo-monero) e3cae4ae core: display any fork warning at startup too (moneromooo-monero) 969ad710 dns_utils: fix first checked DNS entry being ignored (moneromooo-monero) 08c3f380 util: add a vercmp function to compare version numbers (moneromooo-monero) e8a7525c dns_utils: factor TXT record loading code from checkpoint code (moneromooo-monero)
2017-02-21Merge pull request #1737Riccardo Spagni8-29/+81
69ab14d9 More robust battery status handling. (Dion Ahmetaj)
2017-02-21Merge pull request #1749Riccardo Spagni1-5/+5
5a3b1e98 wallet2: fix failure to send (relatedness check in wrong case) (moneromooo-monero)
2017-02-20core: updates can now be downloaded (and SHA256 hash checked)moneromooo-monero4-0/+206
2017-02-20util: add a SHA256 functionmoneromooo-monero3-1/+37
2017-02-20mlog: only silence errors for net by default, not net.*moneromooo-monero1-1/+1
2017-02-20core: test key images against validity domainmoneromooo-monero3-0/+32
2017-02-20http_client: add a couple constsmoneromooo-monero1-2/+2
2017-02-20Optionally query moneropulse DNS records to check for updatesmoneromooo-monero9-16/+259
It just checks and prints a message if there is a new version for now.
2017-02-20core: display any fork warning at startup toomoneromooo-monero1-1/+1
This is a good time for the operator to be around and see it
2017-02-20dns_utils: fix first checked DNS entry being ignoredmoneromooo-monero1-1/+0
2017-02-20util: add a vercmp function to compare version numbersmoneromooo-monero4-1/+63
It is simple, supports simple x.y.z type numeric versions, and does not attempt any kind of validation
2017-02-20dns_utils: factor TXT record loading code from checkpoint codemoneromooo-monero3-104/+110
2017-02-21Merge pull request #1729Riccardo Spagni1-0/+3
9925edcb rpc: fix some RPC calls not returning OK status when needed (moneromooo-monero)
2017-02-21Merge pull request #1732Riccardo Spagni5-21/+21
83ec209f simplewallet: validate hex input size (moneromooo-monero)
2017-02-21Merge pull request #1748Riccardo Spagni5-104/+97
bed2d9f2 Get rid of directory lock (Howard Chu) 2e913676 Handle map resizes from other processes (Howard Chu) bf1348b7 Can't cache num_txs or num_outputs either (Howard Chu) dc53e9ee Add a few read txns to streamline (Howard Chu)
2017-02-21Merge pull request #1752Riccardo Spagni1-0/+16
c3283093 tx_pool: revert template filling changes (moneromooo-monero)
2017-02-20tx_pool: revert template filling changesmoneromooo-monero1-0/+16
They are not ready yet
2017-02-19wallet2: fix failure to send (relatedness check in wrong case)moneromooo-monero1-5/+5
A relatedness check was meant to be done in the case of adding an extra output if just one was enough. This was mistakenly added to the "preferred output" case.
2017-02-18Get rid of directory lockHoward Chu2-58/+0
We don't need it any more. Fixes issue #1633
2017-02-18Handle map resizes from other processesHoward Chu1-9/+52
2017-02-18Can't cache num_txs or num_outputs eitherHoward Chu2-34/+34
Same reason as 3ff54bdd7a8b5e08e4e8ac17b7fff23ad3a82312
2017-02-18Add a few read txns to streamlineHoward Chu3-3/+11
Slight perf gain, but mainly to reduce spam at loglevel 3
2017-02-18wallet_api: fix logging init via apimoneromooo-monero3-1/+6
2017-02-16switch to boost::thread for mingw buildLee Clagett8-64/+69
2017-02-16More robust battery status handling.Dion Ahmetaj8-29/+81
Added an extra path to check for linux power supply status. Added ignore battery option. If set to true, then when we can't figure out the power status, we'll assume the system is plugged in.
2017-02-15BACKGROUND_MINING_MINER_MONITOR_INVERVAL_IN_SECONDS was odr-used, so ↵Dion Ahmetaj1-4/+3
required a definition. Instead of adding a declaration to cpp file, I changed it to non odr-used.
2017-02-15Fix spurious synchronization status msgsHoward Chu1-1/+5
Only update target height if it's actually greater than the current target. Only display "synchronized" when current height equals target.
2017-02-14simplewallet: validate hex input sizemoneromooo-monero5-21/+21
2017-02-14core: add a missing newline on a string to be loggedmoneromooo-monero1-1/+1
2017-02-14unit_tests: fix minor blockchain_db regressionmoneromooo-monero1-1/+1
Due to the change in ordering for adding block and tx data to the database in f2986ccfc1f41023cd667dbb488a10df492eb8e7, adding a block twice now throws TX_EXISTS, not BLOCK_EXISTS.
2017-02-14hardfork: tone down some logsmoneromooo-monero1-3/+3
2017-02-14README: add/update AUR packaging informationanonimal1-1/+3
2017-02-13rpc: fix some RPC calls not returning OK status when neededmoneromooo-monero1-0/+3
2017-02-13daemon: silence spurious warning about uninitialized variablemoneromooo-monero1-3/+3
Also fixes a leak
2017-02-13Fix compiler error about nested externs in slow_hash.c by moving declarationsNanoAkron1-3/+3
2017-02-13blockchain_db: add "raw" blobdata getters for block and transactionmoneromooo-monero13-87/+230
This speeds up operations such as serving blocks to syncing peers
2017-02-13cryptonote_protocol: tweaks to the syncing speedupmoneromooo-monero1-6/+10
- only pause mining once we've got the lock (in practice, it'll already be paused by another thread if we can't get the lock at once though) - do not call prepare_handle_incoming_blocks when we dismissed all the blocks, it only causes cleanup_handle_incoming_blocks to complain afterwards
2017-02-13blockchain_db: do not throw on expected partial results getting keysmoneromooo-monero4-4/+11
When scanning for outputs used in a set of incoming blocks, we expect that some of the inputs in their transactions will not be found in the blockchain, as they could be in previous blocks in that set. Those outputs will be scanned there at a later point. In this case, we add a flag to control wehther an output not being found is expected or not.
2017-02-13network_throttle: demote spammy logs to TRACEmoneromooo-monero1-2/+2
2017-02-12Merge pull request #1719Riccardo Spagni1-1/+1
59c9d165 tests: fixup include paths after cryptonote_core split (moneromooo-monero)
2017-02-12tests: fixup include paths after cryptonote_core splitmoneromooo-monero1-1/+1
2017-02-12Merge pull request #1718Riccardo Spagni3-4/+10
882db8e9 tools: log to the correct file (moneromooo-monero) 142e5e1e tools: set requested log level (moneromooo-monero)
2017-02-12Merge pull request #1717Riccardo Spagni3-7/+36
8bdc86be protocol: speed up sync by minimizing duplicate work (moneromooo-monero) 61dfa310 epee: fix some log macros not printing context nicely (moneromooo-monero)
2017-02-12Merge pull request #1715Riccardo Spagni1-1/+1
8ec2a8d2 net_node: fix spurious warning about using uninitialized data (moneromooo-monero)
2017-02-12Merge pull request #1714Riccardo Spagni5-42/+83
5adcb5a4 tx_pool: add a debug message when adding a tx to the pool (moneromooo-monero) 9faef1f8 cryptonote_protocol: misc fluffy block fixes (moneromooo-monero)
2017-02-12Merge pull request #1713Riccardo Spagni3-3/+7
422ecc98 Fixup choice of easylogging++ vs libunwind stack trace code (moneromooo-monero)
2017-02-12Merge pull request #1712Riccardo Spagni2-3/+3
3b6839cc mlog: move log level changes to global level (moneromooo-monero) 38a1b9c9 rpc: fix daemon mixed style set_log 2,category:level (moneromooo-monero) 28d0b11f mlog: s/Mew/New/ in log (moneromooo-monero)
2017-02-12Merge pull request #1711Riccardo Spagni1-0/+2
cf2e75eb daemon: fix crash on exit when mining (moneromooo-monero)
2017-02-12Merge pull request #1709Riccardo Spagni1-1/+1
b2ac939e Fix GUI building after libcryptonote_core was split (#1626) (iDunk5400)
2017-02-12Merge pull request #1708Riccardo Spagni2-6/+7
f2986ccf db_lmdb: fix bad height saved in tx data (moneromooo-monero)
2017-02-12Merge pull request #1706Riccardo Spagni4-4/+132
7403e56f performance_tests: report small time per call in microseconds (moneromooo-monero) cadada2d performance_tests: add tests for sc_reduce32 and cn_fast_hash (moneromooo-monero) 962c72b6 performance_tests: initialize logging at startup (moneromooo-monero)
2017-02-12Merge pull request #1700Riccardo Spagni1-2/+4
73785263 backtrace_symbols() requires -lexecinfo on dragonflybsd (Dan Miller)
2017-02-12Merge pull request #1699Riccardo Spagni1-16/+22
dd348549 make previous change portable (Timothy D. Prime) 32d7d048 fixes #1688 protect make debug-test from gtest (Timothy D. Prime)
2017-02-12Merge pull request #1582Riccardo Spagni8-19/+468
ad95e650 Added a note about smart mining to status command. Fixed up a bug where I was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition. (Dion Ahmetaj) e4dfd2fb Changed ac_line_status to on_battery_power. (Dion Ahmetaj) 23c73269 Use defined directive to silence pre-proc warnings. (Dion Ahmetaj) d2c7d0f6 Cleaned up some logging. Thanks to moneromooo for help. (Dion Ahmetaj) 68652cd9 Added some //TODO comments pertaining to returning enums instead of bools in order to be better able to handle failure states. (Dion Ahmetaj) 0b1045ed Moved around checking of AC power in order to bail quicker to sleep if not plugged in. (Dion Ahmetaj) 2937fdbb Moved setting of previous process times to block where background mining is started, and added an explicit sleep in that block to wait for some mining to occur. (Dion Ahmetaj) 21a1e025 Set background mining started bool to false on bg thread start. If mining::stop then mining::start, idle logic is re-run instead of starting immediately (if it was running before stop). (Dion Ahmetaj) 345ed482 Background/smart mining. If a users' computer is plugged into a power source, and CPU has been idle for some time, then begin mining to some threshold (don't destroy the users' CPU). (Dion Ahmetaj)
2017-02-12tools: log to the correct filemoneromooo-monero2-2/+6
2017-02-12tools: set requested log levelmoneromooo-monero3-2/+4
also move a couple logs from INFO to DEBUG
2017-02-12protocol: speed up sync by minimizing duplicate workmoneromooo-monero2-2/+31
In particular, the prepare_handle_incoming_blocks call is pretty lengthy, and entirely pointless in the common case where several different connections will prepare the exact same blocks.
2017-02-12epee: fix some log macros not printing context nicelymoneromooo-monero1-5/+5
2017-02-12net_node: fix spurious warning about using uninitialized datamoneromooo-monero1-1/+1
This is only used to load, not save
2017-02-12Fixup choice of easylogging++ vs libunwind stack trace codemoneromooo-monero3-3/+7
2017-02-12tx_pool: add a debug message when adding a tx to the poolmoneromooo-monero1-0/+1
2017-02-12cryptonote_protocol: misc fluffy block fixesmoneromooo-monero4-42/+82
- fix wrong block being used when a new block is received between a node elaying a fluffy block and sending a new fluffy block with txes a peer did not have - misc a neverending ping pong requesting the same missing txids when a new block is received in the meantime, causing the top block to not be the one we need - send the original fluffy block message block height when sending a new fluffy block, not the current top height, which might have been updated since - avoid sending back the whole block blob when asking for txes, send only the hash instead - plus misc cleanup and additional debugging logs
2017-02-12mlog: move log level changes to global levelmoneromooo-monero1-2/+2
Makes it more likely to show up
2017-02-12rpc: fix daemon mixed style set_log 2,category:levelmoneromooo-monero1-1/+1
2017-02-12mlog: s/Mew/New/ in logmoneromooo-monero1-2/+2
2017-02-12daemon: fix crash on exit when miningmoneromooo-monero1-0/+2
When exiting while the miner is running, finding a block after the p2p layer has been shutdown will cause a crash as the now uninitialized p2p layer is asked to relay the found block to any peers.
2017-02-11Fix GUI building after libcryptonote_core was split (#1626)iDunk54001-1/+1
2017-02-11db_lmdb: fix bad height saved in tx datamoneromooo-monero2-6/+7
The recent change to not keep separate track of the blockchain height caused the reported height to jump early in the lmdb transaction (when the block data is added to the blocks table), rather than at the end, after everything succeeded. Since the block data is added before the transaction data, this caused the transaction data to be saved with a height one more than its expected value. Fix this by saving the block data last. This should have no side effects.
2017-02-10Added a note about smart mining to status command. Fixed up a bug where I ↵Dion Ahmetaj5-5/+8
was resetting bg mining enabled instead of started. Upped the miner threshold. Also moved setting of enabled on start above miner thread creation since starting with true, then stopping, then starting with false resulted in race condition.
2017-02-10Changed ac_line_status to on_battery_power.Dion Ahmetaj2-6/+6
2017-02-10Use defined directive to silence pre-proc warnings.Dion Ahmetaj1-1/+1
2017-02-10Cleaned up some logging. Thanks to moneromooo for help.Dion Ahmetaj1-20/+20
2017-02-10Added some //TODO comments pertaining to returning enums instead of bools in ↵Dion Ahmetaj1-0/+5
order to be better able to handle failure states.
2017-02-10Moved around checking of AC power in order to bail quicker to sleep if not ↵Dion Ahmetaj1-4/+6
plugged in.
2017-02-10Moved setting of previous process times to block where background mining is ↵Dion Ahmetaj1-14/+11
started, and added an explicit sleep in that block to wait for some mining to occur.
2017-02-10Set background mining started bool to false on bg thread start. If ↵Dion Ahmetaj1-0/+1
mining::stop then mining::start, idle logic is re-run instead of starting immediately (if it was running before stop).
2017-02-10Background/smart mining. If a users' computer is plugged into a powerDion Ahmetaj8-18/+459
source, and CPU has been idle for some time, then begin mining to some threshold (don't destroy the users' CPU). This patch only supports windows and linux (I've only tested on Win64 and Ubuntu). The variables currently default to pretty conservative values (i.e. 20% CPU mining threshold).
2017-02-10performance_tests: report small time per call in microsecondsmoneromooo-monero1-3/+13
This is to not report quick operations as 0 milliseconds
2017-02-11Merge pull request #1698Riccardo Spagni1-0/+6
9459f331 simplewallet: print error when address is wrong (kenshi84)
2017-02-11Merge pull request #1696Riccardo Spagni1-0/+2
6ea3e3cc Fix race in setThreadName/getThreadName (Lee Clagett)
2017-02-11Merge pull request #1694Riccardo Spagni1-10/+10
27c3a0ea ITS#8582 keep mutex at end of struct (Howard Chu)
2017-02-11Merge pull request #1693Riccardo Spagni1-0/+2
5d00659e disable ELPP_STACKTRACE_ON_CRASH for android (MoroccanMalinois)
2017-02-11Merge pull request #1689Riccardo Spagni38-191/+497
ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
2017-02-11Merge pull request #1686Riccardo Spagni2-11/+11
bceaf4b7 wallet2: fix transactions not considering rct inputs (moneromooo-monero)
2017-02-11Merge pull request #1685Riccardo Spagni2-0/+8
7549116e Wallet API: Easylogger wrapper for gui (Jaquee)
2017-02-11Merge pull request #1682Riccardo Spagni1-2/+2
1c782a92 easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUG (moneromooo-monero)
2017-02-11Merge pull request #1680Riccardo Spagni1-1/+1
db0a5392 Clarify in/out connections for users (NanoAkron)
2017-02-11Merge pull request #1626Riccardo Spagni104-669/+830
8027ce0c extract some basic code from libcryptonote_core into libcryptonote_basic (kenshi84)
2017-02-10performance_tests: add tests for sc_reduce32 and cn_fast_hashmoneromooo-monero3-1/+116
2017-02-10performance_tests: initialize logging at startupmoneromooo-monero1-0/+3
2017-02-09backtrace_symbols() requires -lexecinfo on dragonflybsdDan Miller1-2/+4
freebsd also needs -lexecinfo for backtrace()
2017-02-08make previous change portableTimothy D. Prime1-2/+2
Use cmake's _PREFIX and _SUFFIX to determine the library location.
2017-02-08fixes #1688 protect make debug-test from gtestTimothy D. Prime1-16/+22
In simple terms, add_subdirectory() is replaced with ExternalProject_Add(). This change is inspired by https://crascit.com/2015/07/25/cmake-gtest/ with one difference, no download, using the source we already have. Before this change, make debug-test must be preceded by make clean. Otherwise, a subsequent build would be polluted by cmake options made by tests/gtest/. Also removed the changed compiler flags. My test build did not have the affected warnings.
2017-02-08simplewallet: print error when address is wrongkenshi841-0/+6
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi84104-669/+830
2017-02-08Merge pull request #1679Riccardo Spagni1-2/+7
4efc926d Wallet API: Catch error from tools::is_local_address (Jaquee)
2017-02-08Merge pull request #1678Riccardo Spagni1-0/+3
c833a39a cmake set atomic for android (MoroccanMalinois)
2017-02-08Merge pull request #1674Riccardo Spagni1-0/+1
92978b2c common: fix link error on at least one platform (no clue which one) (moneromooo-monero)
2017-02-08Merge pull request #1683Riccardo Spagni1-1/+1
bab1e9a3 bugfix: infinite recursion in get_account_address_from_str_or_url (kenshi84)