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§

batch_get_decoy_info
Refreshes the transactions TxRingMembersInfo, if needed.
batch_get_ring_member_info
Retrieves the TxRingMembersInfo for the inputted TransactionVerificationData.
new_ring_member_info
Construct a TxRingMembersInfo struct.