HasBlocks returns whether or not the blocks with the provided hashes exist in the database.

The interface contract guarantees at least the following errors will be returned (other implementation-specific errors are possible):

- ErrTxClosed if the transaction has already been closed

Other errors are possible depending on the implementation.

HasBlocks is referenced in 1 repository