func (bi *BlockIndex) Has(h chainhash.Hash) bool {
	bi.lock.Lock()
	defer bi.lock.Unlock()

	return bi.has(h)
}
// Has returns true if the block index has the specified block.
Has returns true if the block index has the specified block.
// Has returns true if the block index has the specified block .
func (bi *BlockIndex) Has(h chainhash.Hash) bool {
	bi.lock.Lock()
	defer bi.lock.Unlock()
	return bi.has(h)
}
func ( bi * BlockIndex ) Has ( h chainhash . Hash ) bool { bi . lock . Lock ( ) defer bi . lock . Unlock ( ) return bi . has ( h ) }
Has returns true if the block index has the specified block.
Has returns true if the block index has the specified block .