The Bitcoin has reached historical peaks that exceed $ 20,000 USD, late ter 2018, no matter how much the market fluctuates, no one can deny the success of a cryptocurrency that began that year under $ 1000 USD. To participate te the market, you do not need to have technical skill about Bitcoin transactions. Basically you just have to have money to invest. However, it is never too effortless to learn how things work, and that is why wij have ready this guide.
Bitcoin transactions are, at very first glance, plain. But how does a transaction within the bitcoin blockchain system work?
Bitcoin does not exist
To understand how a transaction works, wij vereiste understand that it is bitcoin. The reality is that what wij know spil BTC are transaction records te your blockchain network. There is no physical unit, not even a digital unit, such spil a opstopping or document, which wij can identify spil bitcoin.
Ter fact, you will be astonished to know that a wallet is not even a wallet te every sense of the word. Ter fact it is more an address to which transactions are attributed, the reflected balance is not the bitcoins, but the blockchain network transactions that have bot made towards that address. Based on this wij can say that what exists is not bitcoin, but bitcoin transaction records.
Protocol of a bitcoin transaction
BTC transactions mostly aim to stir money, so a ordinary protocol that has three parts is used, input, quantity and output. Each of thesis phases are necessary to assure the security of the system and to keep it immaculate and impassable.
The entry is defined spil the sections of a bitcoin address that contains cryptocurrencies. Assuming wij want to make a transaction of 0.Two BTC te an account that has 1 BTC stored. The entry is responsible for identifying each section of that total 1 BTC te the wallet to know which 0.Two BTC of the total amount should be sent. If there were no uitgang concept, there would be no way to know which part of the total 1 BTC represents those 0.Two BTC that wij are going to send.
For its part, the quantity is a numerical unit that determines the volume of the transaction. That is, this is the amount wij indicate that wij want to send to another purse that would be the third part of the transaction fulfilling the uitgang role. Without the concept of quantity the system would not know when to send money, so that all transactions would be vensterluik, without knowing how much money is being sent or how much is going to arrive.
Ter a transaction, the system analyzes the amount to determine how many entries it voorwaarde take to finish it. Te this case, if system takes two 0.12 BTC entries to finish those 0.Two BTC that you want to send, which would give a total of 0.24 BTC. The excess amount is sent to an own address and is taken by the system spil output.
The miner is responsible for executing the transaction and registering it ter the chain of blocks. For this you need to decipher the hash of the previous block, which te reality would be the last transaction made ter the system. Spil a prize for their work test, the miner is credited with all the remaining BTCs that are not assigned to any address.
Te a transaction there can be spil many inputs and outputs spil necessary. This is what permits different amounts of money to be sent to different people te the same transaction. This factor is especially exploited by some wallets to save on mining fees.
How are bitcoin stored?
Spil wij said at the beginning, what wij know spil bitcoin are actually transaction records. A purse is an address to which such transactions are attributed. The balance that this reflects is te fact a summation of all the transactions that have bot made towards that address.
If wij have a client that sends us 1 BTC and another that sends us Two BTC, even tho’ the purse reflects a balance of Trio BTC, the transactions are still separate. The wallet does not create a single Three BTC verkeersopstopping, but keeps them spil separate transactions.
When wij make a shipment with an amount that is not omschrijving to any of the registered transactions, something interesting happens. Taking the previous example, if wij have two different transactions te our wallet, one for 1 BTC and another for Two BTC, and wij want to send a different amount to the one registered ter those operations, the system will take the one that resembles the quantity wij want. submit.
So if wij want to send 1.Five BTC, the system will take the Two BTC transaction registered te our wallet and create two exits, the very first to the shipping address, which will have an amount of 1.Five BTC, and the 2nd to a fresh address that the purse creates so that wij can maintain those 0.Five BTC that wij do not want to send ter the transaction.
Two factors come into play te bitcoin transactions, the bitcoin address and the private keys. The very first would be the public key of the 2nd and both are necessary for the system to permit a transaction.
On the other arm are the seeds, which are special keys that the purses generate, or can be determined by ourselves, which permit us to generate fresh private keys. When a transaction is to be executed, it is necessary to place the private key of the incoming bitcoin address for the system to confirm. Because the public and private key is only compatible with each other, the system can lightly verify it by comparing them. Once wij indicate this information, wij can proceed to determine the quantity and the uitgang address of the operation.
Why are bitcoin transactions not instantaneous?
All the process described ter the protocol vereiste be confirmed and disaggregated by the miners. So even however wij make a transaction right now, wij will have to wait for the miner to register it te the block chain.
To register a transaction ter the chain, the miner vereiste be able to decipher the nonce of the last transaction made and then encrypt the fresh block, a process that takes at least Ten minutes to accomplish.