aboutsummaryrefslogtreecommitdiff
path: root/src/test/net_tests.cpp
AgeCommit message (Expand)Author
2022-02-04Merge bitcoin/bitcoin#23604: Use Sock in CNodelaanwj
2022-01-28net: use Sock in CNodeVasil Dimov
2022-01-19scripted-diff: rename cs_mapLocalHost -> g_maplocalhost_mutexw0xlt
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-03Merge bitcoin/bitcoin#23413: Replace MakeSpan helper with Span deduction guideMarcoFalke
2021-11-29Replace MakeSpan helper with Span deduction guidePieter Wuille
2021-11-19scripted-diff: Use clang-tidy syntax for C++ named argumentsMarcoFalke
2021-08-26Merge bitcoin/bitcoin#22648: doc, test: improve i2p/tor docs and i2p reachabl...W. J. van der Laan
2021-08-19Add I2P network SetReachable/IsReachable unit test assertionsJon Atack
2021-08-17[MOVEONLY] [tests] Move addrman ser/deser tests to addrman_tests.cppJohn Newbery
2021-08-15[addrman] Merge the two Add() functionsAmiti Uttarwar
2021-08-12[addrman] Make addrman consistency checks a runtime optionJohn Newbery
2021-08-05[addrman] Add deterministic argument to CAddrMan ctorJohn Newbery
2021-07-23Add missing GUARDED_BY to CAddrMan::insecure_randMarcoFalke
2021-05-28p2p: remove torv2 from SetNetFromBIP155Network()Jon Atack
2021-05-28p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2Jon Atack
2021-05-27p2p: remove torv2/ADDR_TORV2_SIZE from SetTor()Jon Atack
2021-05-18net: Return IPv6 scope id in `CNetAddr::ToStringIP()`W. J. van der Laan
2021-04-15test: Remove intermittently failing and not very meaningful `BOOST_CHECK` in ...practicalswift
2021-03-30Merge #20197: p2p: protect onions in AttemptToEvictConnection(), add eviction...Wladimir J. van der Laan
2021-03-19tests: Add test for CNetAddr::ToString IPv6 address formatting (RFC 5952)practicalswift
2021-03-19Merge #21328: net, refactor: pass uint16 CService::port as uint16MarcoFalke
2021-03-19Move peer eviction tests to a separate test fileJon Atack
2021-03-17refactor: post Optional<> removal cleanupsfanquake
2021-03-16test: add missing netaddress include headersJon Atack
2021-03-16p2p, refactor: pass and use uint16_t CService::port as uint16_tJon Atack
2021-03-15scripted-diff: remove Optional & nulloptfanquake
2021-03-11scripted-diff: remove MakeUnique<T>()fanquake
2021-03-03Make all Poisson delays use std::chrono typesPieter Wuille
2021-03-03Change all ping times to std::chrono typesPieter Wuille
2021-03-01net: extend CNetAddr::SetSpecial() to support I2PVasil Dimov
2021-02-18[net] Change AdvertiseLocal to GetLocalAddrForPeerJohn Newbery
2021-02-15scripted-diff: rename ping membersJohn Newbery
2021-02-12net: remove CNode::m_inbound_onion defaults for explicitnessJon Atack
2021-02-12net: make CNode::m_inbound_onion public, drop getter, update testsJon Atack
2021-01-02refactor: Remove nMyStartingHeight from CNode/ConnmanMarcoFalke
2020-12-17net: add CNode::IsInboundOnion() public getter and unit testsJon Atack
2020-12-17test, fuzz: fix constructing CNode with invalid inbound_onionJon Atack
2020-12-16Merge #20477: net: Add unit testing of node eviction logicMarcoFalke
2020-12-16Assert eviction at >= 29 candidates. Assert non-eviction at <= 20 candidates.practicalswift
2020-12-16test: Add unit testing of node eviction logicpracticalswift
2020-12-14Check if Cjdns address is validLucas Ontivero
2020-12-06Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref t...practicalswift
2020-11-20Merge #20000: test: fix creation of "std::string"s with \0sWladimir J. van der Laan
2020-10-31test: fix creation of std::string objects with \0sVasil Dimov
2020-10-12Merge #19998: net: Add CNode::ConnectedThroughNetwork member functionWladimir J. van der Laan
2020-10-11Merge #19954: Complete the BIP155 implementation and upgrade to TORv3fanquake
2020-10-09net: advertise support for ADDRv2 via new messageVasil Dimov
2020-10-03test: Add tests for CNode::ConnectedThroughNetworkHennadii Stepanov
2020-10-02test: add test coverage for CNetAddr ipv6 scoped addressesJon Atack