Commit Graph

107 Commits

Author SHA1 Message Date
Magamedrasul Ibragimov 14d58fdf45 fix: add hardcoded path to default method 2022-12-07 19:12:54 +03:00
Magamedrasul Ibragimov 64fa7afbe7 feat: implement default function 2022-12-07 13:58:40 +03:00
Magamedrasul Ibragimov 3a7b3a1a51 docs: test commit to check actions 2022-12-05 14:26:12 +03:00
Magamedrasul Ibragimov 5cf5251484
chore: update workflow (add caching) 2022-12-05 14:17:52 +03:00
Magamedrasul Ibragimov 23f4a5eaf9 refactor: implement deafult_leaf method in Hasher trait 2022-12-02 21:03:20 +03:00
Magamedrasul Ibragimov 63a0f9fb7e docs: add instruction for batch_insert feature 2022-12-02 20:55:44 +03:00
Magamedrasul Ibragimov 6185354f78 feat: add batch_insert function 2022-12-02 20:53:03 +03:00
Magamedrasul Ibragimov ea8c7a5264 feat: change Hasher API 2022-11-30 21:50:10 +03:00
Magamedrasul Ibragimov 09d95a901f test: add zerokit test for poseidon_sled case 2022-11-30 17:22:05 +03:00
Magamedrasul Ibragimov 629a2bafad tests: add zerokit test for poseidon_memory 2022-11-30 17:11:26 +03:00
Magamedrasul Ibragimov 5b25cbc721 test: update poseidon test with proofs 2022-11-16 19:23:05 +03:00
Magamedrasul Ibragimov 20a436781b feat: add test with poseidon 2022-11-16 19:21:58 +03:00
Magamedrasul Ibragimov c810499057 refactor: update leaf_index function 2022-11-08 17:34:50 +03:00
Magamedrasul Ibragimov ccb66c61fb test: add tests for proof & verify API 2022-11-08 15:36:17 +03:00
Magamedrasul Ibragimov ef4d821d3c feat: implement proof & verify functions for Merkle Tree 2022-11-08 15:29:59 +03:00
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