summaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* rpc: set sanity_check_failed to false when successfulstoffu2019-06-221-0/+1
|
* rpc: restrict the recent cutoff size in restricted RPC modemoneromooo-monero2019-06-141-0/+9
|
* miner: fix double free of thread attributesston1th2019-06-092-8/+2
| | | | issue: #5568
* Add ssl_options support to monerod's rpc mode.Lee Clagett2019-05-213-84/+99
|
* rpc: fail update RPC when running offlinemoneromooo-monero2019-05-091-0/+7
|
* Merge pull request #5510Riccardo Spagni2019-05-072-5/+5
|\ | | | | | | e9809382 fix wide difficulty conversion with some versions of boost (moneromooo-monero)
| * fix wide difficulty conversion with some versions of boostmoneromooo-monero2019-05-012-5/+5
| |
* | Merge pull request #5496Riccardo Spagni2019-05-074-8/+34
|\ \ | | | | | | | | | 0eb0d6b8 rpc: improve get_output_distribution (moneromooo-monero)
| * | rpc: improve get_output_distributionmoneromooo-monero2019-04-254-8/+34
| |/ | | | | | | | | | | | | It can now handle small reorgs without having to rescan the whole blockchain. Also add a test for it.
* / change SSL certificate fingerprint whitelisting from SHA1 to SHA-256moneromooo-monero2019-04-261-0/+9
|/ | | | SHA1 is too close to bruteforceable
* Merge pull request #5452Riccardo Spagni2019-04-162-1/+4
|\ | | | | | | c30d93fc rpc: add a pruned bool to the prune_blockchain call (moneromooo-monero)
| * rpc: add a pruned bool to the prune_blockchain callmoneromooo-monero2019-04-162-1/+4
| |
* | Merge pull request #5448Riccardo Spagni2019-04-162-8/+3
|\ \ | | | | | | | | | | | | d009f6dd rpc: fix get_block_hashes.bin from wallet on pruned blockchain (moneromooo-monero) bb0ef5b1 blockchain: lock the blockchain while pruning (moneromooo-monero)
| * | rpc: fix get_block_hashes.bin from wallet on pruned blockchainmoneromooo-monero2019-04-152-8/+3
| |/ | | | | | | We want to get all blocks here, even pruned ones
* | Merge pull request #5446Riccardo Spagni2019-04-163-8/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7d79222f daemon: remove debug info (moneromooo-monero) 8fec0f98 functional_tests: add sweep_single test (moneromooo-monero) 9880d61b wallet_rpc_server: remove unused code (moneromooo-monero) 8a61b33d rpc: omit irrelevant fields for pool txes in gettransactions (moneromooo-monero) 56508524 rpc: add relayed in get_transaction output (moneromooo-monero) 82e510f1 rpc: set default log category in core_rpc_server.h (moneromooo-monero)
| * | rpc: omit irrelevant fields for pool txes in gettransactionsmoneromooo-monero2019-04-151-4/+10
| | |
| * | rpc: add relayed in get_transaction outputmoneromooo-monero2019-04-152-5/+11
| | |
| * | rpc: set default log category in core_rpc_server.hmoneromooo-monero2019-04-151-0/+3
| |/
* | Merge pull request #5441Riccardo Spagni2019-04-161-3/+1
|\ \ | | | | | | | | | | | | b3648232 daemon: fix ratio not being floating point (moneromooo-monero) e1b097b9 core_rpc_server: remove dummy assigning int to bool (moneromooo-monero)
| * | core_rpc_server: remove dummy assigning int to boolmoneromooo-monero2019-04-141-3/+1
| | | | | | | | | | | | Coverity 197653
* | | Merge pull request #5434Riccardo Spagni2019-04-162-0/+13
|\ \ \ | | | | | | | | | | | | ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
| * | | rpc: new sanity check on relayed transactionsmoneromooo-monero2019-04-122-0/+13
| |/ / | | | | | | | | | This will weed out some transactions with silly rings
* | | Merge pull request #5428Riccardo Spagni2019-04-161-1/+4
|\ \ \ | |_|/ |/| | | | | f3425f8d rpc.getblocktemplate: set reserved_offset to zero when reserve_size==0 (stoffu)
| * | rpc.getblocktemplate: set reserved_offset to zero when reserve_size==0stoffu2019-04-121-1/+4
| | |
* | | Merge pull request #5421Riccardo Spagni2019-04-151-0/+1
|\ \ \ | | | | | | | | | | | | e78cea74 rpc: fix off by one in get_height (moneromooo-monero)
| * | | rpc: fix off by one in get_heightmoneromooo-monero2019-04-111-0/+1
| | |/ | |/|
* | | Merge pull request #5402Riccardo Spagni2019-04-151-1/+1
|\ \ \ | |/ / |/| | | | | cbf32241 rpc: make wide_difficulty hexadecimal (moneromooo-monero)
| * | rpc: make wide_difficulty hexadecimalmoneromooo-monero2019-04-051-1/+1
| | | | | | | | | | | | This should be friendlier for clients which don't have bignum support
* | | functional_tests: add more blockchain related testsmoneromooo-monero2019-04-112-3/+30
| | | | | | | | | | | | | | | Related to emission, reorgs, getting tx data back, output distribution and histogram
* | | Merge pull request #5376Riccardo Spagni2019-04-112-1/+5
|\ \ \ | | | | | | | | | | | | c746f45d Add hash of top block to /getheight RPC (Howard Chu)
| * | | Add hash of top block to /getheight RPCHoward Chu2019-04-012-2/+6
| | | |
* | | | Merge pull request #5374Riccardo Spagni2019-04-112-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | a2561653 wallet: new option to start background mining (moneromooo-monero)
| * | | | wallet: new option to start background miningmoneromooo-monero2019-04-042-0/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | The setup-background-mining option can be used to select background mining when a wallet loads. The user will be asked the first time the wallet is created.
* | | | Pass SSL arguments via one class and use shared_ptr instead of referenceLee Clagett2019-04-071-12/+19
| | | |
* | | | Change default SSL to "enabled" if user specifies fingerprint/certificateLee Clagett2019-04-061-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if a user specifies a ca file or fingerprint to verify peer, the default behavior is SSL autodetect which allows for mitm downgrade attacks. It should be investigated whether a manual override should be allowed - the configuration is likely always invalid.
* | | | Change SSL certificate file list to OpenSSL builtin load_verify_locationLee Clagett2019-04-062-18/+8
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying SSL certificates for peer verification does an exact match, making it a not-so-obvious alias for the fingerprints option. This changes the checks to OpenSSL which loads concatenated certificate(s) from a single file and does a certificate-authority (chain of trust) check instead. There is no drop in security - a compromised exact match fingerprint has the same worse case failure. There is increased security in allowing separate long-term CA key and short-term SSL server keys. This also removes loading of the system-default CA files if a custom CA file or certificate fingerprint is specified.
* | | rpc: merge the two get_info implementationsmoneromooo-monero2019-04-061-62/+3
| | |
* | | rpc.gettransactions: fill as_json with partial tx in pruned modestoffu2019-04-041-12/+43
|/ /
* | Merge pull request #5327Riccardo Spagni2019-04-013-0/+52
|\ \ | | | | | | | | | c23ea796 New interactive daemon command 'print_net_stats': Global traffic stats (rbrunner7)
| * | New interactive daemon command 'print_net_stats': Global traffic statsrbrunner72019-03-243-1/+53
| | |
* | | Merge pull request #5326Riccardo Spagni2019-04-012-1/+4
|\ \ \ | | | | | | | | | | | | dc20d774 rpc: add miner tx hash to block header response (moneromooo-monero)
| * | | rpc: add miner tx hash to block header responsemoneromooo-monero2019-03-212-1/+4
| |/ /
* | | Merge pull request #5308Riccardo Spagni2019-04-011-1/+3
|\ \ \ | | | | | | | | | | | | a7211793 rpc: quantize db size up to 5 GB in restricted mode (moneromooo-monero)
| * | | rpc: quantize db size up to 5 GB in restricted modemoneromooo-monero2019-03-171-1/+3
| |/ /
* | | Merge pull request #5298Riccardo Spagni2019-04-011-283/+0
|\ \ \ | | | | | | | | | | | | 8fd7452b wallet: move light wallet RPC out of core RPC (moneromooo-monero)
| * | | wallet: move light wallet RPC out of core RPCmoneromooo-monero2019-03-151-283/+0
| | | | | | | | | | | | | | | | It's not nothing to do with it
* | | | Make difficulty 128 bit instead of 64 bitmoneromooo-monero2019-03-244-13/+60
| |_|/ |/| | | | | | | | | | | | | | Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
* | | Merge pull request #5207Riccardo Spagni2019-03-244-6/+59
|\ \ \ | | | | | | | | | | | | be6f426a rpc: Allow submitting tx as hex blob over ZMQ (Nathan Dorfman)
| * | | rpc: Allow submitting tx as hex blob over ZMQNathan Dorfman2019-02-274-6/+59
| | | |
* | | | Merge pull request #5237Riccardo Spagni2019-03-211-5/+10
|\ \ \ \ | |_|_|/ |/| | | | | | | 3907588b rpc: make fill_pow restricted (moneromooo-monero)