Commit Graph

112 Commits

Author SHA1 Message Date
rymnc c34635f53a
chore: release v2.0.2 2024-05-17 14:34:23 +05:30
Ekaterina Broslavskaya a858d39877
Merge pull request #3 from vacp2p/key-constructor
Add constructor to Key
2024-05-17 16:02:20 +07:00
seemenkina 37f0c78931
add constructor 2024-05-17 16:00:58 +07:00
rymnc 720079efb2
chore: release v2.0.1 2024-05-17 13:16:44 +05:30
Ekaterina Broslavskaya 33adfaffef
make get_elem public (#14) 2024-05-17 13:14:18 +05:30
Aaryamann Challani a48c3d9400
Merge pull request #1 from vacp2p/make-db-public
Make db public, and fork to vacp2p_pmtree to publish to crates.io
2023-07-28 14:16:30 +05:30
rymnc b5c62d3a8d
fix: rename to vacp2p_pmtree 2023-07-28 14:10:10 +05:30
rymnc 35c0d508a6
fix: remove poseidon test (dep on rln) 2023-07-28 14:08:53 +05:30
rymnc d0651d4a1a
fix: tests 2023-07-28 14:03:50 +05:30
rymnc 4521c44065
fix: unwrap on root when tree is persisted 2023-07-25 21:51:55 +05:30
rymnc 46a39a373f
chore: add close db connection feature 2023-07-24 15:56:12 +05:30
Aaryamann Challani 8b005bb44a
Merge branch 'Rate-Limiting-Nullifier:main' into make-db-public 2023-06-15 16:07:59 +05:30
rymnc 580787a236
chore: make db public so we can set metadata 2023-06-15 16:06:43 +05:30
Magamedrasul Ibragimov a6e15489ea docs: add cargo-docs comment to new function 2023-05-10 16:25:50 +04:00
Magamedrasul Ibragimov a312a50bff
Merge pull request #11 from Rate-Limiting-Nullifier/fix-add-public-get
fix: add public getters
2023-05-10 16:24:24 +04:00
rymnc bf27d4273b
fix: review 2023-05-10 14:59:09 +05:30
rymnc 8b38443637
fix: public getter 2023-05-10 11:51:42 +05:30
Magamedrasul Ibragimov b3a02216ce
refactor: minor changes in batch_insertion 2023-04-25 20:19:34 +04:00
Magamedrasul Ibragimov 108e791d78 docs: add docs for Errors 2023-04-25 17:40:07 +04:00
Magamedrasul Ibragimov b2d53e6723 style: add minor changes 2023-04-25 17:37:22 +04:00
Magamedrasul Ibragimov e208c3b50a
Merge pull request #9 from vacp2p/set_range
feat: set_range for indexed batch_insertions
2023-04-25 17:32:36 +04:00
Magamedrasul Ibragimov cbb966da2e
Merge pull request #8 from Rate-Limiting-Nullifier/custom-unknown-error
Custom errors for users
2023-04-25 17:16:57 +04:00
rymnc 9ce7c44a28
fix: s/unknownError/customError/g 2023-04-25 15:29:37 +05:30
rymnc a938b11f38
fix: fn signature 2023-04-25 12:25:50 +05:30
rymnc 9222310701
fix: tests 2023-04-24 18:23:27 +05:30
Aaryamann Challani 97710d597e
Merge branch 'main' into set_range 2023-04-24 18:20:22 +05:30
rymnc 7e2c3120d7
feat: set_range for indexed batch_insertions 2023-04-24 18:18:59 +05:30
rymnc 1d1f183a3e
chore: unknown errors 2023-04-24 16:52:12 +05:30
Magamedrasul Ibragimov 183f378d32
Merge pull request #7 from vacp2p/custom-errors
fix: custom error enums
2023-04-19 20:15:50 +04:00
rymnc f777a3a457
fix: tests 2023-04-18 14:30:03 +05:30
rymnc 1055d4723e
fix: custom error enum 2023-04-18 14:22:38 +05:30
Magamedrasul Ibragimov f6d1a1feca
chore: add APACHE-2.0 License (dual) 2023-02-24 15:31:42 +04:00
Magamedrasul Ibragimov 854f25b997
chore: rename LICENSE file to LICENSE-MIT 2023-02-24 15:30:51 +04:00
Magamedrasul Ibragimov 19c0368310 chore: v1 version 2023-02-13 18:34:30 +04:00
Magamedrasul Ibragimov deac77c2b2 docs: update readme with Config 2023-02-13 16:32:40 +04:00
Magamedrasul Ibragimov ee50bb7318 feat: add Config associated type to Database trait 2023-02-10 14:52:45 +04:00
Magamedrasul Ibragimov 69c9a5dd03 docs: update readme 2023-02-10 13:35:59 +04:00
Magamedrasul Ibragimov f261dc15bb chore: reimplement Error API with Error trait objects 2023-02-10 13:33:58 +04:00
Magamedrasul Ibragimov 0a456cf697 chore: change number of threads used for rayon 2023-02-08 19:01:23 +04:00
Magamedrasul Ibragimov 6a1b5836b8 fix: update fill_nodes function 2023-02-03 01:04:33 +04:00
Magamedrasul Ibragimov 94923df743 feat: add batch_insertions (#2) 2023-02-02 21:13:04 +04:00
Magamedrasul Ibragimov 0462068697 chore: refactor batch_insertions 2023-02-02 21:10:48 +04:00
Magamedrasul Ibragimov c84e12f124 test: implement batch_insertions for sled 2023-02-02 20:34:23 +04:00
Magamedrasul Ibragimov 516c46d5f8 chore: fix the bug in batch_insertions 2023-02-02 20:24:58 +04:00
Magamedrasul Ibragimov f7e19730f8 test: implement batch_insertions for sled 2023-02-02 16:11:50 +04:00
Magamedrasul Ibragimov 0d3f2e0657 test: implement batch_insert for memory_keccak 2023-02-02 15:47:19 +04:00
Magamedrasul Ibragimov 9055b14f07 chore: use RwLock instead of Mutex 2023-02-02 14:51:19 +04:00
Magamedrasul Ibragimov 824e643c77 chore: implement parallel insertion 2023-02-02 14:31:18 +04:00
Magamedrasul Ibragimov 3544ff00bd chore: add frame for batch_recalculate function 2023-01-29 19:30:10 +04:00
Magamedrasul Ibragimov 276f8f8d7d chore: add subtree generation function for batch_insert 2023-01-29 16:14:31 +04:00