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 |
Magamedrasul Ibragimov
|
689a3e2ed4
|
chore: add frame for batch_insertions
|
2023-01-29 15:07:42 +04:00 |
Magamedrasul Ibragimov
|
f369d08b91
|
chore: remove batch_insert feature & make it default
|
2023-01-27 15:07:35 +04:00 |
Magamedrasul Ibragimov
|
75aa714030
|
docs: add usage example
|
2022-12-10 17:19:00 +03:00 |
Magamedrasul Ibragimov
|
3095ec2b73
|
refactor: remove useless prints
|
2022-12-10 16:41:07 +03:00 |
Magamedrasul Ibragimov
|
8c4abe6fa1
|
fix: change usize to u64 for compatibility
|
2022-12-09 16:35:21 +03:00 |
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 |