aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-191-9/+6
|
* Revert "Merge pull request #7136"luigi11112021-04-161-6/+9
| | | | | This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
* Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-161-9/+6
|
* Optional DNS based blocklistmoneromooo-monero2020-12-201-2/+2
| | | | | | | | | If enabled, pulls IPs to block on blocklist.moneropulse.*, and blocks then for 8 days (so IPs dropping from the list will eventually get unblocked, and DNS failures don't result in instant clearing of the blocklist). Enable with --enable-dns-blocklist
* p2p: fix race condition accessing a deleted contextmoneromooo-monero2020-12-061-2/+2
|
* Dandelion++: skip desynced peers in stem phasexiphon2020-10-121-2/+2
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Adding Dandelion++ support to public networks:Lee Clagett2020-03-261-2/+2
| | | | | | - 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
* Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett2019-11-041-2/+2
|
* Adding support for hidden (anonymity) txpoolLee Clagett2019-11-021-2/+4
|
* ban peers sending bad pow outrightmoneromooo-monero2019-09-251-2/+2
| | | | PoW is expensive to verify, so be strict
* p2p: fix bans taking port into accountmoneromooo-monero2019-09-161-3/+3
|
* Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett2019-07-171-6/+7
|
* allow blocking whole subnetsmoneromooo-monero2019-07-161-0/+5
|
* p2p: store network address directly in blocked host listmoneromooo-monero2019-07-161-3/+3
| | | | rather than their string representation
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* Adding initial support for broadcasting transactions over TorLee Clagett2019-01-281-9/+12
| | | | | | | | | - Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled).
* Pruningmoneromooo-monero2019-01-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc.
* epee: better network buffer data structuremoneromooo-monero2018-12-231-8/+8
| | | | avoids pointless allocs and memcpy
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* cryptonote_protocol_handler: sync speedupmoneromooo-monero2017-08-071-0/+5
| | | | | | | | A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.
* abstracted nework addressesmoneromooo-monero2017-05-271-9/+9
| | | | | | | | | | All code which was using ip and port now uses a new IPv4 object, subclass of a new network_address class. This will allow easy addition of I2P addresses later (and also IPv6, etc). Both old style and new style peer lists are now sent in the P2P protocol, which is inefficient but allows peers using both codebases to talk to each other. This will be removed in the future. No other subclasses than IPv4 exist yet.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* p2p: possibly fix crash in relay_blocksmoneromooo-monero2016-12-011-0/+5
|
* add lightweight block propagation ("fluffy blocks")Dion Ahmetaj2016-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | Added a new command to the P2P protocol definitions to allow querying for support flags. Implemented handling of new support flags command in net_node. Changed for_each callback template to include support flags. Updated print_connections command to show peer support flags. Added p2p constant for signaling fluffy block support. Added get_pool_transaction function to cryptnote_core. Added new commands to cryptonote protocol for relaying fluffy blocks. Implemented handling of fluffy block command in cryptonote protocol. Enabled fluffy block support in node initial configuration. Implemented get_testnet function in cryptonote_core. Made it so that fluffy blocks only run on testnet.
* p2p: lock access to the blocked ips mapmoneromooo-monero2016-03-121-2/+2
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* add RPC calls and commands to get/set bansmoneromooo-monero2015-11-261-2/+12
|
* Add IP blocking for misbehaving nodes (adapted from Boolberry)Javier Smooth2015-11-231-0/+10
| | | | With minor cleanup and fixes (spelling, indent) by moneromooo
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* some fixesAntonio Juarez2014-03-201-3/+3
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+62