aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;practicalswift2017-02-071-5/+1
* Merge #9532: Remove unused variablesWladimir J. van der Laan2017-02-071-3/+0
|\
| * Remove unused int64_t nSinceLastSeenpracticalswift2017-01-131-3/+0
* | [trivial] Fix typos in commentspracticalswift2017-01-271-1/+1
|/
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
* Kill insecure_random and associated global stateWladimir J. van der Laan2016-10-171-4/+4
* Do not set an addr time penalty when a peer advertises itself.Gregory Maxwell2016-09-031-0/+5
* Introduce enum ServiceFlags for service flagsPieter Wuille2016-06-131-2/+2
* Keep addrman's nService bits consistent with outbound observationsPieter Wuille2016-06-131-0/+18
* Do not increment nAttempts by more than one for every Good connection.Gregory Maxwell2016-05-261-1/+7
* Avoid counting failed connect attempts when probably offline.Gregory Maxwell2016-05-261-2/+2
* Merge #7212: Adds unittests for CAddrMan and CAddrinfo, removes source of non...Wladimir J. van der Laan2016-01-281-10/+14
|\
| * Increase test coverage for addrman and addrinfoEthan Heilman2016-01-271-10/+14
* | Add missing copyright headersMarcoFalke2016-01-051-0/+1
|/
* Creates unittests for addrman, makes addrman testable.EthanHeilman2015-09-241-2/+6
* Improve addrman Select() performance when buckets are nearly emptyPieter Wuille2015-08-261-4/+8
* remove using namespace std from addrman.cppPhilip Kaufmann2015-06-151-5/+3
* Merge pull request #6028Wladimir J. van der Laan2015-04-241-2/+2
|\
| * nLastTry is only used for addrman entriesPieter Wuille2015-04-191-2/+2
* | Cap nAttempts penalty at 8 and switch to pow instead of a division loop.Gregory Maxwell2015-04-191-3/+2
|/
* Always use a 50% chance to choose between tried and new entriesPieter Wuille2015-03-231-4/+3
* Do not bias outgoing connections towards fresh addressesPieter Wuille2015-03-231-2/+0
* Simplify hashing codePieter Wuille2015-03-231-21/+5
* Make addrman's bucket placement deterministic.Pieter Wuille2015-03-231-146/+124
* Switch addrman key from vector to uint256Pieter Wuille2015-03-231-6/+8
* Reduce fingerprinting through timestamps in 'addr' messages.Pieter Wuille2015-03-171-1/+2
* Replace GetLow64 with GetCheapHashWladimir J. van der Laan2015-01-051-4/+4
* Merge pull request #5119Pieter Wuille2014-10-271-0/+1
|\
| * boost: split stream classes out of serialize.hCory Fields2014-10-221-0/+1
* | Update comments in addrman to be doxygen compatibleMichael Ford2014-10-241-4/+4
|/
* Apply clang-format on some infrequently-updated filesPieter Wuille2014-09-191-115/+110
* Improve readability of CAddrInfo::IsTerribleTeran McKinney2014-09-051-3/+3
* addrman: Do not propagate obviously poor addresses onto the networkJeff Garzik2014-08-181-4/+10
* Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-1/+1
* Changed Get64(.) to GetLow64()Thomas Holenstein2013-12-251-4/+4
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-17/+19
* Replace printf with LogPrintf / LogPrintGavin Andresen2013-09-181-4/+1
* Split off hash.h from util.hPieter Wuille2012-12-181-0/+1
* Trim trailing whitespace for src/*.{h,cpp}Jeff Garzik2012-09-181-2/+2
* fix a comment in addrman.cppPhilip Kaufmann2012-08-181-1/+1
* Update License in File HeadersFordy2012-05-181-1/+1
* Clean up warningsPieter Wuille2012-05-091-3/+2
* Fix addrman crashesPieter Wuille2012-05-051-2/+5
* Add extra asserts to addrmanPieter Wuille2012-05-051-0/+19
* Further reduce header dependenciesPieter Wuille2012-04-171-4/+4
* Fix loop index var types, fixing many minor sign comparison warningsJeff Garzik2012-04-151-2/+2
* fix warnings: '&&' within '||' [-Wlogical-op-parentheses]Wladimir J. van der Laan2012-04-151-1/+1
* CAddrMan: stochastic address managerPieter Wuille2012-02-241-0/+506