Struct grin_core::pow::cuckarooz::CuckaroozContext [−][src]
pub struct CuckaroozContext { /* fields omitted */ }
Cuckarooz cycle context. Only includes the verifier for now.
Trait Implementations
impl PoWContext for CuckaroozContext
[src]
impl PoWContext for CuckaroozContext
[src]fn set_header_nonce(
&mut self,
header: Vec<u8>,
nonce: Option<u32>,
_solve: bool
) -> Result<(), Error>
[src]
fn set_header_nonce(
&mut self,
header: Vec<u8>,
nonce: Option<u32>,
_solve: bool
) -> Result<(), Error>
[src]Sets the header along with an optional nonce at the end solve: whether to set up structures for a solve (true) or just validate (false) Read more
Auto Trait Implementations
impl RefUnwindSafe for CuckaroozContext
impl Send for CuckaroozContext
impl Sync for CuckaroozContext
impl Unpin for CuckaroozContext
impl UnwindSafe for CuckaroozContext
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> UnsafeAny for T where
T: Any,
T: Any,