summaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* rpc: reject wrong sized txidmoneromooo-monero2020-07-301-6/+4
| | | | Reporter requested credit to be given to Decred
* Merge pull request #6645luigi11112020-06-191-1/+1
|\ | | | | | | 0a19785 rpc: fix loading rpc payment data from file (moneromooo-monero)
| * rpc: fix loading rpc payment data from filemoneromooo-monero2020-06-111-1/+1
| | | | | | | | Got broken after making one of those micro optimizations requested on review..
* | Merge pull request #6644luigi11112020-06-191-1/+1
|\ \ | | | | | | | | | 0569e63 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
| * | rpc: fix comparison of seconds vs microsecondsmoneromooo-monero2020-06-111-1/+1
| |/
* | Merge pull request #6643luigi11112020-06-191-1/+1
|\ \ | | | | | | | | | | | | 23df29d functional_tests: add simple relay_tx test (moneromooo-monero) e306834 rpc: fix relay_tx error return mixup (moneromooo-monero)
| * | rpc: fix relay_tx error return mixupmoneromooo-monero2020-06-111-1/+1
| |/
* / rpc: don't display invalid json errors on default log levelmoneromooo-monero2020-06-111-5/+5
|/ | | | | It's not something the user needs to know, and will display attacker controlled data
* Merge pull request #6575luigi11112020-05-212-0/+12
|\ | | | | | | ada8172 rpc: lock access to the rpc payment object (moneromooo-monero)
| * rpc: lock access to the rpc payment objectmoneromooo-monero2020-05-202-0/+12
| |
* | rpc: add a sanity limit to a few RPC in restricted modemoneromooo-monero2020-05-202-6/+46
|/
* Merge pull request #6486luigi11112020-05-061-1/+2
|\ | | | | | | feee455 Fixes for ZMQ JSON-RPC endpoint names for raw tx (vtnerd)
| * Fixes for ZMQ JSON-RPC endpoint names for raw txLee Clagett2020-04-291-1/+2
| |
* | Merge pull request #6481luigi11112020-05-061-1/+1
|\ \ | | | | | | | | | 119f706 rpc: fix 'use_bootstrap_daemon_if_necessary' return value (xiphon)
| * | rpc: fix 'use_bootstrap_daemon_if_necessary' return valuexiphon2020-04-271-1/+1
| | |
* | | Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.Lee Clagett2020-04-115-67/+66
| | |
* | | Merge pull request #6453luigi11112020-05-012-1/+3
|\ \ \ | | | | | | | | | | | | d2d3a81 bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
| * | | bootstrap_daemon: fix missing virtual destructor and lambda capture (clang ↵xiphon2020-04-152-1/+3
| | | | | | | | | | | | | | | | warning)
* | | | Use byte_slice for sending zmq messages - removes data copy within zmqLee Clagett2020-04-036-22/+33
| |_|/ |/| |
* | | Allow unrestricted rpc calls to get full txpool infoLee Clagett2020-03-301-7/+12
| |/ |/|
* | Adding Dandelion++ support to public networks:Lee Clagett2020-03-263-11/+11
|/ | | | | | - New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
* Merge pull request #6361luigi11112020-04-041-3/+12
|\ | | | | | | 68a6507 Fixed bug in ZMQ JSON-RPC method field (vtnerd)
| * Fixed bug in ZMQ JSON-RPC method fieldLee Clagett2019-11-181-3/+12
| |
* | Merge pull request #6357luigi11112020-04-047-43/+304
|\ \ | | | | | | | | | 42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
| * | daemon: auto public nodes - cache and prioritize most stable nodesxiphon2020-02-287-43/+304
| | |
* | | Merge pull request #6351luigi11112020-04-041-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | 81c5943 Remove temporary std::string creation in some hex->bin calls (vtnerd) 5fcc23a Move hex->bin conversion to monero copyright files and with less includes (vtnerd) 3387f0e Reduce template bloat in hex->bin for ZMQ json (vtnerd)
| * | | Move hex->bin conversion to monero copyright files and with less includesLee Clagett2020-03-091-2/+2
| | | |
* | | | Merge pull request #6342luigi11112020-04-041-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | 82da832 rpc: Add check for too old timestamps in payment signatures. (glv2)
| * | | | rpc: Add check for too old timestamps in payment signatures.Guillaume Le Vaillant2020-02-171-0/+5
| | |/ / | |/| |
* | | | Merge pull request #6338luigi11112020-04-041-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | 80d5320 Hash domain separation (SarangNoether)
| * | | | Hash domain separationSarang Noether2020-04-011-3/+1
| | | | |
* | | | | cryptonote_basic: drop unused verification_context::m_not_rct fieldxiphon2020-03-313-9/+0
|/ / / /
* | | | Merge pull request #6325luigi11112020-03-311-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | 3627e53 rpc: fix print_pool_sh not finding local txes (moneromooo-monero)
| * | | | rpc: fix print_pool_sh not finding local txesmoneromooo-monero2020-02-081-1/+4
| |/ / /
* | | | Merge pull request #6260luigi11112020-03-312-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | 320bc84 rpc: add --rpc-payment-allow-free-loopback (moneromooo-monero)
| * | | | rpc: add --rpc-payment-allow-free-loopbackmoneromooo-monero2020-03-122-1/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | This allows RPC coming from the loopback interface to not have to pay for service. This makes it possible to run an externally accessible RPC server for payment while also having a local RPC server that can be run unrestricted and payment free.
* | | | Merge pull request #6289Alexander Blair2020-03-271-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | ffe7165e wallet: reroll fake outs selection on local tx_sanity_check failure (xiphon)
| * | | wallet: reroll fake outs selection on local tx_sanity_check failurexiphon2020-01-141-1/+1
| | | |
* | | | Merge pull request #6273Alexander Blair2020-03-126-650/+353
|\ \ \ \ | | | | | | | | | | | | | | | 0f78b06e Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
| * | | | Various improvements to the ZMQ JSON-RPC handling:Lee Clagett2020-03-056-650/+353
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream.
* | | | Merge pull request #6259Alexander Blair2020-02-281-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | 69336931 rpc: fill miner_tx_hash again (moneromooo-monero)
| * | | | rpc: fill miner_tx_hash againmoneromooo-monero2019-12-201-0/+1
| |/ / / | | | | | | | | | | | | | | | | It was removed to save duplicated generation time, but it can be copied from another instance instead
* | | | Merge pull request #6242Alexander Blair2020-02-281-6/+4
|\ \ \ \ | | | | | | | | | | | | | | | 716012ca rpc: drop the obsolete and wrong "unpruned size" log (moneromooo-monero)
| * | | | rpc: drop the obsolete and wrong "unpruned size" logmoneromooo-monero2019-12-161-6/+4
| |/ / / | | | | | | | | | | | | | | | | Since we now get pruned data in the first place, the "unpruned" data size will in fact be the pruned data size, leading to confusion
* | | | Merge pull request #6225Alexander Blair2020-02-282-6/+19
|\ \ \ \ | | | | | | | | | | | | | | | 987c3139 print_coinbase_tx_sum now supports 128 bits sums (moneromooo-monero)
| * | | | print_coinbase_tx_sum now supports 128 bits sumsmoneromooo-monero2019-12-122-6/+19
| | | | | | | | | | | | | | | | | | | | The tail emission will bring the total above 64 bits
* | | | | Merge pull request #6215Alexander Blair2020-02-284-1/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | a2578892 --disable-ban-rpc option to prevent RPC users from banning (naughtyfox)
| * | | | | --disable-ban-rpc option to prevent RPC users from banningnaughtyfox2019-12-044-1/+9
| |/ / / /
* | | | | Merge pull request #6211Alexander Blair2020-02-282-0/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | 5985c5af rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
| * | | | rpc: add bad-blocks to flush_cache RPCmoneromooo-monero2019-12-022-1/+5
| |/ / / | | | | | | | | | | | | Flushes m_invalid_blocks in Blockchain.