MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetStartTime

Method GetStartTime

p2pserver/block_sync.go:213–217  ·  view source on GitHub ↗

GetStartTime return the start time of request

()

Source from the content-addressed store, hash-verified

211
212//GetStartTime return the start time of request
213func (this *SyncFlightInfo) GetStartTime() time.Time {
214 this.lock.RLock()
215 defer this.lock.RUnlock()
216 return this.startTime
217}
218
219//BlockInfo is used for saving block information in cache
220type BlockInfo struct {

Callers 1

OnBlockReceiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected