aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #7294luigi11112021-02-151-4/+0
|\ \ \ | |/ / |/| | | | | f10c9a1 remove obsolete pruning debug code (moneromooo-monero)
| * | remove obsolete pruning debug codemoneromooo-monero2021-01-081-4/+0
| | |
* | | Merge pull request #7236luigi11112021-01-151-9/+1
|\ \ \ | | | | | | | | | | | | ab5e185 protocol: fix wrong command in logs (moneromooo-monero)
| * | | protocol: fix wrong command in logsmoneromooo-monero2020-12-301-9/+1
| | | | | | | | | | | | | | | | this is not a levin packet, this is just its payload
* | | | Merge pull request #7119luigi11112021-01-151-0/+7
|\ \ \ \ | |_|_|/ |/| | | | | | | dd5e689 protocol: add calls to reserve where appropriate (moneromooo-monero)
| * | | protocol: add calls to reserve where appropriatemoneromooo-monero2020-12-101-0/+7
| | | |
* | | | Merge pull request #7285Alexander Blair2021-01-072-20/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | 927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
| * | | Command max_bytes moved from dynamic map to static switchLee Clagett2020-12-222-20/+0
| | | |
* | | | Merge pull request #7266luigi11112021-01-061-4/+9
|\ \ \ \ | |/ / / |/| | | | | | | 38a6e6e 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 #7271Alexander Blair2021-01-031-3/+6
|\ \ \ \ | | | | | | | | | | | | | | | 4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
| * | | | fix accessing an network address in a deleted contextmoneromooo-monero2021-01-031-3/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both drop_connection and add_host_fail can drop the connection, which invalidates the context, and thus the address it contains. Thanks to wfaressuissia[m] for lots of help and prodding when debugging this
* / / / add a max levin packet size by command typemoneromooo-monero2021-01-032-0/+20
|/ / /
* | | Merge pull request #7250Alexander Blair2021-01-012-1/+2
|\ \ \ | | | | | | | | | | | | 61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
| * | | Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-172-1/+2
| | |/ | |/|
* | | Merge pull request #7246Alexander Blair2021-01-011-12/+52
|\ \ \ | | | | | | | | | | | | 0aa541b36 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
| |/ /
* / / 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
* | 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 #7188Alexander Blair2020-12-262-4/+16
|\ \ | | | | | | | | | efe83982d 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 #7154Alexander Blair2020-12-261-19/+18
|\ \ \ | |/ / |/| | | | | | | | cf7e1571d protocol: reject claimed block hashes that already are in the chain (moneromooo-monero) af0a25544 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.
* | | Merge pull request #7075luigi11112020-12-191-2/+0
|\ \ \ | | | | | | | | | | | | | | | | f3c0d4f protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero) 8e62362 p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
| * | | protocol: remove unused (and cunningly uninitialized) fieldmoneromooo-monero2020-12-151-2/+0
| | | |
* | | | 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 #7130luigi11112020-12-122-0/+12
|\ \ \ | | | | | | | | | | | | 543733d 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 #7127luigi11112020-12-121-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | 5d1849a 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 #7121Alexander Blair2020-12-101-1/+1
|\ \ \ | | | | | | | | | | | | cd7e9769d 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 #7117Alexander Blair2020-12-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 5dee031b2 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 #7114Alexander Blair2020-12-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | eb77790df 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 #7110Alexander Blair2020-12-104-19/+52
|\ \ \ \ | | | | | | | | | | | | | | | d660f22ed 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 #7106Alexander Blair2020-12-101-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | 0f34cabb9 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 #7009Alexander Blair2020-12-103-19/+21
|\ \ \ \ | |_|/ / |/| | | | | | | 7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
| * | | Change epee binary output from std::stringstream to byte_streamLee Clagett2020-10-103-19/+21
| |/ /
* / / 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
|/
* Fix tx flush callback queueingLee Clagett2020-10-061-23/+12
|