Struct resource_proof::ResourceProof [] [src]

pub struct ResourceProof { /* fields omitted */ }

Holds the prover requirements

Methods

impl ResourceProof
[src]

Rounds will factor how large the message to send is. It also has a slight impact on the hash power required, but this is minimal.

Requires the proof datato be passed in.

Create the proof data.

validate the data and proof claim (this is the number of zeros to be pushed onto the data)

Validate the data only. Useful to confirm the

Validate the proof claim only.