aboutsummaryrefslogtreecommitdiff
path: root/src/daemon (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-08-30Fix incorrect help usage for the threads option to start_miningQuanah Gibson-Mount2-2/+2
2016-08-12daemon: print time to next forkmoneromooo-monero1-1/+23
2016-07-27cmake,common: flag for stack traceredfish1-1/+6
By default the flag is enabled whenever libunwind is found on the system, with the exception of static build on OSX (for which we can't install the throw hook #932 due to lack of support for --wrap in OSX ld64 linker).
2016-07-10daemon: fix ban seconds being misinterpreted as absolutemoneromooo-monero1-3/+1
Absolute to relative conversion is already done by the callee.
2016-06-30daemon: print exception errors when failing to parse config filemoneromooo-monero1-1/+10
When an exception happens while reading the config file, we need to print the error, as the logging system isn't initialized yet, so the generic catch will not print anything.
2016-06-19Merge pull request #775Riccardo Spagni1-0/+2
e409e59 Print stack trace on exceptions (moneromooo-monero) ef4ff42 connection_basic: avoid gratuitous exception (moneromooo-monero)
2016-04-28Print stack trace on exceptionsmoneromooo-monero1-0/+2
if libunwind is found. Useful for debugging logs.
2016-04-28add a --max-concurrency flagmoneromooo-monero2-0/+9
It sets the max number of threads to use for a parallel job. This is different that the number of total threads, since monero binaries typically start a lot of them.
2016-04-14Merge pull request #797Riccardo Spagni1-11/+33
d662ab5 rpc: print human readable time since received when printing pool (moneromooo-monero) 5c9dd23 rpc: add a do_not_relay boolean to tx submission (moneromooo-monero)
2016-04-09rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero1-3/+13
2016-04-05rpc: print human readable time since received when printing poolmoneromooo-monero1-11/+33
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero5-0/+63
This is a list of existing output amounts along with the number of outputs of that amount in the blockchain. The daemon command takes: - no parameters: all outputs with at least 3 instances - one parameter: all outputs with at least that many instances - two parameters: all outputs within that many instances The default starts at 3 to avoid massive spamming of all dust outputs in the blockchain, and is the current minimum mixin requirement. An optional vector of amounts may be passed, to request histogram only for those outputs.
2016-03-25Merge pull request #749Riccardo Spagni1-1/+0
bfd4a28 Update BlockchainDB documentation (Thomas Winget) 797357e Change Doxyfile, Blockchain not blockchain_storage (Thomas Winget) c835215 remove defunct code from cryptonote::core (Thomas Winget) 50dba6d cryptonote::core doxygen documentation (Thomas Winget) 8ac329d doxygen documentation for difficulty functions (Thomas Winget) 540a76c Move checkpoint functions into checkpoints class (Thomas Winget) 1b0c98e doxygen documentation for checkpoints.{h,cpp} (Thomas Winget) 89c24ac Remove unnecessary or defunct code (Thomas Winget) ab0ed14 doxygen include private and static members (Thomas Winget) 3a48449 Updated documentation for blockchain.* (Thomas Winget)
2016-03-25Revert "Merge pull request #749"Riccardo Spagni1-0/+1
This reverts commit 7fa63a82a1c3a0243f6757c1689855ed3ca61695, reversing changes made to cb6be986c36b78eddb4b7f16e9ad440af8567dc4.
2016-03-24Move checkpoint functions into checkpoints classThomas Winget1-1/+0
The functions in src/cryptonote_core/checkpoints_create.{h,cpp} should be member functions of the checkpoints class, if nothing else for the sake of keeping their documentation together. This commit covers moving those functions to be member functions of the checkpoints class as well as documenting those functions.
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero7-11/+8
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
2016-03-20Merge pull request #735Riccardo Spagni1-1/+1
d2aa427 rpc: fix print_tx in command line mode (moneromooo-monero)
2016-03-19rpc: fix print_tx in command line modemoneromooo-monero1-1/+1
It was only filling the input in non rpc mode
2016-03-19Print stack trace upon exceptionsmoneromooo-monero7-8/+11
Useful for debugging users' logs
2016-03-14fix formatting error on bitmonero print_block returnMike C1-1/+1
Example of current return for `print_block 912345`: timestamp: 1452793716 previous hash: b61c58b2e0be53fad5ef9d9731a55e8a81d972b8d90ed07c04fd37ca6403ff78 nonce: 1646 is orphan: 0 height: 912345 depth: 85434 hash: e22cf75f39ae720e8b71b3d120a5ac03f0db50bba6379e2850975b4859190bc6difficul ty: 815625611 reward: 7388968946286 { "major_version": 1, "minor_version": 2, … Without `std::endl`, the difficulty gets smashed on the end of the hash.
2016-02-22move g_test_dbg_lock_sleep from a global to a function level staticmoneromooo-monero2-3/+1
This avoids the need to define that variable in every program which uses epee.
2016-02-05daemon: remove leftover debug logmoneromooo-monero1-1/+0
2016-01-31Merge pull request #631Riccardo Spagni1-29/+43
bcac101 daemon: fix a few issues reported by valgrind (moneromooo-monero) a7e8174 tx_pool: fix serialization of new relayed data (moneromooo-monero) 601ad76 hardfork: fix mixup in indexing variable in get_voting_info (moneromooo-monero) 444e22f blockchain: remove unused timer (moneromooo-monero) 7edfdd8 blockchain: fix m_sync_counter uninitialized variable use (moneromooo-monero) d97582c epee: use generate_random_bytes for new random uuids (moneromooo-monero) 17c7c9c epee: remove dodgy random code that nobody uses (moneromooo-monero)
2016-01-30daemon: fix a few issues reported by valgrindmoneromooo-monero1-29/+43
In particular, ensure we check the status of RPC response structures, as some functions will return success, but with a BUSY status, when the daemon is not yet synced, and the response will not filled.
2016-01-30new flush_txpool command, and associated RPC callmoneromooo-monero5-0/+57
It can flush a particular tx, or the whole pool (the RPC command can flush a list of transactions too)
2016-01-28add received time to print_pool and print_pool_shRiccardo Spagni1-1/+3
2016-01-14'max limit of...' is redundant wording, rephrasebinaryFate2-2/+2
2016-01-14Print msg when successfully updating out_peersbinaryFate1-0/+2
2016-01-11daemon: fix status command when run from command linemoneromooo-monero1-1/+1
2016-01-03fixed conflictsRiccardo Spagni1-2/+2
2016-01-03Use CMAKE_LINKER, not hardcoded "ld"Howard Chu1-2/+2
2016-01-02daemon: fix ban length using wrong parametermoneromooo-monero1-1/+1
2015-12-31update versionRiccardo Spagni3-4/+4
2015-12-31Nicer looking exit when blockchain.bin is foundmoneromooo-monero2-3/+5
Do not print the exception message, and write the important bit in red, since people will only read the last line otherwise.
2015-12-31updated copyright yearRiccardo Spagni17-17/+17
2015-12-22Merge pull request #552Riccardo Spagni8-24/+4
9428d53 Strip redundant includes (hyc)
2015-12-21Strip redundant includeshyc8-24/+4
In particular, <boost/program_options.hpp> blows up daemon.cpp.obj, making it too big to compile in debug mode on Win32. Even on a release build it drops daemon.cpp.o on Linux from 31MB to 20MB. This has no effect on the final linked binary size.
2015-12-18print top block hash in daemon diff commandmoneromooo-monero1-0/+1
and add top block hash in get_info RPC
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent2-17/+17
Remove trailing whitespace in same files.
2015-12-13daemon: fix crash exiting with ^Cmoneromooo-monero1-1/+1
We need to stop the p2p layer, which causes the rest to shutdown gracefully. Hitting ^C was still going through another path.
2015-12-09Merge pull request #527Riccardo Spagni2-55/+3
336b375 Register daemon command line arguments to core if they're used in core (moneromooo-monero)
2015-12-08Register daemon command line arguments to core if they're used in coremoneromooo-monero2-55/+3
This fixes coretests, which does not register daemon specific arguments, but uses core, which uses those arguments. Also gets rid of an unwanted dependency on daemon code from core.
2015-12-07daemon: add mining status to the status commandmoneromooo-monero1-8/+22
2015-11-30Merge pull request #503Riccardo Spagni1-2/+2
55e5a33 rpc: pass current block target in rpc (moneromooo-monero)
2015-11-26rpc: pass current block target in rpcmoneromooo-monero1-2/+2
This fixes the hash rate being wrong on testnet after the switch to 2 minute blocks
2015-11-26add RPC calls and commands to get/set bansmoneromooo-monero5-0/+162
2015-11-23daemon: fix blockchain height display not updating after syncmoneromooo-monero1-1/+1
2015-11-21disable time-stats by default, tweak fast-block-sync descriptionRiccardo Spagni1-2/+2
2015-11-21Fix startup crash when using a locale boost does not likemoneromooo-monero1-0/+2
There are various locale related bugs in various versions of boost, where exceptions are thrown in boost::filesystem APIs when the current locale is not to boost's liking. It's not clear what "not to boost's liking" means in detail, though "en" and "en_US.UTF-8" are not to its liking. Fix it by running a test function that's known to throw in such a case, and resetting LANG and LC_ALL to C if an exception is thrown. In simplewallet, the locale is queried before that so the correct translations will still be used.
2015-10-28rpc: fix start_mining and status RPC crashesmoneromooo-monero3-6/+8
They check whether they're running on testnet by accessing the m_rpc_server object, which does not exist when in RPC mode. Also, fix hard_fork_info being called with the wrong API.
2015-10-26Merge pull request #448Riccardo Spagni1-7/+9
06c65cb rpc: fix hard_fork_info RPC (moneromooo-monero) 6f5c129 rpc: fix a few commands not working as command line (moneromooo-monero)
2015-10-26rpc: fix hard_fork_info RPCmoneromooo-monero1-4/+6
I had never tested it, obviously
2015-10-26rpc: fix a few commands not working as command linemoneromooo-monero1-3/+3
The method name to the "json_rpc" commands are names, not part of URLs.
2015-10-25daemon: add a status commandmoneromooo-monero5-0/+71
Displays current block height and target, net hash, hard fork basic info, and connections. Useful as a basic user friendly "what's going on here" command.
2015-10-13core_rpc_server: add a getblock RPC command, and fix print_blockmoneromooo-monero1-8/+10
2015-10-04build: default to Berkeley DB for 32 bit and ARMmoneromooo-monero1-1/+1
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero5-0/+62
2015-08-11Add a is_key_image_spent daemon command and RPC callmoneromooo-monero5-0/+65
2015-08-09daemon: omit extra set of <> in error messagemoneromooo-monero1-1/+1
The string conversion already adds them
2015-08-09daemon: print a decoded tx in print_txmoneromooo-monero1-0/+18
in addition to the raw hex representation
2015-08-09daemon: fix print_tx not find transactionsmoneromooo-monero1-0/+1
It was not even trying to
2015-07-15Fixed binary size issue due to embedded checkpoint data.NoodleDoodleNoodleDoodleNoodleDoodleNoo1-2/+6
Fixed OSX compilation issues due to random lmdb resize points. Fixed infinite loop bug when calling core::get_block_template(..).
2015-07-15** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)NoodleDoodleNoodleDoodleNoodleDoodleNoo3-4/+42
Bockchain: 1. Optim: Multi-thread long-hash computation when encountering groups of blocks. 2. Optim: Cache verified txs and return result from cache instead of re-checking whenever possible. 3. Optim: Preload output-keys when encoutering groups of blocks. Sort by amount and global-index before bulk querying database and multi-thread when possible. 4. Optim: Disable double spend check on block verification, double spend is already detected when trying to add blocks. 5. Optim: Multi-thread signature computation whenever possible. 6. Patch: Disable locking (recursive mutex) on called functions from check_tx_inputs which causes slowdowns (only seems to happen on ubuntu/VMs??? Reason: TBD) 7. Optim: Removed looped full-tx hash computation when retrieving transactions from pool (???). 8. Optim: Cache difficulty/timestamps (735 blocks) for next-difficulty calculations so that only 2 db reads per new block is needed when a new block arrives (instead of 1470 reads). Berkeley-DB: 1. Fix: 32-bit data errors causing wrong output global indices and failure to send blocks to peers (etc). 2. Fix: Unable to pop blocks on reorganize due to transaction errors. 3. Patch: Large number of transaction aborts when running multi-threaded bulk queries. 4. Patch: Insufficient locks error when running full sync. 5. Patch: Incorrect db stats when returning from an immediate exit from "pop block" operation. 6. Optim: Add bulk queries to get output global indices. 7. Optim: Modified output_keys table to store public_key+unlock_time+height for single transaction lookup (vs 3) 8. Optim: Used output_keys table retrieve public_keys instead of going through output_amounts->output_txs+output_indices->txs->output:public_key 9. Optim: Added thread-safe buffers used when multi-threading bulk queries. 10. Optim: Added support for nosync/write_nosync options for improved performance (*see --db-sync-mode option for details) 11. Mod: Added checkpoint thread and auto-remove-logs option. 12. *Now usable on 32-bit systems like RPI2. LMDB: 1. Optim: Added custom comparison for 256-bit key tables (minor speed-up, TBD: get actual effect) 2. Optim: Modified output_keys table to store public_key+unlock_time+height for single transaction lookup (vs 3) 3. Optim: Used output_keys table retrieve public_keys instead of going through output_amounts->output_txs+output_indices->txs->output:public_key 4. Optim: Added support for sync/writemap options for improved performance (*see --db-sync-mode option for details) 5. Mod: Auto resize to +1GB instead of multiplier x1.5 ETC: 1. Minor optimizations for slow-hash for ARM (RPI2). Incomplete. 2. Fix: 32-bit saturation bug when computing next difficulty on large blocks. [PENDING ISSUES] 1. Berkely db has a very slow "pop-block" operation. This is very noticeable on the RPI2 as it sometimes takes > 10 MINUTES to pop a block during reorganization. This does not happen very often however, most reorgs seem to take a few seconds but it possibly depends on the number of outputs present. TBD. 2. Berkeley db, possible bug "unable to allocate memory". TBD. [NEW OPTIONS] (*Currently all enabled for testing purposes) 1. --fast-block-sync arg=[0:1] (default: 1) a. 0 = Compute long hash per block (may take a while depending on CPU) b. 1 = Skip long-hash and verify blocks based on embedded known good block hashes (faster, minimal CPU dependence) 2. --db-sync-mode arg=[[safe|fast|fastest]:[sync|async]:[nblocks_per_sync]] (default: fastest:async:1000) a. safe = fdatasync/fsync (or equivalent) per stored block. Very slow, but safest option to protect against power-out/crash conditions. b. fast/fastest = Enables asynchronous fdatasync/fsync (or equivalent). Useful for battery operated devices or STABLE systems with UPS and/or systems with battery backed write cache/solid state cache. Fast - Write meta-data but defer data flush. Fastest - Defer meta-data and data flush. Sync - Flush data after nblocks_per_sync and wait. Async - Flush data after nblocks_per_sync but do not wait for the operation to finish. 3. --prep-blocks-threads arg=[n] (default: 4 or system max threads, whichever is lower) Max number of threads to use when computing long-hash in groups. 4. --show-time-stats arg=[0:1] (default: 1) Show benchmark related time stats. 5. --db-auto-remove-logs arg=[0:1] (default: 1) For berkeley-db only. Auto remove logs if enabled. **Note: lmdb and berkeley-db have changes to the tables and are not compatible with official git head version. At the moment, you need a full resync to use this optimized version. [PERFORMANCE COMPARISON] **Some figures are approximations only. Using a baseline machine of an i7-2600K+SSD+(with full pow computation): 1. The optimized lmdb/blockhain core can process blocks up to 585K for ~1.25 hours + download time, so it usually takes 2.5 hours to sync the full chain. 2. The current head with memory can process blocks up to 585K for ~4.2 hours + download time, so it usually takes 5.5 hours to sync the full chain. 3. The current head with lmdb can process blocks up to 585K for ~32 hours + download time and usually takes 36 hours to sync the full chain. Averate procesing times (with full pow computation): lmdb-optimized: 1. tx_ave = 2.5 ms / tx 2. block_ave = 5.87 ms / block memory-official-repo: 1. tx_ave = 8.85 ms / tx 2. block_ave = 19.68 ms / block lmdb-official-repo (0f4a036437fd41a5498ee5e74e2422ea6177aa3e) 1. tx_ave = 47.8 ms / tx 2. block_ave = 64.2 ms / block **Note: The following data denotes processing times only (does not include p2p download time) lmdb-optimized processing times (with full pow computation): 1. Desktop, Quad-core / 8-threads 2600k (8Mb) - 1.25 hours processing time (--db-sync-mode=fastest:async:1000). 2. Laptop, Dual-core / 4-threads U4200 (3Mb) - 4.90 hours processing time (--db-sync-mode=fastest:async:1000). 3. Embedded, Quad-core / 4-threads Z3735F (2x1Mb) - 12.0 hours processing time (--db-sync-mode=fastest:async:1000). lmdb-optimized processing times (with per-block-checkpoint) 1. Desktop, Quad-core / 8-threads 2600k (8Mb) - 10 minutes processing time (--db-sync-mode=fastest:async:1000). berkeley-db optimized processing times (with full pow computation) 1. Desktop, Quad-core / 8-threads 2600k (8Mb) - 1.8 hours processing time (--db-sync-mode=fastest:async:1000). 2. RPI2. Improved from estimated 3 months(???) into 2.5 days (*Need 2AMP supply + Clock:1Ghz + [usb+ssd] to achieve this speed) (--db-sync-mode=fastest:async:1000). berkeley-db optimized processing times (with per-block-checkpoint) 1. RPI2. 12-15 hours (*Need 2AMP supply + Clock:1Ghz + [usb+ssd] to achieve this speed) (--db-sync-mode=fastest:async:1000).
2015-06-14daemon: fix an exit crashmoneromooo-monero2-1/+12
2015-06-03fix ^D exit for bitmonerodmoneromooo-monero3-4/+4
It uses the async console handler differently than simplewallet, and wasn't running the same exit code, causing it to never actually exit after breaking out of the console entry loop.
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni15-105/+105
2015-05-30Merge pull request #294Riccardo Spagni3-532/+1
693a8bf rpc_command_executor: fix mining in testnet mode (moneromooo-monero) d09be11 core_rpc_server: add a getter for the testnet flag (moneromooo-monero) 754f863 core_rpc_server: log some error messages to the console (moneromooo-monero) 4f0e8cf daemon: remove obsolete daemon_commands_handler.h (moneromooo-monero) bac366e core_rpc_server: reenable print_pl (moneromooo-monero) 39a9508 net_peerlist: fix grayt/white naming mismatch (moneromooo-monero) 8069b3b blockchain_db: add a few const (moneromooo-monero) 0932476 wallet: add consts where appropriate (moneromooo-monero)
2015-05-28rpc_command_executor: fix mining in testnet modemoneromooo-monero1-2/+1
2015-05-28daemon: remove obsolete daemon_commands_handler.hmoneromooo-monero2-530/+0
2015-05-28daemon: Set log file default to use data dirwarptangent1-1/+16
The log file previously used the default data dir even if --data-dir was set to something else. Document data dir and log file path.
2015-05-17print limits when running limit commands with no argumentsmoneromooo-monero3-3/+41
It's more user friendly that an error message saying the command does not exist.
2015-04-23Add mempool output to daemon via command and RPCwarptangent1-13/+50
This is for the "print_pool" command and "get_transaction_pool" RPC method. Add mempool's spent key images to the results.
2015-04-10[fix] log level change. compilation: dns, testsrfree2monero2-2/+3
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again
2015-04-10Fixes start_mining in cli interactive modeThomas Winget1-2/+16
2015-04-07Merge BlockchainDB into upstreamThomas Winget3-0/+21
2015-04-02Network 1.7; Quieted the debug a bit.rfree2monero1-1/+5
Really really finall version of this changes I hope.
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero9-181/+274
2015-04-01Merge remote-tracking branch 'monero-official/master' into network-1.6-work1rfree2monero18-332/+2649
2015-03-27Restore daemon interactive modeThomas Winget10-83/+430
Daemon interactive mode is now working again. RPC mapped calls in daemon and wallet have both had connection_context removed as an argument as that argument was not being used anywhere.
2015-03-25Steps toward multiple dbs available -- workingThomas Winget2-0/+20
There will need to be some more refactoring for these changes to be considered complete/correct, but for now it's working. new daemon cli argument "--db-type", works for LMDB and BerkeleyDB. A good deal of refactoring is also present in this commit, namely Blockchain no longer instantiates BlockchainDB, but rather is passed a pointer to an already-instantiated BlockchainDB on init().
2015-03-25Merge upstream updates into blockchain branchThomas Winget18-296/+2290
2015-03-06Moved BlockchainDB into its own src/ subfolderThomas Winget1-0/+1
Ostensibly janitorial work, but should be more relevant later down the line. Things that depend on core cryptonote things (i.e. cryptonote_core) don't necessarily depend on BlockchainDB and thus have no need to have BlockchainDB baked in with them.
2015-03-01sending commands to forked daemon works on testnet nowThomas Winget1-0/+4
2015-03-01Fix tests building -- function signatures changedThomas Winget2-0/+3
2015-02-24fix locking in count-peers thread (2)rfree2monero1-1/+1
2015-02-242014 network limit 1.3 fix log/path/data +utilsrfree2monero1-2/+4
+toc -doc -drmonero Fixed the windows path, and improved logging and data (for graph) logging, fixed some locks and added more checks. Still there is a locking error, not added by my patches, but present in master version (locking of map/list of peers).
2015-02-24RPC calls for background daemon added inThomas Winget3-51/+40
The RPC calls the daemon executable uses to talk to the running daemon instance have mostly been added back in. Rate limiting has not been added in upstream, but is on its way in a separate effort, so those calls are still NOPed out.
2015-02-24Daemonize changes pulled in -- daemon buildsThomas Winget18-296/+2294
many RPC functions added by the daemonize changes (and related changes on the upstream dev branch that were not merged) were commented out (apart from return). Other than that, this *should* work...at any rate, it builds, and that's something.
2015-02-202014 network limit 1.2 +utils +toc -doc -drmonerorfree2monero2-19/+26
new update of the pr with network limits more debug options: discarding downloaded blocks all or after given height. trying to trigger the locking errors. debug levels polished/tuned to sane values. debug/logging improved. warning: this pr should be correct code, but it could make an existing (in master version) locking error appear more often. it's a race on the list (map) of peers, e.g. between closing/deleting them versus working on them in net-limit sleep in sending chunk. the bug is not in this code/this pr, but in the master version. the locking problem of master will be fixed in other pr. problem is ub, and in practice is seems to usually cause program abort (tested on debian stable with updated gcc). see --help for option to add sleep to trigger the error faster.
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero2-17/+73
Update of the PR with network limits works very well for all speeds (but remember that low download speed can stop upload because we then slow down downloading of blockchain requests too) more debug options fixed pedantic warnings in our code should work again on Mac OS X and FreeBSD fixed warning about size_t tested on Debian, Ubuntu, Windows(testing now) TCP options and ToS (QoS) flag FIXED peer number limit FIXED some spikes in ingress/download FIXED problems when other up and down limit
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero2-17/+133
commands and options for network limiting works very well e.g. for 50 KiB/sec up and down ToS (QoS) flag peer number limit TODO some spikes in ingress/download TODO problems when other up and down limit added "otshell utils" - simple logging (with colors, text files channels)
2015-01-02year updated in licenseRiccardo Spagni3-3/+3
2014-10-24cmake: fix up link linesBen Boeckel1-0/+1
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: handle private vs. public headersBen Boeckel1-2/+7
2014-10-23cmake: refactor common code with executablesBen Boeckel1-18/+1
2014-10-23cmake: put each library into its own directoryBen Boeckel1-0/+89
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
2014-09-30Fixed segfault with checkpoints loadingThomas Winget1-2/+0
Bounds checking on blockchain_storage' m_blocks.size() when validating against checkpoints. Also moved initial json & DNS checkpoints load to after blockchain init.
2014-09-30DNS checkpoint updating added, and daemon flag to enforce themThomas Winget1-2/+8
The daemon should now check for updated checkpoints from checkpoints.moneropulse.org as well as from the configured json file every ~1hr (and on launch). The daemon now has a flag to enable enforcing these checkpoints (rather than just printing a warning when they fail). TODO: an easily configurable list of DNS servers to check for checkpoints as opposed to the hard-coded "checkpoints.moneropulse.org"
2014-09-30reload checkpoints file every ~hr and print if any failThomas Winget1-1/+2
also some other minor bug squashing and code formatting
2014-09-25Added ability to read chechpoint hashes from json file in data folderTomer Konforty1-0/+5
2014-09-15Give up on brace initializers in initializer lists (MSVC bug)Zachary Michaels1-1/+1
2014-09-15fixed incorrect version referenceRiccardo Spagni1-1/+1
2014-09-15Separate testnet address prefixZachary Michaels2-5/+11
2014-09-15Create testnet data dir if necessaryZachary Michaels1-0/+1
2014-09-15Separate testnet default data dirZachary Michaels1-27/+37
2014-09-15Separate network id for testnetZachary Michaels1-1/+5
2014-09-15Separate rpc port for testnetZachary Michaels1-1/+1
2014-09-15Add testnet flagZachary Michaels1-4/+13
Source: cryptonotefoundation
2014-09-12versioning now includes the commit hash, or -final for tagged releasesRiccardo Spagni2-4/+4
2014-09-11Merge remote-tracking branch 'upstream/master'jebes1-17/+17
2014-09-09commented util.hjebes2-36/+41
2014-09-09moved non-critical warnings and errors to log level 1fluffypony1-17/+17
2014-07-23License updated to BSD 3-clausefluffypony2-6/+58
2014-05-250.8.8updatemydesktop1-2/+47
2014-05-13Update daemon_commands_handler.hNoodleDoodleNoodleDoodleNoodleDoodleNoo1-0/+12
1. Added "diff" command to show current estimated difficulty and hash-rate.
2014-04-30mac osx building fixesmydesktop1-1/+4
2014-04-07Improvements in JSON RPCAntonio Juarez1-1/+1
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-4/+1
2014-03-20some fixesAntonio Juarez2-9/+33
2014-03-03moved all stuff to githubAntonio Juarez2-0/+525