solana_accounts_db

Module epoch_accounts_hash

Source
Expand description

The Epoch Accounts Hash (EAH) is a special hash of the whole accounts state that occurs once per epoch.

This hash is special because all nodes in the cluster will calculate the accounts hash at a predetermined slot in the epoch and then save that result into a later Bank at a predetermined slot.

This results in all nodes effectively voting on the accounts state (at least) once per epoch.

Structsยง