Update message.rs

This commit is contained in:
kilavvy 2025-02-28 12:35:17 +01:00 committed by GitHub
parent f61941bbe6
commit 0ce622e668
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ use crate::{block, consensus, transaction};
pub const MAX_INV_SIZE: usize = 50_000; pub const MAX_INV_SIZE: usize = 50_000;
/// Maximum size, in bytes, of an encoded message /// Maximum size, in bytes, of an encoded message
/// This by neccessity should be larger tham `MAX_VEC_SIZE` /// This by necessity should be larger tham `MAX_VEC_SIZE`
pub const MAX_MSG_SIZE: usize = 5_000_000; pub const MAX_MSG_SIZE: usize = 5_000_000;
/// Serializer for command string /// Serializer for command string