pub struct GetblockchaininfoResponse {Show 19 fields
pub chain: String,
pub blocks: u64,
pub headers: u64,
pub bestblockhash: BlockHash,
pub bits: String,
pub target: String,
pub difficulty: f64,
pub time: Value,
pub mediantime: Value,
pub verificationprogress: f64,
pub initialblockdownload: bool,
pub chainwork: String,
pub size_on_disk: u64,
pub pruned: bool,
pub pruneheight: Option<u64>,
pub automatic_pruning: Option<bool>,
pub prune_target_size: Option<u64>,
pub signet_challenge: Option<String>,
pub warnings: Vec<Value>,
}Expand description
Returns an object containing various state info regarding blockchain processing.
Fields§
§chain: String§blocks: u64§headers: u64§bestblockhash: BlockHash§bits: String§target: String§difficulty: f64§time: Value§mediantime: Value§verificationprogress: f64§initialblockdownload: bool§chainwork: String§size_on_disk: u64§pruned: bool§pruneheight: Option<u64>§automatic_pruning: Option<bool>§prune_target_size: Option<u64>§signet_challenge: Option<String>§warnings: Vec<Value>Trait Implementations§
Source§impl Debug for GetblockchaininfoResponse
impl Debug for GetblockchaininfoResponse
Source§impl<'de> Deserialize<'de> for GetblockchaininfoResponse
impl<'de> Deserialize<'de> for GetblockchaininfoResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetblockchaininfoResponse
impl RefUnwindSafe for GetblockchaininfoResponse
impl Send for GetblockchaininfoResponse
impl Sync for GetblockchaininfoResponse
impl Unpin for GetblockchaininfoResponse
impl UnwindSafe for GetblockchaininfoResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more