(nodeID uint64, block *types.Block, merkleRoot common.Uint256)
| 675 | } |
| 676 | |
| 677 | func (this *BlockSyncMgr) addBlockCache(nodeID uint64, block *types.Block, |
| 678 | merkleRoot common.Uint256) bool { |
| 679 | this.lock.Lock() |
| 680 | defer this.lock.Unlock() |
| 681 | return this.blocksCache.addBlock(nodeID, block, merkleRoot) |
| 682 | } |
| 683 | |
| 684 | func (this *BlockSyncMgr) getBlockCache(blockHeight uint32) (uint64, *types.Block, |
| 685 | common.Uint256) { |
no test coverage detected