3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 18:25:49 +00:00

MAX_FILE_SIZE reduced to 500MiB to match the difficulty calculation.

This commit is contained in:
CalDescent 2021-07-14 18:03:35 +01:00
parent 2d272e0207
commit 182dcc7e5f

View File

@ -43,7 +43,7 @@ public class DataFile {
private static final Logger LOGGER = LogManager.getLogger(DataFile.class); private static final Logger LOGGER = LogManager.getLogger(DataFile.class);
public static final long MAX_FILE_SIZE = 1 * 1024 * 1024 * 1024; // 1GiB public static final long MAX_FILE_SIZE = 500 * 1024 * 1024; // 500MiB
public static final int CHUNK_SIZE = 1 * 1024 * 1024; // 1MiB public static final int CHUNK_SIZE = 1 * 1024 * 1024; // 1MiB
public static int SHORT_DIGEST_LENGTH = 8; public static int SHORT_DIGEST_LENGTH = 8;