(blockHash common.Uint256)
| 849 | } |
| 850 | |
| 851 | func (this *BlockSyncMgr) isBlockOnFlight(blockHash common.Uint256) bool { |
| 852 | flightInfos := this.getFlightBlocks(blockHash) |
| 853 | return len(flightInfos) != 0 |
| 854 | } |
| 855 | |
| 856 | func (this *BlockSyncMgr) getNextNode(nextBlockHeight uint32) *peer.Peer { |
| 857 | weights := this.getAllNodeWeights() |
no test coverage detected