UNPKG

lisk-framework

Version:

Lisk blockchain application platform

12 lines (11 loc) 499 B
import { BlockHeader, StateStore } from '@liskhq/lisk-chain'; import { BFTMethod } from './method'; export declare class BFTModule { name: string; method: BFTMethod; private _batchSize; private _maxLengthBlockBFTInfos; init(batchSize: number, blockTime: number): Promise<void>; initGenesisState(stateStore: StateStore, header: BlockHeader): Promise<void>; beforeTransactionsExecute(stateStore: StateStore, header: BlockHeader, maxRemovalHeight: number): Promise<void>; }