summaryrefslogtreecommitdiff
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
* add lightweight block propagation ("fluffy blocks")Dion Ahmetaj2016-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | Added a new command to the P2P protocol definitions to allow querying for support flags. Implemented handling of new support flags command in net_node. Changed for_each callback template to include support flags. Updated print_connections command to show peer support flags. Added p2p constant for signaling fluffy block support. Added get_pool_transaction function to cryptnote_core. Added new commands to cryptonote protocol for relaying fluffy blocks. Implemented handling of fluffy block command in cryptonote protocol. Enabled fluffy block support in node initial configuration. Implemented get_testnet function in cryptonote_core. Made it so that fluffy blocks only run on testnet.
* daemon: fix min/max tracking using the wrong sizemoneromooo-monero2016-10-231-4/+4
| | | | Reported by iDunk
* daemon: even when switching branches, compile the damn thing ffsmoneromooo-monero2016-10-231-1/+1
|
* daemon: do not divide by 0 when the pool is emptymoneromooo-monero2016-10-231-2/+2
|
* Merge pull request #1250Riccardo Spagni2016-10-235-0/+72
|\ | | | | | | 839280d daemon: add a print_pool_stats daemon command (moneromooo-monero)
| * daemon: add a print_pool_stats daemon commandmoneromooo-monero2016-10-235-0/+72
| | | | | | | | Helps see what's going on now that Monero is getting used
* | daemon: report transaction relay status in print_pool* commandsmoneromooo-monero2016-10-231-0/+2
|/
* wallet: select part of the fake outs from recent outputsmoneromooo-monero2016-10-151-2/+4
| | | | | | | 25% of the outputs are selected from the last 5 days (if possible), in order to avoid the common case of sending recently received outputs again. 25% and 5 days are subject to review later, since it's just a wallet level change.
* print_coinbase_tx_sum now breaks output into fee and emission componentsDion Ahmetaj2016-10-101-1/+3
|
* changed params from start/end index to height/countDion Ahmetaj2016-10-105-16/+16
|
* attempted to remove whitespace spamDion Ahmetaj2016-10-105-50/+50
|
* added print_coinbase_tx_sum optionDion Ahmetaj2016-10-105-51/+115
|
* Merge pull request #1164Riccardo Spagni2016-10-041-12/+8
|\ | | | | | | 179b1f4 daemon: implement missing print_bc and matching RPC (moneromooo-monero)
| * daemon: implement missing print_bc and matching RPCmoneromooo-monero2016-10-021-12/+8
| |
* | Merge pull request #1139Riccardo Spagni2016-10-041-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01ec195 Update CMakeLists.txt (codehalo) 446ebbc Update CMakeLists.txt (codehalo) bd773e7 Update CMakeLists.txt (codehalo) 3627cea Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 2a51396 Dropped "bit" from bitmonero. (Randi Joseph) 78b13d6 Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 1e6aedb Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 9e54616 Dropped "bit" from bitmonero. (Randi Joseph)
| * | Dropped "bit" from bitmonero.Randi Joseph2016-09-261-2/+2
| | |
* | | Merge pull request #1171Riccardo Spagni2016-10-045-43/+0
|\ \ \ | | | | | | | | | | | | 6390673 Removed all code related to fast_exit (NanoAkron)
| * | | Removed all code related to fast_exitNanoAkron2016-10-035-43/+0
| | |/ | |/|
* | | Merge pull request #1168Riccardo Spagni2016-10-041-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 10be903 Brackets to prevent premature return (NanoAkron) fb1785a Brackets to ensure doesn't function prematurely return (NanoAkron) 8ed0d72 Moved logging to target functions rather than caller (NanoAkron) 442bfd1 Added messages at log level 2 to reflect deactivation procedure (NanoAkron)
| * | | Moved logging to target functions rather than callerNanoAkron2016-10-031-2/+3
| |/ /
* | | Merge pull request #1149Riccardo Spagni2016-10-041-1/+1
|\ \ \ | | | | | | | | | | | | 25be1d3 Noticed two spellings of the word 'response' in the codebase, one 'responce' and the other 'response'. (NanoAkron)
| * | | Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵NanoAkron2016-09-291-1/+1
| | |/ | |/| | | | | | | | | | | | | and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings.
* | | Merge pull request #1145Riccardo Spagni2016-10-041-1/+1
|\ \ \ | |_|/ |/| | | | | 8438fb4 Improving daemon startup log message (NanoAkron)
| * | Improving daemon startup log messageNanoAkron2016-09-281-1/+1
| |/
* / daemon: report status at 99.9% rather than 100% when not quite syncedmoneromooo-monero2016-09-241-1/+11
|/ | | | Less confusing for users.
* epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2016-09-188-4/+11
| | | | | | | | This is intended to catch traffic coming from a web browser, so we avoid issues with a web page sending a transfer RPC to the wallet. Requiring a particular user agent can act as a simple password scheme, while we wait for 0MQ and proper authentication to be merged.
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-3/+1
| | | | | | | | | | | | | | Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
* daemon: log version when startingmoneromooo-monero2016-09-161-0/+3
| | | | Helps with investigating bug reports
* Merge pull request #1068Riccardo Spagni2016-09-151-0/+1
|\ | | | | | | | | | | a5af33d Add libminiupnpc and libunwind to snap. (Casey Marshall) 823843e Fix portability issues discovered with fresh snap install. (Casey Marshall) 0a56d83 Add snap packaging. (Casey Marshall)
| * Add snap packaging.Casey Marshall2016-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds [snap](https://snapcraft.io) packaging to the project. See the link for more information on snaps. Snap packages install on all Linux distributions. On Ubuntu, snap confinement with apparmor and seccomp provide an additional layer of security. This snap sets up monerod as a systemd service, which should start immediately on install. To access the wallet CLI, simply run `monero` (/snap/bin/monero). I think it's a really quick & easy way to get started with monero. I've made some opinionated decisions in the packaging just to kick this off, but I'm happy to iterate on this stuff.
* | Daemon: fix hashrate display in diff command outputiDunk54002016-09-101-1/+1
|/
* fix remaining bitmonero and simplewallet bitsRiccardo Spagni2016-09-031-2/+2
|
* rename Monero daemonRiccardo Spagni2016-09-031-1/+1
|
* Fix incorrect help usage for the threads option to start_miningQuanah Gibson-Mount2016-08-302-2/+2
|
* daemon: print time to next forkmoneromooo-monero2016-08-121-1/+23
|
* cmake,common: flag for stack traceredfish2016-07-271-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).
* daemon: fix ban seconds being misinterpreted as absolutemoneromooo-monero2016-07-101-3/+1
| | | | Absolute to relative conversion is already done by the callee.
* daemon: print exception errors when failing to parse config filemoneromooo-monero2016-06-301-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.
* Merge pull request #775Riccardo Spagni2016-06-191-0/+2
|\ | | | | | | | | e409e59 Print stack trace on exceptions (moneromooo-monero) ef4ff42 connection_basic: avoid gratuitous exception (moneromooo-monero)
| * Print stack trace on exceptionsmoneromooo-monero2016-04-281-0/+2
| | | | | | | | | | | | if libunwind is found. Useful for debugging logs.
* | add a --max-concurrency flagmoneromooo-monero2016-04-282-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.
* | Merge pull request #797Riccardo Spagni2016-04-141-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)
| * | rpc: print human readable time since received when printing poolmoneromooo-monero2016-04-051-11/+33
| |/
* / rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero2016-04-091-3/+13
|/
* New RPC and daemon command to get output histogrammoneromooo-monero2016-03-265-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.
* Merge pull request #749Riccardo Spagni2016-03-251-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)
* Revert "Merge pull request #749"Riccardo Spagni2016-03-251-0/+1
| | | | | This reverts commit 7fa63a82a1c3a0243f6757c1689855ed3ca61695, reversing changes made to cb6be986c36b78eddb4b7f16e9ad440af8567dc4.
* Move checkpoint functions into checkpoints classThomas Winget2016-03-241-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.
* Revert "Print stack trace upon exceptions"moneromooo-monero2016-03-217-11/+8
| | | | | | Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
* Merge pull request #735Riccardo Spagni2016-03-201-1/+1
|\ | | | | | | d2aa427 rpc: fix print_tx in command line mode (moneromooo-monero)