You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
021f869 [style] Run changed files through clang formatter. (Amiti Uttarwar)
3757503 scripted-diff: Rename CAddrInfo to AddrInfo (Amiti Uttarwar)
dd8f7f2 scripted-diff: Rename CAddrMan to AddrMan (Amiti Uttarwar)
3c263d3 [includes] Fix up included files (Amiti Uttarwar)
29727c2 [doc] Update comments (Amiti Uttarwar)
14f9e00 [refactor] Update GetAddr_() function signature (Amiti Uttarwar)
40acd6f [move-only] Move constants to test-only header (Amiti Uttarwar)
7cf41bb [addrman] Change CAddrInfo access (Amiti Uttarwar)
e3f1ea6 [move-only] Move CAddrInfo to test-only header file (Amiti Uttarwar)
7cba9d5 [net, addrman] Remove external dependencies on CAddrInfo objects (Amiti Uttarwar)
8af5b54 [addrman] Introduce CAddrMan::Impl to encapsulate addrman implementation. (Amiti Uttarwar)
f2e5f38 [move-only] Match ordering of CAddrMan declarations and definitions (Amiti Uttarwar)
5faa7dd [move-only] Move CAddrMan function definitions to cpp (Amiti Uttarwar)
Pull request description:
Introduce the pimpl pattern for AddrMan to separate the implementation details from the externally used object representation. This reduces compile-time dependencies and conceptually clarifies AddrMan's interface from the implementation specifics.
Since the unit & fuzz tests currently rely on accessing AddrMan internals, this PR introduces addrman_impl.h, which is exclusively imported by addrman.cpp and test files.
ACKs for top commit:
jnewbery:
ACK 021f869
GeneFerneau:
utACK [021f869](bitcoin/bitcoin@021f869)
mzumsande:
ACK 021f869
rajarshimaitra:
Concept + Code Review ACK bitcoin/bitcoin@021f869
theuni:
ACK 021f869
Tree-SHA512: aa70cb77927a35c85230163c0cf6d3872382d79048b0fb79341493caa46f8e91498cb787d8b06aba4da17b2f921f2230e73f3d66385519794fff86a831b3a71d
0 commit comments