aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tests: slow_memmem now returns size_tmoneromooo-monero2018-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Makes more sense than uint64_t for an offset, and agrees with the %zu used to print results. Found by codacy.com
* | | Merge pull request #4878Riccardo Spagni2018-12-045-0/+10
|\ \ \ | | | | | | | | | | | | 517f25ef rpc: add version to get_info (Jethro Grassie)
| * | | rpc: add version to get_infoJethro Grassie2018-11-215-1/+11
| |/ /
* | | Merge pull request #4869Riccardo Spagni2018-12-041-3/+3
|\ \ \ | | | | | | | | | | | | 60f36386 Avoid unnecessary temp block and copy ctor (moneromooo-monero)
| * | | Avoid unnecessary temp block and copy ctormoneromooo-monero2018-11-191-3/+3
| | | | | | | | | | | | | | | | | | | | block already has a default ctor, and the extra object churn due to its innards (vectors, etc) is pointless.
* | | | Merge pull request #4859Riccardo Spagni2018-12-042-15/+18
|\ \ \ \ | | | | | | | | | | | | | | | 6f2497bc Don't cache nettype in core_rpc_server use m_core (doy-lee)
| * | | | Don't cache nettype in core_rpc_server use m_coredoy-lee2018-11-162-15/+18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This can go out of sync with m_core's nettype if you run in fakechain mode since entering fakechain mode is done through code not the command line and core_rpc_server only looks at the command line to figure out the nettype.
* | | | Merge pull request #4854Riccardo Spagni2018-12-041-1/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
| * | | Removed a lot of unnecessary includesMartijn Otto2018-11-151-1/+0
| | | |
* | | | Merge pull request #4821Riccardo Spagni2018-11-261-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
| * | | | rpc: speedup get_outs.binmoneromooo-monero2018-11-261-1/+3
| | |_|/ | |/| |
* / | | rpc: speedup get_output_distributionmoneromooo-monero2018-11-203-2/+105
|/ / / | | | | | | | | | and decrease the amount of data carried around
* | / tests: add unit tests for get_output_distributionmoneromooo-monero2018-11-164-5/+5
| |/ |/|
* | Merge pull request #4750Riccardo Spagni2018-11-141-3/+3
|\ \ | | | | | | | | | e61062b6 use current height - 1 for top block height in err msgs (cryptochangements34)
| * | use current height - 1 for top block height in err msgscryptochangements342018-11-021-3/+3
| | |
* | | Merge pull request #4747Riccardo Spagni2018-11-141-1/+8
|\ \ \ | |_|/ |/| | | | | dad5bbfd return message in stop_mining if mining never started (cryptochangements34)
| * | return message in stop_mining if mining never startedcryptochangements342018-10-281-1/+8
| |/
* | Merge pull request #4735Riccardo Spagni2018-11-061-1/+1
|\ \ | | | | | | | | | | | | 73e504c1 rpc: adjust ring size error message now that too high is also possible (moneromooo-monero) a5ca7f4f core: fix unmixable special case allowing ring size below 11 (moneromooo-monero)
| * | rpc: adjust ring size error message now that too high is also possiblemoneromooo-monero2018-10-271-1/+1
| |/
* | rpc: fix linking error of 6097472a, get_output_distributionDusan Klinec2018-11-041-5/+5
| | | | | | | | | | | | Undefined symbols for architecture x86_64: "cryptonote::core::get_output_distribution(unsigned long long, unsigned long long, unsigned long long, unsigned long long&, std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >&, unsigned long long&) const", referenced from: cryptonote::rpc::RpcHandler::get_output_distribution(cryptonote::core&, unsigned long long, unsigned long long, unsigned long long, bool) in rpc_handler.cpp.o
* | Merge pull request #4687Riccardo Spagni2018-11-0410-80/+226
|\ \ | |/ |/| | | 6097472a Update ZMQ fee estimate and add ZMQ output distribution (Lee Clagett)
| * Update ZMQ fee estimate and add ZMQ output distributionLee Clagett2018-10-2310-80/+226
| |
* | Merge pull request #4719Riccardo Spagni2018-10-261-1/+1
|\ \ | | | | | | | | | 0aff4987 rpc: fix build with older compilers (moneromooo-monero)
| * | rpc: fix build with older compilersmoneromooo-monero2018-10-241-1/+1
| |/
* | Merge pull request #4617Riccardo Spagni2018-10-262-4/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 3ffbec15 rpc: init m_rpc_version in Message ctor (moneromooo-monero) bfa2dce1 rpc: remove unused ctors (moneromooo-monero) 7cc39845 account: init creation timestamp to 0 (moneromooo-monero) 32123789 wallet2: initialize some scalar fields in ctor where appropriate (moneromooo-monero) 4eca42b2 blockchain_db: initialize m_hardfork in ctor just in case (moneromooo-monero)
| * | rpc: init m_rpc_version in Message ctormoneromooo-monero2018-10-161-1/+1
| | | | | | | | | | | | Coverity 182501
| * | rpc: remove unused ctorsmoneromooo-monero2018-10-161-3/+0
| | | | | | | | | | | | Also prevents coverity from moaning about them not initializing fields
* | | rpc: fix wrongly formatted JSON for pruned txstoffu2018-10-221-19/+12
| |/ |/| | | | | | | Fix for #4399. Also unifies code for serializing pruned tx to binary/json into one.
* | Merge pull request #4524Riccardo Spagni2018-10-201-1/+1
|\ \ | | | | | | | | | f5f7c2ac rpc: blanket initialize 0MQ request and response structures (moneromooo-monero)
| * | rpc: blanket initialize 0MQ request and response structuresmoneromooo-monero2018-10-121-1/+1
| | |
* | | Merge pull request #4659Riccardo Spagni2018-10-201-6/+8
|\ \ \ | | | | | | | | | | | | b916ca63 rpc: fix output distribution caching ignoring chain changes (moneromooo-monero)
| * | | rpc: fix output distribution caching ignoring chain changesmoneromooo-monero2018-10-191-6/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | 0 is placeholder for whole chain, so we should compare chain height changes rather than chain-height-or-zero. Even this isn't totally foolproof if a blocks are popped and the same number added again, but it is much better as it prevents the data from slowly going out of sync.
* / | tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_poolstoffu2018-10-181-0/+2
|/ /
* / rpc: fixed typo in JSON command error response messageAnythingTechPro2018-10-041-1/+1
|/
* Merge pull request #4399Riccardo Spagni2018-09-211-1/+10
|\ | | | | | | f77ce675 rpc: allow pruning of json encoded txs (cryptochangements34)
| * rpc: allow pruning of json encoded txscryptochangements342018-09-171-1/+10
| |
* | Merge pull request #4378Riccardo Spagni2018-09-212-1/+5
|\ \ | | | | | | | | | ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero)
| * | rpc: add a "is an update available" flag in get_infomoneromooo-monero2018-09-142-1/+5
| | | | | | | | | | | | Make it easier for a user to be told when to update
* | | Merge pull request #4373Riccardo Spagni2018-09-212-0/+3
|\ \ \ | | | | | | | | | | | | 4f81cd3a rpc: add cumulative difficulty in block header data (moneromooo-monero)
| * | | rpc: add cumulative difficulty in block header datamoneromooo-monero2018-09-132-0/+3
| |/ /
* | | Merge pull request #4354Riccardo Spagni2018-09-181-1/+7
|\ \ \ | | | | | | | | | | | | 03c07b16 rpc: return "already mining" in start_mining if already mining (moneromooo-monero)
| * | | rpc: return "already mining" in start_mining if already miningmoneromooo-monero2018-09-091-1/+7
| | | |
* | | | Merge pull request #4344Riccardo Spagni2018-09-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | cd647612 rpc: don't include start time if restricted (moneromooo-monero)
| * | | | rpc: don't include start time if restrictedmoneromooo-monero2018-09-071-1/+1
| |/ / /
* | | | Merge pull request #4317Riccardo Spagni2018-09-181-4/+10
|\ \ \ \ | |_|_|/ |/| | | | | | | 76f95f05 rpc: allow to pass RPC login via RPC_LOGIN env var (Dusan Klinec)
| * | | rpc: allow to pass RPC login via RPC_LOGIN env varDusan Klinec2018-08-311-4/+10
| |/ / | | | | | | | | | - passing by parameter is insecure as it is shown in the process list
* | / remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero2018-09-146-232/+0
| |/ |/|
* | v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero2018-09-115-17/+33
|/
* Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett2018-08-022-26/+18
|
* Merge pull request #4075luigi11112018-07-191-1/+0
|\ | | | | | | 438d52d remove epee from link lines where it's redundant (moneromooo-monero)