# 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.
CompactToBigWithDestination is a version of CompactToBig that takes a destination parameter.
GetHashrateString returns the expected hashrate of the network on a certain difficulty target.