(blockHeight uint32)
| 312 | } |
| 313 | |
| 314 | func (this *BlockCache) isInBlockCache(blockHeight uint32) bool { |
| 315 | _, ok := this.blocksCache[blockHeight] |
| 316 | return ok |
| 317 | } |
| 318 | |
| 319 | func (this *BlockCache) getNonEmptyBlockCount() int { |
| 320 | return len(this.blocksCache) - this.emptyBlockAmount |