aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #7018luigi11112020-11-294-12/+59
|\ | | | | | | a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
| * cryptonote_core: dandelion - use local height or median height if syncingxiphon2020-11-254-12/+59
| |
* | Merge pull request #6973luigi11112020-11-291-6/+4
|\ \ | | | | | | | | | be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
| * | Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett2020-11-031-6/+4
| | |
* | | Merge pull request #6971luigi11112020-11-291-0/+7
|\ \ \ | |_|/ |/| | | | | f9527e6 protocol: reject empty incoming block messages (moneromooo-monero)
| * | protocol: reject empty incoming block messagesmoneromooo-monero2020-11-031-0/+7
| |/
* / Better log message for unusable anon networksHoward Chu2020-11-162-13/+16
|/
* 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
| |/ /
* | | Merge pull request #6214luigi11112020-03-313-0/+90
|\ \ \ | | | | | | | | | | | | 054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
| * | | protocol: request txpool contents when syncedmoneromooo-monero2020-03-223-0/+90
| | |/ | |/| | | | | | | | | | | | | | | | A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent
* | | Merge pull request #6282Alexander Blair2020-03-271-1/+1
|\ \ \ | | | | | | | | | | | | 66472074 Daemon: Guard against reporting "synchronized" too early (rbrunner7)
| * | | Daemon: Guard against reporting "synchronized" too earlyrbrunner72020-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The added condition "hshd.current_height >= target" guards against reporting "synchronized" too early in the special situation that the very first peer sending us data is synced to a lower height than ourselves.
* | | | p2p: remove old debug commandsAaron Hook2020-03-202-9/+0
| |/ / |/| |
* | | Merge pull request #6243Alexander Blair2020-03-121-2/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | 4771a7ae p2p: remove obsolete local time in handshake (moneromooo-monero) 2fbbc4a2 p2p: avoid sending the same peer list over and over (moneromooo-monero) 3004835b epee: remove backward compatible endian specific address serialization (moneromooo-monero) 39a343d7 p2p: remove backward compatible peer list (moneromooo-monero) 60631802 p2p: simplify last_seen serialization now we have optional stores (moneromooo-monero) 9467b2e4 cryptonote_protocol: omit top 64 bits of difficulty when 0 (moneromooo-monero) b595583f serialization: do not write optional fields with default value (moneromooo-monero) 5f98b46d p2p: remove obsolete local time from TIMED_SYNC (moneromooo-monero)
| * | cryptonote_protocol: omit top 64 bits of difficulty when 0moneromooo-monero2020-01-261-2/+8
| | |
* | | Merge pull request #6236Alexander Blair2020-02-281-1/+1
|\ \ \ | | | | | | | | | | | | bc6d8aa3 Corrected message typo (palomato)
| * | | Corrected message typopalomato2019-12-141-1/+1
| | |/ | |/| | | | | | | Message was "peer claims higher version that we think" Requested change "peer claims higher version than we think"
* | | Merge pull request #6219Alexander Blair2020-02-281-2/+2
|\ \ \ | | | | | | | | | | | | 72ca7e3b Fix time comparison math (Jason Rhinelander)
| * | | Fix time comparison mathJason Rhinelander2019-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Dividing `dt` here by 1e6 converts it to seconds, but that is clearly wrong since `REQUEST_NEXT_SCHEDULED_SPAN_THRESHOLD_STANDBY` is measured in microseconds. As a result, this if statement was effectively never used.
* | | | Merge pull request #6127Alexander Blair2020-02-061-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | 67b4a19e simplewallet: noob-friendly help menu (wowario)
| * | | | simplewallet: noob-friendly help menuwowario2019-11-131-1/+2
| |/ / /
* | | | Merge pull request #6053Alexander Blair2020-02-061-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | deb350b7 always print peer IDs in the same format (moneromooo-monero)
| * | | | always print peer IDs in the same formatmoneromooo-monero2019-10-291-4/+2
| | | | |
* | | | | network: log traffic and add a simple traffic analysis scriptmoneromooo-monero2020-01-261-0/+16
| |_|_|/ |/| | |
* | | | Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2019-11-044-48/+160
| |_|/ |/| |
* | | Adding support for hidden (anonymity) txpoolLee Clagett2019-11-026-25/+101
| |/ |/|
* | daemon: always use bootstrap daemon (if set) in '--no-sync' modexiphon2019-10-281-0/+1
|/
* Merge pull request #5357luigi11112019-10-252-0/+3
|\ | | | | | | | | | | b3a9a4d add a quick early out to get_blocks.bin when up to date (moneromooo-monero) 2899379 daemon, wallet: new pay for RPC use system (moneromooo-monero) ffa4602 simplewallet: add public_nodes command (moneromooo-monero)