Add previous adjustment retarget. (#655)

* Add previous adjustment retarget.

* Fix green color.
Add + symbol to difficulty change.

* Add previousRetarget to websocket.

* Add previous retarget.
This commit is contained in:
Miguel Medeiros
2021-07-24 19:26:48 -03:00
committed by GitHub
parent c21e8fe642
commit eafb7ec104
6 changed files with 29 additions and 15 deletions

View File

@@ -25,3 +25,12 @@ export interface CpfpInfo {
ancestors: Ancestor[];
bestDescendant: BestDescendant | null;
}
export interface DifficultyAdjustment {
difficultyChange: number;
estimatedRetargetDate: number;
previousRetarget: number;
progressPercent: number;
remainingBlocks: number;
remainingTime: number;
}