package
0.0.0-20231224052254-3c905e5ef12b
Repository: https://github.com/assetcloud/chain.git
Documentation: pkg.go.dev

# Functions

BigToCompact converts a whole number N to a compact representation using an unsigned 32-bit number.
CalcWork calculates a work value from difficulty bits.
CompactToBig converts a compact representation of a whole number N to an unsigned 32-bit number.
HashToBig converts a chainhash.Hash into a big.Int that can be used to perform math comparisons.