aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-10-21protocol: fix spurious rejection of downloaded blocksmoneromooo-monero1-0/+1
2021-09-20node_server: fix race conditionanon2-11/+46
2021-06-21protocol: fix delayed "you are now synchronized..." messagemoneromooo-monero1-3/+4
2021-04-27cmake: set 3.5 as minimum versionselsta1-1/+1
2021-04-17protocol: remove unreachable codemoneromooo-monero1-1/+1
2021-04-16Revert "Merge pull request #7136"luigi11114-20/+26
2021-03-22cryptonote_protocol_handler: fix race conditionanon1-27/+41
2021-02-09Remove unused variables in monero codebaseKevin Barbour1-3/+0
2021-01-19Remove payload copy in all outgoing p2p messagesLee Clagett4-26/+20
2021-01-16Remove payload copy in all outgoing p2p messagesLee Clagett4-26/+20
2021-01-12Revert "fix accessing an network address in a deleted context"selsta1-6/+3
2021-01-08remove obsolete pruning debug codemoneromooo-monero1-4/+0
2021-01-03add a max levin packet size by command typemoneromooo-monero2-0/+20
2021-01-03fix accessing an network address in a deleted contextmoneromooo-monero1-3/+6
2021-01-02protocol: handle receiving a block hash we've not added yetmoneromooo-monero1-4/+9
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero1-12/+52
2020-12-30protocol: fix wrong command in logsmoneromooo-monero1-9/+1
2020-12-30protocol: don't reset last request time on an idle timermoneromooo-monero1-1/+1
2020-12-27protocol: fix false positives dropping peersmoneromooo-monero1-23/+21
2020-12-27Revert "Reject existing claimed blocks in sync mode"luigi11111-18/+19
2020-12-25protocol: drop nodes if they claim new data but only give stale datamoneromooo-monero2-4/+16
2020-12-22Command max_bytes moved from dynamic map to static switchLee Clagett2-20/+0
2020-12-17rpc: add a busy_syncing field to get_infomoneromooo-monero2-0/+9
2020-12-17protocol: reject claimed block hashes that already are in the chainmoneromooo-monero1-0/+13
2020-12-17Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2-1/+2
2020-12-16protocol: drop peers we can't download anything from in sync modemoneromooo-monero1-19/+5
2020-12-15protocol: remove unused (and cunningly uninitialized) fieldmoneromooo-monero1-2/+0
2020-12-12protocol: include first new block in chain entry responsemoneromooo-monero2-0/+12
2020-12-11protocol: stricter checks on received chain hash listmoneromooo1-0/+35
2020-12-11protocol: revert incoming chain height check against local chainmoneromooo-monero1-1/+1
2020-12-10protocol: one more sanity check on usable data from a peermoneromooo-monero1-1/+1
2020-12-10protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero4-19/+52
2020-12-10protocol: add calls to reserve where appropriatemoneromooo-monero1-0/+7
2020-12-10protocol: add a sanity check to the number of block hashes sentmoneromooo-monero1-1/+1
2020-12-10protocol: fix asking for pruned blocks for v10moneromooo-monero1-1/+1
2020-12-10protocol: more restrictive checks on chain entry responsemoneromooo-monero1-1/+8
2020-12-10protocol: fix switchting to adding blocks if noone's adding the next spanmoneromooo-monero1-2/+1
2020-12-06protocol: drop peers that don't reply to queriesmoneromooo2-10/+34
2020-12-04protocol: drop peers that decrease claimed heightmoneromooo1-1/+16
2020-12-04protocol: add scoring system to drop peers that don't behavemoneromooo2-9/+50
2020-11-25cryptonote_core: dandelion - use local height or median height if syncingxiphon4-12/+59
2020-11-16Better log message for unusable anon networksHoward Chu2-13/+16
2020-11-03Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-6/+4
2020-11-03protocol: reject empty incoming block messagesmoneromooo-monero1-0/+7
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon3-21/+27
2020-10-10Change epee binary output from std::stringstream to byte_streamLee Clagett3-19/+21
2020-10-06Fix tx flush callback queueingLee Clagett1-23/+12
2020-08-10cryptonote_protocol: don't synced pruned blocks before v11cohcho1-2/+2
2020-07-24Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner71-2/+1
2020-05-19protocol: move the "peer claims higher version" warning to debugmoneromooo-monero1-2/+2
2020-05-19cryptonote_protocol: stricter limit to number of objects requestedmoneromooo-monero1-1/+2
2020-05-19cryptonote_protocol: reject requests/notifications before handshakemoneromooo-monero1-0/+20
2020-05-16protocol: don't drop a connection if we can't get a compatible chainmoneromooo-monero1-1/+0
2020-05-15Add randomized delay when forwarding txes from i2p/tor -> ipv4/6Lee Clagett3-9/+28
2020-05-06Update copyright year to 2020SomaticFanatic12-12/+12
2020-05-06cryptonote_protocol: do not request pruned borromean sig txesmoneromooo-monero1-1/+6
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett7-69/+216
2020-03-22protocol: request txpool contents when syncedmoneromooo-monero3-0/+90
2020-03-21Daemon: Print estimates for time until fully syncedrbrunner72-3/+91
2020-03-20p2p: remove old debug commandsAaron Hook2-9/+0
2020-03-10Fix receive order leakage with tx fluffingLee Clagett1-0/+3
2020-03-07Added logging for dropped local txes with no i2p/tor connectionsLee Clagett1-4/+17
2020-01-26cryptonote_protocol: omit top 64 bits of difficulty when 0moneromooo-monero1-2/+8
2020-01-26network: log traffic and add a simple traffic analysis scriptmoneromooo-monero1-0/+16
2020-01-10Daemon: Guard against reporting "synchronized" too earlyrbrunner71-1/+1
2019-12-14Corrected message typopalomato1-1/+1
2019-12-05Fix time comparison mathJason Rhinelander1-2/+2
2019-11-13simplewallet: noob-friendly help menuwowario1-1/+2
2019-11-04Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett4-49/+161
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett6-25/+101
2019-10-30daemon: always use bootstrap daemon (if set) in '--no-sync' modexiphon1-0/+1
2019-10-29always print peer IDs in the same formatmoneromooo-monero1-4/+2
2019-10-28daemon: always use bootstrap daemon (if set) in '--no-sync' modexiphon1-0/+1
2019-10-25daemon, wallet: new pay for RPC use systemmoneromooo-monero2-0/+3
2019-10-17protocol: fix syncing from peers being too choosy about peersmoneromooo-monero1-3/+3
2019-10-11protocol: initialize block_weight in block_complete_entry ctormoneromooo-monero1-1/+1
2019-09-27monerod can now sync from pruned blocksmoneromooo-monero5-49/+229
2019-09-25ban peers sending bad pow outrightmoneromooo-monero2-7/+14
2019-09-24protocol: only print sync complete message when out of precompiled hashesmoneromooo-monero1-1/+1
2019-09-16Properly format multiline logsmoneromooo-monero1-2/+2
2019-09-11Revert "cryptonote_protocol: drop peers we can't download from when syncing"moneromooo-monero1-5/+0
2019-09-11Revert "Fix check for disconnecting peers when syncing"moneromooo-monero1-1/+1
2019-09-02Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez1-8/+8
2019-08-16Fix check for disconnecting peers when syncingJason Rhinelander1-1/+1
2019-08-11cryptonote_protocol: fix '--no-sync', ignore new blocks and txesxiphon1-3/+3
2019-07-29Fixed i2p/tor tx flooding bug (white noise disabled)Lee Clagett2-7/+12
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett3-61/+709
2019-07-15Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECTDoyle2-16/+9
2019-07-04cryptonote_protocol: drop peers we can't download from when syncingmoneromooo-monero1-0/+5
2019-06-14cryptonote_protocol: fix another potential P2P DoSmoneromooo-monero1-0/+15
2019-06-14cryptonote_protocol: expand basic DoS protectionmoneromooo-monero2-4/+4
2019-06-14cryptonote_protocol_handler: prevent potential DoSanonimal2-0/+12
2019-05-31daemon: display peer address type in print_cnmoneromooo-monero2-0/+4
2019-05-01fix wide difficulty conversion with some versions of boostmoneromooo-monero1-2/+2
2019-04-14cryptonote_protocol: warn when the last connection goesmoneromooo-monero1-0/+2
2019-03-28cryptonote_protocol_handler: add block/tx hashes in notify logsmoneromooo-monero1-2/+16
2019-03-25cryptonote: block parsing + hash calculation speedupmoneromooo-monero1-4/+4
2019-03-24Make difficulty 128 bit instead of 64 bitmoneromooo-monero2-1/+8
2019-03-05Update 2019 copyrightbinaryFate8-8/+8
2019-03-05cryptonote: avoid double parsing blocks when syncingmoneromooo-monero1-3/+18
2019-03-05core: avoid double parsing blocks after hohmoneromooo-monero1-7/+17
2019-03-04default initialize rpc structuresmoneromooo-monero1-8/+16
2019-02-26cryptonote_protocol_handler: search for syncing peers in "cruise mode"moneromooo-monero2-0/+44
2019-02-25daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon2-1/+11
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon2-0/+3
2019-02-02epee: add SSL supportmoneromooo-monero2-0/+2
2019-01-30cryptonote_protocol_handler: pad tx messages when using tor/i2pmoneromooo-monero1-1/+1
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett2-17/+44
2019-01-28block_queue: fix late sanity check off by onemoneromooo-monero1-1/+1
2019-01-22Pruningmoneromooo-monero5-229/+790
2018-12-23epee: better network buffer data structuremoneromooo-monero2-4/+4
2018-12-23Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett1-0/+1
2018-12-07protocol: change standby mode to not wait sleepingmoneromooo-monero2-12/+24
2018-11-26protocol: fix use after free when dropping a connectionmoneromooo-monero1-2/+2
2018-11-20protocol: fix incorrect tx hash in logmoneromooo-monero1-1/+3
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-22/+0
2018-11-06protocol: option to pad transaction relay to the next kBmoneromooo-monero2-0/+33
2018-08-09cryptonote_protocol: don't serialize an unneeded new block messagemoneromooo-monero1-7/+12
2018-07-25[monerod] Added blocks remaining count during syncronisation.Jorropo1-1/+14
2018-07-20block_queue: faster check whether a block was requestedmoneromooo-monero2-13/+32
2018-06-26replace std::list with std::vector on some hot pathsmoneromooo-monero4-59/+62
2018-06-09cryptonote_protocol_handler: log when dropping a peermoneromooo-monero1-0/+3
2018-06-03protocol: drop (and increase fails) if most blocks hashes are invalidmoneromooo-monero1-3/+3
2018-05-28protocol: do not switch to unsafe sync mode for just a few blocksmoneromooo-monero1-1/+2
2018-04-28cryptonote_protocol_handler.inl: remove span read just now that failed to pas...stoffu1-0/+3
2018-04-28cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool)stoffu1-8/+8
2018-04-22Only log an error if fork version is higher AND is not known.Thaer Khawaja1-1/+1
2018-03-15Fix typos in various filesDimitris Apostolou1-1/+1
2018-03-05Correct spelling mistakes.Edward Betts2-2/+2
2018-03-05Stagenetstoffu1-1/+1
2018-02-02cryptonote_protocol: guard against all threads in standbymoneromooo-monero1-0/+9
2018-01-26Readd copyright starting datexmr-eric2-2/+2
2018-01-26Update 2018 copyrightxmr-eric8-8/+8
2018-01-26cryptonote_protocol: fix std::move usage on different typesmoneromooo-monero1-1/+1
2018-01-25daemon: don't drop RPC with busy error when running offlinemoneromooo-monero2-3/+3
2018-01-11cryptonote_protocol: fix size_t used in wire formatmoneromooo-monero1-1/+1
2017-12-31cryptonote_protocol: fix missing space in version mismatch messagemoneromooo-monero1-1/+1
2017-12-27cryptonote_protocol: update target height when receiving blocksmoneromooo-monero1-0/+2
2017-12-24cryptonote_protocol: internal error consistency size checkmoneromooo-monero1-0/+5
2017-12-18use const refs in for loops for non tiny typesmoneromooo-monero1-1/+1
2017-12-18add empty container sanity checks when using front() and back()moneromooo-monero2-0/+7
2017-12-18cryptonote_protocol: sanity check chain hashes from peermoneromooo-monero1-0/+6
2017-12-18cryptonote_protocol: print peer versions when unexpectedmoneromooo-monero1-6/+10
2017-12-16move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero2-2/+2
2017-12-16cryptonote_core does not depend on p2p anymoremoneromooo-monero2-8/+2
2017-12-16move includes around to lessen overall loadmoneromooo-monero3-37/+2
2017-12-03cryptonote_protocol: fix corner case looping asking for same block hashesmoneromooo-monero1-0/+4
2017-11-28Corrections in rate limiting / trottle code, especially in 'out' directionrbrunner71-1/+1
2017-11-18make connection_id a string in RPCmoneromooo-monero2-3/+3
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-2/+2
2017-10-22protocol: drop connections which don't handshake after some timemoneromooo-monero1-3/+6
2017-10-15Fix compiler warnings with Clang 6.0.0.Vasil Dimov1-1/+1
2017-10-07protocol: kick idle peers by dropping themmoneromooo-monero1-3/+10
2017-10-03block_queue: use boost::uuids::nil_uuid where appropriatemoneromooo-monero1-2/+1
2017-09-25move checkpoints in a separate librarymoneromooo-monero2-2/+2
2017-09-21build: auto update version info without manually deleting version.hstoffu1-2/+0
2017-09-18precomputed block hashes are now in blocks of N (currently 256)moneromooo-monero1-0/+12
2017-09-17cryptonote_protocol: fix needless chain hashes downloadsmoneromooo-monero1-2/+3
2017-09-17protocol: remove hop count on block propagationmoneromooo-monero2-14/+2
2017-09-03Add a --fluffy-blocks option to relay blocks as fluffy blocksmoneromooo-monero1-1/+1
2017-08-29cryptonote_protocol: error handling on cleanup_handle_incoming_blocksmoneromooo-monero1-6/+34
2017-08-28cryptonote_protocol: remove old spans when received as old blocksmoneromooo-monero1-0/+1
2017-08-23cryptonote_protocol: warn if we see a higher top version we expectmoneromooo-monero1-0/+2
2017-08-23cryptonote_protocol: less strict check on top version on connectmoneromooo-monero1-1/+1
2017-08-23cryptonote_protocol: update target height when syncing toomoneromooo-monero1-0/+4
2017-08-23cryptonote_protocol: simplify and remove unnecessary castsmoneromooo-monero1-5/+6
2017-08-23cryptonote_protocol: print peer top height along with its versionmoneromooo-monero1-1/+1
2017-08-22Cleanup test impact of adding safesyncmode() methodHoward Chu1-2/+2
2017-08-21cryptonote_protocol: misc fixes to the new sync algorithmmoneromooo-monero4-38/+107
2017-08-20Toggle SAFE syncmode on and off automaticallyHoward Chu1-0/+2
2017-08-17cryptonote_protocol: large block sync size before v4moneromooo-monero1-1/+1
2017-08-16cryptonote_protocol: kick idle synchronizing peersmoneromooo-monero4-0/+41
2017-08-16Consistently print peer id in hex and on 16 charsmoneromooo-monero1-1/+1
2017-08-15befor -> beforeNano Akron1-1/+1
2017-08-15protocol: pass blockchain cumulative difficulty when syncingmoneromooo-monero2-0/+5
2017-08-15cryptonote_protocol: fix "holes" in block download schedulemoneromooo-monero1-1/+2
2017-08-15cryptonote_protocol: fix out of order additionmoneromooo-monero1-0/+37
2017-08-15block_queue: do not add empty spansmoneromooo-monero1-0/+2
2017-08-12daemon: print peers' top height in sync_infomoneromooo-monero2-1/+7
2017-08-12cryptonote_protocol_handler: log versions as unsigned intsmoneromooo-monero1-1/+1
2017-08-12protocol: fix reorgs while syncingmoneromooo-monero3-100/+45
2017-08-10tests: fix tests buildmoneromooo-monero1-2/+2
2017-08-09cryptonote_protocol: fix recv/send idle time before handshakemoneromooo-monero1-2/+2
2017-08-09cryptonote_protocol: keep target in sync with dropped connectionsmoneromooo-monero2-67/+56
2017-08-09protocol: add checks for top block hard fork versionmoneromooo-monero2-0/+13
2017-08-07core: thread most of handle_incoming_txmoneromooo-monero1-6/+9
2017-08-07cryptonote_protocol: retry stale spans earlymoneromooo-monero3-0/+25
2017-08-07cryptonote_protocol: light cleanupmoneromooo-monero2-26/+9
2017-08-07cryptonote_protocol: avoid spurious SYNCHRONIZED OK messagesmoneromooo-monero1-2/+12
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero5-131/+963
2017-08-02cryptonote_protocol: fix days behind calc on testnetmoneromooo-monero1-1/+1
2017-07-31some include cleanupmoneromooo-monero2-6/+6
2017-07-24cryptonote_protocol: Set send_idle_time in connection_info correctlyrbrunner71-1/+1
2017-06-28Remove typeid use in network_addressmoneromooo-monero1-1/+1
2017-06-01cryptonote_protocol_handler: fix crash in debug logmoneromooo-monero1-3/+1
2017-05-27abstracted nework addressesmoneromooo-monero2-33/+22
2017-05-25Move txpool to the databasemoneromooo-monero1-3/+13
2017-03-13protocol: fix wrong tx being looked up from fluffy blockmoneromooo-monero1-1/+10
2017-03-12protocol: fix fluffy to normal block dropping txesmoneromooo-monero1-1/+1
2017-02-25protocol: tone down a rate limit not implemented yet warningmoneromooo-monero1-1/+1