Skip to main content

Crate chia_pos2

Crate chia_pos2 

Source

Structs§

Prover
Farmer wide state for prover
QualityChain
This object contains a quality proof along with metadata required to look up the remaining proof fragments from the plot, to form a partial proof

Constants§

NUM_CHAIN_LINKS

Functions§

create_v2_plot
quality_string_from_proof
Converts full proof bytes to quality string (does not validate the proof). Returns Some(quality) on success, None if proof format is invalid or conversion fails.
serialize_quality
out must point to exactly 129 bytes serializes the QualityProof into the form that will be hashed together with the challenge to determine the quality of ths proof. The quality is used to check if it passes the current difficulty. The format is: 1 byte: plot strength repeat 16 times: 8 bytes: little-endian proof fragment
solve_proof
validate_proof_v2

Type Aliases§

Bytes32