From 3c263d3f63c3598954ee2b65a0e721e3c22e52f8 Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Fri, 10 Sep 2021 16:37:41 -0600 Subject: [includes] Fix up included files --- src/addrman.cpp | 9 +++++---- src/addrman.h | 8 +++----- src/addrman_impl.h | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 9 deletions(-) (limited to 'src') 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}; -- cgit v1.2.3