Commit Graph

145 Commits

Author SHA1 Message Date
Miguel Mota 9351d56554
Merge branch 'friedger-feat/test' 2021-07-25 23:53:17 -07:00
Miguel Mota 7745683a7a
Merge branch 'feat/test' of https://github.com/friedger/merkletreejs into friedger-feat/test 2021-07-25 23:53:08 -07:00
Miguel Mota 86f7b03185
Rename test file 2021-07-25 23:48:52 -07:00
Miguel Mota a0eccb7691
Merge branch 'hujw77-patch-1' 2021-07-25 23:44:15 -07:00
Miguel Mota 740ed2aa11
Merge branch 'patch-1' of https://github.com/hujw77/merkletreejs into hujw77-patch-1 2021-07-25 23:43:31 -07:00
Friedger Müffke 95624eeb5b fix bitcoinTree edge case (#38) 2021-07-22 14:46:37 +02:00
Friedger Müffke 848d5793a1 add tests for all bitcoin tree leaves 2021-07-22 13:21:00 +02:00
Miguel Mota 64dc0286c1
Update README 2021-07-13 23:36:06 -07:00
Miguel Mota f6b6c99d20
example: Fix options 2021-07-07 15:50:48 -07:00
Miguel Mota 319d3300f6
Update example 2021-07-07 15:43:38 -07:00
Miguel Mota 0d57f0e8bb
Update example 2021-07-07 15:41:00 -07:00
Miguel Mota 49ee00c1c0
Add static verify method 2021-07-04 01:23:15 -07:00
Miguel Mota c9517a5005
Update example 2021-07-04 00:31:40 -07:00
Miguel Mota 39fd0d9e1d
Update example 2021-07-03 23:14:20 -07:00
Miguel Mota 322a00f9de
Update README 2021-07-02 00:29:07 -07:00
Miguel Mota 4b5f686a08
Update .npmignore 2021-07-02 00:25:42 -07:00
Miguel Mota df879c6dac
Add example 2021-07-02 00:20:35 -07:00
echo 8e1f0cad0f
Fix critical condition 2021-07-02 13:46:35 +08:00
Miguel Mota 274be314e0
Update clean script 2021-04-05 21:19:15 -07:00
Miguel Mota fd156e194e
Allow Function or Buffer for fillDefaultHash 2021-04-03 21:12:05 -07:00
Miguel Mota 01dd16e364
Bump version 2021-04-03 11:34:54 -07:00
Miguel Mota ffd7c4fa9a
MerkleMountainRange rollUp 2021-04-03 11:34:25 -07:00
Miguel Mota 62b273556b
MerkleMountainRange input fixes 2021-04-01 20:45:28 -07:00
Miguel Mota 8869e16ae2
Add clean script 2021-04-01 20:37:56 -07:00
Miguel Mota af698a92ae
Merge 2021-04-01 20:34:24 -07:00
Miguel Mota 8deaa7fc53
Add Merkle Mountain Range (MMR) tree class 2021-04-01 20:31:01 -07:00
Miguel Mota 9b06e661c5
Add fillDefaultHash function option 2021-03-31 19:18:09 -07:00
Miguel Mota 137aacb040
Fix bufferify input normalization. #35 2021-03-29 15:47:41 -07:00
Miguel Mota 6f50a49475
Allow either Buffers or hex strings for proof inputs 2021-03-29 15:10:10 -07:00
Miguel Mota ffd68dde08 Remove unused dependencies from package.json 2021-01-19 20:44:35 -08:00
Miguel Mota 0c03fb30c5 Bump version to 0.2.12 2020-12-12 10:59:40 -08:00
Miguel Mota 4cf2c8aa5f Update README 2020-12-12 10:58:57 -08:00
Miguel Mota a80e229053 Replace typeof number with Number.isInteger 2020-12-12 10:55:32 -08:00
Miguel Mota 171ff16c75 Merge branch 'petscheit-refactors_proofFlags' 2020-12-12 10:43:50 -08:00
paul etscheit 803455fc26 implements getProofFlag by passing leaves indices 2020-12-08 13:56:48 +01:00
Miguel Mota 072a6c2962 Bump version to 0.2.11 2020-12-07 14:34:28 -08:00
Miguel Mota de9840f8d9 Merge branch 'petscheit-add_position_hex_proof' 2020-12-07 14:19:26 -08:00
Miguel Mota a380106a5d Merge branch 'add_position_hex_proof' of https://github.com/petscheit/merkletreejs into petscheit-add_position_hex_proof 2020-12-07 14:09:58 -08:00
Miguel Mota e94dbd4ec2 Merge branch 'petscheit-add_sortPair_multiProof' 2020-12-07 13:50:54 -08:00
paul etscheit a979e9a3a6 adds pair sorting in multiProof verification 2020-12-05 16:21:40 +01:00
paul etscheit 31f9c47864 adds function description in readme 2020-12-03 16:23:53 +01:00
paul etscheit ddace05db7 adds positional hex proof 2020-12-03 16:18:41 +01:00
Miguel Mota f37f91eae9 Add marshal/unmarshal static methods 2020-10-30 02:07:08 -07:00
Miguel Mota a246764d6b Compare leaf hash to root if no proof array. Closes #25 2020-07-31 22:53:10 -07:00
Miguel Mota d78ea67599 Fix typo 2020-06-06 14:12:00 -07:00
Miguel Mota d020377bcc Add to window object for browser lib 2020-06-06 14:07:56 -07:00
Miguel Mota 27b8f0a6c7 Update .npmignore 2020-06-06 14:05:46 -07:00
Miguel Mota 69208d984d Add npm prepare 2020-06-06 14:01:49 -07:00
Miguel Mota a3894314fa Update .gitignore 2020-06-06 13:56:55 -07:00
Miguel Mota c3a250ff7f Build browser lib 2020-06-06 13:52:26 -07:00