Questions tagged [block-size]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
19 views

No Block production with multiple nodes / AURA

I have a solo-chain with PoA consensus, MILLISECS_PER_BLOCK of 1000, 5MB of MAX_BLOCK_SIZE, and 400ms of MAXIMUM_BLOCK_WEIGHT. The chain produces and finalizes blocks when there's a single authoring ...
Discardo's user avatar
  • 382
4 votes
2 answers
91 views

What should be the maximum size of a `BoundedVec`?

What is the recommended maximum number of bytes to store within a BoundedVec? I am currently having the following struct: #[derive( parity_scale_codec::Decode, parity_scale_codec::Encode, ...
Chralt's user avatar
  • 503
2 votes
2 answers
38 views

How do I scale decode a FrameSupportDispatchPerDispatchClassWeight (in rust)?

How do I scale decode a FrameSupportDispatchPerDispatchClassWeight ? js seems the only definition I can find - can someone point to a rust definition please so I can decode it.
Squirrel's user avatar
  • 3,759
3 votes
1 answer
152 views

Why is 5MB the limit for the block length?

The length limit for each block in Polkadot is set to 5Mb as seen in the code. But why exactly 5Mb? Could you point me to the decision process or the benchmark results for that exact value? Thanks!
Saccharo's user avatar
3 votes
1 answer
125 views

Increasing Block Size

a question about block limit, the amount of bytes that can be stored in each block. From what i can gather this value can be changed Here, However when i change the 5 to lets say 20 (5mb to 20mb) I ...
BRNHINLT's user avatar
  • 132