solana_sdk

Module commitment_config

Source
Expand description

Definitions of commitment levels.

Structs§

Enums§

  • An attribute of a slot. It describes how finalized a block is at some point in time. For example, a slot is said to be at the max level immediately after the cluster recognizes the block at that slot as finalized. When querying the ledger state, use lower levels of commitment to report progress and higher levels to ensure state changes will not be rolled back.