* Moved rocksDb for unused for testing * Add librocks deps * Install via apt * Update apt first * Manual RocksDb build * Add build deps * Unknown package * Update packages * Follow FB rocksdb config (travis.yml)
@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';