Close the database and free resources.
Retrieve posterior state of given header.
Compute a state root for given state.
Insert a pre-defined initial state directly into the database.
Apply & commit a state update.
NOTE: for efficiency, the implementation MAY alter given state object.
In-memory serialized-states db.