MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ParentHash

Method ParentHash

types/block.go:155–157  ·  view source on GitHub ↗

ParentHash returns the parent hash field of the block header.

()

Source from the content-addressed store, hash-verified

153
154// ParentHash returns the parent hash field of the block header.
155func (b *Block) ParentHash() *hash.Hash {
156 return &b.SignedHeader.ParentHash
157}
158
159// BlockHash returns the parent hash field of the block header.
160func (b *Block) BlockHash() *hash.Hash {

Callers 13

addBlockFunction · 0.45
buildBlockIndexFunction · 0.45
applyBlockMethod · 0.45
produceBlockMethod · 0.45
processBlocksMethod · 0.45
applyBlockMethod · 0.45
blockingFetchBlockMethod · 0.45
NewChainWithContextFunction · 0.45
produceBlockMethod · 0.45
syncHeadMethod · 0.45
CheckAndPushNewBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected