aboutsummaryrefslogtreecommitdiff
path: root/src/daemon (follow)
AgeCommit message (Collapse)AuthorFilesLines
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