MCPcopy 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
707func (this *BlockSyncMgr) releaseSaveBlockLock() {
708 this.lock.Lock()
709 defer this.lock.Unlock()
710 this.saveBlockLock = false
711}
712
713func (this *BlockSyncMgr) saveBlock() {
714 if this.tryGetSaveBlockLock() {

Callers 1

saveBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected