summaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* rpc: limit the number of txes for get_blocks.binmoneromooo-monero2020-12-292-5/+5
|
* Merge pull request #7174Alexander Blair2020-12-262-2/+13
|\ | | | | | | 5c3e84b6a restrict public node checks a little (moneromooo-monero)
| * restrict public node checks a littlemoneromooo-monero2020-12-222-2/+13
| | | | | | | | | | do not include blocked hosts in peer lists or public node lists by default, warn about no https on clearnet and about untrusted peers likely being spies
* | rpc: get_info - add 'synchronized' fieldxiphon2020-12-232-0/+3
|/
* rpc: add a busy_syncing field to get_infomoneromooo-monero2020-12-172-1/+4
| | | | true if and pretty much only if new blocks are being added
* protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero2020-12-101-5/+1
| | | | | It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
* Merge pull request #7010Alexander Blair2020-12-013-3/+53
|\ | | | | | | a8cd073fc Add rpc-restricted-bind-ip option (Howard Chu)
| * Add rpc-restricted-bind-ip optionHoward Chu2020-11-113-3/+53
| | | | | | | | Fixes #6369
* | Merge pull request #7040Alexander Blair2020-11-243-17/+21
|\ \ | | | | | | | | | af4fb4729 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
| * | rpc: skip non-synced bootstrap daemons in --no-sync mode tooxiphon2020-11-233-17/+21
| |/
* / rpc: on_send_raw_tx - add missing CHECK_CORE_READYxiphon2020-11-221-0/+4
|/
* Merge pull request #6966luigi11112020-11-041-2/+8
|\ | | | | | | 42403c7 Fix CLI and unrestricted RPC relay_tx with stempool (vtnerd)
| * Fix CLI and unrestricted RPC relay_tx with stempoolLee Clagett2020-10-141-2/+8
| |
* | rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2Pxiphon2020-11-021-0/+5
|/
* Merge pull request #6894v0.17.1.0luigi11112020-10-131-0/+7
|\ | | | | | | e49ad98 fix next_seed_height regression in getblocktemplate rpc (xnbya)
| * fix next_seed_height regression in getblocktemplate rpcAlexis Enston2020-10-121-0/+7
| |
* | core_rpc_server: on_get_blocks - forward bootstrap daemon errorxiphon2020-10-131-3/+11
|/
* wallet2: adapt to deterministic unlock timeTheCharlatan2020-09-154-1/+7
|
* rpc: assume randomx from v13 onwardsmoneromooo-monero2020-09-071-2/+2
|
* Merge pull request #6111Riccardo Spagni2020-09-061-15/+11
|\ | | | | | | | | | | d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
| * core: fix mining from a block that's not the current topmoneromooo-monero2020-08-271-15/+11
| |
* | Merge pull request #6770luigi11112020-08-311-1/+5
|\ \ | | | | | | | | | bdc6b10 Fix ZMQ pruned bulletproof transactions (vtnerd)
| * | Fix ZMQ pruned bulletproof transactionsLee Clagett2020-08-191-1/+5
| | |
* | | Integrate CLSAGs into moneromoneromooo-monero2020-08-271-1/+1
| |/ |/| | | | | They are allowed from v12, and MLSAGs are rejected from v13.
* | Merge pull request #6763Alexander Blair2020-08-271-41/+54
|\ \ | | | | | | | | | 728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
| * | rpc: always send raw txes through P2P (don't use bootstrap daemon)xiphon2020-08-161-41/+54
| | | | | | | | | | | | | | | It turns out that some remote (bootstrap) nodes silently drop / don't broadcast client's transactions.
* | | replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-172-15/+71
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* | Merge pull request #6727Alexander Blair2020-08-161-6/+4
|\ \ | | | | | | | | | | | | | | | | | | 13eee1d6a rpc: reject wrong sized txid (moneromooo-monero) 92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero) 6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero) 90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
| * | rpc: reject wrong sized txidmoneromooo-monero2020-07-301-6/+4
| | | | | | | | | | | | Reporter requested credit to be given to Decred
* | | Merge pull request #6722Alexander Blair2020-08-161-1/+2
|\ \ \ | | | | | | | | | | | | c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
| * | | rpc: return empty txid get_outs rather than 00..00 when not requestedmoneromooo-monero2020-07-251-1/+2
| |/ / | | | | | | | | | It's more obvious there's no txid, and it saves space
* | | Merge pull request #6603Alexander Blair2020-08-162-5/+1
|\ \ \ | | | | | | | | | | | | 4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
| * | | Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett2020-08-142-5/+1
| | | |
* | | | Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ fasterLee Clagett2020-08-146-11/+15
| | | |
* | | | Fix pruned tx for ZMQ's GetBlocksFastLee Clagett2020-08-141-0/+1
| |_|/ |/| |
* | | Adding ZMQ/Pub support for txpool_add and chain_main eventsLee Clagett2020-05-046-53/+788
| |/ |/|
* | Merge pull request #6512Alexander Blair2020-07-1925-25/+25
|\ \ | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | Update copyright year to 2020SomaticFanatic2020-05-0625-25/+25
| |/ | | | | | | Update copyright year to 2020
* | Merge pull request #6627luigi11112020-07-081-1/+1
|\ \ | | | | | | | | | 4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
| * | rpc: fix loading rpc payment data from filemoneromooo-monero2020-06-051-1/+1
| | | | | | | | | | | | Got broken after making one of those micro optimizations requested on review..
* | | Merge pull request #6611luigi11112020-07-081-1/+1
|\ \ \ | | | | | | | | | | | | dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
| * | | rpc: fix comparison of seconds vs microsecondsmoneromooo-monero2020-05-311-1/+1
| | |/ | |/|
* | | Merge pull request #6599luigi11112020-07-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero) 9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
| * | | rpc: fix relay_tx error return mixupmoneromooo-monero2020-05-281-1/+1
| |/ /
* | | Merge pull request #6584luigi11112020-07-081-5/+5
|\ \ \ | | | | | | | | | | | | 78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
| * | | rpc: don't display invalid json errors on default log levelmoneromooo-monero2020-05-231-5/+5
| |/ / | | | | | | | | | | | | It's not something the user needs to know, and will display attacker controlled data
* | | Merge pull request #6574luigi11112020-07-082-0/+12
|\ \ \ | | | | | | | | | | | | 7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
| * | | rpc: lock access to the rpc payment objectmoneromooo-monero2020-05-192-0/+12
| |/ /
* | | Merge pull request #6576luigi11112020-06-082-6/+46
|\ \ \ | |_|/ |/| | | | | 4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
| * | rpc: add a sanity limit to a few RPC in restricted modemoneromooo-monero2020-05-202-6/+46
| |/