View definition

func ShouldHaveSerializedBlockHeight

Defined in github.com/btcsuite/btcd/blockchain/validate.go

Description

ShouldHaveSerializedBlockHeight determines if a block should have a serialized block height embedded within the scriptSig of its coinbase transaction. Judgement is based on the block version in the block header. Blocks with version 2 and above satisfy this criteria. See BIP0034 for further information.

ShouldHaveSerializedBlockHeight is referenced in 2 repositories

github.com/btcsuite/btcd

...