-
jberman[m]Here's how the block explorer takes the key offsets included in a tx, and gets the height of each output in a ring: github.com/moneroexamples/onion-mon…894d992cae24/src/page.h#L4472-L4495
-
jberman[m]It's calling this function: github.com/monero-project/monero/bl…hain_db/blockchain_db.h#L1423-L1439
-
jberman[m]This is where the decoy selection algo starts in the wallet: github.com/monero-project/monero/bl…4f5d91/src/wallet/wallet2.cpp#L8189
-
jberman[m]This is where the gamma logic lives: github.com/monero-project/monero/bl…/src/wallet/wallet2.cpp#L1015-L1079
-
jberman[m]correction: block explorer is calling this function (which is just a mirror of the other): github.com/monero-project/monero/bl…hain_db/blockchain_db.h#L1480-L1491
-
jberman[m]this is the line where the gamma logic lands on a block, then it randomly picks an output from that block after that: github.com/monero-project/monero/bl…4f5d91/src/wallet/wallet2.cpp#L1071
-
spackle[m]jberman[m]: Perfect, thank you!