logo

Cross Chain Verification

Verification is the key feature that enables side chains. Because side chains do not have direct knowledge about other side chains, they need a way to verify information from other chains. Side chains need the ability to verify that a transaction was included in another side chain's block.

Indexing#

  • The role of the main chain node is to index all the side chains' blocks.
  • Indexing is a continuous process:
  • When a side chain wants to verify a transaction from another side chain, it must wait until the correct main chain block has been indexed.
  • Merkle Tree#

  • A Merkle tree is a basic binary tree structure.
  • Merkle Root#

  • When a transaction is included in a side chain's block, the block will also include a Merkle root of the transactions in this block.
  • Merkle Path#

  • A Merkle path is the node collection for one leaf node to calculate to the root.
  • For the transaction tx from chain A:
  • Edited on: 18 July 2024 04:27:25 GMT+0