This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
An implementation of the Merkle tree data structure in Elm
version 2.0.1
license LGPL-3.0
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.1
Committed At 2017-02-14 16:31:54 UTC
spisemisu/elm-sha 1.0.5 <= v < 2.0.0 1.1.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1



Merkle Tree

This is an implemenation of the Merkle tree data structure in Elm. It's implemented as an immutable balanced binary hash tree, which guarantees for logarithmic inserts. Default hash function is SHA-256 but others can be used. Hash functions are specified on initiation and can't be changed afterwards which ensures data consistency.

To use, simply import the main namespace:

import Merkle 

or specific type and/or function(s):

import Merkle
        ( Tree
        , initialize
        , singleton
        , fromList
        , insert
        , insertFromList
        , get
        , depth
        , flatten
        , contains
        , isValid
        , toJson
        , fromJson