Documentation ¶
Index ¶
- Variables
- func CalculatePowHash(headBlob []byte, nonce uint32, extra []byte) ([]byte, error)
- func GetNextTargetHelper(blocks []BlockDiffInfo, timePlan uint64) (uint256.Int, error)
- func SetHeaderNonce(header []byte, nonce uint32, extra []byte) ([]byte, error)
- func TargetToDiff(target *uint256.Int) (*uint256.Int, error)
- func VerifyHeaderDifficulty(difficulty uint256.Int, headerDifficulty uint256.Int, headerBlob []byte, ...) (bool, error)
- type ArgonConsensus
- type BlockDiffInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var MAXU256 = &big.Int{}
Functions ¶
func CalculatePowHash ¶
func GetNextTargetHelper ¶
func GetNextTargetHelper(blocks []BlockDiffInfo, timePlan uint64) (uint256.Int, error)
func SetHeaderNonce ¶
Types ¶
type BlockDiffInfo ¶
Click to show internal directories.
Click to hide internal directories.