Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ releaseSaveBlockLock
Method
releaseSaveBlockLock
p2pserver/block_sync.go:707–711 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
705
}
706
707
func
(this *BlockSyncMgr) releaseSaveBlockLock() {
708
this.lock.Lock()
709
defer
this.lock.Unlock()
710
this.saveBlockLock = false
711
}
712
713
func
(this *BlockSyncMgr) saveBlock() {
714
if
this.tryGetSaveBlockLock() {
Callers
1
saveBlock
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected