diff --git a/src/chain.h b/src/chain.h index b234e51e44..700fec08fc 100644 --- a/src/chain.h +++ b/src/chain.h @@ -11,10 +11,15 @@ #include #include #include +#include #include #include #include +#include +#include +#include +#include #include // ELEMENTS: forward decls @@ -26,7 +31,7 @@ class BlockTreeDB; } /** * 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 e1dfe10483..e14de004f5 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 53c75656bf..a64e944796 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 5c7e7a2946..e7829430a9 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 dc38ce77bb..a12464c2cf 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -29,11 +29,11 @@ #include