Skip to content

Integrate DB into the level db interface so db levels are the same as db #8

Closed
@CMCDragonkai

Description

@CMCDragonkai

Specification

Similar to #5, I find that it shouldn't be necessary in PK to have db and vaults running their own DB. The vaults 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 another DB 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

  1. ...
  2. ...
  3. ...

Metadata

Metadata

Assignees

Labels

designRequires design (architecture, protocol, specification and task list requires further work)developmentStandard developmentr&d:polykey:core activity 1Secret Vault Sharing and Secret History Management

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions