merkle-patricia-db-0.1.0: A modified Merkle Patricia DB

Safe HaskellNone
LanguageHaskell2010

Blockchain.Database.MerklePatricia.StateRoot

Synopsis

Documentation

newtype StateRoot Source #

Internal nodes are indexed in the underlying database by their 256-bit SHA3 hash. This types represents said hash.

The stateRoot is of this type, (ie- the pointer to the full set of key/value pairs at a particular time in history), and will be of interest if you need to refer to older or parallel version of the data.

Constructors

StateRoot ByteString 

emptyTriePtr :: StateRoot Source #

The stateRoot of the empty database.