aboutsummaryrefslogtreecommitdiff
path: root/src/rpc (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-06-10rpc: fix getblock RPC sending blob as binary, not hex dumpmoneromooo-monero1-1/+1
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 Chu3-0/+51
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-04-14Merge pull request #797Riccardo Spagni2-1/+3
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-monero2-7/+54
2016-04-05rpc: add a do_not_relay boolean to tx submissionmoneromooo-monero2-1/+3
Just to make it easier
2016-04-02Merge pull request #777Riccardo Spagni2-0/+4
8757e46 add blockhashing blob to getblocktemplate (Howard Chu)
2016-04-02Merge pull request #767Riccardo Spagni2-10/+44
24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
2016-03-30add blockhashing blob to getblocktemplateHoward Chu2-0/+4
2016-03-27Convey tx verification failure reasons to the RPC clientmoneromooo-monero2-13/+47
This allows appropriate action to be taken, like displaying the reason to the user. Do just that in simplewallet, which should help a lot in determining why users fail to send. Also make it so a tx which is accepted but not relayed is seen as a success rather than a failure.
2016-03-26New RPC and daemon command to get output histogrammoneromooo-monero3-0/+75
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-14Fix typo on bitmonerod rpc method error.Mike C1-3/+3
2016-03-12rpc: do not return bans if they're effectively spentmoneromooo-monero1-4/+7
The blocked ip list will still hold them till next time a connection attempt is made with that IP, so the effective length of the ban may be negative.
2016-01-30new flush_txpool command, and associated RPC callmoneromooo-monero3-0/+77
It can flush a particular tx, or the whole pool (the RPC command can flush a list of transactions too)
2016-01-30rpc: add missing return on error when getting a txmoneromooo-monero1-0/+1
2016-01-29Fix V1/V2 use of hard fork related parametersmoneromooo-monero1-2/+2
Some of it uses hardcoded height, which will need some thinking for next (voted upon) fork.
2016-01-11rpc: fix missing target information in RPC callmoneromooo-monero2-0/+3
which fixes the status command via RPC too. Turns out there are two versions of the GET_INFO call. I'd never noticed before.
2016-01-05rpc: is_key_image_spent now checks the tx pool toomoneromooo-monero2-1/+37
2015-12-31updated copyright yearRiccardo Spagni5-5/+5
2015-12-22Merge pull request #547Riccardo Spagni2-1/+3
8ea7af1 Allow the wallet to access hard fork information (moneromooo-monero) 760331b epee: make log macros behave like statements (moneromooo-monero) 3f2970f Add missing semicolons after log statements (moneromooo-monero)
2015-12-19Allow the wallet to access hard fork informationmoneromooo-monero2-1/+3
And make it change behavior slightly when close/after first hard fork
2015-12-18print top block hash in daemon diff commandmoneromooo-monero2-1/+10
and add top block hash in get_info RPC
2015-12-08Register daemon command line arguments to core if they're used in coremoneromooo-monero1-2/+1
This fixes coretests, which does not register daemon specific arguments, but uses core, which uses those arguments. Also gets rid of an unwanted dependency on daemon code from core.
2015-11-30Merge pull request #505Riccardo Spagni2-12/+22
7574297 core_rpc_server: add a --restricted-rpc option (moneromooo-monero)
2015-11-30Merge pull request #503Riccardo Spagni2-0/+2
55e5a33 rpc: pass current block target in rpc (moneromooo-monero)
2015-11-27core_rpc_server: add a --restricted-rpc optionmoneromooo-monero2-12/+22
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-26rpc: pass current block target in rpcmoneromooo-monero2-0/+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-monero3-0/+112
2015-11-21Relay transactions when they linger too long in the poolmoneromooo-monero1-1/+1
The last relayed time of a transaction is maintained, and transactions will be relayed again if they are still in the pool after a certain amount of time, which increases with the transaction's age. All such transactions are resent, whether or not they originated on the local node.
2015-10-28rpc: fix start_mining and status RPC crashesmoneromooo-monero2-0/+3
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-26rpc: fix hard_fork_info RPCmoneromooo-monero2-0/+2
I had never tested it, obviously
2015-10-13core_rpc_server: add optional json decoded tx to COMMAND_RPC_GET_TRANSACTIONSmoneromooo-monero2-0/+6
2015-10-13core_rpc_server: add a getblock RPC command, and fix print_blockmoneromooo-monero3-0/+94
2015-09-19Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero4-0/+60
2015-08-13Merge pull request #369Riccardo Spagni2-2/+6
d87a2d2 core_rpc_server: replace vector<bool> with vector<int> in RPC (moneromooo-monero)
2015-08-13core_rpc_server: replace vector<bool> with vector<int> in RPCmoneromooo-monero2-2/+6
vector<bool> causes issues in serialization with Boost 1.56
2015-08-11core_rpc_server: find transactions in the pool as well as the blockchainmoneromooo-monero1-0/+24
2015-08-11Add a is_key_image_spent daemon command and RPC callmoneromooo-monero3-0/+56
2015-05-28core_rpc_server: add a getter for the testnet flagmoneromooo-monero1-0/+1
2015-05-28core_rpc_server: log some error messages to the consolemoneromooo-monero1-0/+3
It's helpful when you don't know something failed (especially as everything ends up returning true, so caller thinks all's fine)
2015-05-28core_rpc_server: reenable print_plmoneromooo-monero1-3/+2
2015-04-23Add mempool output to daemon via command and RPCwarptangent2-4/+15
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-0/+2
old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero4-0/+122
2015-03-27Restore daemon interactive modeThomas Winget2-52/+53
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-24revert stop_daemon method to use correct exitThomas Winget1-1/+1
This was changed because sometimes the daemon does not complete its exit routine with this method, but as it does correctly wind most things down even if it gets stuck I've changed it back.
2015-02-24RPC calls for background daemon added inThomas Winget3-1/+254
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 Winget2-24/+32
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-06previous hash added to GBTRiccardo Spagni2-0/+3
2015-01-02year updated in licenseRiccardo Spagni5-5/+5
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 librariesBen Boeckel1-9/+1
2014-10-23cmake: put each library into its own directoryBen Boeckel1-0/+57
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
2014-10-06core_rpc_server: use do while(0) idiom in macros using ifmoneromooo-monero1-2/+2
2014-10-06core_rpc_server: fix overreads in slow_memmemmoneromooo-monero1-8/+10
It would read data outside the allocated space in a couple cases.
2014-09-15Give up on brace initializers in initializer lists (MSVC bug)Zachary Michaels1-1/+1
2014-09-15Separate testnet address prefixZachary Michaels2-11/+19
2014-09-15Add descriptions for RPC command line paramsZachary Michaels1-3/+9
2014-09-15Separate rpc port for testnetZachary Michaels2-7/+31
2014-09-15Reorganize testnet constantsZachary Michaels1-1/+1
2014-08-01#36 simplewallet refresh include optional height paramJakob Lind2-2/+4
height param is used optionally in refresh command TODO: This should also be the default behaviour when generating a new wallet.
2014-07-23License updated to BSD 3-clausefluffypony4-12/+116
2014-07-22Missed serializing a get_connections RPC response parameterThomas Winget1-0/+1
2014-07-22Add get_info command to daemon json rpcZachary Michaels2-0/+26
2014-07-18Added get_connections RPC call to daemonThomas Winget3-0/+37
2014-07-01Match empty RPC request with other requestsZachary Michaels1-1/+5
2014-07-01Switch list to vector for RPC serializationZachary Michaels1-2/+2
2014-06-11new error code for rpcmydesktop1-2/+1
2014-06-11Fix for orphan fix (check blocksize)mydesktop1-0/+9
2014-06-11Correcting high orphan rate of blocks at poolmonero-project1-3/+12
2014-06-04'getinfo' daemon HTTP-RPC returns 'target_height' for progress estimationsNeozaru2-0/+3
2014-06-02Merge pull request #20 from artifexd/wallet_refreshmonero-project2-18/+23
Enable wallet refresh before blockchain is saved or completely sync'd.
2014-06-01Enable wallet refresh before blockchain is saved or completely sync'd.artifexd2-18/+23
2014-06-01Merge bitmonero@monero-projectNeozaru1-2/+2
2014-05-25'mining_status' Daemon RPC commandNeozaru3-0/+49
2014-05-250.8.8updatemydesktop1-2/+2
2014-05-16Added 'save_bc' command in daemon for saving blockchain remotelyNeozaru1-2/+0
2014-05-16Added 'save_bc' command in daemon for saving blockchain remotelyNeozaru3-0/+36
2014-05-03initial [broken] updatemydesktop1-3/+1
2014-04-30mac osx building fixesmydesktop1-1/+4
2014-04-30various fixes to allow mac osx compilationmydesktop1-1/+1
2014-04-09Port mapping with UPnPAntonio Juarez3-7/+245
2014-04-02json rpc for wallet and bugfixAntonio Juarez1-0/+2
2014-03-20some fixesAntonio Juarez4-79/+104
2014-03-03moved all stuff to githubAntonio Juarez4-0/+823