Commit Graph

47 Commits

Author SHA1 Message Date
Miguel Mota e3f40d5e4f
Remove byteLength filter 2022-11-18 13:43:50 -08:00
Miguel Mota c330fe25ff
rename concatFn to concatenator 2022-11-17 15:15:44 -08:00
Miguel Mota 5933e7f5a5
Add poseidon hash test. #71 2022-11-17 15:08:13 -08:00
Miguel Mota 670a458354
Add bigNumerify util and concatFn option. #71 2022-11-17 14:16:25 -08:00
Miguel Mota fdb3cc8b75
Fix unexpected breaking change 2022-11-14 10:42:51 -08:00
Miguel Mota c53c4327a8
Bump patch version 2022-11-14 09:06:35 -08:00
Miguel Mota 5c169b13d4
Add marshal tree method 2022-11-10 22:15:00 -08:00
Miguel Mota 8433273481
Merge branch 'task/binary-search-leaf' of github.com:PreetamSing/merkletreejs into PreetamSing-task/binary-search-leaf 2022-11-10 05:32:29 -08:00
Miguel Mota 8af3c3d15d
Merge branch 'development/juan/add-explicit-return-type-getProofs' of github.com:juandavidkincaid/merkletreejs into juandavidkincaid-development/juan/add-explicit-return-type-getProofs 2022-11-10 05:29:34 -08:00
Miguel Mota 8f34b24945
Update docs 2022-11-10 05:28:51 -08:00
Juan David Suárez 91ab13753e
Added explicit return to MerkleTree.getProof() 2022-10-27 13:42:14 -05:00
Miguel Mota dea5c08232
Merge branch 'add-getProofs' of https://github.com/moorey777/merkletreejs into moorey777-add-getProofs 2022-10-26 18:18:10 -07:00
Francisco Giordano f9923826ff fix test 2022-10-26 20:20:03 -03:00
Francisco Giordano 35f512bdb3 revert error from verification of multiproof flags 2022-10-26 20:18:41 -03:00
Francisco Giordano 77f4df0cf3 add recommendation to use sortLeaves 2022-10-26 20:16:34 -03:00
Francisco Giordano d695d22406 add error on bad multiproof flags 2022-10-26 20:16:34 -03:00
Francisco Giordano dfec2938fa implement complete option 2022-10-16 19:09:06 -05:00
PreetamSing 07e261ac76 Update getProof to use bufferIndexOf method. 2022-09-22 15:04:27 +05:30
PreetamSing b6b7d94a84 Add binary search if leaves are sorted. 2022-09-22 15:03:21 +05:30
Miguel Mota 14ea7684bf
import Buffer package 2022-06-17 18:10:24 -07:00
SIQI YOU c9be194296 add-getProofs 2022-06-03 14:01:32 -07:00
SIQI YOU 1040a06897 add-getProofs 2022-06-03 13:55:51 -07:00
Miguel Mota 893ce99a4a
Add disclaimer comment 2022-05-24 09:59:39 -07:00
Miguel Mota 286c3966eb
Bufferify ArrayBuffer. #45 2022-03-08 23:56:49 -08:00
Miguel Mota 1656b6b125
Fix bufferifyFn inputs. #46 2022-02-21 00:24:14 -08:00
Miguel Mota 9d716830aa
Change depth parameter to leavesCount for verifyMultiProof 2022-02-20 23:53:22 -08:00
Miguel Mota 329cf8975a
MultiProof bug fixes 2022-02-20 21:50:20 -08:00
Miguel Mota f4be5df429
Update docs 2021-12-06 15:37:12 -08:00
Miguel Mota febe67e8ea
Add method to add additional leaves 2021-12-06 15:09:45 -08:00
Miguel Mota 125c453a13
Add count methods 2021-12-02 13:48:05 -08: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 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
Miguel Mota 49ee00c1c0
Add static verify method 2021-07-04 01:23:15 -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 fd156e194e
Allow Function or Buffer for fillDefaultHash 2021-04-03 21:12:05 -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 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 a80e229053 Replace typeof number with Number.isInteger 2020-12-12 10:55:32 -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