func NewBlockPool(height int64, toBcR bcReactor) *BlockPool {
	return &BlockPool{
		Height:            height,
		MaxPeerHeight:     0,
		peers:             make(map[p2p.ID]*BpPeer),
		blocks:            make(map[int64]p2p.ID),
		plannedRequests:   make(map[int64]struct{}),
		nextRequestHeight: height,
		toBcR:             toBcR,
	}
}
// NewBlockPool creates a new BlockPool.
NewBlockPool creates a new BlockPool.
// NewBlockPool creates a new BlockPool .
func NewBlockPool(height int64, toBcR bcReactor) *BlockPool {
	return &BlockPool{
		Height:            height,
		MaxPeerHeight:     0,
		peers:             make(map[p2p.ID]*BpPeer),
		blocks:            make(map[int64]p2p.ID),
		plannedRequests:   make(map[int64]struct{}),
		nextRequestHeight: height,
		toBcR:             toBcR,
	}
}
func NewBlockPool ( height int64 , toBcR bcReactor ) * BlockPool { return & BlockPool { Height : height , MaxPeerHeight : 0 , peers : make ( map [ p2p . ID ] * BpPeer ) , blocks : make ( map [ int64 ] p2p . ID ) , plannedRequests : make ( map [ int64 ] struct { } ) , nextRequestHeight : height , toBcR : toBcR , } }
NewBlockPool creates a new BlockPool.
NewBlockPool creates a new BlockPool .