Commit Graph

399 Commits (604e08c83cf58ca7e7cda2ab284c1ace7bb12977)

Author SHA1 Message Date
practicalswift bfb0c0a5b7 Add Clang thread safety analysis annotations
7 years ago
practicalswift 63f21d27ee net: Add missing locks in net.{cpp,h}
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
practicalswift f72cbf9ba9 Use unique_ptr for pfilter (CBloomFilter)
7 years ago
practicalswift 8ccf1bb0c3 Use unique_ptr for sem{Addnode,Outbound} (CSemaphore)
7 years ago
João Barbosa 83df25736e Add CConnmanTest to mutate g_connman in tests
7 years ago
Suhas Daftuar 2d4327db19 net: Allow connecting to extra outbound peers
7 years ago
Matt Corallo 57edc0b0c8 Rename fAddnode to a more-descriptive "manual_connection"
7 years ago
Matt Corallo 44407100ff Replace relevant services logic with a function suite.
7 years ago
Pieter Wuille 8776787108
Merge #11301: add m_added_nodes to connman options
7 years ago
Dan Raviv 2a07f878a8 Refactor: Modernize disallowed copy constructors/assignment
7 years ago
Marko Bencun 605918272c add m_added_nodes to connman options
7 years ago
Cory Fields 80e2e9d0ce net: drop unused connman param
7 years ago
Cory Fields 8ad663c1fa net: use an interface class rather than signals for message processing
7 years ago
Cory Fields 28f11e9406 net: pass CConnman via pointer rather than reference
7 years ago
Wladimir J. van der Laan 6866b4912b
Merge #10596: Add vConnect to CConnman::Options
7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL
7 years ago
practicalswift 11dd29b658 [net] Fix use of uninitialized value in getnetworkinfo(const JSONRPCRequest& request)
7 years ago
Marko Bencun f228b8e163 remove some unused functions
7 years ago
Marko Bencun 352d582ba2 Add vConnect to CConnman::Options
7 years ago
Wladimir J. van der Laan 6dbcc74a0e
Merge #10193: scripted-diff: Remove #include <boost/foreach.hpp>
7 years ago
Jorge Timón 5995735c5b
scripted-diff: Remove #include <boost/foreach.hpp>
8 years ago
Marko Bencun 07b2afef10 add Binds, WhiteBinds to CConnman::Options
8 years ago
Marko Bencun ce79f32518 add WhitelistedRange to CConnman::Options
8 years ago
practicalswift 4087d9ea7c Remove unnecessary forward class declarations in header files
8 years ago
Wladimir J. van der Laan a7e3c2814c rpc: Add listen address to incoming connections in `getpeerinfo`
8 years ago
Pavlos Antoniou 5f672ca8c1 net: Denote some CNode functions const
8 years ago
Marko Bencun 5d67526026 add SeedNodes to CConnman::Options
8 years ago
Wladimir J. van der Laan 08a7316c14
Merge #9279: Consensus: Move CFeeRate out of libconsensus
8 years ago
Cory Fields 0f3471f3ad net: make CNode's id private
8 years ago
Jorge Timón 381a46e38f
Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus module
8 years ago
Wladimir J. van der Laan 9c94fb6c32
Merge #9930: Trivial: Correct indentation and bracing
8 years ago
Wladimir J. van der Laan 342b9bc390
Merge #9792: FastRandomContext improvements and switch to ChaCha20
8 years ago
Wladimir J. van der Laan 86ea3c2ff2
Merge #10181: Include cleanup
8 years ago
Wladimir J. van der Laan cf8a8b1028
Merge #10176: net: gracefully handle NodeId wrapping
8 years ago
Jorge Timón a1fd450328
Trivial: Remove unneeded includes from .h:
8 years ago
Cory Fields c851be4b25 net: define NodeId as an int64_t
8 years ago
Wladimir J. van der Laan 7d5172d354 Replace includes of boost/filesystem.h with fs.h
8 years ago
Matthias Grundmann 31a14d4909
Correct indentation and remove unnecessary braces
8 years ago
Pieter Wuille 4fd2d2fc97 Add a FastRandomContext::randrange and use it
8 years ago
practicalswift 8dc957ae06 Remove unused code
8 years ago
Matt Corallo db2dc7a58c Move CNode::addrLocal access behind locked accessors
8 years ago
Matt Corallo 036073bf87 Move CNode::addrName accesses behind locked accessors
8 years ago
Matt Corallo 22b4966a29 Move [clean|str]SubVer writes/copyStats into a lock
8 years ago
Matt Corallo 0f31872615 Make nServices atomic
8 years ago
Matt Corallo 96f42d8a12 Make nStartingHeight atomic
8 years ago
Matt Corallo 644f1234e2 Make nTimeConnected const in CNode
8 years ago
Cory Fields 321d0fc6b6 net: fix a few races. Credit @TheBlueMatt
8 years ago
Cory Fields 9a0b784dea net: add a lock around hSocket
8 years ago
Wladimir J. van der Laan 09e0c28f85
Merge #9659: Net: Turn some methods and params/variables const
8 years ago