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

Method Timestamp

types/block.go:224–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func (h *Header) Timestamp() time.Time {
225 return time.Unix(0, h.Time.Int64()*int64(time.Millisecond)/int64(time.Nanosecond))
226}
227
228func (h *Header) Impeachment() bool {
229 return h.Coinbase == common.Address{}

Callers 2

verifyBasicMethod · 0.95
commitNewWorkMethod · 0.95

Calls 1

Int64Method · 0.80

Tested by

no test coverage detected