[−][src]Struct bitcoincore_rpc_json::GetBlockchainInfoResult
Models the result of "getblockchaininfo"
Fields
chain: StringCurrent network name as defined in BIP70 (main, test, regtest)
blocks: u64The current number of blocks processed in the server
headers: u64The current number of headers we have validated
bestblockhash: Sha256dHashThe hash of the currently best block
difficulty: f64The current difficulty
mediantime: u64Median time for the current best block
verificationprogress: f64Estimate of verification progress [0..1]
initialblockdownload: boolEstimate of whether this node is in Initial Block Download mode
chainwork: StringTotal amount of work in active chain, in hexadecimal
size_on_disk: u64The estimated size of the block and undo files on disk
pruned: boolIf the blocks are subject to pruning
pruneheight: Option<u64>Lowest-height complete block stored (only present if pruning is enabled)
automatic_pruning: Option<bool>Whether automatic pruning is enabled (only present if pruning is enabled)
prune_target_size: Option<u64>The target size used by pruning (only present if automatic pruning is enabled)
softforks: Vec<Softfork>Status of softforks in progress
bip9_softforks: ValueStatus of BIP9 softforks in progress
warnings: StringAny network and blockchain warnings.
Trait Implementations
impl Clone for GetBlockchainInfoResult[src]
fn clone(&self) -> GetBlockchainInfoResult[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for GetBlockchainInfoResult[src]
impl Serialize for GetBlockchainInfoResult[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for GetBlockchainInfoResult[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GetBlockchainInfoResult
impl Sync for GetBlockchainInfoResult
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,