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.
Structs
Holds the prover requirements
Object used to compute a result
Functions
Hashes given seed into a nonce for use in proofs