summaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol
Commit message (Collapse)AuthorAgeFilesLines
* cmake: set 3.5 as minimum versionselsta2021-11-291-1/+1
|
* protocol: fix spurious rejection of downloaded blocksmoneromooo-monero2021-10-231-0/+1
| | | | | | when kicking a peer for inactivity, clear the set of requested blocks, or next time we requests blocks from it, we'll probably reject the incoming blocks due to missing the previous requested blocks
* node_server: fix race conditionanon2021-09-202-11/+46
|
* cryptonote_protocol_handler: fix race conditionanon2021-03-221-27/+41
|
* Command max_bytes moved from dynamic map to static switchLee Clagett2020-12-232-20/+0
|
* Merge pull request #7267luigi11112021-01-061-4/+9
|\ | | | | | | c2295f5 protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
| * protocol: handle receiving a block hash we've not added yetmoneromooo-monero2021-01-021-4/+9
| |
* | Merge pull request #7248luigi11112021-01-062-0/+20
|\ \ | |/ |/| | | 3c7eec1 add a max levin packet size by command type (moneromooo-monero)
| * add a max levin packet size by command typemoneromooo-monero2021-01-032-0/+20
| |
* | Merge pull request #7247Alexander Blair2021-01-011-12/+52
|\ \ | | | | | | | | | 57f7c2e53 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
| * | protocol: more sanity checks in new chain block hashesmoneromooo-monero2020-12-311-12/+52
| | |
* | | Merge pull request #7235Alexander Blair2021-01-011-1/+1
|\ \ \ | |_|/ |/| | | | | 00253b717 protocol: don't reset last request time on an idle timer (moneromooo-monero)
| * | protocol: don't reset last request time on an idle timermoneromooo-monero2020-12-301-1/+1
| |/ | | | | | | | | this prevents losing time of "idle time" for a peer, which could otherwise be reset by another timed sync command from the peer
* / Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-292-1/+2
|/
* protocol: fix false positives dropping peersmoneromooo-monero2020-12-271-23/+21
| | | | it'd trigger on reorgs
* Revert "Reject existing claimed blocks in sync mode"luigi11112020-12-271-18/+19
|
* Merge pull request #7189Alexander Blair2020-12-262-4/+16
|\ | | | | | | adcbcd8f8 protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
| * protocol: drop nodes if they claim new data but only give stale datamoneromooo-monero2020-12-252-4/+16
| | | | | | | | Some joker is spending time actually doing this
* | Merge pull request #7155Alexander Blair2020-12-261-19/+18
|\ \ | |/ |/| | | | | 42ee30929 protocol: reject claimed block hashes that already are in the chain (moneromooo-monero) a436c3625 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
| * protocol: reject claimed block hashes that already are in the chainmoneromooo-monero2020-12-171-0/+13
| |
| * protocol: drop peers we can't download anything from in sync modemoneromooo-monero2020-12-161-19/+5
| | | | | | | | | | instead of the (incorrect) check for whether we think we might have a user for it at some point in the near future. We can reconnect.
* | rpc: add a busy_syncing field to get_infomoneromooo-monero2020-12-172-0/+9
|/ | | | true if and pretty much only if new blocks are being added
* Merge pull request #7131v0.17.1.7luigi11112020-12-122-0/+12
|\ | | | | | | c1d6547 protocol: include first new block in chain entry response (moneromooo-monero)
| * protocol: include first new block in chain entry responsemoneromooo-monero2020-12-122-0/+12
| |
* | Merge pull request #7128luigi11112020-12-121-0/+35
|\ \ | | | | | | | | | b6b2c9b protocol: stricter checks on received chain hash list (moneromooo)
| * | protocol: stricter checks on received chain hash listmoneromooo2020-12-111-0/+35
| |/
* / protocol: revert incoming chain height check against local chainmoneromooo-monero2020-12-111-1/+1
|/ | | | | We can actually request a chain that's further away from what we have as we buffer more and more
* Merge pull request #7122Alexander Blair2020-12-101-1/+1
|\ | | | | | | 3a3370096 protocol: one more sanity check on usable data from a peer (moneromooo-monero)
| * protocol: one more sanity check on usable data from a peermoneromooo-monero2020-12-101-1/+1
| |
* | Merge pull request #7120Alexander Blair2020-12-101-1/+1
|\ \ | | | | | | | | | 105afa555 protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
| * | protocol: fix asking for pruned blocks for v10moneromooo-monero2020-12-101-1/+1
| |/ | | | | | | Old format is still alloewd there, this is a two fork update
* | Merge pull request #7118Alexander Blair2020-12-101-1/+1
|\ \ | | | | | | | | | ef1524ecc protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
| * | protocol: add a sanity check to the number of block hashes sentmoneromooo-monero2020-12-101-1/+1
| | |
* | | Merge pull request #7111Alexander Blair2020-12-104-19/+52
|\ \ \ | | | | | | | | | | | | d729730d3 protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
| * | | protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero2020-12-104-19/+52
| | |/ | |/| | | | | | | | | | It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
* | | Merge pull request #7107Alexander Blair2020-12-101-1/+8
|\ \ \ | |/ / |/| | | | | f47f1a069 protocol: more restrictive checks on chain entry response (moneromooo-monero)
| * | protocol: more restrictive checks on chain entry responsemoneromooo-monero2020-12-101-1/+8
| |/
* | Merge pull request #7109luigi11112020-12-101-2/+1
|\ \ | | | | | | | | | e83a220 protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
| * | protocol: fix switchting to adding blocks if noone's adding the next spanmoneromooo-monero2020-12-101-2/+1
| |/
* | protocol: drop peers that don't reply to queriesmoneromooo2020-12-062-10/+34
| |
* | protocol: drop peers that decrease claimed heightmoneromooo2020-12-041-1/+16
| |
* | protocol: add scoring system to drop peers that don't behavemoneromooo2020-12-042-9/+50
|/
* cryptonote_core: dandelion - use local height or median height if syncingxiphon2020-11-254-12/+59
|
* Better log message for unusable anon networksHoward Chu2020-11-162-13/+16
|
* Merge pull request #6974luigi11112020-11-041-6/+4
|\ | | | | | | 58cde83 Switch to Dandelion++ fluff mode if no out connections for stem mode (vtnerd)
| * Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett2020-10-061-6/+4
| |
* | Merge pull request #6972luigi11112020-11-041-0/+7
|\ \ | | | | | | | | | 8965489 protocol: reject empty incoming block messages (moneromooo-monero)
| * | protocol: reject empty incoming block messagesmoneromooo-monero2020-11-031-0/+7
| |/
* / Fix tx flush callback queueingLee Clagett2020-10-141-23/+10
|/
* Dandelion++: skip desynced peers in stem phasexiphon2020-10-123-21/+27
|