We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e268db5 commit e1fb9e8Copy full SHA for e1fb9e8
client/src/rpc.rs
@@ -72,6 +72,7 @@ pub struct ServerInfo {
72
pub network: String,
73
pub tip: ChainAnchor,
74
pub chain: ChainInfo,
75
+ pub ready: bool,
76
pub progress: f32,
77
}
78
@@ -1631,6 +1632,7 @@ async fn get_server_info(
1631
1632
pub chain: String,
1633
pub headers: u32,
1634
pub blocks: u32,
1635
+ pub headerssynced: Option<bool>,
1636
1637
1638
let info: Info = rpc
@@ -1653,6 +1655,7 @@ async fn get_server_info(
1653
1655
blocks: info.blocks,
1654
1656
headers: info.headers,
1657
},
1658
+ ready: info.headerssynced.unwrap_or(true),
1659
progress: calc_progress(start_block, tip.height, info.headers),
1660
})
1661
0 commit comments