Replace cached blocks on reorg, serve stale blocks

This commit is contained in:
Mononaut
2023-07-08 00:33:14 -04:00
parent fd8d9edf6c
commit 983a9ecd0e
5 changed files with 25 additions and 8 deletions

View File

@@ -120,6 +120,7 @@ export interface Block {
size: number;
weight: number;
previousblockhash: string;
stale?: boolean;
}
export interface Address {