Open evan-forbes opened 2 years ago
Light clients only use rows for sampling
Hmm. Current implementation of sampling samples uniformly from rows and cols. The full node also tries block reconstruction from row and col. Do we miss something on the node side, or when it was decided to sample from rows only?
Current implementation of sampling samples uniformly from rows and cols.
oh shoot, no then that was just a misunderstanding from my part then!
perhaps we could provided this as an option in the distant future when the DAH becomes quite large. Although that might not be safe to have some light clients sample from cols and some not.
The filling portion where we remove row roots with only tail padding shares could still be used I think, but am unsure if that optimization is worth the complexity
Light clients only use rows for sampling, and as decided in #577, light clients already know row roots over rows that consist only of tail padding shares.Therefore, it might be possible to create a light DAH, where we only include row roots for rows that have data, along with the merkle root of the column roots (in order to calculate the data root).