Structs§
- U256
- 256-bit integer for Bitcoin target calculations
Functions§
- batch_
check_ proof_ of_ work - Batch check proof of work for multiple headers
- check_
proof_ of_ work - CheckProofOfWork: ℋ → {true, false}
- difficulty_
from_ bits - Convert compact target bits to human-readable difficulty (MAX_TARGET / target).
- expand_
target - Expand target from compact representation
- get_
next_ work_ required - GetNextWorkRequired: ℋ × ℋ* → ℕ
- get_
next_ work_ required_ corrected - GetNextWorkRequired (Corrected): ℋ × ℋ* → ℕ