utils: Increase max block size for import/export
This commit is contained in:
parent
441ed9f2fe
commit
fbf81689d4
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
// bounds checking is done before writing to buffer, but buffer size
|
// bounds checking is done before writing to buffer, but buffer size
|
||||||
// should be a sensible maximum
|
// should be a sensible maximum
|
||||||
#define BUFFER_SIZE 1000000
|
#define BUFFER_SIZE (2 * 1024 * 1024)
|
||||||
#define CHUNK_SIZE_WARNING_THRESHOLD 500000
|
#define CHUNK_SIZE_WARNING_THRESHOLD 500000
|
||||||
#define NUM_BLOCKS_PER_CHUNK 1
|
#define NUM_BLOCKS_PER_CHUNK 1
|
||||||
#define BLOCKCHAIN_RAW "blockchain.raw"
|
#define BLOCKCHAIN_RAW "blockchain.raw"
|
||||||
|
|
Loading…
Reference in New Issue