MCPcopy Create free account
hub / github.com/chain/txvm / idTime

Function idTime

protocol/state/snapshot.go:215–219  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

213}
214
215func idTime(b []byte) (bc.Hash, uint64) {
216 h := bc.HashFromBytes(b[:32])
217 t := binary.LittleEndian.Uint64(b[32:])
218 return h, t
219}

Callers 1

PruneNoncesMethod · 0.85

Calls 1

HashFromBytesFunction · 0.92

Tested by

no test coverage detected