package
0.0.0-20210712090754-55a2f5289189
Repository: https://github.com/d-platformoperatingsystem/dpos.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.