Commit Graph

43 Commits (fe53a2af6f8dccd53116ae35f28ec3860cc72f19)

Author SHA1 Message Date
Wladimir J. van der Laan 326ffed09b
Merge #7212: Adds unittests for CAddrMan and CAddrinfo, removes source of non-determinism.
9 years ago
Ethan Heilman 40c87b6e69 Increase test coverage for addrman and addrinfo
9 years ago
MarcoFalke fa60d05a4e Add missing copyright headers
9 years ago
EthanHeilman 1534d9a83c Creates unittests for addrman, makes addrman testable.
9 years ago
Veres Lajos 9f68ed6b6d typofixes (found by misspell_fixer)
9 years ago
Philip Kaufmann 40c592aa21 make CAddrMan::size() return the correct type of size_t
10 years ago
BitcoinPRReadingGroup f13dac972c Comment edits and cleanup
10 years ago
Pavel Vasin 605a735425 addrman: update comments
10 years ago
Luke Dashjr b05a89b2de Non-grammatical language improvements
10 years ago
Corinne Dashjr 7e6d23b171 Bugfix: Grammar fixes
10 years ago
Pieter Wuille 1d5b47a903 nLastTry is only used for addrman entries
10 years ago
Pieter Wuille 1d21ba2f5e Scale up addrman
10 years ago
Pieter Wuille c6a63ceeb4 Always use a 50% chance to choose between tried and new entries
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
Pavel Janík 84738627ce Fix all header defines
10 years ago
Michael Ford 24f5c94015 Update comments in addrman to be doxygen compatible
10 years ago
Philip Kaufmann 2c2cc5dac1
Remove some unnecessary c_strs() in logging and the GUI
10 years ago
Pieter Wuille 3f6540ad8f Rename IMPLEMENT_SERIALIZE to ADD_SERIALIZE_METHODS
10 years ago
Pieter Wuille 2e731f24b5
Merge pull request #4737
10 years ago
Pieter Wuille 31e9a8384a Use CSizeComputer to avoid counting sizes in SerializationOp
10 years ago
Kamil Domanski 84881f8c47 rework overhauled serialization methods to non-static
10 years ago
Kamil Domanski 3d796f8996 overhaul serialization code
10 years ago
Philip Kaufmann 093303a887 add missing header end comments
10 years ago
Pieter Wuille b069750d3f Break up CAddrMan's IMPLEMENT_SERIALIZE
10 years ago
Philip Kaufmann 6354935c48 move rand functions from util to new random.h/.cpp
10 years ago
Philip Kaufmann 001a53d742 add GetRandBytes() as wrapper for RAND_bytes()
10 years ago
Wladimir J. van der Laan 14f888ca80 Move network-time related functions to timedata.cpp/h
11 years ago
R E Broadley 79d06dc6e0 Remove redundant c_str
11 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations.
11 years ago
Philip Kaufmann 3b570559f8 re-work -debug switch handling
11 years ago
Gavin Andresen 881a85a22d Replace printf with LogPrintf / LogPrint
11 years ago
Jeff Garzik ea0796bde3 Trim trailing whitespace for src/*.{h,cpp}
12 years ago
Luke Dashjr b49f1398a1 Bugfix: Correct English grammar regarding "'s"
12 years ago
Luke Dashjr 814efd6f1f Bugfix: Fix a variety of misspellings
12 years ago
fanquake e749405297 Fix a few typos
13 years ago
Fordy 3a25a2b9b0 Update License in File Headers
13 years ago
Pieter Wuille 7f3ccb59da Split synchronization mechanisms from util.{h,cpp}
13 years ago
Pieter Wuille f621326c24 Clean up warnings
13 years ago
Pieter Wuille bd1aabe941 Bugfix: store source address in addrman
13 years ago
Pieter Wuille f8dcd5ca6f Use scoped locks instead of CRITICAL_BLOCK
13 years ago
Pieter Wuille 6b8de05d0a Begin doxygen-compatible comments
13 years ago
Pieter Wuille 5fee401fe1 CAddrMan: stochastic address manager
13 years ago