Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-08 | net: move semOutbound to CConnman | Cory Fields | |
2016-09-08 | net: move nLocalServices/nRelevantServices to CConnman | Cory Fields | |
These are in-turn passed to CNode at connection time. This allows us to offer different services to different peers (or test the effects of doing so). | |||
2016-09-08 | net: move SendBufferSize/ReceiveFloodSize to CConnman | Cory Fields | |
2016-09-08 | net: move send/recv statistics to CConnman | Cory Fields | |
2016-09-08 | net: SocketSendData returns written size | Cory Fields | |
2016-09-08 | net: move messageHandlerCondition to CConnman | Cory Fields | |
2016-09-08 | net: move nLocalHostNonce to CConnman | Cory Fields | |
This behavior seems to have been quite racy and broken. Move nLocalHostNonce into CNode, and check received nonces against all non-fully-connected nodes. If there's a match, assume we've connected to ourself. | |||
2016-09-08 | net: move nLastNodeId to CConnman | Cory Fields | |
2016-09-08 | net: move whitelist functions into CConnman | Cory Fields | |
2016-09-08 | net: create generic functor accessors and move vNodes to CConnman | Cory Fields | |
2016-09-08 | net: Add most functions needed for vNodes to CConnman | Cory Fields | |
2016-09-08 | net: move added node functions to CConnman | Cory Fields | |
2016-09-08 | net: Add oneshot functions to CConnman | Cory Fields | |
2016-09-08 | net: move ban and addrman functions into CConnman | Cory Fields | |
2016-09-08 | net: handle nodesignals in CConnman | Cory Fields | |
2016-09-08 | net: move OpenNetworkConnection into CConnman | Cory Fields | |
2016-09-08 | net: Move socket binding into CConnman | Cory Fields | |
2016-09-08 | net: Pass CConnman around as needed | Cory Fields | |
2016-09-08 | net: Create CConnman to encapsulate p2p connections | Cory Fields | |
2016-09-08 | net: move CBanDB and CAddrDB out of net.h/cpp | Cory Fields | |
This will eventually solve a circular dependency | |||
2016-09-02 | Merge #8466: [Trivial] Do not shadow variables in networking code | Wladimir J. van der Laan | |
b7c349d Do not shadow variables in networking code (Pavel Janík) | |||
2016-08-25 | Merge #8462: Move AdvertiseLocal debug output to net category | Pieter Wuille | |
f13c1ba Move AdvertiseLocal debug output to net category (Michael Rotarius) | |||
2016-08-23 | Added feeler connections increasing good addrs in the tried table. | Ethan Heilman | |
Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes. This change was suggested as Countermeasure 4 in Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report 2015/263. March 2015. | |||
2016-08-17 | Merge #8505: Trivial: Fix typos in various files | Wladimir J. van der Laan | |
1aacfc2 various typos (leijurv) | |||
2016-08-15 | Do not shadow variables in networking code | Pavel Janík | |
2016-08-15 | Merge #8128: Net: Turn net structures into dumb storage classes | Wladimir J. van der Laan | |
9e9d644 net: fixup nits (Cory Fields) 8945384 net: Have LookupNumeric return a CService directly (Cory Fields) 21ba407 net: narrow include scope after moving to netaddress (Cory Fields) 21e5b96 net: move CNetAddr/CService/CSubNet out of netbase (Cory Fields) 1017b8a net: Add direct tests for new CSubNet constructors (Cory Fields) b6c3ff3 net: Split resolving out of CSubNet (Cory Fields) f96c7c4 net: Split resolving out of CService (Cory Fields) 31d6b1d net: Split resolving out of CNetAddr (Cory Fields) | |||
2016-08-14 | various typos | leijurv | |
2016-08-05 | Move AdvertiseLocal debug output to net category | Michael Rotarius | |
2016-08-04 | net: Have LookupNumeric return a CService directly | Cory Fields | |
Also fix up a few small issues: - Lookup with "badip:port" now sets the port to 0 - Don't allow assert to have side-effects | |||
2016-08-04 | Merge #8392: Fix several node initialization issues | Wladimir J. van der Laan | |
9d4eb9a Do diskspace check before import thread is started (Pieter Wuille) aa59f2e Add extra message to avoid a long 'Loading banlist' (Pieter Wuille) 0fd2a33 Use a signal to continue init after genesis activation (Pieter Wuille) | |||
2016-08-03 | Merge #8189: rename mapAddrCount to mapNetGroupNodes | Wladimir J. van der Laan | |
657fc19 rename mapAddrCount to mapNetGroupNodes (instagibbs) | |||
2016-07-31 | net: narrow include scope after moving to netaddress | Cory Fields | |
Net functionality is no longer needed for CAddress/CAddrman/etc. now that CNetAddr/CService/CSubNet are dumb storage classes. | |||
2016-07-31 | net: Split resolving out of CService | Cory Fields | |
2016-07-31 | net: Split resolving out of CNetAddr | Cory Fields | |
2016-07-30 | Add extra message to avoid a long 'Loading banlist' | Pieter Wuille | |
2016-06-22 | BIP141: Other consensus critical limits, and BIP145 | Pieter Wuille | |
Includes changes by Suhas Daftuar, Luke-jr, and mruddy. | |||
2016-06-22 | BIP144: Handshake and relay (receiver side) | Pieter Wuille | |
Service bit logic by Nicolas Dorier. Only download blocks from witness peers after fork. | |||
2016-06-19 | Add ability to fetch CNode by NodeId | Matt Corallo | |
2016-06-16 | Merge #8113: Rework addnode behaviour | Wladimir J. van der Laan | |
1a5a4e6 Randomize name lookup result in ConnectSocketByName (Pieter Wuille) f9f5cfc Prevent duplicate connections where one is by name and another by ip (Pieter Wuille) 1111b80 Rework addnode behaviour (Pieter Wuille) | |||
2016-06-16 | Merge #8084: Add recently accepted blocks and txn to AttemptToEvictConnection. | Wladimir J. van der Laan | |
6ee7f05 Allow disconnecting a netgroup with only one member in eviction. (Gregory Maxwell) 5d0ca81 Add recently accepted blocks and txn to AttemptToEvictConnection. (Gregory Maxwell) | |||
2016-06-15 | Allow disconnecting a netgroup with only one member in eviction. | Gregory Maxwell | |
With the latest additions there are enough protective measures that we can take the training wheels off. | |||
2016-06-15 | Add recently accepted blocks and txn to AttemptToEvictConnection. | Gregory Maxwell | |
This protects any not-already-protected peers who were the most recent four to relay transactions and most recent four to send blocks to us. | |||
2016-06-15 | Do not set extra flags for unfiltered DNS seed results | Pieter Wuille | |
2016-06-13 | Prevent duplicate connections where one is by name and another by ip | Pieter Wuille | |
2016-06-13 | Rework addnode behaviour | Pieter Wuille | |
* Use CNode::addeName to track whether a connection to a name is already open * A new connection to a previously-connected by-name addednode is only opened when the previous one closes (even if the name starts resolving to something else) * At most one connection is opened per addednode (even if the name resolves to multiple) * Unify the code between ThreadOpenAddedNodeConnections and getaddednodeinfo * Information about open connections is always returned, and the dns argument becomes a dummy * An IP address and inbound/outbound is only reported for the (at most 1) open connection | |||
2016-06-13 | Introduce REQUIRED_SERVICES constant | Pieter Wuille | |
2016-06-13 | Introduce enum ServiceFlags for service flags | Pieter Wuille | |
2016-06-13 | Don't require services in -addnode | Pieter Wuille | |
2016-06-13 | Only store and connect to NODE_NETWORK nodes | Pieter Wuille | |
2016-06-13 | Verify that outbound connections have expected services | Pieter Wuille | |