1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
crate::ix!();
/**
| Block and header tip information
|
*/
pub struct BlockAndHeaderTipInfo
{
block_height: i32,
block_time: i64,
header_height: i32,
header_time: i64,
verification_progress: f64,
}
/**
| Block tip (could be a header or not, depends
| on the subscribed signal).
|
*/
pub struct BlockTip {
block_height: i32,
block_time: i64,
block_hash: u256,
}