/** * Perform the POW on a block. */ export interface IPowProvider { /** * Perform pow on the block and return the nonce of at least targetScore. * @param block The block to process. * @param targetScore The target score. * @param powInterval The time in seconds that pow should work before aborting. * @returns The nonce as a string. */ pow(block: Uint8Array, targetScore: number, powInterval?: number): Promise; }