diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-04-18 16:31:53 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-27 10:32:54 +0200 |
commit | fa7e64d58615fffea91cd64dc4a2790221ceff0a (patch) | |
tree | 146b29200b14b057ee0b9886b25f739ef5b2a454 /src/validation.cpp | |
parent | fa247a327fc7c7cea6bc8f93637b8babd3015ffa (diff) | |
download | bitcoin-fa7e64d58615fffea91cd64dc4a2790221ceff0a.tar.xz |
move-only: Move constants to blockstorage
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 1704ae4e01..c8a3eab4a4 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -66,10 +66,6 @@ static const unsigned int EXTRA_DESCENDANT_TX_SIZE_LIMIT = 10000; /** Maximum kilobytes for transactions to store for processing during reorg */ static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20000; -/** The pre-allocation chunk size for blk?????.dat files (since 0.8) */ -static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB -/** The pre-allocation chunk size for rev?????.dat files (since 0.8) */ -static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB /** Time to wait between writing blocks/block index to disk. */ static constexpr std::chrono::hours DATABASE_WRITE_INTERVAL{1}; /** Time to wait between flushing chainstate to disk. */ |