Commit Graph

347 Commits

Author SHA1 Message Date
Hayden Young
f6368c2645 feat: Implement new keystore across tests. 2023-03-01 10:01:17 +00:00
Hayden Young
ba71a7985e feat: Use composite storage for key store. 2023-02-28 16:30:36 +00:00
Hayden Young
0c5c44e429 refactor: Generate keys using crypto. 2023-02-28 03:34:55 +00:00
Hayden Young
8b16332bd6 feat: Default cache size. 2023-02-27 16:12:08 +00:00
Hayden Young
45770b05ac feat: Default keystore location. 2023-02-27 16:10:50 +00:00
Hayden Young
bf86156f9f refactor: Use KeyStore as function. Export signMessage and verifyMessage to avoid clashes with similarly named functions. 2023-02-27 02:42:18 +00:00
Hayden Young
7cd2831a82 fix: Missing KeyValue verify. 2023-02-26 23:25:43 +00:00
Hayden Young
2e8530e7b1 test: Persisted keyvalue with KeyStore. 2023-02-26 23:23:27 +00:00
Hayden Young
13f02ba580 refactor: Defaults. 2023-02-26 18:16:06 +00:00
Hayden Young
be2d5900de refactor: wip. 2023-02-24 19:57:16 +00:00
Hayden Young
1fe62104c6 refactor: queue writes to index. 2023-02-24 02:51:56 +00:00
Hayden Young
3f9afe627c feat: Do not export Feed store. 2023-02-24 00:51:25 +00:00
Hayden Young
678ba05e50 feat: Do not include Feed as a store. 2023-02-24 00:50:38 +00:00
Hayden Young
3f70f4ddd2 refactor: Do not return hash as part of iterator result. 2023-02-24 00:46:56 +00:00
Hayden Young
0cdd740df6 test: Key/Value. 2023-02-23 02:36:50 +00:00
Hayden Young
3027b9dfbd test: Feed test. 2023-02-23 00:05:19 +00:00
haad
2189f39b3d Fix Log's iterator and traverse logic 2023-02-22 10:09:07 +02:00
Hayden Young
8db138ac9d refactor: Return hash and value. 2023-02-21 17:22:27 +00:00
Hayden Young
f252e3b332 feat: Iterator can return full operation. 2023-02-21 14:26:43 +00:00
Hayden Young
fe207a9020 test: Test event store iterator options. 2023-02-21 02:47:05 +00:00
Hayden Young
06917ffa7c test: Test single document store. 2023-02-20 23:30:08 +00:00
haad
0b385e5c57 Clean ups 2023-02-20 12:12:50 +02:00
haad
f84915fca8 Merge identity keys and signing keys keystores 2023-02-20 11:21:34 +02:00
haad
0caa34afcb Change Identity's signatures structure 2023-02-20 10:51:12 +02:00
haad
0e0c160b20 Clean up after tests 2023-02-20 09:41:41 +02:00
haad
4b4d2ff35c Refactor Identity 2023-02-20 09:41:41 +02:00
haad
5b6a70c7cc Refactor IdentityProvider 2023-02-20 09:41:41 +02:00
haad
b769ff271d Add a queue to Database 2023-02-20 09:39:46 +02:00
Hayden Young
fcff7373cb refactor: Move identity store to identities subpath. 2023-02-16 13:42:26 +00:00
haad
19ce1ce160 Re-organize IdentityProvider 2023-02-16 14:50:14 +02:00
haad
dc5a0edd93 Move Log to oplog directory, refactor references 2023-02-16 13:10:20 +02:00
haad
44a9543aee Fix linter errors 2023-02-16 12:47:35 +02:00
haad
7503bd30bb Rename db/interface to db/database 2023-02-16 12:40:15 +02:00
haad
96f07d6e2b Fix peer sending messages to themselves 2023-02-16 12:32:31 +02:00
haad
e50d27f891 Add lamport-clock.js from ipfs-log 2023-02-16 11:06:35 +02:00
Hayden Young
16c6a3c397 refactor: subpath structuring for simplified imports. 2023-02-16 10:33:30 +02:00
haad
96f5df18d1 Rework identity storage and usage of identity hash 2023-02-16 10:20:08 +02:00
haad
de8294b2bb WIP 4 2023-02-16 10:19:44 +02:00
Hayden Young
5d7c4e407f feat: Identity storage. 2023-02-16 10:19:30 +02:00
Hayden Young
d5235ef23d refactor: Store identity hash against each entry. 2023-02-16 10:19:28 +02:00
Hayden Young
2d425f7323 test: For a non-existent document. 2023-02-16 10:19:01 +02:00
Hayden Young
2af2f7d8fb refactor: Use doc directly. Var renaming. 2023-02-16 10:19:01 +02:00
haad
ef60cb252c Add heads and entry index, use LevelStorage, clean up naming 2023-02-16 10:19:01 +02:00
Hayden Young
2ae11ca3e4 feat: A basic document store. 2023-02-16 10:18:41 +02:00
haad
c5bfcb8bd9 WIP 3 2023-02-16 10:18:39 +02:00
haad
f576795c3e WIP 2 2023-02-16 10:17:37 +02:00
haad
40494246e1 WIP 2 2023-02-16 10:17:23 +02:00
haad
42a5c2d723 WIP 2023-02-16 10:16:15 +02:00
haad
9892d57d67 Fix fs-shim 2023-01-12 11:08:50 +02:00
Hayden Young
cb21894828 fix: Check for custom-defined cache when migrating. 2023-01-05 16:59:44 +00:00