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

Method releaseSyncHeaderLock

p2pserver/block_sync.go:655–659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653}
654
655func (this *BlockSyncMgr) releaseSyncHeaderLock() {
656 this.lock.Lock()
657 defer this.lock.Unlock()
658 this.syncHeaderLock = false
659}
660
661func (this *BlockSyncMgr) tryGetSyncBlockLock() bool {
662 this.lock.Lock()

Callers 1

syncHeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected