ExtraChain
  • ExtraChain
  • Overview
    • ExtraChain Node Types
    • Distributed File System
    • ExC Store/Reward Economics
    • ExDFS Applications
    • Comparison Table
    • ExC Store
    • ExC Tokens and Automated Exchange
  • ExConsensus
    • ExConsensus
    • Transaction Verification Algorithm (TVA)
    • Block Prove Algorithm (BPA)
    • Block Merge Algorithm (BMA)
    • State Snapshot Algorithm (SSA) aka “Genesis Algorithm”
    • Additional Features
  • ExtraChain Indicators
  • Appendix
    • Appendix A. Terms and Theory
    • Appendix B. ExC Application in example
Powered by GitBook
On this page

Was this helpful?

  1. ExConsensus

State Snapshot Algorithm (SSA) aka “Genesis Algorithm”

PreviousBlock Merge Algorithm (BMA)NextAdditional Features

Last updated 4 years ago

Was this helpful?

State Snapshot Algorithm (SSA) aka “Genesis Algorithm”:

State Snapshot Algorithm produces Genesis Blocks each 100 blocks. Genesis Blocks hold Actors’ balances data and serves as state backup and foothold for devices in “Fast Blockchain” mode.

Genesis block production algorithm:

  1. Find last Genesis Block and load IDs and balances;

  2. Collect all new balances and make all changes from last Genesis Block to current block;

  3. Merge collected data with loaded data;

  4. Distribute new Genesis Block;

If device receives new Genesis Block, then BPA starts, but only for previous and new Genesis Block.

SSA Scheme