Skip to main content

Module pow

Module pow 

Source

Structs§

U256
256-bit integer for Bitcoin target calculations

Functions§

batch_check_proof_of_work
Spec-locked to Orange Paper Section 7.2: BatchCheckProofOfWork
check_proof_of_work
Spec-locked to Orange Paper Section 7.2: CheckProofOfWork
difficulty_from_bits
Spec-locked to Orange Paper Section 7.1: DifficultyFromBits
expand_target
Spec-locked to Orange Paper Section 7.1: ExpandTarget
get_next_work_required
Spec-locked to Orange Paper Section 7.1: GetNextWorkRequired
get_next_work_required_corrected
Spec-locked to Orange Paper Section 7.1: GetNextWorkRequiredCorrected