Commit Graph

59 Commits

Author SHA1 Message Date
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 2022-02-17 01:05:45 +10:00
Roman Semenov
d5816e7cf4
Merge pull request #1 from tornadocash/bulk-insert
Bulk insert
2021-09-15 20:09:08 +03:00
poma
3e31a2f875
efficient bulk insert
(cherry picked from commit c83a4a4dc0)
2021-09-15 20:02:06 +03:00
poma
c775fc35f4
minor refactor 2021-09-15 20:01:17 +03:00
Alexey
29021a8028 fix trailingComma 2021-07-06 13:51:06 +03:00
Alexey
4a63b3b7fb bump 2021-07-06 13:44:44 +03:00
Alexey
acc7e53b01 fix capacity calculation 2021-07-06 13:44:25 +03:00
Alexey
823545596e prettier 2021-07-06 13:44:12 +03:00
poma
4f6ff9b777
simpler serialization 2020-09-25 17:16:01 +03:00
poma
96e254a46b
serialization 2020-09-23 19:22:14 +03:00
poma
53cb08d9b9
build failure notification 2020-08-19 11:35:14 +03:00
poma
0eb38e0b2d
update dependency 2020-08-19 01:35:12 +03:00
poma
1bc8dfa338
update circomlib 2020-08-16 02:24:55 +03:00
Alexey
3d95212b1d findIndex optimization 2020-08-06 18:04:08 +03:00
Alexey
523094bdc8 add comparator for indexOf 2020-08-06 18:00:13 +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
1f86cc10c1
bump version 2020-07-31 16:15:55 +03:00