diff --git a/src/chain.h b/src/chain.h index f9121fb8615..fa165a4aa73 100644 --- a/src/chain.h +++ b/src/chain.h @@ -11,15 +11,20 @@ #include #include #include +#include #include #include #include +#include +#include +#include +#include #include /** * Maximum amount of time that a block timestamp is allowed to exceed the - * current network-adjusted time before the block will be accepted. + * current time before the block will be accepted. */ static constexpr int64_t MAX_FUTURE_BLOCK_TIME = 2 * 60 * 60; diff --git a/src/headerssync.cpp b/src/headerssync.cpp index e1dfe104832..e14de004f54 100644 --- a/src/headerssync.cpp +++ b/src/headerssync.cpp @@ -5,8 +5,8 @@ #include #include #include -#include #include +#include #include // The two constants below are computed using the simulation script in diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 1cf72771b54..c8da9277634 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -41,12 +41,12 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include diff --git a/src/node/miner.cpp b/src/node/miner.cpp index 89498fb976d..87f40e993f2 100644 --- a/src/node/miner.cpp +++ b/src/node/miner.cpp @@ -20,8 +20,8 @@ #include #include #include -#include #include +#include #include #include diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 4050cb1996c..f1abfb6396c 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -27,11 +27,11 @@ #include