Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
655
func
(this *BlockSyncMgr) releaseSyncHeaderLock() {
656
this.lock.Lock()
657
defer
this.lock.Unlock()
658
this.syncHeaderLock = false
659
}
660
661
func
(this *BlockSyncMgr) tryGetSyncBlockLock() bool {
662
this.lock.Lock()
Callers
1
syncHeader
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected