|elm-version||0.18.0 <= v < 0.19.0|
|Committed At||2017-02-14 16:31:54 UTC|
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:
or specific type and/or function(s):
import Merkle exposing ( Tree , initialize , singleton , fromList , insert , insertFromList , get , depth , flatten , contains , isValid , toJson , fromJson )