Commit Graph

28 Commits

Author SHA1 Message Date
smart_ex
7d439740b1 fix deserialize method 2022-03-28 17:44:50 +10:00
smart_ex
cc33277ba1 more test. fix nullish alloc 2022-03-25 15:12:06 +10:00
smart_ex
c1c6972a4b fix partial tree path 2022-03-25 00:41:06 +10:00
Sergei SMART
d11c5c168a implementing getTreeSlices types 2022-03-13 14:45:13 +10:00
smart_ex
bc533ede2d check elements length in constructor 2022-03-11 15:37:20 +10:00
smart_ex
e9f123a8b2 use mimc from circomlibjs 2022-03-11 00:12:55 +10:00
Sergei SMART
6439775e37 final buildHashes algorithm 2022-03-10 18:00:26 +10:00
Sergei SMART
2dc7b4b5b3 wip 2022-03-09 16:25:49 +10:00
Sergei SMART
5ebbf81959 add shiftEdge method 2022-03-02 14:33:04 +10:00
Sergei SMART
e0817b8389 add proof leaf method 2022-03-02 13:22:54 +10:00
Sergei SMART
12f95d97ee added serialize / deserialize / proof / toString, coverage increase 2022-03-02 12:03:16 +10:00
Smart
fba9bab7a8 fix imports 2022-03-01 19:46:29 +10:00
Sergei SMART
6173676074 100% coverage of fixed tree 2022-03-01 16:02:45 +10:00
Sergei SMART
21e673a659 implementing features and cover it by tests 2022-03-01 15:33:46 +10:00
Sergei SMART
9536889468 add test coverage. more tests 2022-03-01 11:16:52 +10:00
Smart
95ac6e0f55 wip. 2022-02-28 17:00:28 +10:00
Smart
744438ceba add simpleHash function & tests, add coverage 2022-02-26 22:50:08 +10:00
Sergei SMART
5f036748a9 remove deps, add simple hashFunction for example and tests. 2022-02-24 13:21:14 +10:00
Sergei SMART
107217f74d add getters 2022-02-22 20:41:26 +10:00
Sergei SMART
4501cae4d6 initial typescript edit 2022-02-22 18:45:31 +10:00
poma
3e31a2f875
efficient bulk insert
(cherry picked from commit c83a4a4dc0e97338c2dbb83236dffb577dea73fa)
2021-09-15 20:02:06 +03:00
poma
96e254a46b
serialization 2020-09-23 19:22:14 +03:00
poma
bb55160b17
fix linter 2020-07-31 18:27:28 +03:00
poma
d601a30436
fix capacity bug, add more tests 2020-07-31 18:24:10 +03:00
poma
9c5a9cd65f
rename proof() -> path() 2020-07-31 17:19:20 +03:00
poma
8ec8ffe58b
options object in constructor, rename pathIndices 2020-07-31 16:11:24 +03:00
poma
06b7ab5835
lint, CI, auto publish to NPM 2020-07-31 06:37:10 +03:00
poma
932a2ed587
initial 2020-07-31 06:15:29 +03:00