utxo – Is it doable to assign a single “from” and a single “to” deal with to Bitcoin transactions?


No, Bitcoin transactions can’t be cleanly projected on a single “from deal with” or a single “to handle”. Bitcoin can facilitate many funds in a single transaction and each the senders contributing to the inputs and the receivers could also be any variety of events.

Take e.g. a transaction for which two customers contributed funds and assigned outputs. Whereas their funds had been grouped in a single transaction, solely one of many two funders contributed to every receiver output.

One other drawback turns into obvious when you consider custodial pockets companies. When a consumer withdraws e.g. from Coinbase, the funds will come from Coinbase’s omnibus pockets. The deal with that the funds had been spent from don’t have anything to do with the precise initiator of the cost. Sending again to the “from” deal with would credit score another person. Such transactions ceaselessly carry out tons of of funds which had been initiated by scores of consumers and merely executed by the custodian on their behalf. Assuming all outputs map to a single recipient would merely be false.

Supply hyperlink

Leave a reply