aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.cpp
AgeCommit message (Expand)Author
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-11-30Merge #10493: Use range-based for loops (C++11) when looping over map elementsMarcoFalke
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
2017-10-09Use range-based for loops (C++11) when looping over map elementspracticalswift
2017-08-07scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal in...practicalswift
2017-04-24Merge #9792: FastRandomContext improvements and switch to ChaCha20Wladimir J. van der Laan
2017-04-01Change LogAcceptCategory to use uint32_t rather than sets of strings.Gregory Maxwell
2017-03-29Switch FastRandomContext to ChaCha20Pieter Wuille
2017-02-07Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;practicalswift
2017-02-07Merge #9532: Remove unused variablesWladimir J. van der Laan
2017-01-27[trivial] Fix typos in commentspracticalswift
2017-01-13Remove unused int64_t nSinceLastSeenpracticalswift
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
2016-10-17Kill insecure_random and associated global stateWladimir J. van der Laan
2016-09-03Do not set an addr time penalty when a peer advertises itself.Gregory Maxwell
2016-06-13Introduce enum ServiceFlags for service flagsPieter Wuille
2016-06-13Keep addrman's nService bits consistent with outbound observationsPieter Wuille
2016-05-26Do not increment nAttempts by more than one for every Good connection.Gregory Maxwell
2016-05-26Avoid counting failed connect attempts when probably offline.Gregory Maxwell
2016-01-28Merge #7212: Adds unittests for CAddrMan and CAddrinfo, removes source of non...Wladimir J. van der Laan
2016-01-27Increase test coverage for addrman and addrinfoEthan Heilman
2016-01-05Add missing copyright headersMarcoFalke
2015-09-24Creates unittests for addrman, makes addrman testable.EthanHeilman
2015-08-26Improve addrman Select() performance when buckets are nearly emptyPieter Wuille
2015-06-15remove using namespace std from addrman.cppPhilip Kaufmann
2015-04-24Merge pull request #6028Wladimir J. van der Laan
2015-04-19Cap nAttempts penalty at 8 and switch to pow instead of a division loop.Gregory Maxwell
2015-04-19nLastTry is only used for addrman entriesPieter Wuille
2015-03-23Always use a 50% chance to choose between tried and new entriesPieter Wuille
2015-03-23Do not bias outgoing connections towards fresh addressesPieter Wuille
2015-03-23Simplify hashing codePieter Wuille
2015-03-23Make addrman's bucket placement deterministic.Pieter Wuille
2015-03-23Switch addrman key from vector to uint256Pieter Wuille
2015-03-17Reduce fingerprinting through timestamps in 'addr' messages.Pieter Wuille
2015-01-05Replace GetLow64 with GetCheapHashWladimir J. van der Laan
2014-10-27Merge pull request #5119Pieter Wuille
2014-10-24Update comments in addrman to be doxygen compatibleMichael Ford
2014-10-22boost: split stream classes out of serialize.hCory Fields
2014-09-19Apply clang-format on some infrequently-updated filesPieter Wuille
2014-09-05Improve readability of CAddrInfo::IsTerribleTeran McKinney
2014-08-18addrman: Do not propagate obviously poor addresses onto the networkJeff Garzik
2014-01-23Remove redundant .c_str()sWladimir J. van der Laan
2013-12-25Changed Get64(.) to GetLow64()Thomas Holenstein
2013-11-10Cleanup code using forward declarations.Brandon Dahler
2013-09-18Replace printf with LogPrintf / LogPrintGavin Andresen
2012-12-18Split off hash.h from util.hPieter Wuille
2012-09-18Trim trailing whitespace for src/*.{h,cpp}Jeff Garzik
2012-08-18fix a comment in addrman.cppPhilip Kaufmann
2012-05-18Update License in File HeadersFordy
2012-05-09Clean up warningsPieter Wuille