Versions in this module Expand all Collapse all v1 v1.1.2 Sep 16, 2021 Changes in this version + func BigToCompact(n *big.Int) uint64 + func CalcNextRequiredDifficulty(lastBH, compareBH *types.BlockHeader) uint64 + func CalcWork(bits uint64) *big.Int + func CheckProofOfWork(hash, seed *bc.Hash, bits uint64) bool + func CompactToBig(compact uint64) *big.Int + func HashToBig(hash *bc.Hash) *big.Int