aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* net: move nLocalHostNonce to CConnmanCory Fields2016-09-083-4/+19
| | | | | | | | 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.
* net: move nLastNodeId to CConnmanCory Fields2016-09-084-23/+25
|
* net: move whitelist functions into CConnmanCory Fields2016-09-083-15/+12
|
* net: create generic functor accessors and move vNodes to CConnmanCory Fields2016-09-087-73/+164
|
* net: Add most functions needed for vNodes to CConnmanCory Fields2016-09-088-48/+123
|
* net: move added node functions to CConnmanCory Fields2016-09-083-28/+46
|
* net: Add oneshot functions to CConnmanCory Fields2016-09-083-6/+5
|
* net: move ban and addrman functions into CConnmanCory Fields2016-09-087-132/+174
|
* net: handle nodesignals in CConnmanCory Fields2016-09-084-19/+31
|
* net: move OpenNetworkConnection into CConnmanCory Fields2016-09-083-4/+9
|
* net: Move socket binding into CConnmanCory Fields2016-09-083-15/+18
|
* net: Pass CConnection to wallet rather than using the globalCory Fields2016-09-087-20/+30
|
* net: Pass CConnman around as neededCory Fields2016-09-089-32/+34
|
* net: Add rpc error for missing/disabled p2p functionalityCory Fields2016-09-081-0/+1
|
* net: Create CConnman to encapsulate p2p connectionsCory Fields2016-09-086-54/+112
|
* net: move CBanDB and CAddrDB out of net.h/cppCory Fields2016-09-085-292/+323
| | | | This will eventually solve a circular dependency
* gui: add NodeID to the peer tableCory Fields2016-09-085-12/+17
|
* Merge #8671: Minimal fix to slow prevector tests as stopgap measureMarcoFalke2016-09-081-19/+43
|\ | | | | | | f71d4a3 Minimal fix to slow prevector tests as stopgap measure (Jeremy Rubin)
| * Minimal fix to slow prevector tests as stopgap measureJeremy Rubin2016-09-061-19/+43
| |
* | Merge #8673: Trivial: Fix obvious assignment/equality error in testMarcoFalke2016-09-071-1/+1
|\ \ | | | | | | | | | 426e7bc Fix obvious assignment/equality error in test (Jeremy Rubin)
| * | Fix obvious assignment/equality error in testJeremy Rubin2016-09-061-1/+1
| |/
* | Merge #8594: Do not add random inbound peers to addrman.Pieter Wuille2016-09-071-6/+0
|\ \ | | | | | | | | | eb3596f Do not add random inbound peers to addrman. (Gregory Maxwell)
| * | Do not add random inbound peers to addrman.Gregory Maxwell2016-08-251-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should learn about new peers via address messages. An inbound peer connecting to us tells us nothing about its ability to accept incoming connections from us, so we shouldn't assume that we can connect to it based on this. The vast majority of nodes on the network do not accept incoming connections, adding them will only slow down the process of making a successful connection in the future. Nodes which have configured themselves to not announce would prefer we not violate their privacy by announcing them in GETADDR responses.
* | | Merge #8606: Fix some locksPieter Wuille2016-09-071-15/+21
|\ \ \ | |_|/ |/| | | | | 144ed76 Fix some locks (Pieter Wuille)
| * | Fix some locksPieter Wuille2016-08-261-15/+21
| | | | | | | | | | | | | | | This makes sure that cs_filter is never held while taking cs_main or CNode::cs_vSend.
* | | Merge #8663: trivial: remove unnecessary variable fDaemonWladimir J. van der Laan2016-09-062-5/+1
|\ \ \ | | | | | | | | | | | | ff2ed7a trivial: remove unnecessary variable fDaemon (mruddy)
| * | | trivial: remove unnecessary variable fDaemonmruddy2016-09-042-5/+1
| | | |
* | | | Merge #8651: Predeclare PrecomputedTransactionData as structPieter Wuille2016-09-051-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | 4424af5 Predeclare PrecomputedTransactionData as sturct (Pieter Wuille)
| * | | Predeclare PrecomputedTransactionData as sturctPieter Wuille2016-09-021-1/+1
| | | |
* | | | Merge #8466: [Trivial] Do not shadow variables in networking codeWladimir J. van der Laan2016-09-025-13/+13
|\ \ \ \ | | | | | | | | | | | | | | | b7c349d Do not shadow variables in networking code (Pavel Janík)
| * | | | Do not shadow variables in networking codePavel Janík2016-08-155-13/+13
| | | | |
* | | | | Merge #8449: [Trivial] Do not shadow local variable, cleanupWladimir J. van der Laan2016-09-022-5/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | a159f25 Remove redundand (and shadowing) declaration (Pavel Janík) cce3024 Do not shadow local variable, cleanup (Pavel Janík)
| * | | | Remove redundand (and shadowing) declarationPavel Janík2016-08-051-1/+0
| | | | |
| * | | | Do not shadow local variable, cleanupPavel Janík2016-08-031-4/+4
| | | | |
* | | | | Merge #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/Wladimir J. van der Laan2016-09-029-12/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
| * | | | | C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón2016-09-019-12/+11
| | | | | |
* | | | | | Make the dummy argument to getaddednodeinfo optionalPieter Wuille2016-09-012-7/+5
| | | | | |
* | | | | | Merge #8638: rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUESTWladimir J. van der Laan2016-09-011-7/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | f012a85 rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST (djpnewton)
| * | | | | | rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUESTdjpnewton2016-09-011-7/+7
| | | | | | |
* | | | | | | Merge #8472: Do not shadow LOCK's criticalblock variable for LOCK inside LOCKWladimir J. van der Laan2016-09-011-1/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 33d15a3 Do not shadow LOCK's criticalblock variable for LOCK inside LOCK (Pavel Janík)
| * | | | | | | Do not shadow LOCK's criticalblock variable for LOCK inside LOCKPavel Janík2016-08-061-1/+4
| | | | | | | |
* | | | | | | | Merge #8524: Precompute sighashesPieter Wuille2016-09-018-38/+159
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35fe039 Rename to PrecomputedTransactionData (Pieter Wuille) ab48c5e Unit test for sighash caching (Nicolas DORIER) d2c5d04 Precompute sighashes (Pieter Wuille)
| * | | | | | | Rename to PrecomputedTransactionDataPieter Wuille2016-08-268-39/+39
| | | | | | | |
| * | | | | | | Unit test for sighash cachingNicolas DORIER2016-08-161-0/+81
| | | | | | | |
| * | | | | | | Precompute sighashesPieter Wuille2016-08-168-38/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
* | | | | | | | Merge #8612: Check for compatibility with download in FindNextBlocksToDownloadWladimir J. van der Laan2016-08-311-9/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 887919c Check for compatibility with download in FindNextBlocksToDownload (Pieter Wuille)
| * | | | | | | | Check for compatibility with download in FindNextBlocksToDownloadPieter Wuille2016-08-261-9/+11
| | | | | | | | |
* | | | | | | | | Merge #8191: Do not shadow variables in src/walletWladimir J. van der Laan2016-08-314-15/+15
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b175cb7 Do not shadow variables. (Pavel Janík)
| * | | | | | | | | Do not shadow variables.Pavel Janík2016-08-314-15/+15
| | | | | | | | | |
* | | | | | | | | | Merge #8291: [util] CopyrightHolders: Check for untranslated substitutionWladimir J. van der Laan2016-08-311-5/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | 33336e1 [util] CopyrightHolders: Check for untranslated substitution (MarcoFalke)