# Functions
AlgoVerIterator returns a next and more function to use in a for loop to iterate over block versions at current height.
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.
GetAlgos returns the map of names and algorithm parameters.
GetAlgoVer returns the version number for a given algorithm (by string name) at a given height.
No description provided by the author
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.
GetNumAlgos returns the number of algos at a given height.
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.
# 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
.
No description provided by the author
No description provided by the author
No description provided by the author
FirstPowLimit is.
FirstPowLimitBits is.
No description provided by the author
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
No description provided by the author
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