Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-26 | daemon: add a +hex option to print_block | moneromooo-monero | 1 | -2/+6 | |
2018-12-26 | daemon: print human friendly timestamp too | moneromooo-monero | 1 | -2/+2 | |
2018-11-28 | add command pop_blocks | Jason Wong | 1 | -0/+27 | |
add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style | |||||
2018-11-01 | daemon: use msg_writer, not cout, to display information | moneromooo-monero | 1 | -4/+4 | |
2018-10-19 | daemon: fix base fee stating /kB even when it is per byte | moneromooo-monero | 1 | -1/+13 | |
2018-10-18 | daemon: Show mining address | Ricardo de Vries | 1 | -1/+1 | |
2018-10-02 | daemon: do not display uptime when not known | moneromooo-monero | 1 | -5/+15 | |
2018-09-11 | v8: per byte fee, pad bulletproofs, fixed 11 ring size | moneromooo-monero | 1 | -12/+15 | |
2018-09-05 | daemon: request no PoW hashes we don't need when asking for blocks | moneromooo-monero | 1 | -0/+2 | |
This fixes the horrendous slowdown in bc_dyn_stats | |||||
2018-07-24 | daemon.print_bc: don't print difficulty twice | stoffu | 1 | -1/+1 | |
2018-06-26 | alt_chain_info can now give more info about a particular alt chain | moneromooo-monero | 1 | -6/+26 | |
2018-06-20 | daemon: show a bit more info with print_block | stoffu | 1 | -1/+3 | |
2018-05-26 | fix build with GCC 8.1.0 | moneromooo-monero | 1 | -1/+1 | |
2018-05-19 | daemon: request unpruned transactions for print_tx | moneromooo-monero | 1 | -0/+1 | |
instead of uninitialized | |||||
2018-04-28 | daemon: print peer state in sync_info | moneromooo-monero | 1 | -1/+1 | |
It's often relevant | |||||
2018-04-25 | Fix broken interactive daemon 'limit' commands plus RPC calls | rbrunner7 | 1 | -6/+6 | |
2018-04-05 | Core RPC: optionally add POW hash to block_header_response | stoffu | 1 | -0/+3 | |
2018-03-05 | Stagenet | stoffu | 1 | -3/+3 | |
2018-01-30 | Bootstrap daemon | stoffu | 1 | -4/+21 | |
2018-01-29 | Fix in_peers/out_peers RPC operations | Erik de Castro Lopo | 1 | -2/+2 | |
Original implementations could never have worked. | |||||
2018-01-29 | Allow the number of incoming connections to be limited | Erik de Castro Lopo | 1 | -0/+32 | |
It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps. | |||||
2018-01-26 | Update 2018 copyright | xmr-eric | 1 | -1/+1 | |
2017-12-18 | use const refs in for loops for non tiny types | moneromooo-monero | 1 | -1/+1 | |
2017-12-17 | daemon: print num txes in print_bc | moneromooo-monero | 1 | -1/+1 | |
2017-11-14 | remove "using namespace std" from headers | moneromooo-monero | 1 | -1/+1 | |
It's nasty, and actually breaks on Solaris, where if.h fails to build due to: struct map *if_memmap; | |||||
2017-11-10 | Print msg upon success for commands that were silent | binaryFate | 1 | -0/+4 | |
2017-11-08 | Protect node privacy by proper filtering in restricted-mode RPC answers | binaryFate | 1 | -3/+3 | |
This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590. | |||||
2017-11-06 | track double spending in the txpool | moneromooo-monero | 1 | -1/+3 | |
Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions). | |||||
2017-10-08 | Fix #2559: more flexible print_tx daemon command | binaryFate | 1 | -18/+24 | |
2017-10-07 | daemon: use @N syntax to output_histogram for specific amounts | moneromooo-monero | 1 | -1/+2 | |
Makes debugging tx verification easier | |||||
2017-10-07 | Subaddresses | kenshi84 | 1 | -1/+1 | |
2017-09-25 | daemon: initialize decode_as_json in RPC request | moneromooo-monero | 1 | -0/+1 | |
CID 161886 | |||||
2017-09-22 | Log categories can now be added to and removed from | moneromooo-monero | 1 | -1/+1 | |
Also, set_log without parameters now prints the log categories | |||||
2017-09-21 | daemon: indicate whether the spent key image is mined or unconfirmed | stoffu | 1 | -1/+1 | |
2017-09-19 | rpc: add new RPCs to get and set limits | MaxXor | 1 | -29/+96 | |
2017-09-02 | Use latest height for fork date estimate | Howard Chu | 1 | -2/+3 | |
2017-08-26 | daemon: fix backlog estimating at max block size | moneromooo-monero | 1 | -2/+3 | |
Block size will pretty much never be fully used, unless all txes are using max fee. | |||||
2017-08-25 | txpool: add tx size median to the pool stats | moneromooo | 1 | -1/+1 | |
2017-08-23 | print peer id in 0 padded hex for consistency | moneromooo-monero | 1 | -16/+4 | |
2017-08-23 | daemon: print estimated tx backlog in print_pool_stats | moneromooo-monero | 1 | -2/+24 | |
2017-08-16 | Consistently print peer id in hex and on 16 chars | moneromooo-monero | 1 | -5/+12 | |
2017-08-12 | daemon: print peers' top height in sync_info | moneromooo-monero | 1 | -1/+1 | |
2017-08-07 | cryptonote_protocol_handler: sync speedup | moneromooo-monero | 1 | -0/+68 | |
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand. | |||||
2017-07-29 | daemon: add average seconds per block in bc_dyn_stats | moneromooo-monero | 1 | -1/+4 | |
2017-07-13 | daemon: fix status in command line mode if using restricted rpc | moneromooo-monero | 1 | -5/+4 | |
2017-07-10 | Fix #2164 histogram output | Howard Chu | 1 | -1/+1 | |
When there are more than 50txs, the timestamp for the last bin was printed incorrectly. Subtracting "now" was omitted by mistake in 3fc22e7b78ab1dd409de4f3e8f5bff27be19735b | |||||
2017-06-04 | Add histogram to poolstats | Howard Chu | 1 | -1/+42 | |
2017-06-01 | Speedup print_pool_stats | Howard Chu | 1 | -34/+12 | |
Since we're just counting txs, there's no reason to deserialize all the blobs. | |||||
2017-04-04 | daemon: print average fee per byte in print_pool_stats | moneromooo-monero | 1 | -1/+1 | |
2017-04-04 | daemon: add fee/byte when print pool transaction info | moneromooo-monero | 1 | -0/+2 | |
2017-04-02 | daemon: new relay_tx command and RPC | moneromooo-monero | 1 | -0/+28 | |
2017-03-21 | daemon: better error reporting in commands | moneromooo-monero | 1 | -41/+48 | |
2017-03-18 | daemon: fix missing close parenthesis in alt_chain_info output | moneromooo-monero | 1 | -1/+1 | |
Reported by assylias_ on IRC | |||||
2017-03-18 | daemon: alt_chain_info now prints fork depth | moneromooo-monero | 1 | -2/+14 | |
2017-03-10 | fix dependency: put HardFork back to cryptonote_basic, made some ↵ | kenshi84 | 1 | -1/+1 | |
BlockchainDB functions virtual again to avoid missing symbols error | |||||
2017-02-26 | daemon: fix bc_dyn_stats via rpc | moneromooo-monero | 1 | -2/+2 | |
2017-02-25 | core: move hardfork back to cryptonote_core | moneromooo-monero | 1 | -1/+1 | |
should fix a cross dependency betewen cryptonote_basic and blockchain_db | |||||
2017-02-24 | daemon/rpc: updates command and RPC | moneromooo-monero | 1 | -0/+47 | |
subcommands "check", "download", and "update". update is not yet implemented. | |||||
2017-02-23 | Add print_pl_stats daemon command | Miguel Herranz | 1 | -0/+28 | |
2017-02-21 | update copyright year, fix occasional lack of newline at line end | Riccardo Spagni | 1 | -1/+1 | |
2017-02-16 | More robust battery status handling. | Dion Ahmetaj | 1 | -2/+3 | |
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-10 | Added a note about smart mining to status command. Fixed up a bug where I ↵ | Dion Ahmetaj | 1 | -1/+1 | |
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-10 | Background/smart mining. If a users' computer is plugged into a power | Dion Ahmetaj | 1 | -1/+2 | |
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-08 | extract some basic code from libcryptonote_core into libcryptonote_basic | kenshi84 | 1 | -1/+1 | |
2017-02-06 | Add server auth to monerod, and client auth to wallet-cli and wallet-rpc | Lee Clagett | 1 | -2/+6 | |
2017-02-05 | Clarify in/out connections for users | NanoAkron | 1 | -1/+1 | |
2017-02-02 | Fix missing parentheses | Miguel Herranz | 1 | -2/+2 | |
2017-01-31 | Added days uptime to the status message | NanoAkron | 1 | -4/+6 | |
Also broke down the time calculations for legibility | |||||
2017-01-23 | rpc: fix bc_dyn_stats not setting grace blocks | moneromooo-monero | 1 | -0/+1 | |
This caused a random value to be used, and the resulting incorrect fee when it wasn't 0. | |||||
2017-01-16 | Change logging to easylogging++ | moneromooo-monero | 1 | -0/+31 | |
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels. | |||||
2017-01-14 | fix do_not_relay not preventing relaying on a timer | moneromooo-monero | 1 | -0/+2 | |
Also print its value when printing pool | |||||
2017-01-13 | rpc: add a command to get info about the current blockchain | moneromooo-monero | 1 | -0/+103 | |
About the tip of the main chain, and the last N blocks | |||||
2017-01-12 | Add start_time to get_info methods and show uptime | Miguel Herranz | 1 | -1/+6 | |
2017-01-06 | rpc: add block size to GET_BLOCK_HEADER RPC | moneromooo-monero | 1 | -1/+2 | |
and print it in print_bc | |||||
2016-12-17 | rpc: new function and RPC to get alternative chain info | moneromooo-monero | 1 | -0/+33 | |
2016-11-09 | add lightweight block propagation ("fluffy blocks") | Dion Ahmetaj | 1 | -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. | |||||
2016-10-23 | daemon: fix min/max tracking using the wrong size | moneromooo-monero | 1 | -4/+4 | |
Reported by iDunk | |||||
2016-10-23 | daemon: even when switching branches, compile the damn thing ffs | moneromooo-monero | 1 | -1/+1 | |
2016-10-23 | daemon: do not divide by 0 when the pool is empty | moneromooo-monero | 1 | -2/+2 | |
2016-10-23 | daemon: add a print_pool_stats daemon command | moneromooo-monero | 1 | -0/+56 | |
Helps see what's going on now that Monero is getting used | |||||
2016-10-23 | daemon: report transaction relay status in print_pool* commands | moneromooo-monero | 1 | -0/+2 | |
2016-10-15 | wallet: select part of the fake outs from recent outputs | moneromooo-monero | 1 | -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. | |||||
2016-10-10 | print_coinbase_tx_sum now breaks output into fee and emission components | Dion Ahmetaj | 1 | -1/+3 | |
2016-10-10 | changed params from start/end index to height/count | Dion Ahmetaj | 1 | -5/+5 | |
2016-10-10 | attempted to remove whitespace spam | Dion Ahmetaj | 1 | -17/+17 | |
2016-10-10 | added print_coinbase_tx_sum option | Dion Ahmetaj | 1 | -17/+50 | |
2016-10-03 | Removed all code related to fast_exit | NanoAkron | 1 | -28/+0 | |
2016-10-02 | daemon: implement missing print_bc and matching RPC | moneromooo-monero | 1 | -12/+8 | |
2016-09-29 | Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵ | NanoAkron | 1 | -1/+1 | |
and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings. | |||||
2016-09-24 | daemon: report status at 99.9% rather than 100% when not quite synced | moneromooo-monero | 1 | -1/+11 | |
Less confusing for users. | |||||
2016-09-18 | epee: optionally restrict HTTP service to a configurable user agent | moneromooo-monero | 1 | -0/+1 | |
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. | |||||
2016-09-10 | Daemon: fix hashrate display in diff command output | iDunk5400 | 1 | -1/+1 | |
2016-09-03 | fix remaining bitmonero and simplewallet bits | Riccardo Spagni | 1 | -2/+2 | |
2016-08-12 | daemon: print time to next fork | moneromooo-monero | 1 | -1/+23 | |
2016-07-10 | daemon: fix ban seconds being misinterpreted as absolute | moneromooo-monero | 1 | -3/+1 | |
Absolute to relative conversion is already done by the callee. | |||||
2016-04-09 | rpc: add pool/blockchain and block height results to gettransactions | moneromooo-monero | 1 | -3/+13 | |
2016-04-05 | rpc: print human readable time since received when printing pool | moneromooo-monero | 1 | -11/+33 | |
2016-03-26 | New RPC and daemon command to get output histogram | moneromooo-monero | 1 | -0/+36 | |
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-21 | Revert "Print stack trace upon exceptions" | moneromooo-monero | 1 | -2/+1 | |
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d. | |||||
2016-03-19 | rpc: fix print_tx in command line mode | moneromooo-monero | 1 | -1/+1 | |
It was only filling the input in non rpc mode | |||||
2016-03-19 | Print stack trace upon exceptions | moneromooo-monero | 1 | -1/+2 | |
Useful for debugging users' logs | |||||
2016-03-14 | fix formatting error on bitmonero print_block return | Mike C | 1 | -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-05 | daemon: remove leftover debug log | moneromooo-monero | 1 | -1/+0 | |
2016-01-30 | daemon: fix a few issues reported by valgrind | moneromooo-monero | 1 | -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-30 | new flush_txpool command, and associated RPC call | moneromooo-monero | 1 | -0/+30 | |
It can flush a particular tx, or the whole pool (the RPC command can flush a list of transactions too) | |||||
2016-01-28 | add received time to print_pool and print_pool_sh | Riccardo Spagni | 1 | -1/+3 | |
2016-01-14 | 'max limit of...' is redundant wording, rephrase | binaryFate | 1 | -1/+1 | |
2016-01-14 | Print msg when successfully updating out_peers | binaryFate | 1 | -0/+2 | |
2016-01-11 | daemon: fix status command when run from command line | moneromooo-monero | 1 | -1/+1 | |
2015-12-31 | updated copyright year | Riccardo Spagni | 1 | -1/+1 | |
2015-12-18 | print top block hash in daemon diff command | moneromooo-monero | 1 | -0/+1 | |
and add top block hash in get_info RPC | |||||
2015-12-07 | daemon: add mining status to the status command | moneromooo-monero | 1 | -8/+22 | |
2015-11-26 | rpc: pass current block target in rpc | moneromooo-monero | 1 | -2/+2 | |
This fixes the hash rate being wrong on testnet after the switch to 2 minute blocks | |||||
2015-11-26 | add RPC calls and commands to get/set bans | moneromooo-monero | 1 | -0/+106 | |
2015-11-23 | daemon: fix blockchain height display not updating after sync | moneromooo-monero | 1 | -1/+1 | |
2015-10-28 | rpc: fix start_mining and status RPC crashes | moneromooo-monero | 1 | -4/+4 | |
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-26 | rpc: fix hard_fork_info RPC | moneromooo-monero | 1 | -4/+6 | |
I had never tested it, obviously | |||||
2015-10-26 | rpc: fix a few commands not working as command line | moneromooo-monero | 1 | -3/+3 | |
The method name to the "json_rpc" commands are names, not part of URLs. | |||||
2015-10-25 | daemon: add a status command | moneromooo-monero | 1 | -0/+55 | |
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-13 | core_rpc_server: add a getblock RPC command, and fix print_block | moneromooo-monero | 1 | -8/+10 | |
2015-09-19 | Add an RPC call and daemon command to get info on hard fork voting | moneromooo-monero | 1 | -0/+31 | |
2015-08-11 | Add a is_key_image_spent daemon command and RPC call | moneromooo-monero | 1 | -0/+36 | |
2015-08-09 | daemon: omit extra set of <> in error message | moneromooo-monero | 1 | -1/+1 | |
The string conversion already adds them | |||||
2015-08-09 | daemon: print a decoded tx in print_tx | moneromooo-monero | 1 | -0/+18 | |
in addition to the raw hex representation | |||||
2015-08-09 | daemon: fix print_tx not find transactions | moneromooo-monero | 1 | -0/+1 | |
It was not even trying to | |||||
2015-05-31 | cleaning up, removing redundant files, renaming, fixing incorrect licenses | Riccardo Spagni | 1 | -7/+7 | |
2015-05-28 | rpc_command_executor: fix mining in testnet mode | moneromooo-monero | 1 | -2/+1 | |
2015-05-17 | print limits when running limit commands with no arguments | moneromooo-monero | 1 | -0/+23 | |
It's more user friendly that an error message saying the command does not exist. | |||||
2015-04-23 | Add mempool output to daemon via command and RPC | warptangent | 1 | -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, tests | rfree2monero | 1 | -1/+2 | |
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again | |||||
2015-04-10 | Fixes start_mining in cli interactive mode | Thomas Winget | 1 | -2/+16 | |
2015-04-01 | remerged; commands JSON. logging upgrade. doxygen | rfree2monero | 1 | -12/+140 | |
2015-03-27 | Restore daemon interactive mode | Thomas Winget | 1 | -75/+351 | |
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-02-24 | RPC calls for background daemon added in | Thomas Winget | 1 | -26/+7 | |
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-24 | Daemonize changes pulled in -- daemon builds | Thomas Winget | 1 | -0/+435 | |
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. |