mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Define a 512 KiB block size limit
This commit is contained in:
@@ -131,7 +131,7 @@ impl Block {
|
|||||||
/// The size limit for a block.
|
/// The size limit for a block.
|
||||||
///
|
///
|
||||||
/// This is not enforced upon deserialization. Be careful accordingly.
|
/// This is not enforced upon deserialization. Be careful accordingly.
|
||||||
pub const SIZE_LIMIT: usize = 1024 * 1024;
|
pub const SIZE_LIMIT: usize = 512 * 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "substrate")]
|
#[cfg(feature = "substrate")]
|
||||||
|
|||||||
Reference in New Issue
Block a user