Skip to content

Commit

Permalink
Update serialize.h
Browse files Browse the repository at this point in the history
  • Loading branch information
aguycalled authored Jul 23, 2024
1 parent 4ff5712 commit 25e3d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* The maximum size of a serialized object in bytes or number of elements
* (for eg vectors) when the size is encoded as CompactSize.
*/
static constexpr uint64_t MAX_SIZE = 0x02000000;
static constexpr uint64_t MAX_SIZE = 0x08000000;

/** Maximum amount of memory (in bytes) to allocate at once when deserializing vectors. */
static const unsigned int MAX_VECTOR_ALLOCATE = 5000000;
Expand Down

0 comments on commit 25e3d42

Please sign in to comment.