aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-09-11rpc: get_txpool_backlog is now unrestrictedmoneromooo-monero1-1/+1
2017-08-26rpc: add a new RPC to get current txpool backlog (sizes and fees)moneromooo-monero1-0/+2
2017-08-07Merge pull request #2149Riccardo Spagni1-0/+2
158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero) f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero) 90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero) 84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero) 5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero1-0/+2
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-04Add on_get_alt_blocks_hashes RPC callmoneroexamples1-0/+2
2017-06-01Speedup print_pool_statsHoward Chu1-0/+2
Since we're just counting txs, there's no reason to deserialize all the blobs.
2017-04-02daemon: new relay_tx command and RPCmoneromooo-monero1-0/+2
2017-03-23core, wallet: faster tx pool scanningmoneromooo-monero1-0/+2
Includes a new RPC to get tx pool hashes fast.
2017-02-24daemon/rpc: updates command and RPCmoneromooo-monero1-0/+2
subcommands "check", "download", and "update". update is not yet implemented.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-06Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett1-8/+0
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero1-0/+2
This prevents easy fingerprinting when you change IPs, and will be a must when kovri gets used.
2017-01-15Merge pull request #1569Riccardo Spagni1-0/+2
16b8b66a specify restore height by YYYY-MM-DD format (kenshi84)
2017-01-16specify restore height by YYYY-MM-DD formatkenshi841-0/+2
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+2
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.
2016-12-17rpc: new function and RPC to get alternative chain infomoneromooo-monero1-0/+2
2016-11-22Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero1-1/+3
2016-10-31rpc: add a dynamic fee estimation RPC callmoneromooo-monero1-0/+2
2016-10-10changed params from start/end index to height/countDion Ahmetaj1-2/+2
2016-10-10attempted to remove whitespace spamDion Ahmetaj1-17/+17
2016-10-10added print_coinbase_tx_sum optionDion Ahmetaj1-17/+19
2016-10-04Merge pull request #1164Riccardo Spagni1-0/+2
179b1f4 daemon: implement missing print_bc and matching RPC (moneromooo-monero)
2016-10-04Merge pull request #1171Riccardo Spagni1-2/+0
6390673 Removed all code related to fast_exit (NanoAkron)
2016-10-03Removed all code related to fast_exitNanoAkron1-2/+0
2016-10-02daemon: implement missing print_bc and matching RPCmoneromooo-monero1-0/+2
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-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-08-28core: new /getrandom_rctouts.bin binary RPC callmoneromooo-monero1-0/+2
to get random ringct outputs to mix with
2016-08-11Fake outs set is now decided by the walletmoneromooo-monero1-0/+2
This plugs a privacy leak from the wallet to the daemon, as the daemon could previously see what input is included as a transaction input, which the daemon hadn't previously supplied. Now, the wallet requests a particular set of outputs, including the real one. This can result in transactions that can't be accepted if the wallet happens to select too many outputs with non standard unlock times. The daemon could know this and select another output, but the wallet is blind to it. It's currently very unlikely since I don't think anything uses non default unlock times. The wallet requests more outputs than necessary so it can use spares if any of the returns outputs are still locked. If there are not enough spares to reach the desired mixin, the transaction will fail.
2016-07-20Merge pull request #902Riccardo Spagni1-0/+2
014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
2016-07-10Add a daemon RPC version, and make simplewallet check itmoneromooo-monero1-0/+2
If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
2016-07-10rpc: fix get_bans and set_bans RPC names, they were missing a _moneromooo-monero1-2/+2
2016-05-16Restrict also 'get_connections' and 'getbans' APIs.osensei1-2/+2
2016-05-14Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in ↵osensei1-2/+2
restricted mode.
2016-04-17Add GET_HASHES_FAST rpc, use it in walletHoward Chu1-0/+2
When m_refresh_from_block_height has been set, only hashes will be retrieved up to that height, instead of full blocks. The same will be done for "refresh <height>" when the specified height is beyond the current local blockchain.
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero1-0/+2
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-01-30new flush_txpool command, and associated RPC callmoneromooo-monero1-0/+2
It can flush a particular tx, or the whole pool (the RPC command can flush a list of transactions too)
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-11-30Merge pull request #505Riccardo Spagni1-12/+14
7574297 core_rpc_server: add a --restricted-rpc option (moneromooo-monero)
2015-11-27core_rpc_server: add a --restricted-rpc optionmoneromooo-monero1-12/+14
It does not expose the RPC for commands like start_mining, etc (ie, commands a public node operator might want to be restricted)
2015-11-26add RPC calls and commands to get/set bansmoneromooo-monero1-0/+4
2015-10-26rpc: fix hard_fork_info RPCmoneromooo-monero1-0/+1
I had never tested it, obviously
2015-10-13core_rpc_server: add a getblock RPC command, and fix print_blockmoneromooo-monero1-0/+2
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero1-0/+1
2015-08-11Add a is_key_image_spent daemon command and RPC callmoneromooo-monero1-0/+2
2015-05-28core_rpc_server: add a getter for the testnet flagmoneromooo-monero1-0/+1
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero1-0/+8
2015-03-27Restore daemon interactive modeThomas Winget1-27/+28
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-0/+11
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-1/+9
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-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-09-15Separate testnet address prefixZachary Michaels1-3/+6
2014-09-15Separate rpc port for testnetZachary Michaels1-2/+8
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-07-22Add get_info command to daemon json rpcZachary Michaels1-0/+2
2014-07-18Added get_connections RPC call to daemonThomas Winget1-0/+2
2014-06-02Merge pull request #20 from artifexd/wallet_refreshmonero-project1-0/+1
Enable wallet refresh before blockchain is saved or completely sync'd.
2014-06-01Enable wallet refresh before blockchain is saved or completely sync'd.artifexd1-0/+1
2014-05-25'mining_status' Daemon RPC commandNeozaru1-0/+2
2014-05-16Added 'save_bc' command in daemon for saving blockchain remotelyNeozaru1-0/+2
2014-04-09Port mapping with UPnPAntonio Juarez1-5/+15
2014-03-20some fixesAntonio Juarez1-16/+17
2014-03-03moved all stuff to githubAntonio Juarez1-0/+75