(blockHeight uint32)
| 753 | } |
| 754 | |
| 755 | func (this *BlockSyncMgr) isInBlockCache(blockHeight uint32) bool { |
| 756 | this.lock.RLock() |
| 757 | defer this.lock.RUnlock() |
| 758 | return this.blocksCache.isInBlockCache(blockHeight) |
| 759 | } |
| 760 | |
| 761 | func (this *BlockSyncMgr) addFlightHeader(nodeId uint64, height uint32) { |
| 762 | this.lock.Lock() |
no test coverage detected