34 Commits (17c4d9d1647bbac4b0557136b1c3d98c951feb79)

Author SHA1 Message Date
EthanHeilman 1534d9a83c Creates unittests for addrman, makes addrman testable. 9 years ago
Pieter Wuille c33c11ebac Improve addrman Select() performance when buckets are nearly empty 9 years ago
Philip Kaufmann 26a639e21f remove using namespace std from addrman.cpp 10 years ago
Gregory Maxwell a784f90c98 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. 10 years ago
Pieter Wuille 1d5b47a903 nLastTry is only used for addrman entries 10 years ago
Pieter Wuille c6a63ceeb4 Always use a 50% chance to choose between tried and new entries 10 years ago
Pieter Wuille f68ba3f67b Do not bias outgoing connections towards fresh addresses 10 years ago
Pieter Wuille a8ff7c62ed Simplify hashing code 10 years ago
Pieter Wuille e6b343d880 Make addrman's bucket placement deterministic. 10 years ago
Pieter Wuille b23add5521 Switch addrman key from vector to uint256 10 years ago
Pieter Wuille 9c2737901b Reduce fingerprinting through timestamps in 'addr' messages. 10 years ago
Wladimir J. van der Laan 807658549c Replace GetLow64 with GetCheapHash 10 years ago
Michael Ford 24f5c94015 Update comments in addrman to be doxygen compatible 10 years ago
Cory Fields fa7361907a boost: split stream classes out of serialize.h 10 years ago
Pieter Wuille 20e01b1a03 Apply clang-format on some infrequently-updated files 10 years ago
Teran McKinney f79323b0dd
Improve readability of CAddrInfo::IsTerrible 10 years ago
Jeff Garzik 3a56de7fc3 addrman: Do not propagate obviously poor addresses onto the network 10 years ago
Wladimir J. van der Laan 7d9d134bf9 Remove redundant .c_str()s 11 years ago
Thomas Holenstein e85e19be06 Changed Get64(.) to GetLow64() 11 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations. 11 years ago
Gavin Andresen 881a85a22d Replace printf with LogPrintf / LogPrint 11 years ago
Pieter Wuille 0fb9073edd Split off hash.h from util.h 12 years ago
Jeff Garzik ea0796bde3 Trim trailing whitespace for src/*.{h,cpp} 12 years ago
Philip Kaufmann 30c8a40847 fix a comment in addrman.cpp 12 years ago
Fordy 3a25a2b9b0 Update License in File Headers 13 years ago
Pieter Wuille f621326c24 Clean up warnings 13 years ago
Pieter Wuille 56f1e91239 Fix addrman crashes 13 years ago
Pieter Wuille 29a86a1735 Add extra asserts to addrman 13 years ago
Pieter Wuille 6b6aaa1698 Further reduce header dependencies 13 years ago
Jeff Garzik c376ac359e Fix loop index var types, fixing many minor sign comparison warnings 13 years ago
Wladimir J. van der Laan 6642ffb761 fix warnings: '&&' within '||' [-Wlogical-op-parentheses] 13 years ago
Pieter Wuille 5fee401fe1 CAddrMan: stochastic address manager 13 years ago