January 2019
Beginner to intermediate
372 pages
11h 17m
English
Each shard maintains data in a collation, which is analogous to the blocks in the main blockchain. Each collation contains a collection of data in the form of blobs. Each collator contains a header and body, similar to the blocks in the main chain. Figure 9.8 depicts how the blobs are transformed into chunks, and then a Merkle proof is created for those chunks by building a Merkle tree that consists of chunks as its leaves. A chain of collations is created, which is a blockchain of the shard. The main chain still exists, which is processed by everyone, but they only store the collation headers of the shards. The longest chain of a shard is called canonical chain, and its headers will reside in the main chain:
Read now
Unlock full access