Set backend to out of sync after connection retry interval has exceeded.
This commit is contained in:
@@ -29,10 +29,15 @@ class Mempool {
|
||||
setInterval(this.updateTxPerSecond.bind(this), 1000);
|
||||
}
|
||||
|
||||
public isInSync() {
|
||||
public isInSync(): boolean {
|
||||
return this.inSync;
|
||||
}
|
||||
|
||||
public setOutOfSync(): void {
|
||||
this.inSync = false;
|
||||
loadingIndicators.setProgress('mempool', 99);
|
||||
}
|
||||
|
||||
public getLatestTransactions() {
|
||||
return this.latestTransactions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user