pub fn new(min_size: usize, difficulty: u8) -> ResourceProof {
        ResourceProof {
            min_size,
            difficulty,
        }
    }
/// Configure a new prover.
///
/// `min_size` is target data size in bytes. It may be small or large to test bandwidth
/// (although it may be compressible).
///
/// `difficulty` is the number of leading binary zeros required in the hash. Each extra zero
/// doubles the difficulty.
Configure a new prover.
`min_size` is target data size in bytes. It may be small or large to test bandwidth
(although it may be compressible).

`difficulty` is the number of leading binary zeros required in the hash. Each extra zero
doubles the difficulty.
Configure a new prover . ` min_size ` is target data size in bytes . It may be small or large to test bandwidth ( although it may be compressible ) . ` difficulty ` is the number of leading binary zeros required in the hash . Each extra zero doubles the difficulty .
pub fn new(min_size: usize, difficulty: u8) -> ResourceProof {
        ResourceProof {
            min_size,
            difficulty,
        }
    }
pub fn new ( min_size : usize , difficulty : u8 ) -> ResourceProof { ResourceProof { min_size , difficulty , } }
Configure a new prover.
Configure a new prover .
min_size
usize
difficulty
u8
min_size
usize
difficulty
u8