Commit Graph

72 Commits

Author SHA1 Message Date
0045ef85b1 Prepare package to self-host in Gitea npm registry 2023-09-12 02:33:39 -07:00
smart_ex
3da67b29ed update lib es2020 v0.7.3 2022-04-04 18:44:15 +10:00
Alexey Pertsev
73b4b68c9d
Merge pull request #3 from tornadocash/typescript
Migration to Typescript, add partial tree implementation
2022-04-04 10:32:36 +02:00
smart_ex
22e923c469 update Readme 2022-03-29 18:37:37 +10:00
smart_ex
ec56e449f7 update Readme 2022-03-29 18:36:05 +10:00
smart_ex
0efd9caee8 update Readme 2022-03-29 18:33:56 +10:00
smart_ex
a29aa84450 implement indexOf with fromIndex param 2022-03-28 18:21:32 +10:00
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
1f02fd3f45 0.7.1 2022-03-14 20:20:28 +10:00
Sergei SMART
b92ee38355 0.7.1 2022-03-14 20:14:01 +10:00
Sergei SMART
2e65f7cac0 upload lib files 2022-03-14 19:42:36 +10:00
Sergei SMART
1f34fa69fa update tsconfig 2022-03-14 19:41:45 +10:00
Sergei SMART
d72b2b91be update tsc 2022-03-14 18:34:59 +10:00
Sergei SMART
3ddaca5ff5 update tsconfig.json 2022-03-14 18:01:12 +10:00
Sergei SMART
5cf73384dd update package.json 2022-03-14 17:21:38 +10:00
Sergei SMART
2a2dd204c0 code duplication reduced 2022-03-13 15:28:37 +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
6df03ab139 fix tree slices order 2022-03-11 11:38:51 +10:00
smart_ex
e9f123a8b2 use mimc from circomlibjs 2022-03-11 00:12:55 +10:00
Sergei SMART
ad634a6b3a implementing getTreeSlices 2022-03-10 19:41:32 +10:00
Sergei SMART
8e2b0a2dbc implementing tree slicing 2022-03-10 18:29:31 +10:00
Sergei SMART
6439775e37 final buildHashes algorithm 2022-03-10 18:00:26 +10:00
Sergei SMART
623cef3da2 wip 2022-03-09 20:35:34 +10:00
Sergei SMART
1015f72954 test with timing, fix constructor 2022-03-09 20:00:00 +10:00
Sergei SMART
2dc7b4b5b3 wip 2022-03-09 16:25:49 +10:00
Sergei SMART
ed4e372c93 clean up 2022-03-02 15:13:27 +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
f2697487c8 add simpleHash function & tests, add coverage 2022-02-26 22:50:08 +10:00
Smart
744438ceba add simpleHash function & tests, add coverage 2022-02-26 22:50:08 +10:00
Sergei SMART
e6a1ce979c init partial tree 2022-02-26 19:13:09 +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
3d6356b596 add getTreeEdge method 2022-02-22 19:42:49 +10:00
Sergei SMART
4501cae4d6 initial typescript edit 2022-02-22 18:45:31 +10:00
Danil Kovtonyuk
e3c54ea818
fix: bulk insert empty elements v0.6.1 2022-02-17 01:05:45 +10:00
Roman Semenov
d5816e7cf4
Merge pull request #1 from tornadocash/bulk-insert
Bulk insert
v0.6.0
2021-09-15 20:09:08 +03:00
poma
3e31a2f875
efficient bulk insert
(cherry picked from commit c83a4a4dc0e97338c2dbb83236dffb577dea73fa)
2021-09-15 20:02:06 +03:00
poma
c775fc35f4
minor refactor 2021-09-15 20:01:17 +03:00
Alexey
29021a8028 fix trailingComma v0.5.1 2021-07-06 13:51:06 +03:00
Alexey
4a63b3b7fb bump 2021-07-06 13:44:44 +03:00