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