This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
erasure coding: square width should vary per block instead of being fixed #68
Labels
bug
Something isn't working
Currently, the
availableDataOriginalSquareSize
does not depend on the amount of data in the block if I understand correctly:https://github.com/lazyledger/lazyledger-specs/blob/master/specs/data_structures.md#consensus-parameters
What would be pros/cons to change this to depend on the amount of data in each block (and hence to vary per block)?
According to @adlerjohn:
I think arranging the data into a square that depends on the total number of shares per block makes sense. Otherwise we might create large blocks for no reason.
The text was updated successfully, but these errors were encountered: