aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | net: move SendBufferSize/ReceiveFloodSize to CConnmanCory Fields2016-09-083-10/+23
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | net: move send/recv statistics to CConnmanCory Fields2016-09-086-84/+99
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | net: SocketSendData returns written sizeCory Fields2016-09-082-2/+5
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | net: move messageHandlerCondition to CConnmanCory Fields2016-09-082-5/+9
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | 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 #8677: Do not shadow upper local variable 'send', prevent -Wshadow ↵Wladimir J. van der Laan2016-09-091-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiler warning. 125b946 Do not shadow upper local variable 'send', prevent -Wshadow compiler warning. (Pavel Janík)
| * | | | | | | | | | | | | | | | | | | Do not shadow upper local variable 'send', prevent -Wshadow compiler warning.Pavel Janík2016-09-071-3/+3
| | |_|_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge #8680: Address Travis spurious failuresWladimir J. van der Laan2016-09-094-0/+162
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6a5dc4 add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests (Cory Fields)
| * | | | | | | | | | | | | | | | | | | add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for testsCory Fields2016-09-074-0/+162
| |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waitfornewblock waits until a new block is received, or the timeout expires, then returns the current block height/hash. waitforblock waits for a specific blockhash, or until the timeout expires, then returns the current block height/hash. If the target blockhash is the current tip, it will return immediately. waitforblockheight waits until the tip has reached a certain height or higher, then returns the current height and hash. waitforblockheight is used to avoid polling in the rpc tests.
* | | | | | | | | | | | | | | | | | | Merge #8525: Do not store witness txn in rejection cacheWladimir J. van der Laan2016-09-091-8/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ca10a03 Add basic test for IsStandard witness transaction blinding (instagibbs) 34521e4 Do not store witness txn in rejection cache (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | Do not store witness txn in rejection cachePieter Wuille2016-09-051-8/+12
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | 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)