| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
EVM.Patricia
Documentation
Constructors
| Hash ByteString | |
| Literal Node |
Constructors
| Empty | |
| Shortcut Path (Either Ref ByteString) | |
| Full (Seq Ref) ByteString |
encodePath :: Path -> Bool -> ByteString Source #
lookupPath :: Ref -> Path -> NodeDB ByteString Source #
insert :: Ref -> ByteString -> ByteString -> NodeDB Ref Source #
lookupIn :: Ref -> ByteString -> NodeDB ByteString Source #
runTrie :: DB ByteString ByteString a -> Trie a Source #
insertValues :: [(ByteString, ByteString)] -> Maybe Ref Source #
calcRoot :: [(ByteString, ByteString)] -> Maybe ByteString Source #