diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-02-01 12:55:38 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-02-01 13:52:05 +0100 |
commit | fad0fafd5aca699cfab7673f8eb18211139aeb18 (patch) | |
tree | 369e0579f935d50b3c0a357ae4b923820dfad13d /src/chain.h | |
parent | aa9231fafe45513134ec8953a217cda07446fae8 (diff) |
refactor: Fix timedata includes
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h index f9121fb861..fa165a4aa7 100644 --- a/src/chain.h +++ b/src/chain.h @@ -11,15 +11,20 @@ #include <flatfile.h> #include <kernel/cs_main.h> #include <primitives/block.h> +#include <serialize.h> #include <sync.h> #include <uint256.h> #include <util/time.h> +#include <algorithm> +#include <cassert> +#include <cstdint> +#include <string> #include <vector> /** * 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; |