Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProofOfWorkByBits ¶
func CheckProofOfWorkByBits(header externalapi.MutableBlockHeader) bool
CheckProofOfWorkByBits check's if the block has a valid PoW according to its Bits field it does not check if the difficulty itself is valid or less than the maximum for the appropriate network
func CheckProofOfWorkWithTarget ¶
func CheckProofOfWorkWithTarget(header externalapi.MutableBlockHeader, target *big.Int) bool
CheckProofOfWorkWithTarget check's if the block has a valid PoW according to the provided target it does not check if the difficulty itself is valid or less than the maximum for the appropriate network
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.