Versions in this module Expand all Collapse all v0 v0.13.0 Feb 7, 2024 Changes in this version + func BlockLevel(header externalapi.BlockHeader, maxBlockLevel int) int + func CheckProofOfWorkByBits(header externalapi.MutableBlockHeader) bool + type State struct + Nonce uint64 + Target big.Int + Timestamp int64 + func NewState(header externalapi.MutableBlockHeader) *State + func (state *State) CalculateProofOfWorkValue() *big.Int + func (state *State) CheckProofOfWork() bool + func (state *State) IncrementNonce()