Constant sc_basic_authorship::DEFAULT_MAX_BLOCK_SIZE[][src]

pub const DEFAULT_MAX_BLOCK_SIZE: usize = 4 * 1024 * 1024 + 512; // 0x0_000_000_000_400_200usize

Default maximum block size in bytes used by Proposer.

Can be overwritten by ProposerFactory::set_maximum_block_size.

Be aware that there is also an upper packet size on what the networking code will accept. If the block doesn’t fit in such a package, it can not be transferred to other nodes.