Description

Delete removes the specified key from the bucket. Deleting a key that does not exist does not return an error.

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

- ErrKeyRequired if the key is empty
- ErrIncompatibleValue if the key is the same as an existing bucket
- ErrTxNotWritable if attempted against a read-only transaction
- ErrTxClosed if the transaction has already been closed

Delete is referenced in 2 repositories

github.com/btcsuite/btcd

...