Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype StateRoot = StateRoot ByteString
- emptyTriePtr :: StateRoot
- sha2StateRoot :: Digest Keccak_256 -> StateRoot
- unboxStateRoot :: StateRoot -> ByteString
- formatStateRoot :: StateRoot -> String
Documentation
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.
emptyTriePtr :: StateRoot Source #
The stateRoot of the empty database.
unboxStateRoot :: StateRoot -> ByteString Source #
formatStateRoot :: StateRoot -> String Source #