packages feed

mssmt-lmdb-0.1.0: lib/Data/MSSMT/LMDB.hs

{-# OPTIONS_HADDOCK prune #-}

-- |
-- Module: Data.MSSMT.LMDB
-- Copyright: (c) 2026 Jared Tobin
-- License: MIT
-- Maintainer: Jared Tobin <jared@jtobin.io>
--
-- Merkle-sum sparse merkle trees (MS-SMTs) held in LMDB, via
-- "Data.MSSMT" and "Database.LMDB". There's a store for each kind of
-- tree:
--
-- * "Data.MSSMT.LMDB.Split": for trees whose branches commit to the
--   hash and sum of each of their children. This is the default,
--   re-exported here.
--
-- * "Data.MSSMT.LMDB.Aggregate": for trees whose branches commit to
--   their children's hashes and the sum of their sums, as in Taproot
--   Assets.

module Data.MSSMT.LMDB (
    module Data.MSSMT.LMDB.Split
  ) where

import Data.MSSMT.LMDB.Split
import Prelude hiding (lookup)