Integrate DB into the level db interface so db levels are the same as db #8
Labels
design
Requires design (architecture, protocol, specification and task list requires further work)
development
Standard development
r&d:polykey:core activity 1
Secret Vault Sharing and Secret History Management
Specification
Similar to #5, I find that it shouldn't be necessary in PK to have
db
andvaults
running their own DB. Thevaults
is using EFS which has to use the root DB, but the operations should be workable under a sublevel of the DB used by all of PK.To do this, the API of
js-db
has to be brought into the leveldb abstract interface, that creation of sublevels is the same as creating another DB.Another way is to just make our
level
call return anotherDB
instance, but always with the option of accessing the underlying.db
property for the underlying leveldb to do certain operations.This should be done with investigating #5 so that a consistent solution can be found.
Additional context
Tasks
The text was updated successfully, but these errors were encountered: