[−][src]Struct bitcoincore_rpc_json::GetBlockchainInfoResult
Models the result of "getblockchaininfo"
Fields
chain: String
Current network name as defined in BIP70 (main, test, regtest)
blocks: u64
The current number of blocks processed in the server
headers: u64
The current number of headers we have validated
best_block_hash: BlockHash
The hash of the currently best block
difficulty: f64
The current difficulty
median_time: u64
Median time for the current best block
verification_progress: f64
Estimate of verification progress [0..1]
initial_block_download: bool
Estimate of whether this node is in Initial Block Download mode
chain_work: Vec<u8>
Total amount of work in active chain, in hexadecimal
size_on_disk: u64
The estimated size of the block and undo files on disk
pruned: bool
If the blocks are subject to pruning
prune_height: 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: HashMap<String, Softfork>
Status of softforks in progress
warnings: String
Any network and blockchain warnings.
Trait Implementations
impl Clone for GetBlockchainInfoResult
[src]
fn clone(&self) -> GetBlockchainInfoResult
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetBlockchainInfoResult
[src]
impl<'de> Deserialize<'de> for GetBlockchainInfoResult
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for GetBlockchainInfoResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetBlockchainInfoResult
[src]
impl Send for GetBlockchainInfoResult
[src]
impl Sync for GetBlockchainInfoResult
[src]
impl Unpin for GetBlockchainInfoResult
[src]
impl UnwindSafe for GetBlockchainInfoResult
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,