Added script just for constructing a Merkle tree and outputting the root
Added additional validation checks in MerkleMineGenerator.js - documented additional check in spec
Updated the checked in MerkleMine contract artifact
Change merkleTree.js to accept input array as is - all it does is hash the elements of the array to create the leaf nodes of the tree. The user of merkleTree.js is responsible for defining the ordering of the elements (helpers/makeTree.js)
MerkleMineGenerator.js
- documented additional check in specMerkleMine
contract artifactmerkleTree.js
to accept input array as is - all it does is hash the elements of the array to create the leaf nodes of the tree. The user ofmerkleTree.js
is responsible for defining the ordering of the elements (helpers/makeTree.js
)