aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol (follow)
AgeCommit message (Expand)AuthorFilesLines
2021-03-22cryptonote_protocol_handler: fix race conditionanon1-27/+41
2020-12-23Command max_bytes moved from dynamic map to static switchLee Clagett2-20/+0
2021-01-06Merge pull request #7267luigi11111-4/+9
2021-01-06Merge pull request #7248luigi11112-0/+20
2021-01-03add a max levin packet size by command typemoneromooo-monero2-0/+20
2021-01-02protocol: handle receiving a block hash we've not added yetmoneromooo-monero1-4/+9
2021-01-01Merge pull request #7247Alexander Blair1-12/+52
2021-01-01Merge pull request #7235Alexander Blair1-1/+1
2020-12-31protocol: more sanity checks in new chain block hashesmoneromooo-monero1-12/+52
2020-12-30protocol: don't reset last request time on an idle timermoneromooo-monero1-1/+1
2020-12-29Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2-1/+2
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-26Merge pull request #7189Alexander Blair2-4/+16
2020-12-26Merge pull request #7155Alexander Blair1-19/+18
2020-12-25protocol: drop nodes if they claim new data but only give stale datamoneromooo-monero2-4/+16
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-16protocol: drop peers we can't download anything from in sync modemoneromooo-monero1-19/+5
2020-12-12Merge pull request #7131v0.17.1.7luigi11112-0/+12
2020-12-12Merge pull request #7128luigi11111-0/+35
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-10Merge pull request #7122Alexander Blair1-1/+1
2020-12-10Merge pull request #7120Alexander Blair1-1/+1
2020-12-10Merge pull request #7118Alexander Blair1-1/+1
2020-12-10Merge pull request #7111Alexander Blair4-19/+52
2020-12-10Merge pull request #7107Alexander Blair1-1/+8
2020-12-10protocol: one more sanity check on usable data from a peermoneromooo-monero1-1/+1
2020-12-10protocol: fix asking for pruned blocks for v10moneromooo-monero1-1/+1
2020-12-10protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero4-19/+52
2020-12-10Merge pull request #7109luigi11111-2/+1
2020-12-10protocol: add a sanity check to the number of block hashes sentmoneromooo-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-04Merge pull request #6974luigi11111-6/+4
2020-11-04Merge pull request #6972luigi11111-0/+7
2020-11-03protocol: reject empty incoming block messagesmoneromooo-monero1-0/+7
2020-10-14Fix tx flush callback queueingLee Clagett1-23/+10
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon3-21/+27
2020-10-06Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-6/+4
2020-08-27Merge pull request #6753Alexander Blair1-2/+2
2020-08-16Merge pull request #6614Alexander Blair1-2/+1
2020-08-16Merge pull request #6542Alexander Blair1-1/+0
2020-08-10cryptonote_protocol: don't synced pruned blocks before v11cohcho1-2/+2
2020-08-09Merge pull request #6354Alexander Blair3-9/+28
2020-07-24Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner71-2/+1
2020-07-19Merge pull request #6512Alexander Blair12-12/+12
2020-07-08Merge pull request #6566luigi11111-2/+2
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-04-21Merge pull request #6278luigi11112-3/+91
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett7-69/+216
2020-04-04Merge pull request #6381luigi11111-0/+3
2020-04-04Merge pull request #6375luigi11111-4/+17
2020-03-31Merge pull request #6214luigi11113-0/+90
2020-03-27Merge pull request #6282Alexander Blair1-1/+1
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-12Merge pull request #6243Alexander Blair1-2/+8
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-02-28Merge pull request #6236Alexander Blair1-1/+1
2020-02-28Merge pull request #6219Alexander Blair1-2/+2
2020-02-06Merge pull request #6127Alexander Blair1-1/+2
2020-02-06Merge pull request #6053Alexander Blair1-4/+2
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-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-25Merge pull request #5357luigi11112-0/+3
2019-10-25daemon, wallet: new pay for RPC use systemmoneromooo-monero2-0/+3
2019-10-24Merge pull request #5998luigi11111-3/+3
2019-10-22Merge pull request #5981luigi11111-1/+1
2019-10-17protocol: fix syncing from peers being too choosy about peersmoneromooo-monero1-3/+3
2019-10-14Merge pull request #5933luigi11112-7/+14
2019-10-11protocol: initialize block_weight in block_complete_entry ctormoneromooo-monero1-1/+1
2019-10-08Merge pull request #5915luigi11115-49/+229
2019-10-08Merge pull request #5926luigi11111-1/+1
2019-10-08Merge pull request #5921luigi11112-7/+12
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-24Merge pull request #5905luigi11111-5/+0
2019-09-24protocol: only print sync complete message when out of precompiled hashesmoneromooo-monero1-1/+1
2019-09-24Merge pull request #5877luigi11111-8/+8
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-04Merge pull request #5806luigi11111-3/+3
2019-09-02Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez1-8/+8
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-24Merge pull request #5595luigi11112-0/+4
2019-07-24Merge pull request #5591luigi11112-16/+9
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett3-61/+709
2019-08-16Fix check for disconnecting peers when syncingJason Rhinelander1-1/+1
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-04-06Merge pull request #5360Riccardo Spagni1-2/+16
2019-04-06Merge pull request #5346Riccardo Spagni1-4/+4
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-19Merge pull request #5199Riccardo Spagni2-0/+44
2019-03-19Merge pull request #5195Riccardo Spagni2-1/+11
2019-03-17Merge pull request #5190Riccardo Spagni2-0/+3
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-03-04Merge pull request #5111Riccardo Spagni1-1/+1
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-29Merge pull request #4988Riccardo Spagni2-17/+44
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
2019-01-16Merge pull request #5001Riccardo Spagni1-0/+1
2019-01-16Merge pull request #4976Riccardo Spagni2-4/+4
2019-01-06Merge pull request #4949Riccardo Spagni2-12/+24
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-12Merge pull request #4787Riccardo Spagni2-0/+33
2018-12-07protocol: change standby mode to not wait sleepingmoneromooo-monero2-12/+24
2018-12-04Merge pull request #4906Riccardo Spagni1-2/+2
2018-12-04Merge pull request #4877Riccardo Spagni1-1/+3
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-09-04Merge pull request #4160luigi11112-13/+32
2018-08-22Merge pull request #4207luigi11111-7/+12
2018-08-15Merge pull request #4020luigi11111-1/+14
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-27Merge pull request #3716luigi11114-59/+62
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-29Merge pull request #3719Riccardo Spagni1-8/+11
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-05Merge pull request #3277Riccardo Spagni1-1/+1
2018-03-05Correct spelling mistakes.Edward Betts2-2/+2
2018-03-05Stagenetstoffu1-1/+1
2018-02-16Merge pull request #3229Riccardo Spagni1-0/+9
2018-02-16Merge pull request #3181Riccardo Spagni2-3/+3
2018-02-02cryptonote_protocol: guard against all threads in standbymoneromooo-monero1-0/+9
2018-01-28Merge pull request #3186Riccardo Spagni1-1/+1
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-25Merge pull request #3105Riccardo Spagni1-1/+1
2018-01-25Merge pull request #3040Riccardo Spagni1-1/+1
2018-01-25Merge pull request #3015Riccardo Spagni1-0/+2
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
2018-01-10Merge pull request #3004Riccardo Spagni1-0/+5
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-17Merge pull request #2877Riccardo Spagni3-10/+4
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