cuprate_blockchain::ops::alt_block

Function flush_alt_blocks

Source
pub fn flush_alt_blocks<'a, E: EnvInner<'a>>(
    env_inner: &E,
    tx_rw: &mut E::Rw<'_>,
) -> Result<(), RuntimeError>
Expand description

Flush all alt-block data from all the alt-block tables.

This function completely empties the alt block tables.