Commit Graph
9573 Commits
Author SHA1 Message Date
moneromooo-monero bca61e4fa6 tx_pool: mine stem txes in fake chain mode
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-06-20 15:44:23 +00:00
luigi1111 f0ada2f22b Merge pull request #6648
3b390fb Fix D++ block template check (vtnerd)
2020-06-19 16:10:12 -05:00
luigi1111 8a850ed742 Merge pull request #6646
b7812d1 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-06-19 16:09:28 -05:00
luigi1111 44e3875190 Merge pull request #6645
0a19785 rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-06-19 16:07:45 -05:00
luigi1111 d825252b7d Merge pull request #6644
0569e63 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-06-19 16:06:33 -05:00
luigi1111 1336992a5b Merge pull request #6643
23df29d functional_tests: add simple relay_tx test (moneromooo-monero)
e306834 rpc: fix relay_tx error return mixup (moneromooo-monero)
2020-06-19 16:05:03 -05:00
luigi1111 e78387936e Merge pull request #6642
96b7697 daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-06-19 16:01:37 -05:00
luigi1111 8e0435876c Merge pull request #6641
5285ecc rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-06-19 16:00:43 -05:00
luigi1111 79f4af310e Merge pull request #6594
4e6d587 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-06-19 15:59:50 -05:00
Lee Clagett 3b390fba9c Fix D++ block template check 2020-06-12 22:42:17 -04:00
moneromooo-monero b7812d1674 blockchain: fix total_height in getblocks.bin response 2020-06-11 12:51:06 +00:00
moneromooo-monero 0a19785e99 rpc: fix loading rpc payment data from file
Got broken after making one of those micro optimizations requested on review..
2020-06-11 12:49:58 +00:00
moneromooo-monero 0569e635cf rpc: fix comparison of seconds vs microseconds 2020-06-11 12:48:48 +00:00
moneromooo-monero 23df29d8d6 functional_tests: add simple relay_tx test 2020-06-11 12:47:29 +00:00
moneromooo-monero e3068346ee rpc: fix relay_tx error return mixup 2020-06-11 12:47:28 +00:00
moneromooo-monero 96b7697177 daemon: remove time based "update needed" status string 2020-06-11 12:44:57 +00:00
moneromooo-monero 5285ecc3d6 rpc: don't display invalid json errors on default log level
It's not something the user needs to know, and will display
attacker controlled data
2020-06-11 12:43:13 +00:00
François Colas 4e6d587275 Fix incorrect lenght of command INS_PREFIX_HASH
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
2020-05-27 17:07:48 +02:00
luigi1111 25419b4bfb Merge pull request #6579
f50a6c5 version: update name (selsta)
v0.16.0.0
2020-05-21 12:47:48 -05:00
selsta f50a6c5aed version: update name 2020-05-21 19:41:04 +02:00
luigi1111 cf4add7899 Merge pull request #6575
ada8172 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-05-21 11:54:52 -05:00
luigi1111 e28d291330 Merge pull request #6577
0d92fe5 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-05-21 03:07:04 -05:00
luigi1111 4f6dbcd00e Merge pull request #6572
438b846 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
2020-05-21 03:06:15 -05:00
luigi1111 062cf63959 Merge pull request #6569
99d702e cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-05-21 03:05:16 -05:00
luigi1111 343acd3025 Merge pull request #6548
c5c8592 [release-v0.16] MMS: New 'config_checksum' subcommand (rbrunner7)
2020-05-21 03:03:45 -05:00
moneromooo-monero 0d92fe5234 rpc: add a sanity limit to a few RPC in restricted mode 2020-05-20 19:18:02 +00:00
moneromooo-monero ada8172b46 rpc: lock access to the rpc payment object 2020-05-20 18:43:24 +00:00
rbrunner7 c5c85925e2 [release-v0.16] MMS: New 'config_checksum' subcommand 2020-05-20 12:05:21 +02:00
Doyle 438b84690e ByteSlice: Fix persisting ptr to std::moved SSO buffer
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-20 10:21:21 +10:00
luigi1111 eed8a4e8a6 Merge pull request #6554
f01d529 cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
bbab044 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-05-19 17:51:03 -05:00
luigi1111 b82af557f5 Merge pull request #6567
cef39dc protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-05-19 17:38:34 -05:00
luigi1111 0161cb79a1 Merge pull request #6562
705c78b wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-05-19 17:36:58 -05:00
luigi1111 f28026b86f Merge pull request #6560
4291344 serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-05-19 17:34:17 -05:00
luigi1111 cb75003642 Merge pull request #6545
bb4d95c blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-05-19 17:30:37 -05:00
luigi1111 8fb0d7e0b4 Merge pull request #6543
44e3782 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-05-19 17:29:46 -05:00
luigi1111 3578ce9fb6 Merge pull request #6541
4a9c3a Revert 'simplewallet: noob-friendly help menu' (selsta)
7633ba0 simplewallet: help_advanced -> help (selsta)
2020-05-19 17:26:28 -05:00
luigi1111 f8642bf95c Merge pull request #6540
7209db8 epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
2020-05-19 17:13:24 -05:00
luigi1111 da04c5fb48 Merge pull request #6532
f35ced6 build: fix boost 1.73 compatibility (selsta)
2020-05-19 17:11:05 -05:00
luigi1111 278f78e877 Merge pull request #6551
f526977 easylogging++: sanitize log payload (moneromooo-monero)
2020-05-19 17:08:15 -05:00
moneromooo-monero 99d702e28b cryptonote_core: remove "We are most likely forked" message
It's time based and we don't have forks every 6 months anymore
2020-05-19 16:27:38 +00:00
moneromooo-monero cef39dc313 protocol: move the "peer claims higher version" warning to debug
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
2020-05-19 16:15:08 +00:00
moneromooo-monero 705c78b797 wallet2: fix multisig data clearing stomping on a vector 2020-05-19 12:24:50 +00:00
moneromooo-monero 4291344f80 serialization: fix bad rapidjson api usage 2020-05-19 12:23:03 +00:00
moneromooo-monero bbab044c92 cryptonote_protocol: stricter limit to number of objects requested
Reported by xnbya
2020-05-19 10:34:05 +00:00
moneromooo-monero f01d529bdb cryptonote_protocol: reject requests/notifications before handshake
Reported by xnbya
2020-05-19 10:34:04 +00:00
moneromooo-monero f52697729d easylogging++: sanitize log payload
Some of it might be coming from untrusted sources

Reported by itsunixiknowthis
2020-05-19 10:31:51 +00:00
moneromooo-monero bb4d95c98f blockchain: detect and log bad difficulty calculations 2020-05-17 12:45:06 +00:00
moneromooo-monero 44e3782b4d protocol: don't drop a connection if we can't get a compatible chain
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block

In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
2020-05-16 20:25:29 +00:00
selsta 7633ba059c simplewallet: help_advanced -> help 2020-05-16 21:27:19 +02:00
selsta 4a9c3aca03 Revert "simplewallet: noob-friendly help menu"
This reverts commit 67b4a19edf.
2020-05-16 21:26:11 +02:00