pub struct GetnetworkhashpsParams {
pub nblocks: u64,
pub height: u64,
}Expand description
Returns the estimated network hashes per second based on the last n blocks. Pass in [blocks] to override # of blocks, -1 specifies since last difficulty change. Pass in [height] to estimate the network speed at the time when a certain block was found.
Fields§
§nblocks: u64§height: u64Trait Implementations§
Source§impl Debug for GetnetworkhashpsParams
impl Debug for GetnetworkhashpsParams
Auto Trait Implementations§
impl Freeze for GetnetworkhashpsParams
impl RefUnwindSafe for GetnetworkhashpsParams
impl Send for GetnetworkhashpsParams
impl Sync for GetnetworkhashpsParams
impl Unpin for GetnetworkhashpsParams
impl UnsafeUnpin for GetnetworkhashpsParams
impl UnwindSafe for GetnetworkhashpsParams
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