aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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-14simplewallet: validate hex input sizemoneromooo-monero5-21/+21
2017-02-13rpc: fix some RPC calls not returning OK status when neededmoneromooo-monero1-0/+3
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)
2017-02-07Fix race in setThreadName/getThreadNameLee Clagett1-0/+2
2017-02-07ITS#8582 keep mutex at end of structHoward Chu1-10/+10
since it's variable size on Linux/glibc
2017-02-06wallet2: fix transactions not considering rct inputsmoneromooo-monero2-11/+11
I broke this very recently in 2bf029be172a47ace8134143e1320fdb10d3ea44 and didn't notice in time
2017-02-06Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett38-191/+497
2017-02-06disable ELPP_STACKTRACE_ON_CRASH for androidMoroccanMalinois1-0/+2
2017-02-05Wallet API: Easylogger wrapper for guiJaquee2-0/+8
2017-02-05 bugfix: infinite recursion in get_account_address_from_str_or_urlkenshi841-1/+1
2017-02-05easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUGmoneromooo-monero1-2/+2
2017-02-05Merge pull request #1655Riccardo Spagni5-45/+26
b14d109b update wallet api tests (Jaquee) 0cc50bdd GUI: Improved refresh performance (Jaquee) 805625b5 wallet api: Remove initAsync() and don't start refresh automatically on init (Jaquee) 031b060a wallet2::init() - disconnect before init if connected Makes it possible for GUI to reinit with new daemon without closing and reopening wallet. (Jaquee)
2017-02-05Clarify in/out connections for usersNanoAkron1-1/+1
2017-02-05common: fix link error on at least one platform (no clue which one)moneromooo-monero1-0/+1
Bug and fix reported by tdprime
2017-02-05Wallet API: Catch error from tools::is_local_addressJaquee1-2/+7
2017-02-05cmake set atomic for androidMoroccanMalinois1-0/+3
2017-02-04update wallet api testsJaquee1-7/+8
2017-02-04GUI: Improved refresh performanceJaquee1-7/+10
2017-02-04wallet api: Remove initAsync() and don't start refresh automatically on initJaquee3-31/+6
2017-02-04wallet2::init() - disconnect before init if connectedJaquee1-0/+2
Makes it possible for GUI to reinit with new daemon without closing and reopening wallet.
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