Versions in this module Expand all Collapse all v1 v1.0.0 Dec 21, 2023 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()