package
0.0.0-20240106054325-8321ad0eda4c
Repository: https://github.com/kash-protocol/kashd.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.
CompactToBigWithDestination is a version of CompactToBig that takes a destination parameter.
GetHashrateString returns the expected hashrate of the network on a certain difficulty target.