Module hotshot_types::traits::states

source ·
Expand description

Abstractions over the immutable instance-level state and the global state that blocks modify.

This module provides the InstanceState and ValidatedState traits, which serve as compatibilities over the current network state, which is modified by the transactions contained within blocks.

Traits§

  • Instance-level state, which allows us to fetch missing validated state.
  • Application-specific state delta, which will be used to store a list of merkle tree entries.
  • extra functions required on state to be usable by hotshot-testing
  • Abstraction over the state that blocks modify