cuprate_consensus_rules

Module transactions

Source

Structs§

DecoyInfo
A struct holding information about the inputs and their decoys. This data can vary by block so this data needs to be retrieved after every change in the blockchain.
TxRingMembersInfo
Information on the outputs the transaction is referencing for inputs (ring members).

Enums§

RingCTError
Rings
Represents the ring members of all the inputs.
TransactionError
TxVersion
An enum representing all valid Monero transaction versions.

Functions§

check_decoy_info
Checks the decoys are allowed.
check_transaction_contextual
Checks the transaction is contextually valid.
check_transaction_semantic
Checks the transaction is semantically valid.
get_absolute_offsets
Gets the absolute offsets from the relative offsets.
insert_ring_member_ids
Inserts the output IDs that are needed to verify the transaction inputs into the provided HashMap.
output_unlocked
Checks if an outputs unlock time has passed.