aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* updated copyright yearRiccardo Spagni2015-12-315-5/+5
|
* Merge pull request #547Riccardo Spagni2015-12-222-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)
| * Allow the wallet to access hard fork informationmoneromooo-monero2015-12-192-1/+3
| | | | | | | | And make it change behavior slightly when close/after first hard fork
* | print top block hash in daemon diff commandmoneromooo-monero2015-12-182-1/+10
|/ | | | and add top block hash in get_info RPC
* Register daemon command line arguments to core if they're used in coremoneromooo-monero2015-12-081-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.
* Merge pull request #505Riccardo Spagni2015-11-302-12/+22
|\ | | | | | | 7574297 core_rpc_server: add a --restricted-rpc option (moneromooo-monero)
| * core_rpc_server: add a --restricted-rpc optionmoneromooo-monero2015-11-272-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)
* | Merge pull request #503Riccardo Spagni2015-11-302-0/+2
|\ \ | | | | | | | | | 55e5a33 rpc: pass current block target in rpc (moneromooo-monero)
| * | rpc: pass current block target in rpcmoneromooo-monero2015-11-262-0/+2
| |/ | | | | | | | | This fixes the hash rate being wrong on testnet after the switch to 2 minute blocks
* / add RPC calls and commands to get/set bansmoneromooo-monero2015-11-263-0/+112
|/
* Relay transactions when they linger too long in the poolmoneromooo-monero2015-11-211-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.
* rpc: fix start_mining and status RPC crashesmoneromooo-monero2015-10-282-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.
* rpc: fix hard_fork_info RPCmoneromooo-monero2015-10-262-0/+2
| | | | I had never tested it, obviously
* core_rpc_server: add optional json decoded tx to COMMAND_RPC_GET_TRANSACTIONSmoneromooo-monero2015-10-132-0/+6
|
* core_rpc_server: add a getblock RPC command, and fix print_blockmoneromooo-monero2015-10-133-0/+94
|
* Add an RPC call and daemon command to get info on hard fork votingmoneromooo-monero2015-09-194-0/+60
|
* Merge pull request #369Riccardo Spagni2015-08-132-2/+6
|\ | | | | | | d87a2d2 core_rpc_server: replace vector<bool> with vector<int> in RPC (moneromooo-monero)
| * core_rpc_server: replace vector<bool> with vector<int> in RPCmoneromooo-monero2015-08-132-2/+6
| | | | | | | | vector<bool> causes issues in serialization with Boost 1.56
* | core_rpc_server: find transactions in the pool as well as the blockchainmoneromooo-monero2015-08-111-0/+24
|/
* Add a is_key_image_spent daemon command and RPC callmoneromooo-monero2015-08-113-0/+56
|
* core_rpc_server: add a getter for the testnet flagmoneromooo-monero2015-05-281-0/+1
|
* core_rpc_server: log some error messages to the consolemoneromooo-monero2015-05-281-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)
* core_rpc_server: reenable print_plmoneromooo-monero2015-05-281-3/+2
|
* Add mempool output to daemon via command and RPCwarptangent2015-04-232-4/+15
| | | | | | | This is for the "print_pool" command and "get_transaction_pool" RPC method. Add mempool's spent key images to the results.
* [fix] log level change. compilation: dns, testsrfree2monero2015-04-101-0/+2
| | | | | old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again
* remerged; commands JSON. logging upgrade. doxygenrfree2monero2015-04-014-0/+122
|
* Restore daemon interactive modeThomas Winget2015-03-272-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.
* revert stop_daemon method to use correct exitThomas Winget2015-02-241-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.
* RPC calls for background daemon added inThomas Winget2015-02-243-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.
* Daemonize changes pulled in -- daemon buildsThomas Winget2015-02-242-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.
* previous hash added to GBTRiccardo Spagni2015-01-062-0/+3
|
* year updated in licenseRiccardo Spagni2015-01-025-5/+5
|
* cmake: support 2.8.7Ben Boeckel2014-10-241-1/+1
| | | | | | Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
* cmake: handle private vs. public headersBen Boeckel2014-10-231-2/+7
|
* cmake: refactor common code with librariesBen Boeckel2014-10-231-9/+1
|
* cmake: put each library into its own directoryBen Boeckel2014-10-231-0/+57
| | | | | This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
* core_rpc_server: use do while(0) idiom in macros using ifmoneromooo-monero2014-10-061-2/+2
|
* core_rpc_server: fix overreads in slow_memmemmoneromooo-monero2014-10-061-8/+10
| | | | It would read data outside the allocated space in a couple cases.
* Give up on brace initializers in initializer lists (MSVC bug)Zachary Michaels2014-09-151-1/+1
|
* Separate testnet address prefixZachary Michaels2014-09-152-11/+19
|
* Add descriptions for RPC command line paramsZachary Michaels2014-09-151-3/+9
|
* Separate rpc port for testnetZachary Michaels2014-09-152-7/+31
|
* Reorganize testnet constantsZachary Michaels2014-09-151-1/+1
|
* #36 simplewallet refresh include optional height paramJakob Lind2014-08-012-2/+4
| | | | | | height param is used optionally in refresh command TODO: This should also be the default behaviour when generating a new wallet.
* License updated to BSD 3-clausefluffypony2014-07-234-12/+116
|
* Missed serializing a get_connections RPC response parameterThomas Winget2014-07-221-0/+1
|
* Add get_info command to daemon json rpcZachary Michaels2014-07-222-0/+26
|
* Added get_connections RPC call to daemonThomas Winget2014-07-183-0/+37
|
* Match empty RPC request with other requestsZachary Michaels2014-07-011-1/+5
|
* Switch list to vector for RPC serializationZachary Michaels2014-07-011-2/+2
|