Commit Graph

42 Commits

Author SHA1 Message Date
Magamedrasul Ibragimov 41a4533272 feat: add API for Merkle proof struct 2022-11-08 15:00:38 +03:00
Magamedrasul Ibragimov afa7b33299 test: update tests with Error handling 2022-11-06 15:25:19 +03:00
Magamedrasul Ibragimov bd9711d954 feat: add Error handling 2022-11-06 15:00:09 +03:00
Magamedrasul Ibragimov 0f08d43574 feat: add Error type 2022-11-06 14:08:43 +03:00
Magamedrasul Ibragimov 252fa319eb refactor: change &mut self to &self 2022-11-02 14:45:10 +03:00
Magamedrasul Ibragimov 0cb7d88251 test: add test for persistent sled_db 2022-11-02 13:45:49 +03:00
Magamedrasul Ibragimov 6b74938519 test: add test for root calculation & for mt state 2022-11-01 21:01:35 +03:00
Magamedrasul Ibragimov 01dd08d803 fix: update recalculate_from function 2022-11-01 21:00:31 +03:00
Magamedrasul Ibragimov 6b18234c66 chore: remove delete method from Database trait 2022-11-01 20:33:44 +03:00
Magamedrasul Ibragimov 4591a9001c fix: change initialization for cached_vec 2022-11-01 20:31:18 +03:00
Magamedrasul Ibragimov 5f2b9c61ba chore: remove new method from hasher trait & implement test 2022-11-01 20:24:31 +03:00
Magamedrasul Ibragimov 6516b95507 test: change sha to keccak 2022-11-01 12:08:27 +03:00
Magamedrasul Ibragimov d8f25b90b9 Merge branch 'main' of github.com:Rate-Limiting-Nullifier/pmtree into main 2022-10-31 10:29:30 +03:00
Magamedrasul Ibragimov 100b6d7b0f test: add integration test for Memory_Sha case 2022-10-31 10:29:21 +03:00
Rasul Ibragimov caf34bf7c1
docs: update info about pmtree in README 2022-10-30 23:49:24 +03:00
Magamedrasul Ibragimov bb93da67af docs: customize README 2022-10-30 23:35:36 +03:00
Magamedrasul Ibragimov b032d03f53 chore: implement recalculate tree function 2022-10-30 23:12:58 +03:00
Magamedrasul Ibragimov b08d1710a0 chore: update hasher in Merkle Tree as a PhantomData 2022-10-29 14:31:15 +03:00
Magamedrasul Ibragimov 72ed2927f5 fix: update next_index in db & update DEPTH | NEXT_INDEX keys (collision) 2022-10-29 14:26:43 +03:00
Magamedrasul Ibragimov ad5099e7ef chore: implement root function 2022-10-29 14:17:45 +03:00
Magamedrasul Ibragimov c22414378e chore: remove error handling 2022-10-29 14:09:53 +03:00
Magamedrasul Ibragimov 72c4fd3875 chore: implement insert and delete functions 2022-10-29 13:58:03 +03:00
Magamedrasul Ibragimov e400803cbe style: add new lines to hasher & database modules 2022-10-29 13:45:25 +03:00
Magamedrasul Ibragimov e650af8ee4 chore: implement load function for Merkle Tree 2022-10-29 13:41:45 +03:00
Magamedrasul Ibragimov 3f29e7d3c4 fix: update new function for Merkle Tree 2022-10-29 13:31:37 +03:00
Magamedrasul Ibragimov 18cfabd615 chore: implement new function for Merkle Tree 2022-10-29 13:28:21 +03:00
Magamedrasul Ibragimov 7c5ad1347a docs: update readme with Docs section 2022-10-28 16:54:54 +03:00
Magamedrasul Ibragimov f10e9b595a feat: add new/load function for the Merkle Tree 2022-10-28 16:42:13 +03:00
Magamedrasul Ibragimov 88ab1f459f chore: update initialization function 2022-10-28 15:07:32 +03:00
Magamedrasul Ibragimov c708ea9fda feat: add new functions for Merkle Tree struct 2022-10-28 13:25:56 +03:00
Magamedrasul Ibragimov e64b03220d chore: update tree module 2022-10-27 20:13:58 +03:00
Magamedrasul Ibragimov 65aa1e26aa Merge branch 'main' of github.com:Rate-Limiting-Nullifier/pmtree into main 2022-10-21 12:36:34 +03:00
Magamedrasul Ibragimov 7fb78b193b chore: delete default hasher & database from crate 2022-10-21 12:36:23 +03:00
Rasul Ibragimov 01528be3c4
docs: change How-To instruction 2022-10-19 15:29:13 +03:00
Rasul Ibragimov 94feace164
chore: add LICENSE 2022-10-19 15:26:59 +03:00
Magamedrasul Ibragimov 37b6b8bf8c docs: add workflow badge to README 2022-10-19 15:18:34 +03:00
Magamedrasul Ibragimov 990ecbd561 refactor: add modularity 2022-10-19 15:10:43 +03:00
Magamedrasul Ibragimov fd89299abe chore: add template for the project 2022-10-19 13:42:21 +03:00
Magamedrasul Ibragimov 5e618fb529 docs: delete status from readme 2022-10-11 20:21:26 +03:00
Magamedrasul Ibragimov 8d526391f5 docs: update readme 2022-10-11 20:10:32 +03:00
Magamedrasul Ibragimov 78ea4bce76
ops: add basic actions for build-test-fmt check 2022-10-11 19:58:16 +03:00
Magamedrasul Ibragimov aa3a3cb614 init: add rust lib template 2022-10-11 19:48:08 +03:00