diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-01 12:00:25 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-01 22:48:33 +0100 |
commit | 4e0e4e9942074609aa5c5cb44b8509a11b24bc4c (patch) | |
tree | 8cf996f4e81df9345d4868e6c207972e8d8a574d /src/blockchain_utilities/blockchain_utilities.h | |
parent | blockchain_import: properly cleanup core/db on exit (diff) | |
download | monero-4e0e4e9942074609aa5c5cb44b8509a11b24bc4c.tar.xz |
blockchain_import: warn for chunks over 500000, not 100000
We have a lot of 350000 byte blocks now.
Diffstat (limited to 'src/blockchain_utilities/blockchain_utilities.h')
-rw-r--r-- | src/blockchain_utilities/blockchain_utilities.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_utilities/blockchain_utilities.h b/src/blockchain_utilities/blockchain_utilities.h index af934bf29..6fb5e1131 100644 --- a/src/blockchain_utilities/blockchain_utilities.h +++ b/src/blockchain_utilities/blockchain_utilities.h @@ -34,6 +34,7 @@ // bounds checking is done before writing to buffer, but buffer size // should be a sensible maximum #define BUFFER_SIZE 1000000 +#define CHUNK_SIZE_WARNING_THRESHOLD 500000 #define NUM_BLOCKS_PER_CHUNK 1 #define BLOCKCHAIN_RAW "blockchain.raw" |