Constant sc_basic_authorship::DEFAULT_MAX_BLOCK_SIZE
source · [−]pub const DEFAULT_MAX_BLOCK_SIZE: usize = 4 * 1024 * 1024 + 512; // 4_194_816usize
Expand description
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.