Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPrevBlockHash = errors.New("Previous block hash does not equal the previous hash in the current block")
ErrPrevBlockHash Previous block hash does not equal the previous hash in the current block.
Functions ¶
func CheckBlockCertificate ¶
CheckBlockCertificate ensures that the block certificate is valid.
func CheckBlockHeader ¶
CheckBlockHeader checks whether a block header is malformed. These are stateless and stateful checks. Returns nil, if all checks pass.
func CheckMultiCoinbases ¶
func CheckMultiCoinbases(txs []transactions.ContractCall) error
CheckMultiCoinbases returns an error if there is more than one coinbase transaction in the list or if there are none.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.