Commit Graph

44 Commits

Author SHA1 Message Date
nazeh
0f3c96a6b2 test: assert correct ref_count 2023-12-31 17:37:08 +03:00
nazeh
a808fac67e feat: Database and WriteTransaction 2023-12-31 16:25:30 +03:00
nazeh
e13e66d680 chore: publish kytz 2023-12-30 13:47:42 +03:00
nazeh
96676ae95e chore: clippy and remove varu64 2023-12-29 23:47:55 +03:00
nazeh
82a5091c14 feat: change node encoding 2023-12-29 23:45:29 +03:00
nazeh
8ac68bd451 chore: clippy 2023-12-29 19:42:05 +03:00
nazeh
5ca4df123f feat: cache Node rank 2023-12-29 19:37:23 +03:00
nazeh
72893db180 feat: cache Node hash 2023-12-29 19:27:59 +03:00
nazeh
396242bc75 feat: remove working 2023-12-23 23:20:52 +03:00
nazeh
d86952df16 wip: basic cases of remove 2023-12-23 22:28:36 +03:00
nazeh
2f3f6bfc62 fix: first bug with proptest 2023-12-23 10:55:03 +03:00
nazeh
39ac5c12a1 test: simplify unit tests even more 2023-12-23 09:51:03 +03:00
nazeh
eb1b858ebb test: compare to Btreemap instead of hardcoding expected results 2023-12-23 09:37:35 +03:00
nazeh
7b460ba3bd chore: slight simplification 2023-12-23 08:53:52 +03:00
nazeh
05e8bb1720 fix: passing all test cases 2023-12-23 08:40:57 +03:00
nazeh
e9d939f017 test: assert that nodes have ref_count of 1 for one treap insertion 2023-12-21 21:50:56 +03:00
nazeh
0c6587e51f chore: clippy 2023-12-21 21:33:45 +03:00
nazeh
cb3d0194cd fix: upsert exact key don't drop children 2023-12-21 19:27:16 +03:00
nazeh
15a9ca2650 refactor: remove the tests to separate module with helper functions 2023-12-21 18:12:59 +03:00
nazeh
ebd4ef32d0 feat: insert passes all the eyeball tests 2023-12-20 23:03:25 +03:00
nazeh
9e8a483551 wip: step closer to finishing insert 2023-12-20 21:05:55 +03:00
nazeh
2c29d021f0 wip: refactor insert to separate file 2023-12-20 19:57:15 +03:00
nazeh
5d2f61ccc8 wip: upsert nodes with the same key 2023-12-20 12:16:02 +03:00
nazeh
bbd6652620 fix: nullify the child of the last node in each the unzipped path 2023-12-20 00:20:53 +03:00
nazeh
33d83ce435 fix: ref_count overflow 2023-12-19 23:05:35 +03:00
nazeh
eac90cc9fe wip: fix zip path 2023-12-19 19:46:24 +03:00
nazeh
c88c085dec wip: update the Node to use redb tables 2023-12-19 16:54:47 +03:00
nazeh
44ee478d38 fix: update the node before returning it as the root in insert() 2023-12-18 19:16:38 +03:00
nazeh
60ff54a651 wip: insertion still missed up, but getting closer 2023-12-18 13:19:46 +03:00
nazeh
582d97d242 wip: snapshot of the iterative approach with comments 2023-12-17 18:57:52 +03:00
nazeh
6ff8d1b0f6 wip: little refactor to move mermaid code out of the way 2023-12-16 22:04:40 +03:00
nazeh
ed88adbf02 wip: treap 2023-12-16 21:42:41 +03:00
nazeh
e45cacd61a wip: history independant treap 2023-12-15 23:09:12 +03:00
nazeh
9596efc534 wip: Mast zip tree 2023-12-14 19:28:19 +03:00
nazeh
b193cb516a feat: zeroize encryption_key for seed 2023-12-12 17:52:49 +03:00
nazeh
a7260f745d chore: simplify 2023-12-12 16:25:35 +03:00
nazeh
5b2bfc878f feat: error from Io errors 2023-12-11 17:52:02 +03:00
nazeh
0ec3c5acbe chore: rename to kytz 2023-12-10 13:20:42 +03:00
nazeh
70061dffe6 feat: encrypt seed and encode as URI 2023-12-10 12:10:53 +03:00
nazeh
68bdfa93a4 wip: first implementation of deriving encryption key from passphrase 2023-12-08 16:26:12 +03:00
nazeh
9326933322 feat: generate passphrase 2023-12-08 13:32:46 +03:00
nazeh
2c1e383c88 chore: publish 0.0.1 2023-12-07 19:54:20 +03:00
nazeh
62a3e7267e feat: encrypted seed file encoding 2023-12-07 19:49:11 +03:00
nazeh
327f8dc0cd initial commit 2023-12-07 18:29:41 +03:00