diff --git a/src/addrman.cpp b/src/addrman.cpp index 3ccd3751bc..ef1538b6e9 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -6,18 +6,19 @@ #include #include -#include #include -#include #include +#include +#include #include #include +#include +#include +#include #include #include #include -#include -#include /** Over how many buckets entries with tried addresses from a single group (/16 for IPv4) are spread */ static constexpr uint32_t ADDRMAN_TRIED_BUCKETS_PER_GROUP{8}; diff --git a/src/addrman.h b/src/addrman.h index 84c2bf2201..b0944bcfd5 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -6,17 +6,15 @@ #ifndef BITCOIN_ADDRMAN_H #define BITCOIN_ADDRMAN_H -#include -#include #include #include -#include +#include #include #include +#include #include -#include -#include +#include #include class AddrManImpl; diff --git a/src/addrman_impl.h b/src/addrman_impl.h index 160efb2c0e..c37c7b4779 100644 --- a/src/addrman_impl.h +++ b/src/addrman_impl.h @@ -5,6 +5,21 @@ #ifndef BITCOIN_ADDRMAN_IMPL_H #define BITCOIN_ADDRMAN_IMPL_H +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + /** Total number of buckets for tried addresses */ static constexpr int32_t ADDRMAN_TRIED_BUCKET_COUNT_LOG2{8}; static constexpr int ADDRMAN_TRIED_BUCKET_COUNT{1 << ADDRMAN_TRIED_BUCKET_COUNT_LOG2};