
Blockchain dating and hashing
Blockchains are information networks in which all the transactions that have been made are displayed, but as everything has certain rules you have to taste how to optimize them in the best way.
Although Bitcoin is already a very popular currency, it will serve as an example due to its high popularity.
One of the first things to keep in mind is that each block of the chain is attached to a text document, for example in Windows Notepad.
All transactions that have been made are written there, but keep in mind that the file cannot weigh more than 1 megabyte, so each text document will have a limited number of operations (between 2000 and 2200 transactions).
Bitcoin also has the rule that to create a new block, at least 10 minutes must have passed from the previous block, so there is a limited number of blocks per day (144 blocks to be exact), so with a block of 2200 transactions every 10 minutes, we have an approximate of 4 transactions per second, which would be a lot if a person were put to review them, so it is much easier to do it on high-powered computers.
Once the whole process is done, a hash is generated from the following parameters which are, the hash of the previous block, the date and time of the block creation, the reward transaction for the miner who has made the block, and all the transactions that are inside the text document up to 1 megabyte and a number at the end of the hash that allows you to start with the number of zeros that the platform is asking for.
To avoid any type of fraud, for every 2016 block that is added to the chain the hash will change, so it is practically impossible to falsify a hash by putting random information since there would be an infinite number of possibilities.
Leave A Comment