What is data availability sampling?
Experienced · Updated
Data availability sampling lets a light client check that block data was published without downloading it all. The data is expanded with erasure coding, so a large enough subset is enough to reconstruct it. The client asks for a few random pieces. If it receives them, it gains confidence that the block was available. It does not hold the whole block, and it does not re-execute everything those data describe.
The confidence is statistical, not a download. A sample that succeeds is not the same as having the data; it is a reason to believe the data were published. It also does not by itself prove that execution was correct: that is another system, a fraud proof or a validity proof. For you, as a light client, this is how you avoid trusting only the word of whoever says they published the block. For a node operator who keeps the data in full, you can still store or reconstruct the body; sampling is the shortcut for the client that does not. How to fool the sample is not said here.
Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.
In the glossary
Articles
In the Academy: Advanced · In the Academy · In the glossary