aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
* | rpc: fix get_bans and set_bans RPC names, they were missing a _moneromooo-monero2016-07-101-2/+2
|/
* rpc: restrict number of fake outs requested in restricted rpc modemoneromooo-monero2016-06-291-0/+12
|
* rpc: fix getblock RPC sending blob as binary, not hex dumpmoneromooo-monero2016-06-101-1/+1
|
* Restrict also 'get_connections' and 'getbans' APIs.osensei2016-05-161-2/+2
|
* Don't allow 'flush_txpool' and 'setbans' JSON_RPC methods when running in ↵osensei2016-05-141-2/+2
| | | | restricted mode.
* Add GET_HASHES_FAST rpc, use it in walletHoward Chu2016-04-173-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.
* Merge pull request #797Riccardo Spagni2016-04-142-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)
| * rpc: add a do_not_relay boolean to tx submissionmoneromooo-monero2016-04-052-1/+3
| | | | | | | | Just to make it easier
* | rpc: add pool/blockchain and block height results to gettransactionsmoneromooo-monero2016-04-092-7/+54
|/
* Merge pull request #777Riccardo Spagni2016-04-022-0/+4
|\ | | | | | | 8757e46 add blockhashing blob to getblocktemplate (Howard Chu)
| * add blockhashing blob to getblocktemplateHoward Chu2016-03-302-0/+4
| |
* | Merge pull request #767Riccardo Spagni2016-04-022-10/+44
|\ \ | |/ |/| | | 24b3e90 Convey tx verification failure reasons to the RPC client (moneromooo-monero)
| * Convey tx verification failure reasons to the RPC clientmoneromooo-monero2016-03-272-10/+44
| | | | | | | | | | | | | | | | | | | | | | 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.
* | New RPC and daemon command to get output histogrammoneromooo-monero2016-03-263-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.
* Fix typo on bitmonerod rpc method error.Mike C2016-03-141-3/+3
|
* rpc: do not return bans if they're effectively spentmoneromooo-monero2016-03-121-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.
* new flush_txpool command, and associated RPC callmoneromooo-monero2016-01-303-0/+77
| | | | | It can flush a particular tx, or the whole pool (the RPC command can flush a list of transactions too)
* rpc: add missing return on error when getting a txmoneromooo-monero2016-01-301-0/+1
|
* Fix V1/V2 use of hard fork related parametersmoneromooo-monero2016-01-291-2/+2
| | | | | Some of it uses hardcoded height, which will need some thinking for next (voted upon) fork.
* rpc: fix missing target information in RPC callmoneromooo-monero2016-01-112-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.
* rpc: is_key_image_spent now checks the tx pool toomoneromooo-monero2016-01-052-1/+37
|
* 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.