Commit Graph

  • ce0211da8e make get_elem public (#14) main Ekaterina Broslavskaya 2024-05-17 14:09:19 +07:00
  • ec1d06c88f chore: new version Magamedrasul Ibragimov 2023-08-12 23:59:17 +04:00
  • 1ddb2ae413 Merge pull request #13 from vacp2p/pmtree-upstream Magamedrasul Ibragimov 2023-08-12 23:54:17 +04:00
  • 4c815bfe15 fix: readme rymnc 2023-08-08 13:43:28 +05:30
  • 31ab3164bf fix rymnc 2023-08-08 13:40:40 +05:30
  • 09b0756c4c Merge branch 'main' into pmtree-upstream Aaryamann Challani 2023-08-08 13:39:47 +05:30
  • 7d25f91db3 fix: include db.close, error handling and public db field rymnc 2023-08-08 13:37:33 +05:30
  • 49ffcefc39 fix: remove license-file from Cargo.toml Magamedrasul Ibragimov 2023-08-08 11:46:14 +04:00
  • 3d8db9181b fix: rename license file Magamedrasul Ibragimov 2023-08-08 11:44:17 +04:00
  • 62aa06527b chore: publishing changes Magamedrasul Ibragimov 2023-08-08 11:39:40 +04:00
  • a6e15489ea docs: add cargo-docs comment to new function Magamedrasul Ibragimov 2023-05-10 16:25:50 +04:00
  • a312a50bff Merge pull request #11 from Rate-Limiting-Nullifier/fix-add-public-get Magamedrasul Ibragimov 2023-05-10 16:24:24 +04:00
  • bf27d4273b fix: review rymnc 2023-05-10 14:59:09 +05:30
  • 8b38443637 fix: public getter rymnc 2023-05-10 04:39:04 +05:30
  • b3a02216ce refactor: minor changes in batch_insertion Magamedrasul Ibragimov 2023-04-25 20:19:34 +04:00
  • 108e791d78 docs: add docs for Errors Magamedrasul Ibragimov 2023-04-25 17:40:07 +04:00
  • b2d53e6723 style: add minor changes Magamedrasul Ibragimov 2023-04-25 17:37:22 +04:00
  • e208c3b50a Merge pull request #9 from vacp2p/set_range Magamedrasul Ibragimov 2023-04-25 17:32:36 +04:00
  • cbb966da2e Merge pull request #8 from Rate-Limiting-Nullifier/custom-unknown-error Magamedrasul Ibragimov 2023-04-25 17:16:57 +04:00
  • 9ce7c44a28 fix: s/unknownError/customError/g rymnc 2023-04-25 15:27:44 +05:30
  • a938b11f38 fix: fn signature rymnc 2023-04-25 12:25:50 +05:30
  • 9222310701 fix: tests rymnc 2023-04-24 18:23:27 +05:30
  • 97710d597e Merge branch 'main' into set_range Aaryamann Challani 2023-04-24 18:20:22 +05:30
  • 7e2c3120d7 feat: set_range for indexed batch_insertions rymnc 2023-04-24 18:18:59 +05:30
  • 1d1f183a3e chore: unknown errors rymnc 2023-04-19 22:46:37 +05:30
  • 183f378d32 Merge pull request #7 from vacp2p/custom-errors Magamedrasul Ibragimov 2023-04-19 20:15:50 +04:00
  • f777a3a457 fix: tests rymnc 2023-04-18 14:30:03 +05:30
  • 1055d4723e fix: custom error enum rymnc 2023-04-18 14:22:38 +05:30
  • f6d1a1feca chore: add APACHE-2.0 License (dual) Magamedrasul Ibragimov 2023-02-24 15:31:42 +04:00
  • 854f25b997 chore: rename LICENSE file to LICENSE-MIT Magamedrasul Ibragimov 2023-02-24 15:30:51 +04:00
  • 19c0368310 chore: v1 version Magamedrasul Ibragimov 2023-02-13 18:34:30 +04:00
  • deac77c2b2 docs: update readme with Config Magamedrasul Ibragimov 2023-02-13 16:32:40 +04:00
  • ee50bb7318 feat: add Config associated type to Database trait Magamedrasul Ibragimov 2023-02-10 14:52:45 +04:00
  • 69c9a5dd03 docs: update readme Magamedrasul Ibragimov 2023-02-10 13:35:59 +04:00
  • f261dc15bb chore: reimplement Error API with Error trait objects Magamedrasul Ibragimov 2023-02-10 13:33:58 +04:00
  • 0a456cf697 chore: change number of threads used for rayon Magamedrasul Ibragimov 2023-02-08 19:01:23 +04:00
  • 6a1b5836b8 fix: update fill_nodes function Magamedrasul Ibragimov 2023-02-03 01:04:33 +04:00
  • 94923df743 feat: add batch_insertions (#2) Magamedrasul Ibragimov 2023-02-02 21:13:04 +04:00
  • 0462068697 chore: refactor batch_insertions Magamedrasul Ibragimov 2023-02-02 21:10:48 +04:00
  • c84e12f124 test: implement batch_insertions for sled Magamedrasul Ibragimov 2023-02-02 20:34:23 +04:00
  • 516c46d5f8 chore: fix the bug in batch_insertions Magamedrasul Ibragimov 2023-02-02 20:24:58 +04:00
  • f7e19730f8 test: implement batch_insertions for sled Magamedrasul Ibragimov 2023-02-02 16:11:50 +04:00
  • 0d3f2e0657 test: implement batch_insert for memory_keccak Magamedrasul Ibragimov 2023-02-02 15:47:19 +04:00
  • 9055b14f07 chore: use RwLock instead of Mutex Magamedrasul Ibragimov 2023-02-02 14:51:19 +04:00
  • 824e643c77 chore: implement parallel insertion Magamedrasul Ibragimov 2023-02-02 14:31:18 +04:00
  • 3544ff00bd chore: add frame for batch_recalculate function Magamedrasul Ibragimov 2023-01-29 19:30:10 +04:00
  • 276f8f8d7d chore: add subtree generation function for batch_insert Magamedrasul Ibragimov 2023-01-29 16:14:31 +04:00
  • 689a3e2ed4 chore: add frame for batch_insertions Magamedrasul Ibragimov 2023-01-29 15:07:42 +04:00
  • f369d08b91 chore: remove batch_insert feature & make it default Magamedrasul Ibragimov 2023-01-27 15:07:35 +04:00
  • 75aa714030 docs: add usage example Magamedrasul Ibragimov 2022-12-10 17:19:00 +03:00
  • 3095ec2b73 refactor: remove useless prints Magamedrasul Ibragimov 2022-12-10 16:41:07 +03:00
  • 8c4abe6fa1 fix: change usize to u64 for compatibility Magamedrasul Ibragimov 2022-12-09 16:35:21 +03:00
  • 14d58fdf45 fix: add hardcoded path to default method Magamedrasul Ibragimov 2022-12-07 19:12:54 +03:00
  • 64fa7afbe7 feat: implement default function Magamedrasul Ibragimov 2022-12-07 13:58:40 +03:00
  • 3a7b3a1a51 docs: test commit to check actions Magamedrasul Ibragimov 2022-12-05 14:26:12 +03:00
  • 5cf5251484 chore: update workflow (add caching) Magamedrasul Ibragimov 2022-12-05 14:17:52 +03:00
  • 23f4a5eaf9 refactor: implement deafult_leaf method in Hasher trait Magamedrasul Ibragimov 2022-12-02 21:03:20 +03:00
  • 63a0f9fb7e docs: add instruction for batch_insert feature Magamedrasul Ibragimov 2022-12-02 20:55:44 +03:00
  • 6185354f78 feat: add batch_insert function Magamedrasul Ibragimov 2022-12-02 20:53:03 +03:00
  • ea8c7a5264 feat: change Hasher API Magamedrasul Ibragimov 2022-11-30 21:50:10 +03:00
  • 09d95a901f test: add zerokit test for poseidon_sled case Magamedrasul Ibragimov 2022-11-30 17:22:05 +03:00
  • 629a2bafad tests: add zerokit test for poseidon_memory Magamedrasul Ibragimov 2022-11-30 17:11:26 +03:00
  • 5b25cbc721 test: update poseidon test with proofs Magamedrasul Ibragimov 2022-11-16 19:23:05 +03:00
  • 20a436781b feat: add test with poseidon Magamedrasul Ibragimov 2022-11-16 19:21:58 +03:00
  • c810499057 refactor: update leaf_index function Magamedrasul Ibragimov 2022-11-08 17:34:50 +03:00
  • ccb66c61fb test: add tests for proof & verify API Magamedrasul Ibragimov 2022-11-08 15:36:17 +03:00
  • ef4d821d3c feat: implement proof & verify functions for Merkle Tree Magamedrasul Ibragimov 2022-11-08 15:29:59 +03:00
  • 41a4533272 feat: add API for Merkle proof struct Magamedrasul Ibragimov 2022-11-08 15:00:38 +03:00
  • afa7b33299 test: update tests with Error handling Magamedrasul Ibragimov 2022-11-06 15:25:19 +03:00
  • bd9711d954 feat: add Error handling Magamedrasul Ibragimov 2022-11-06 15:00:09 +03:00
  • 0f08d43574 feat: add Error type Magamedrasul Ibragimov 2022-11-06 14:08:43 +03:00
  • 252fa319eb refactor: change &mut self to &self Magamedrasul Ibragimov 2022-11-02 14:45:10 +03:00
  • 0cb7d88251 test: add test for persistent sled_db Magamedrasul Ibragimov 2022-11-02 13:45:49 +03:00
  • 6b74938519 test: add test for root calculation & for mt state Magamedrasul Ibragimov 2022-11-01 21:01:35 +03:00
  • 01dd08d803 fix: update recalculate_from function Magamedrasul Ibragimov 2022-11-01 21:00:31 +03:00
  • 6b18234c66 chore: remove delete method from Database trait Magamedrasul Ibragimov 2022-11-01 20:33:44 +03:00
  • 4591a9001c fix: change initialization for cached_vec Magamedrasul Ibragimov 2022-11-01 20:31:18 +03:00
  • 5f2b9c61ba chore: remove new method from hasher trait & implement test Magamedrasul Ibragimov 2022-11-01 20:24:31 +03:00
  • 6516b95507 test: change sha to keccak Magamedrasul Ibragimov 2022-11-01 12:08:27 +03:00
  • d8f25b90b9 Merge branch 'main' of github.com:Rate-Limiting-Nullifier/pmtree into main Magamedrasul Ibragimov 2022-10-31 10:29:30 +03:00
  • 100b6d7b0f test: add integration test for Memory_Sha case Magamedrasul Ibragimov 2022-10-31 10:29:21 +03:00
  • caf34bf7c1 docs: update info about pmtree in README Rasul Ibragimov 2022-10-30 23:49:24 +03:00
  • bb93da67af docs: customize README Magamedrasul Ibragimov 2022-10-30 23:35:36 +03:00
  • b032d03f53 chore: implement recalculate tree function Magamedrasul Ibragimov 2022-10-30 23:12:58 +03:00
  • b08d1710a0 chore: update hasher in Merkle Tree as a PhantomData Magamedrasul Ibragimov 2022-10-29 14:31:15 +03:00
  • 72ed2927f5 fix: update next_index in db & update DEPTH | NEXT_INDEX keys (collision) Magamedrasul Ibragimov 2022-10-29 14:26:43 +03:00
  • ad5099e7ef chore: implement root function Magamedrasul Ibragimov 2022-10-29 14:17:45 +03:00
  • c22414378e chore: remove error handling Magamedrasul Ibragimov 2022-10-29 14:09:53 +03:00
  • 72c4fd3875 chore: implement insert and delete functions Magamedrasul Ibragimov 2022-10-29 13:58:03 +03:00
  • e400803cbe style: add new lines to hasher & database modules Magamedrasul Ibragimov 2022-10-29 13:45:25 +03:00
  • e650af8ee4 chore: implement load function for Merkle Tree Magamedrasul Ibragimov 2022-10-29 13:41:45 +03:00
  • 3f29e7d3c4 fix: update new function for Merkle Tree Magamedrasul Ibragimov 2022-10-29 13:31:37 +03:00
  • 18cfabd615 chore: implement new function for Merkle Tree Magamedrasul Ibragimov 2022-10-29 13:28:21 +03:00
  • 7c5ad1347a docs: update readme with Docs section Magamedrasul Ibragimov 2022-10-28 16:54:54 +03:00
  • f10e9b595a feat: add new/load function for the Merkle Tree Magamedrasul Ibragimov 2022-10-28 16:42:13 +03:00
  • 88ab1f459f chore: update initialization function Magamedrasul Ibragimov 2022-10-28 15:07:32 +03:00
  • c708ea9fda feat: add new functions for Merkle Tree struct Magamedrasul Ibragimov 2022-10-28 13:25:56 +03:00
  • e64b03220d chore: update tree module Magamedrasul Ibragimov 2022-10-27 20:13:58 +03:00
  • 65aa1e26aa Merge branch 'main' of github.com:Rate-Limiting-Nullifier/pmtree into main Magamedrasul Ibragimov 2022-10-21 12:36:34 +03:00
  • 7fb78b193b chore: delete default hasher & database from crate Magamedrasul Ibragimov 2022-10-21 12:36:23 +03:00