fix: boost chunk size to 16MB, which is the maximum block size

This commit is contained in:
Jude Nelson
2023-12-18 16:44:05 -05:00
committed by jferrant
parent a5110392b5
commit e6148b4571

View File

@@ -33,8 +33,8 @@ use stacks_common::types::PrivateKey;
use stacks_common::util::hash::{hex_bytes, to_hex, Hash160, Sha512Trunc256Sum};
use stacks_common::util::secp256k1::MessageSignature;
/// maximum chunk size (1 MB)
pub const STACKERDB_MAX_CHUNK_SIZE: u32 = 1024 * 1024;
/// maximum chunk size (16 MB; same as MAX_PAYLOAD_SIZE)
pub const STACKERDB_MAX_CHUNK_SIZE: u32 = 16 * 1024 * 1024;
#[cfg(test)]
mod tests;