commit 3037475683448f83af4676f0b28e20c93705ae55
parent cd04db7d5a1fcd1e36c881c139b3bd3fbb5ca17e
Author: Jared Tobin <jared@jtobin.io>
Date: Wed, 4 Nov 2026 21:14:56 +0400
describe as a high-performance in-memory MS-SMT
Diffstat:
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/flake.nix b/flake.nix
@@ -1,5 +1,5 @@
{
- description = "A toy merkle-sum sparse merkle tree.";
+ description = "A high-performance in-memory merkle-sum sparse merkle tree.";
inputs = {
ppad-base16 = {
diff --git a/lib/Data/MSSMT.hs b/lib/Data/MSSMT.hs
@@ -6,7 +6,7 @@
-- License: MIT
-- Maintainer: Jared Tobin <jared@jtobin.io>
--
--- Merkle-sum sparse merkle trees (MS-SMTs).
+-- High-performance, in-memory merkle-sum sparse merkle trees (MS-SMTs).
--
-- An MS-SMT has 2^256 leaves, addressed by 256-bit keys. Each leaf
-- holds a value and a sum, and each branch commits to its children
diff --git a/mssmt.cabal b/mssmt.cabal
@@ -1,7 +1,7 @@
cabal-version: 3.0
name: mssmt
version: 0.1.0
-synopsis: A merkle-sum sparse merkle tree
+synopsis: A high-performance in-memory merkle-sum sparse merkle tree
license: MIT
license-file: LICENSE
author: Jared Tobin
@@ -15,8 +15,10 @@ extra-source-files:
, etc/mssmt_tree_proofs.json
, etc/mssmt_tree_replacement.json
description:
- A merkle-sum sparse merkle tree (MS-SMT), after the construction used
- by Taproot Assets.
+ A high-performance, in-memory merkle-sum sparse merkle tree (MS-SMT),
+ whose branches commit to their children either individually
+ ("Data.MSSMT.Split"), or in aggregate, as in Taproot Assets
+ ("Data.MSSMT.Aggregate").
flag llvm
description: Use GHC's LLVM backend.