summaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #6753Alexander Blair2020-08-271-2/+2
|\ | | | | | | 4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
| * cryptonote_protocol: don't synced pruned blocks before v11cohcho2020-08-101-2/+2
| | | | | | | | | | | | There are a few Borromean proofs txes in the v8 era, and these aren't supported by get_pruned_transaction_weight. Moreover, only only the most recent variant of bulletproofs is currently supported.
* | Merge pull request #6614Alexander Blair2020-08-161-2/+1
|\ \ | | | | | | | | | fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
| * | Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner72020-07-241-2/+1
| |/
* | Merge pull request #6542Alexander Blair2020-08-161-1/+0
|\ \ | | | | | | | | | 35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
| * | protocol: don't drop a connection if we can't get a compatible chainmoneromooo-monero2020-05-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #6354Alexander Blair2020-08-093-9/+28
|\ \ \ | |_|/ |/| | | | | 67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
| * | Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett2020-05-153-9/+28
| | |
* | | Merge pull request #6512Alexander Blair2020-07-1912-12/+12
|\ \ \ | | | | | | | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * | | Update copyright year to 2020SomaticFanatic2020-05-0612-12/+12
| | |/ | |/| | | | | | | Update copyright year to 2020
* | | Merge pull request #6566luigi11112020-07-081-2/+2
|\ \ \ | | | | | | | | | | | | 567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
| * | | protocol: move the "peer claims higher version" warning to debugmoneromooo-monero2020-05-191-2/+2
| |/ / | | | | | | | | | | | | Because there's a neverending supply of cunts claiming a wrong version just to say "look at me" I guess
* | | cryptonote_protocol: stricter limit to number of objects requestedmoneromooo-monero2020-05-191-1/+2
| | | | | | | | | | | | Reported by xnbya
* | | cryptonote_protocol: reject requests/notifications before handshakemoneromooo-monero2020-05-191-0/+20
|/ / | | | | | | Reported by xnbya
* / cryptonote_protocol: do not request pruned borromean sig txesmoneromooo-monero2020-05-061-1/+6
|/ | | | | We don't have a function to calculate their weight from a pruned version (yet).
* Merge pull request #6278luigi11112020-04-212-3/+91
|\ | | | | | | 387fd66 Daemon: Print estimates for time until fully synced (rbrunner7)
| * Daemon: Print estimates for time until fully syncedrbrunner72020-03-212-3/+91
| |
* | Adding Dandelion++ support to public networks:Lee Clagett2020-03-267-69/+216
| | | | | | | | | | | | - 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 #6381luigi11112020-04-041-0/+3
|\ \ | | | | | | | | | e719760 Fix receive order leakage with tx fluffing (vtnerd)
| * | Fix receive order leakage with tx fluffingLee Clagett2020-03-101-0/+3
| | |
* | | Merge pull request #6375luigi11112020-04-041-4/+17
|\ \ \ | | | | | | | | | | | | ebf3c10 Added logging for dropped local txes with no i2p/tor connections (vtnerd)
| * | | Added logging for dropped local txes with no i2p/tor connectionsLee Clagett2020-03-071-4/+17
| |/ /