singular-registry
Safe HaskellNone
LanguageGHC2021

Singular.Registry.TrieState.Lineage

Description

Fresh, session-bound public replay. No nodes or selections survive a read.

Synopsis

Documentation

lineageTrieState :: forall (m :: Type -> Type) w. Monad m => Session w m -> TrieState m Source #

lineageTrieStateObserved :: Monad m => Session w m -> (TrieObservation -> m ()) -> TrieState m Source #

publicHistory :: Monad m => Session w m -> RegistryIdentity -> m (Either TrieFailure (Map TxIn (TxOut ConwayEra), [ConwayTx])) Source #

The public history of a registry's state token, read from a session: the outputs it resolves and the transactions in chain order, checked against what the provider claims of them. The replay of either line starts from it.