Cryptocurrencies: Tackling the double-spend or 51% attack

0

Imagine if you could spend the same currency note in two different places. In traditional currency this is not possible due to several checks and balances by governance bodies, like banks and governments that prevent counterfeiting or such misuse of the note. How does this work in the world of bitcoin and other cryptocurrencies that are decentralized?

Bitcoin is a digital currency created by Satoshi Nakamoto in 2008. Like all cryptocurrencies, bitcoin works on peer to peer networks that use blockchain distributed ledger technology, which form a chain of blocks to create permanent records of transactions in an encrypted, auditable and secure way. Once data is recorded in a block it becomes very difficult to change it. A bitcoin block has 3 main components of information recorded on it: 1. Data 2. Hash 3. Hash of the previous block.

Data stored inside a block depends on the type of block chain. A bitcoin chain stores details of transactions like sender, receiver and the amount of bitcoin. Hash in the block are unique and can be compared to a fingerprint. Hash helps identify the block and all its content. Once a block is created its hash is then calculated. Any changes made in block, results in changes in the hash. Hash is therefore useful in detecting any tampering done to the block. Bitcoin use SHA256 cryptographic hash. The third element inside a block is the hash of previous block. This connects with the hash of current block to effectively create a chain of blocks. If there is any change in the previous block its hash changes and so does the linkage with the current block, leading to a cascading effect to the chain of blocks ahead in the block chain, turning them invalid. First block of the chain is known as Genesis block and does not have a linkage to any previous block…Click here to read full article.

Share.

Leave A Reply