59 Commits (master)

Author SHA1 Message Date
SHI c93b275591 Rename all 5 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017 5 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky) 5 years ago
practicalswift 6eddd43e6d Fix warnings when building with DEBUG_ADDRMAN 5 years ago
practicalswift 680bc2cbb3 Use range-based for loops (C++11) when looping over map elements 5 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 5 years ago
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings. 6 years ago
Pieter Wuille 16329224e7 Switch FastRandomContext to ChaCha20 6 years ago
practicalswift a47da4b6fe Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0; 6 years ago
practicalswift cc16d99f1d [trivial] Fix typos in comments 6 years ago
practicalswift 90fd29bd0d Remove unused int64_t nSinceLastSeen 6 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016 6 years ago
Wladimir J. van der Laan 5eaaa83ac1 Kill insecure_random and associated global state 6 years ago
Gregory Maxwell 6d0ced1865 Do not set an addr time penalty when a peer advertises itself. 6 years ago
Pieter Wuille ee06e04369 Introduce enum ServiceFlags for service flags 6 years ago
Pieter Wuille 3764dec36c Keep addrman's nService bits consistent with outbound observations 6 years ago
Gregory Maxwell 6182d10503 Do not increment nAttempts by more than one for every Good connection. 6 years ago
Gregory Maxwell c769c4af11 Avoid counting failed connect attempts when probably offline. 6 years ago
Ethan Heilman 40c87b6e69 Increase test coverage for addrman and addrinfo 7 years ago
MarcoFalke fa60d05a4e Add missing copyright headers 7 years ago
EthanHeilman 1534d9a83c Creates unittests for addrman, makes addrman testable. 7 years ago
Pieter Wuille c33c11ebac Improve addrman Select() performance when buckets are nearly empty 7 years ago
Philip Kaufmann 26a639e21f remove using namespace std from addrman.cpp 7 years ago
Gregory Maxwell a784f90c98 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. 8 years ago
Pieter Wuille 1d5b47a903 nLastTry is only used for addrman entries 8 years ago
Pieter Wuille c6a63ceeb4 Always use a 50% chance to choose between tried and new entries 8 years ago
Pieter Wuille f68ba3f67b Do not bias outgoing connections towards fresh addresses 8 years ago
Pieter Wuille a8ff7c62ed Simplify hashing code 8 years ago
Pieter Wuille e6b343d880 Make addrman's bucket placement deterministic. 8 years ago
Pieter Wuille b23add5521 Switch addrman key from vector to uint256 8 years ago
Pieter Wuille 9c2737901b Reduce fingerprinting through timestamps in 'addr' messages. 8 years ago
Wladimir J. van der Laan 807658549c Replace GetLow64 with GetCheapHash 8 years ago
Michael Ford 24f5c94015 Update comments in addrman to be doxygen compatible 8 years ago
Cory Fields fa7361907a boost: split stream classes out of serialize.h 8 years ago
Pieter Wuille 20e01b1a03 Apply clang-format on some infrequently-updated files 8 years ago
Teran McKinney f79323b0dd
Improve readability of CAddrInfo::IsTerrible 8 years ago
Jeff Garzik 3a56de7fc3 addrman: Do not propagate obviously poor addresses onto the network 8 years ago
Wladimir J. van der Laan 7d9d134bf9 Remove redundant .c_str()s 9 years ago
Thomas Holenstein e85e19be06 Changed Get64(.) to GetLow64() 9 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations. 9 years ago
Gavin Andresen 881a85a22d Replace printf with LogPrintf / LogPrint 9 years ago
Pieter Wuille 0fb9073edd Split off hash.h from util.h 10 years ago
Jeff Garzik ea0796bde3 Trim trailing whitespace for src/*.{h,cpp} 10 years ago
Philip Kaufmann 30c8a40847 fix a comment in addrman.cpp 10 years ago
Fordy 3a25a2b9b0 Update License in File Headers 11 years ago
Pieter Wuille f621326c24 Clean up warnings 11 years ago
Pieter Wuille 56f1e91239 Fix addrman crashes 11 years ago
Pieter Wuille 29a86a1735 Add extra asserts to addrman 11 years ago
Pieter Wuille 6b6aaa1698 Further reduce header dependencies 11 years ago
Jeff Garzik c376ac359e Fix loop index var types, fixing many minor sign comparison warnings 11 years ago