Transactions
Learn the structure of the Bitcoin transactions in this lesson.
Transactions are the basic primitive element of the Bitcoin system which are used to send currency units from one address to another. Every participant who is in possession of digital currency units can create transfers to any other address (or a public key in earlier versions of the protocol). As described by
This means that only the holder of the valid private key is able to sign a transaction in order to spend digital currency units from a specific address. We have already seen in this figure how the transactions of digital coins work. As illustrated more basically in this figure, a Bitcoin transaction is signed using the current owner’s private key, whereas the message consists of the new owner’s public key (or its hash) and the hash of the previous transaction. The transaction and the signature are then broadcast in the entire peer-to-peer network, where each node verifies the validity of the transaction by validating the signature.
Figure 1
Get hands-on with 1200+ tech skills courses.