Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePcProof ¶
func ValidatePcProof( pcp *wire.PacketCryptProof, blockHeight int32, blockHeader *wire.BlockHeader, cb *wire.PcCoinbaseCommit, shareTarget uint32, blockHashes []*chainhash.Hash, contentProofs [][]byte, packetCryptVersion int, ) (bool, er.R)
ValidatePcProof checks if the PacketCrypt proof is ok returns an error if it is not and a bool which indicates whether it is good enough to be a block in case that shareTarget is non-zero. If there is enough work to make a valid block, this function will always accept the share even if shareTarget is not met!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.