State Snapshot Algorithm (SSA) aka “Genesis Algorithm”

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.

Last updated