You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like infectious supports decoding data where some shards have been corrupted. On the other hand, klauspost/reedsolomon leopard does not support decoding shards that have been corrupted ref1, ref2.
Questions:
Should the codecs document this behavior?
How can Celestia use Leopard if shares are corrupted? Is there a mechanism to ignore corrupted shares?
The text was updated successfully, but these errors were encountered:
...// Let's reconstitute with two pieces missing and one piece corrupted.shares=shares[2:] // drop the first two piecesshares[2].Data[1] ='!'// mutate some dataresult, err:=f.Decode(nil, shares)
iferr!=nil {
panic(err)
}
For example a corrupted share may have one bit flipped from the original share that came from the Encode process.
Context
It looks like infectious supports decoding data where some shards have been corrupted. On the other hand, klauspost/reedsolomon leopard does not support decoding shards that have been corrupted ref1,
ref2.
Questions:
The text was updated successfully, but these errors were encountered: