Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 573 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 573 Bytes

Description

Created mainly for a coding project, this is a simple implementation of a binary merkle tree in OCaml. binary.ml contains the binary tree implementation and merkle_trie.ml is an (unfinished) attempt at a merkle patricia tree implementation.

Running

Before running you must have both Dune and Opam installed.

First clone this repo and cd merkle-tree.

To install dependencies run

opam install . --deps-only

To run the tests defined in ./test.ml, run

 dune exec ./tests.exe