Description

HasBlock returns whether or not a block with the given hash exists in the database.

Returns the following errors as required by the interface contract:

- ErrTxClosed if the transaction has already been closed

This function is part of the database.Tx interface implementation.

HasBlock is referenced in 0 repositories