Crate resource_proof

Source
Expand description

§Resource proof

A mechanism to test resource availability (CPU and bandwidth) of a machine prior to it joining a network. This crate provides the creation and validation algorithms.

Validation has some CPU and memory requirements but far less than proof creation. Bandwidth tests (data transfer) affect the machine being proved and the machine doing validation equally; it is suggested that multiple machines test any new machine to apply an asymmetric load.

GitHub repository

Structs§

ResourceProof
Holds the prover requirements
ResourceProver
Object used to compute a result

Functions§

nonce_from_seed
Hashes given seed into a nonce for use in proofs