Files
common/packages/db
Jaco Greeff 4ae7e4febb Re-add RocksDb interface (#356)
* Re-add RocksDb (still in testing)

* Add bytes_per_sync option

* Move tests (unused)

* Move tests
2019-03-11 12:51:09 +01:00
..
2019-03-11 12:51:09 +01:00
2018-11-21 12:26:38 +01:00
2019-03-11 12:51:09 +01:00
2019-02-26 11:14:20 +01:00

@polkadot/db

This is an implementation of a basic sync in-memory and on-disk database with overlays. Memory is currently used by polkadot-js/client

Usage

Installation -

yarn add @polkadot/db

Classes can be imported as follows:

// Default exports
import DiskDb from '@polkadot/db/Disk';
import MemoryDb from '@polkadot/db/Memory';
import TransactionDb from '@polkadot/db/engines/TransactionDb';

Utilities

Utilities