600 Commits

Author SHA1 Message Date
haad
4a7d3f0720 Move files, clean up 2023-03-01 18:16:06 +02:00
haad
a063b3fb4a Refactor OrbitDB
Fix sync
Fix linter
Fix tests
Clean up
Set default references count to 0
Fix sync
Use address instead of databaseId
Sync protocol
Keep references to open databases in OrbitDB
Fix append benchmark
Initial version of heads exchange
Remove Feed
Fix KeyValuePersisted iterator
Refactor OrbitDBAddress a bit more
Add rest of the database types
Refactor OrbitDB addresses
Initial version for the full circle
Initial structure and tests for new OrbitDB
Make sure KeyStore is open when a Database is created
Re-organize OrbitDB
Use new databases and Log
More clean up
Add 'drop' event to Database
Clean up OrbitDB
Remove id from OrbitDB
Use new KeyStore and Identities
Remove storage from OrbitDB
Remove migrations from OrbitDB
Remove caches from OrbitDB
Remove pubsub from OrbitDB
2023-03-01 16:21:07 +02:00
haad
1575f00912 Add new test keys fixtures database 2023-03-01 14:49:00 +02:00
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