# Functions
BigToCompact converts a whole number N to a compact representation using an unsigned 32-bit number.
No description provided by the author
CompactToBig converts a compact representation of a whole number N to an unsigned 32-bit number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetAlgoID returns the 'algo_id' which in pre-hardfork is not the same as the block version number, but is afterwards.
GetAlgoName returns the string identifier of an algorithm depending on hard fork activation status.
GetAlgoVer returns the version number for a given algorithm (by string name) at a given height.
GetAveragingInterval returns the active block interval target based on hard fork status.
GetCurrent returns the hardfork number code.
GetMinBits returns the minimum diff bits based on height and testnet.
GetMinDiff returns the minimum difficulty in uint256 form.
GetRandomVersion returns a random version relevant to the current hard fork state and height.
GetTargetTimePerBlock returns the active block interval target based on hard fork status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Algos are the specifications identifying the algorithm used in the block proof.
No description provided by the author
AlgoVers is the lookup for pre hardfork
.
FirstPowLimit is.
FirstPowLimitBits is.
No description provided by the author
No description provided by the author
IsTestnet is set at startup here to be accessible to all other libraries.
List is the list of existing hard forks and when they activate.
No description provided by the author
No description provided by the author
P9Algos is the algorithm specifications after the hard fork.
No description provided by the author
P9AlgoVers is the lookup for after 1st hardfork.
No description provided by the author
No description provided by the author
SecondPowLimit is.
No description provided by the author
# Structs
AlgoParams are the identifying block version number and their minimum target bits.
No description provided by the author
HardForks is the details related to a hard fork, number, name and activation height.
# Type aliases
No description provided by the author