Find Ring Intersections
-
Run the
trim_ring_xmr_xmv.pyscript that is located in thescripts/hardforks/monerovdirectory.python3 trim_ring_xmr_xmv.pyThis script will replace the
fork_indicescolumn inxmr_xmv_keyimageswith the intersection of the transaction rings.Note: This script reads the Python dictionary mapping
(ring_amount, index)pairs to the one-time addresses from the file calledxmr_xmv_addr.dat. Ensure that this file is in the same directory as the script. -
You can query the number of transaction rings where the actual output being spent has been identified by running the following query in the
psqlshell.SELECT COUNT(*) FROM xmr_xmv_keyimages WHERE ARRAY_LENGTH(fork_indices,1) = 1 AND ARRAY_LENGTH(distinct_ring_indices, 1) <> 1;The result of this query was 7287. Note that the query restricts the block height to 2530000.