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

Method Timestamp

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

Timestamp returns the timestamp field of the block header.

()

Source from the content-addressed store, hash-verified

143
144// Timestamp returns the timestamp field of the block header.
145func (b *Block) Timestamp() time.Time {
146 return b.SignedHeader.Timestamp
147}
148
149// Producer returns the producer field of the block header.
150func (b *Block) Producer() proto.NodeID {

Callers 15

TestChainFunction · 0.45
buildBlockIndexFunction · 0.45
produceBlockMethod · 0.45
processBlocksMethod · 0.45
applyBlockMethod · 0.45
NewChainWithContextFunction · 0.45
pushBlockMethod · 0.45
processBlocksMethod · 0.45
CheckAndPushNewBlockMethod · 0.45
updateMetricsMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestChainFunction · 0.36