cuprate_consensus::transactions

Module contextual_data

Source
Expand description

§Contextual Data

This module fills TxRingMembersInfo which is a struct made up from blockchain information about the ring members of inputs. This module does minimal consensus checks, only when needed, and should not be relied upon to do any.

The data collected by this module can be used to perform consensus checks.

§Why not use the context service?

Because this data is unique for every transaction and the context service is just for blockchain state data.

Functions§