Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8092

What are Shreds in Solana?

$
0
0

The documentation at https://solana.com/docs/terminology#shred puts the definition for a shred as:

A fraction of a block; the smallest unit sent between validators.

But this definition is not really precise and it leaves room for more questions.

It says a shred is a fraction of a block...is this fraction then 1/2 of a block? 1/3? 1/4? or 1/1000 that qualifies as a shred?

Also I know a block contains transactions. If a shred is a fraction of a block, I assume a shred also contains transactions. How many transactions then does a shred contains?

It says it is the smallest unit sent between validators. This gives the impression that "how small" is somewhat defined. Because if not, then how do one know if what is being sent is smaller than the smallest unit or greater than the smallest unit. So the question is, in what terms is the smallest unit defined? The number of transactions a shred contains? or the fraction of the block it is?

Also it is possible for Shreds to contains parts of a transaction? I ask because I am imagining a shred as being a chopped up block. In such metaphor is it guaranteed that transactions would always be atomic? Or the data that makes up one transaction can be split up between two or more shreds?


Viewing all articles
Browse latest Browse all 8092

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>