Update message.rs
This commit is contained in:
parent
f61941bbe6
commit
0ce622e668
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue