lisk-framework
Version:
Lisk blockchain application platform
13 lines (12 loc) • 792 B
TypeScript
/// <reference types="node" />
import { Database, StateDB } from '@liskhq/lisk-db';
import { WaitUntilBlockHeightOptions } from './types';
import { PrefixedStateReadWriter } from '../state_machine/prefixed_state_read_writer';
export declare const waitUntilBlockHeight: ({ apiClient, height, timeout, }: WaitUntilBlockHeightOptions) => Promise<void>;
export declare const getDBPath: (name: string, dbPath?: string) => string;
export declare const createDB: (name: string, dbPath?: string) => Database;
export declare const createStateDB: (name: string, dbPath?: string) => StateDB;
export declare const removeDB: (dbPath?: string) => void;
export declare const createStoreGetter: (stateStore: PrefixedStateReadWriter) => {
getStore: (p1: Buffer, p2: Buffer) => PrefixedStateReadWriter;
};