Function cuprate_blockchain::ops::output::get_num_outputs

source ·
pub fn get_num_outputs(
    table_outputs: &impl DatabaseRo<Outputs>,
) -> Result<u64, RuntimeError>
Expand description

How many pre-RCT Outputs are there?

This returns the amount of pre-RCT outputs currently stored.

§Errors

This function returns RuntimeError::KeyNotFound if the input (if applicable) doesn’t exist or other RuntimeError’s on database errors.