MCPcopy Create free account
hub / github.com/CPChain/chain / Body

Method Body

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

Body returns the non-header content of the block.

()

Source from the content-addressed store, hash-verified

449
450// Body returns the non-header content of the block.
451func (b *Block) Body() *Body { return &Body{b.transactions} }
452
453func (b *Block) HashNoNonce() common.Hash {
454 return b.header.HashNoNonce()

Callers 5

makeChainForBenchFunction · 0.80
InsertReceiptChainMethod · 0.80
WriteBlockFunction · 0.80
TestBlockStorageFunction · 0.80
TestPartialBlockStorageFunction · 0.80

Calls

no outgoing calls

Tested by 3

makeChainForBenchFunction · 0.64
TestBlockStorageFunction · 0.64
TestPartialBlockStorageFunction · 0.64