Module 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ยง

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