cuprate_blockchain::ops::output

Function get_rct_num_outputs

Source
pub fn get_rct_num_outputs(
    table_rct_outputs: &impl DatabaseRo<RctOutputs>,
) -> Result<u64, RuntimeError>
Expand description

How many RctOutputs are there?

This returns the amount of 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.