aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-24 10:53:53 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-24 10:53:53 -0500
commitbef8d3e38180418375f17451ecfa68aef8ba8e14 (patch)
tree7bcc2f44d6daac787a4dc1c15ed4d53cc5f98e57
parentMerge pull request #5997 (diff)
parentutils: Increase max block size for import/export (diff)
downloadmonero-bef8d3e38180418375f17451ecfa68aef8ba8e14.tar.xz
Merge pull request #5999
fbf8168 utils: Increase max block size for import/export (ndorf)
-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"