(blockHeight uint32)
| 682 | } |
| 683 | |
| 684 | func (this *BlockSyncMgr) getBlockCache(blockHeight uint32) (uint64, *types.Block, |
| 685 | common.Uint256) { |
| 686 | this.lock.RLock() |
| 687 | defer this.lock.RUnlock() |
| 688 | return this.blocksCache.getBlock(blockHeight) |
| 689 | } |
| 690 | |
| 691 | func (this *BlockSyncMgr) delBlockCache(blockHeight uint32) { |
| 692 | this.lock.Lock() |