()
| 320 | return len(this.blocksCache) - this.emptyBlockAmount |
| 321 | } |
| 322 | func (this *BlockSyncMgr) getNonEmptyBlockCount() int { |
| 323 | this.lock.RLock() |
| 324 | defer this.lock.RUnlock() |
| 325 | return this.blocksCache.getNonEmptyBlockCount() |
| 326 | } |
| 327 | |
| 328 | //Start to sync |
| 329 | func (this *BlockSyncMgr) Start() { |
no test coverage detected