summaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Improve daemon RPC version handlingmoneromooo-monero2016-11-261-1/+10
| | | | | | | Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
* rpc: do not include output indices for pool txesmoneromooo-monero2016-11-231-5/+8
| | | | | | Those aren't yet in the blockchain, so will not be found (and aren't yet known, since it depends on where exactly the tx will be mined in the next block or blocks)
* rpc: bump version after RPC changesmoneromooo-monero2016-11-221-1/+1
|
* Add a get_outs (fully text based) version of get_outs.binmoneromooo-monero2016-11-223-13/+87
|
* rpc: add output indices to gettransactionsmoneromooo-monero2016-11-222-0/+10
| | | | | | Someone apparently needs that to make a wallet but never asked. If you read that and that's not what you wanted, the bugtracker is at https://github.com/monero-project/monero/issues
* rpc: bump RPC versionmoneromooo-monero2016-11-101-1/+1
| | | | | | | | | I forgot to bump it previously when changing RPC, most notably for the addition of the unlocked field in the histogram RPC. This causes new wallets to not realize when they're talking to an older daemon, and get confused trying to get outputs to use as fake outs. This otherwise gratuitous bump ensures than old daemons will be detected by wallets using this code.
* rpc: add a dynamic fee estimation RPC callmoneromooo-monero2016-10-313-0/+32
|
* Merge pull request #1247Riccardo Spagni2016-10-231-0/+4
|\ | | | | | | | | | | 10a79ea daemon: report transaction relay status in print_pool* commands (moneromooo-monero) 1e16366 core: notify the txpool when transactions are relayed (moneromooo-monero) f3c374f tx_pool: set relayed flag on relay (moneromooo-monero)
| * daemon: report transaction relay status in print_pool* commandsmoneromooo-monero2016-10-231-0/+4
| |
* | Merge pull request #1222Riccardo Spagni2016-10-222-0/+4
|\ \ | | | | | | | | | 5e10fb0 rpc: add blockchain cumulative difficulty to getinfo call (moneromooo-monero)
| * | rpc: add blockchain cumulative difficulty to getinfo callmoneromooo-monero2016-10-152-0/+4
| | |
* | | Merge pull request #1221Riccardo Spagni2016-10-221-1/+8
|\ \ \ | |_|/ |/| | | | | 094f4c8 rpc: add missing top block hash to json getinfo call (moneromooo-monero)
| * | rpc: add missing top block hash to json getinfo callmoneromooo-monero2016-10-151-1/+8
| |/
* / wallet: select part of the fake outs from recent outputsmoneromooo-monero2016-10-152-7/+14
|/ | | | | | | 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.
* print_coinbase_tx_sum now breaks output into fee and emission componentsDion Ahmetaj2016-10-102-3/+7
|
* changed params from start/end index to height/countDion Ahmetaj2016-10-103-7/+7
|
* attempted to remove whitespace spamDion Ahmetaj2016-10-103-57/+57
|
* added print_coinbase_tx_sum optionDion Ahmetaj2016-10-103-58/+90
|
* Fix build after spelling corrections in core_rpc_serverJacob Brydolf2016-10-041-2/+2
|
* Merge pull request #1164Riccardo Spagni2016-10-042-0/+53
|\ | | | | | | 179b1f4 daemon: implement missing print_bc and matching RPC (moneromooo-monero)
| * daemon: implement missing print_bc and matching RPCmoneromooo-monero2016-10-022-0/+53
| |
* | Merge pull request #1139Riccardo Spagni2016-10-041-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01ec195 Update CMakeLists.txt (codehalo) 446ebbc Update CMakeLists.txt (codehalo) bd773e7 Update CMakeLists.txt (codehalo) 3627cea Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 2a51396 Dropped "bit" from bitmonero. (Randi Joseph) 78b13d6 Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 1e6aedb Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 9e54616 Dropped "bit" from bitmonero. (Randi Joseph)
| * | Dropped "bit" from bitmonero.Randi Joseph2016-09-261-2/+2
| |/
* | Merge pull request #1171Riccardo Spagni2016-10-042-10/+0
|\ \ | | | | | | | | | 6390673 Removed all code related to fast_exit (NanoAkron)
| * | Removed all code related to fast_exitNanoAkron2016-10-032-10/+0
| |/
* / Noticed two spellings of the word 'response' in the codebase, one 'responce' ↵NanoAkron2016-09-293-27/+27
|/ | | | | | and the other 'response'. Fixed to the standard spelling 'response'. This may fix some functionality - some calls had mixed spellings.
* epee: optionally restrict HTTP service to a configurable user agentmoneromooo-monero2016-09-182-1/+10
| | | | | | | | 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.
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-4/+2
| | | | | | | | | | | | | | Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
* wallet: transfer_selected_rct now also selects fake outsmoneromooo-monero2016-08-281-1/+3
|
* rpc: send global indices along with blocks/transacions on refreshmoneromooo-monero2016-08-282-0/+36
| | | | | | | | This plugs a privacy leak, where the wallet tells the daemon which transactions contain outputs for the wallet by asking for additional information for that particular transaction. As a nice bonus, this actually makes refresh slightly faster.
* mixable transactions must be rct for v3moneromooo-monero2016-08-282-0/+4
|
* add rct to the protocolmoneromooo-monero2016-08-281-0/+1
| | | | | It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
* core: new /getrandom_rctouts.bin binary RPC callmoneromooo-monero2016-08-283-0/+56
| | | | to get random ringct outputs to mix with
* remove original Cryptonote blockchain_storage blockchain formatmoneromooo-monero2016-08-281-6/+0
|
* daemon: print time to next forkmoneromooo-monero2016-08-121-1/+1
|
* Fake outs set is now decided by the walletmoneromooo-monero2016-08-113-1/+72
| | | | | | | | | | | | | | | | | | 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.
* new unlocked parameter to output_histogrammoneromooo-monero2016-08-012-1/+3
| | | | | | | | This constrains the number of instances of any amount to the unlocked ones (as defined by the default unlock time setting: outputs with non default unlock time are not considered, so may be counted as unlocked even if they are not actually unlocked).
* core_rpc_server: fix gray/white peer list mixupmoneromooo-monero2016-07-261-1/+1
|
* Merge pull request #902Riccardo Spagni2016-07-203-0/+31
|\ | | | | | | 014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
| * Add a daemon RPC version, and make simplewallet check itmoneromooo-monero2016-07-103-0/+31
| | | | | | | | | | If the version is different, simplewallet will refuse to use that daemon, unless --allow-mismatched-daemon-version is used.
* | 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)