UNPKG

turtlecoin-wallet-backend

Version:

[![Build Status](https://travis-ci.org/turtlecoin/turtlecoin-wallet-backend-js.svg?branch=master)](https://travis-ci.org/turtlecoin/turtlecoin-wallet-backend-js)

15 lines (14 loc) 572 B
import { SynchronizationStatusJSON } from './JsonSerialization'; export declare class SynchronizationStatus { static fromJSON(json: SynchronizationStatusJSON): SynchronizationStatus; private blockHashCheckpoints; private lastKnownBlockHashes; private lastKnownBlockHeight; private lastSavedCheckpointAt; constructor(startHeight?: number); toJSON(): SynchronizationStatusJSON; getHeight(): number; storeBlockHash(blockHeight: number, blockHash: string): void; getBlockCheckpoints(): string[]; getRecentBlockHashes(): string[]; }