Logic thread between output folders and input transactions
I’m studying the bitcoin protocol and I don’t have very clear things, for example the logical thread that exists between an output transaction and a subsequent input transaction, where that output is direct.
I realized that the input transaction contains the reference to the output transaction through the Outpoint type, but now how could the input transaction related to the output transaction be identified?
Bob sells a coffee to Alice and Alice pays in bitcoins, then bob spends his input transaction coming from the alice output transaction, Now I want to find and the two Rawtransactions where the alice transaction information and the bob information are contained for connect the two RawTransactions. I believe that I haven’t understood any important steps to do this
Sorry for my terrible English but I’m learning
Article source: “https://bitcoin.stackexchange.com/questions/86202/logic-thread-between-output-folders-and-input-transactions”