aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node_common.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
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