mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +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.
|
||||
///
|
||||
/// 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")]
|
||||
|
||||
Reference in New Issue
Block a user