Finish uptime

This commit is contained in:
liangping
2023-04-29 18:21:42 +08:00
parent 58d8cd034a
commit be8ca28c56
6 changed files with 114 additions and 37 deletions
+8 -6
View File
@@ -80,15 +80,17 @@ export interface Block {
"evidence": {
"evidence": any[]
},
"last_commit": {
"height": string,
"round": number,
"block_id": BlockId,
"signatures": Signature[]
}
"last_commit": Commit
}
}
export interface Commit {
"height": string,
"round": number,
"block_id": BlockId,
"signatures": Signature[]
}
export interface TendermintValidator {
"address": string,
"pub_key": Key,
+6
View File
@@ -29,4 +29,10 @@ export class Response<T> {
export interface Coin {
amount: string;
denom: string;
}
export interface UptimeStatus {
height: number;
filled: boolean;
signed: boolean;
}