aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj1-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-23daemon: fix min/max tracking using the wrong sizemoneromooo-monero1-4/+4
Reported by iDunk
2016-10-23daemon: even when switching branches, compile the damn thing ffsmoneromooo-monero1-1/+1
2016-10-23daemon: do not divide by 0 when the pool is emptymoneromooo-monero1-2/+2
2016-10-23Merge pull request #1250Riccardo Spagni1-0/+56
839280d daemon: add a print_pool_stats daemon command (moneromooo-monero)
2016-10-23daemon: add a print_pool_stats daemon commandmoneromooo-monero1-0/+56
Helps see what's going on now that Monero is getting used
2016-10-23daemon: report transaction relay status in print_pool* commandsmoneromooo-monero1-0/+2
2016-10-15wallet: select part of the fake outs from recent outputsmoneromooo-monero1-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-10print_coinbase_tx_sum now breaks output into fee and emission componentsDion Ahmetaj1-1/+3
2016-10-10changed params from start/end index to height/countDion Ahmetaj1-5/+5
2016-10-10attempted to remove whitespace spamDion Ahmetaj1-17/+17
2016-10-10added print_coinbase_tx_sum optionDion Ahmetaj1-17/+50
2016-10-04Merge pull request #1164Riccardo Spagni1-12/+8
179b1f4 daemon: implement missing print_bc and matching RPC (moneromooo-monero)
2016-10-04Merge pull request #1171Riccardo Spagni1-28/+0
6390673 Removed all code related to fast_exit (NanoAkron)
2016-10-04Merge pull request #1149Riccardo Spagni1-1/+1
25be1d3 Noticed two spellings of the word 'response' in the codebase, one 'responce' and the other 'response'. (NanoAkron)
2016-10-03Removed all code related to fast_exitNanoAkron1-28/+0
2016-10-02daemon: implement missing print_bc and matching RPCmoneromooo-monero1-12/+8
2016-09-29Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵NanoAkron1-1/+1
and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings.
2016-09-24daemon: report status at 99.9% rather than 100% when not quite syncedmoneromooo-monero1-1/+11
Less confusing for users.
2016-09-18epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero1-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-10Daemon: fix hashrate display in diff command outputiDunk54001-1/+1
2016-09-03fix remaining bitmonero and simplewallet bitsRiccardo Spagni1-2/+2
2016-08-12daemon: print time to next forkmoneromooo-monero1-1/+23
2016-07-10daemon: fix ban seconds being misinterpreted as absolutemoneromooo-monero1-3/+1
Absolute to relative conversion is already done by the callee.
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-monero1-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-21Revert "Print stack trace upon exceptions"moneromooo-monero1-2/+1
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-monero1-1/+2
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-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-monero1-0/+30
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, rephrasebinaryFate1-1/+1
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
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-18print top block hash in daemon diff commandmoneromooo-monero1-0/+1
and add top block hash in get_info RPC
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-monero1-0/+106
2015-11-23daemon: fix blockchain height display not updating after syncmoneromooo-monero1-1/+1
2015-10-28rpc: fix start_mining and status RPC crashesmoneromooo-monero1-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-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-monero1-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-13core_rpc_server: add a getblock RPC command, and fix print_blockmoneromooo-monero1-8/+10
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero1-0/+31
2015-08-11Add a is_key_image_spent daemon command and RPC callmoneromooo-monero1-0/+36
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-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni1-7/+7
2015-05-28rpc_command_executor: fix mining in testnet modemoneromooo-monero1-2/+1
2015-05-17print limits when running limit commands with no argumentsmoneromooo-monero1-0/+23
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, testsrfree2monero1-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-10Fixes start_mining in cli interactive modeThomas Winget1-2/+16
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero1-12/+140
2015-03-27Restore daemon interactive modeThomas Winget1-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-24RPC calls for background daemon added inThomas Winget1-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-24Daemonize changes pulled in -- daemon buildsThomas Winget1-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.