Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-08 | net: pass CClientUIInterface into CConnman | Cory Fields | |
2016-09-08 | net: Pass best block known height into CConnman | Cory Fields | |
CConnman then passes the current best height into CNode at creation time. This way CConnman/CNode have no dependency on main for height, and the signals only move in one direction. This also helps to prevent identity leakage a tiny bit. Before this change, an attacker could theoretically make 2 connections on different interfaces. They would connect fully on one, and only establish the initial connection on the other. Once they receive a new block, they would relay it to your first connection, and immediately commence the version handshake on the second. Since the new block height is reflected immediately, they could attempt to learn whether the two connections were correlated. This is, of course, incredibly unlikely to work due to the small timings involved and receipt from other senders. But it doesn't hurt to lock-in nBestHeight at the time of connection, rather than letting the remote choose the time. | |||
2016-09-08 | net: move max/max-outbound to CConnman | Cory Fields | |
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 CConnection to wallet rather than using the global | Cory Fields | |
2016-09-08 | net: Pass CConnman around as needed | Cory Fields | |
2016-09-08 | net: Add rpc error for missing/disabled p2p functionality | 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-08 | gui: add NodeID to the peer table | Cory Fields | |
2016-09-08 | Merge #8671: Minimal fix to slow prevector tests as stopgap measure | MarcoFalke | |
f71d4a3 Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin) | |||
2016-09-07 | Merge #8673: Trivial: Fix obvious assignment/equality error in test | MarcoFalke | |
426e7bc Fix obvious assignment/equality error in test (Jeremy Rubin) | |||
2016-09-07 | Merge #8594: Do not add random inbound peers to addrman. | Pieter Wuille | |
eb3596f Do not add random inbound peers to addrman. (Gregory Maxwell) | |||
2016-09-07 | Merge #8606: Fix some locks | Pieter Wuille | |
144ed76 Fix some locks (Pieter Wuille) | |||
2016-09-06 | Fix obvious assignment/equality error in test | Jeremy Rubin | |
2016-09-06 | Minimal fix to slow prevector tests as stopgap measure | Jeremy Rubin | |
2016-09-06 | Merge #8645: Remove unused Qt 4.6 patch. | Wladimir J. van der Laan | |
38acbf8 Remove unused Qt 4.6 patch. (Doug) | |||
2016-09-06 | Merge #8663: trivial: remove unnecessary variable fDaemon | Wladimir J. van der Laan | |
ff2ed7a trivial: remove unnecessary variable fDaemon (mruddy) | |||
2016-09-05 | Merge #8651: Predeclare PrecomputedTransactionData as struct | Pieter Wuille | |
4424af5 Predeclare PrecomputedTransactionData as sturct (Pieter Wuille) | |||
2016-09-04 | trivial: remove unnecessary variable fDaemon | mruddy | |
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-09-02 | Merge #8449: [Trivial] Do not shadow local variable, cleanup | Wladimir J. van der Laan | |
a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík) | |||
2016-09-02 | Predeclare PrecomputedTransactionData as sturct | Pieter Wuille | |
2016-09-02 | Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/ | Wladimir J. van der Laan | |
cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón) | |||
2016-09-02 | Merge #8272: Make the dummy argument to getaddednodeinfo optional | Wladimir J. van der Laan | |
854f1af Make the dummy argument to getaddednodeinfo optional (Pieter Wuille) | |||
2016-09-01 | Remove unused Qt 4.6 patch. | Doug | |
Core no longer supports Qt 4. Therefore, the STL fix patch isn't needed. | |||
2016-09-01 | C++11: s/boost::scoped_ptr/std::unique_ptr/ | Jorge Timón | |
2016-09-01 | Make the dummy argument to getaddednodeinfo optional | Pieter Wuille | |
2016-09-01 | Merge #8638: rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST | Wladimir J. van der Laan | |
f012a85 rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST (djpnewton) | |||
2016-09-01 | Merge #8557: [contrib] Rework verifybinaries | Wladimir J. van der Laan | |
faaed88 [contrib] verifybinaries: Mention mandatory preparation step (MarcoFalke) fa917f6 [contrib] verifybinaries: Keep downloads by default (MarcoFalke) fab1f92 [contrib] verifybinaries: Adjust parsing to new rc path (MarcoFalke) | |||
2016-09-01 | Merge #8472: Do not shadow LOCK's criticalblock variable for LOCK inside LOCK | Wladimir J. van der Laan | |
33d15a3 Do not shadow LOCK's criticalblock variable for LOCK inside LOCK (Pavel Janík) | |||
2016-09-01 | Merge #8640: [depends] Remove Qt46 package | Wladimir J. van der Laan | |
3e7d2a2 [depends] Remove Qt46 package (Michael Ford) | |||
2016-09-01 | Merge #8524: Precompute sighashes | Pieter Wuille | |
35fe039 Rename to PrecomputedTransactionData (Pieter Wuille) ab48c5e Unit test for sighash caching (Nicolas DORIER) d2c5d04 Precompute sighashes (Pieter Wuille) | |||
2016-09-01 | rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST | djpnewton | |