aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node_common.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-01-19Remove payload copy in all outgoing p2p messagesLee Clagett1-9/+6
2021-04-16Revert "Merge pull request #7136"luigi11111-6/+9
This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
2021-01-16Remove payload copy in all outgoing p2p messagesLee Clagett1-9/+6
2020-12-20Optional DNS based blocklistmoneromooo-monero1-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
2020-12-06p2p: fix race condition accessing a deleted contextmoneromooo-monero1-2/+2
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon1-2/+2
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett1-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
2019-11-04Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett1-2/+2
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett1-2/+4
2019-09-25ban peers sending bad pow outrightmoneromooo-monero1-2/+2
PoW is expensive to verify, so be strict
2019-09-16p2p: fix bans taking port into accountmoneromooo-monero1-3/+3
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett1-6/+7
2019-07-16allow blocking whole subnetsmoneromooo-monero1-0/+5
2019-07-16p2p: store network address directly in blocked host listmoneromooo-monero1-3/+3
rather than their string representation
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett1-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).
2019-01-22Pruningmoneromooo-monero1-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.
2018-12-23epee: better network buffer data structuremoneromooo-monero1-8/+8
avoids pointless allocs and memcpy
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero1-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.
2017-05-27abstracted nework addressesmoneromooo-monero1-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.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2016-12-01p2p: possibly fix crash in relay_blocksmoneromooo-monero1-0/+5
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj1-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.
2016-03-12p2p: lock access to the blocked ips mapmoneromooo-monero1-2/+2
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-11-26add RPC calls and commands to get/set bansmoneromooo-monero1-2/+12
2015-11-23Add IP blocking for misbehaving nodes (adapted from Boolberry)Javier Smooth1-0/+10
With minor cleanup and fixes (spelling, indent) by moneromooo
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-03-20some fixesAntonio Juarez1-3/+3
2014-03-03moved all stuff to githubAntonio Juarez1-0/+62