Skip to main content

Module output

Module output 

Source
Expand description

Output functions.

Functionsยง

add_output
Add a Pre-RCT Output to the database.
get_num_outputs_with_amount
Get the number of outputs with a given amount.
get_output
Retrieve a Pre-RCT Output from the database.
id_to_output_on_chain
Map an PreRctOutputId to an [OutputOnChain].
output_to_output_on_chain
Map an Output to a [cuprate_types::OutputOnChain].
rct_output_to_output_on_chain
Map a RctOutput to a [cuprate_types::OutputOnChain].
remove_output
Remove a Pre-RCT Output from the database.
unlocked_and_recent_instances
Compute (unlocked_instances, recent_instances) for an output amount.