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

Method GetTime

p2pserver/p2pserver.go:222–224  ·  view source on GitHub ↗

GetTime return lastet contact time

()

Source from the content-addressed store, hash-verified

220
221//GetTime return lastet contact time
222func (this *P2PServer) GetTime() int64 {
223 return this.network.GetTime()
224}
225
226// SetPID sets p2p actor
227func (this *P2PServer) SetPID(pid *evtActor.PID) {

Callers

nothing calls this directly

Calls 1

GetTimeMethod · 0.65

Tested by

no test coverage detected