Function zcash_client_sqlite::wallet::rewind_to_height [−][src]
pub fn rewind_to_height<P: Parameters>(
wdb: &WalletDb<P>,
block_height: BlockHeight
) -> Result<(), SqliteClientError>
Expand description
Rewinds the database to the given height.
If the requested height is greater than or equal to the height of the last scanned block, this function does nothing.
This should only be executed inside a transactional context.