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

Method releaseSyncBlockLock

p2pserver/block_sync.go:671–675  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

669}
670
671func (this *BlockSyncMgr) releaseSyncBlockLock() {
672 this.lock.Lock()
673 defer this.lock.Unlock()
674 this.syncBlockLock = false
675}
676
677func (this *BlockSyncMgr) addBlockCache(nodeID uint64, block *types.Block,
678 merkleRoot common.Uint256) bool {

Callers 1

syncBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected