aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Dorfman <ndorf@rtfm.net>2019-10-11 23:01:56 -0600
committerNathan Dorfman <ndorf@rtfm.net>2019-10-17 19:14:41 -0600
commitfbf81689d4d4deed46f58e80d7f860153d6f7c22 (patch)
tree5b30debe2ea3866b3deec624a73d85b909f3fa1a
parentMerge pull request #5990 (diff)
downloadmonero-fbf81689d4d4deed46f58e80d7f860153d6f7c22.tar.xz
utils: Increase max block size for import/export
-rw-r--r--src/blockchain_utilities/blockchain_utilities.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_utilities.h b/src/blockchain_utilities/blockchain_utilities.h
index 78487b995..e8615cf86 100644
--- a/src/blockchain_utilities/blockchain_utilities.h
+++ b/src/blockchain_utilities/blockchain_utilities.h
@@ -33,7 +33,7 @@
// bounds checking is done before writing to buffer, but buffer size
// should be a sensible maximum
-#define BUFFER_SIZE 1000000
+#define BUFFER_SIZE (2 * 1024 * 1024)
#define CHUNK_SIZE_WARNING_THRESHOLD 500000
#define NUM_BLOCKS_PER_CHUNK 1
#define BLOCKCHAIN_RAW "blockchain.raw"