mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
fix: boost chunk size to 16MB, which is the maximum block size
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user