Struct resource_proof::ResourceProver [−][src]
pub struct ResourceProver { /* fields omitted */ }
Expand description
Object used to compute a result
Implementations
The expected number of steps is pow(2, difficulty)
.
The process is probabilistic, so the actual number of steps required may be more or less.
The length of each step depends on data size. Total expected time is proportional to
length * pow(2, difficulty)
.
Try one step; if successful return the proof result.
(This does not invalidate the prover. Continuing might find another valid solution.)
Auto Trait Implementations
impl RefUnwindSafe for ResourceProver
impl Send for ResourceProver
impl Sync for ResourceProver
impl Unpin for ResourceProver
impl UnwindSafe for ResourceProver