Struct cryptoapis::models::list_latest_mined_blocks_ribs::ListLatestMinedBlocksRibs [−][src]
pub struct ListLatestMinedBlocksRibs {Show 22 fields
pub bits: String,
pub chainwork: String,
pub merkle_root: String,
pub stripped_size: i32,
pub version: i32,
pub version_hex: String,
pub weight: i32,
pub extra_data: String,
pub gas_limit: i32,
pub gas_used: i32,
pub mined_in_seconds: i32,
pub sha3_uncles: String,
pub total_difficulty: String,
pub uncles: Vec<String>,
pub difficulty: String,
pub ds_block: i32,
pub ds_difficulty: String,
pub ds_leader: String,
pub micro_blocks: Vec<String>,
pub merkleroot: String,
pub nonce: String,
pub size: i32,
}
Fields
bits: String
Represents a specific sub-unit of Zcash. Bits have two-decimal precision
chainwork: String
Represents a hexadecimal number of all the hashes necessary to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes.
merkle_root: String
Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions’ hashes that are part of a blockchain block.
stripped_size: i32
Defines the numeric representation of the block size excluding the witness data.
version: i32
Represents the transaction version number.
version_hex: String
Is the hexadecimal string representation of the block’s version.
weight: i32
Represents a measurement to compare the size of different transactions to each other in proportion to the block size limit.
extra_data: String
Represents any data that can be included by the miner in the block.
gas_limit: i32
Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.
gas_used: i32
Defines how much of the gas for the block has been used.
mined_in_seconds: i32
Specifies the amount of time required for the block to be mined in second
sha3_uncles: String
Defines the combined hash of all uncles for a given parent.
total_difficulty: String
Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block
uncles: Vec<String>
difficulty: String
Represents a mathematical value of how hard it is to find a valid hash for this block.
ds_block: i32
Represents the Directory Service block which contains metadata about the miners who participate in the consensus protocol.
ds_difficulty: String
Defines how difficult it is to mine the dsBlocks.
ds_leader: String
Represents a part of the DS Committee which leads the consensus protocol for the epoch.
micro_blocks: Vec<String>
merkleroot: String
Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions’ hashes that are part of a blockchain block.
nonce: String
Represents a random value that can be adjusted to satisfy the proof of work
size: i32
Represents the total size of the block in Bytes.
Implementations
pub fn new(
bits: String,
chainwork: String,
merkle_root: String,
stripped_size: i32,
version: i32,
version_hex: String,
weight: i32,
extra_data: String,
gas_limit: i32,
gas_used: i32,
mined_in_seconds: i32,
sha3_uncles: String,
total_difficulty: String,
uncles: Vec<String>,
difficulty: String,
ds_block: i32,
ds_difficulty: String,
ds_leader: String,
micro_blocks: Vec<String>,
merkleroot: String,
nonce: String,
size: i32
) -> ListLatestMinedBlocksRibs
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListLatestMinedBlocksRibs
impl Send for ListLatestMinedBlocksRibs
impl Sync for ListLatestMinedBlocksRibs
impl Unpin for ListLatestMinedBlocksRibs
impl UnwindSafe for ListLatestMinedBlocksRibs
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more