Introduction to Blocks - UNDERSTANDING THE BLOCKCHAIN; Episode 12

in Project HOPE4 years ago

Hey there! Welcome to another episode of Understanding the Blockchain.

You can check out previous episodes here:

1. Episode 1 | This Is How Money Works

2. Episode 2 | Is Digital Money the Answer?

3. Episode 3 | Before Bitcoin, Earlier Attempts at Crypto

4. Episode 4 | Finally, Bitcoin!

5. Episode 5 | How is Crypto Acquired?

6. Episode 6 | A Bitcoin Transaction in Depth

7. Episode 7 | An Overview of Mining

8. Episode 8 | An Overview of Mining

9. Episode 9 | Introduction to Cryptography | Earlier Attempts at Cryptography

10. Episode 10 | One Way Functions

11. Episode 11 | First Look at Hash Functions


One-Way Functions
Pixabay | Photographer: tookapic


Hey! Welcome back

In the last episode, we talked about Hash Functions and what they mean. Today, I’ll be introducing another concept we need to understand to fully grasp how the blockchain works and that is the concepts of blocks.

The same way most application systems have a database, Bitcoin and other cryptocurrencies also have a database known as the ledger. The bitcoin ledger is made up of addresses of senders and receivers as well as the amount of bitcoin sent. There are a ton of transactions like this that make up the ledger. The actual ledger consists of over 300 million transactions on it all the way back to 2009.


Now, as we discussed earlier, it is important that none of the information on any part of the ledger can be changed; the whole database needs to be secured. This can be achieved through fingerprinting with SHA-256 as we discussed in earlier episodes as well.

The problem now is that the whole ledger is over 200 gigabytes. SHA-256 fingerprinting the whole ledger would take an insanely large amount of time. Not only will it be done once, fingerprinting needs to be done whenever a new transaction is added to keep it up to date.


HOW THEN DOES THE BITCOIN NETWORK HANDLE THE FINGERPRINTING OF THE LARGE NUMBER OF TRANSACTIONS?

THEY BREAK IT INTO BLOCKS.



In general, the network breaks the whole ledger into numerous blocks each containing about 2,400 which makes it about 1 megabyte per block. Remember the transactions are just a couple of pieces of information so it is incredibly easy to fingerprint a block.

So, when new transactions are made, they begin to fill a block. When the transactions fill the block, the whole block is fingerprinted and saved and then new transactions start to fill up a new block. The approximate amount of time it takes for a block to be filled is about ten minutes. This keeps going on and new blocks keep getting fingerprinted.

The key concept here is instead of one massive ledger, the ledger is broken into blocks every ten minutes approximately which are then fingerprinted individually instead of fingerprinting over 300 million transactions all at once.

Up Next

In the next episode, we’ll talk about what the term “blockchain” means.


Resources

  1. "Blockchains: The great chain of being sure about things". The Economist. 31 October 2015. Archived from the original on 3 July 2016. Retrieved 18 June 2016. The technology behind bitcoin lets people who do not know or trust each other build a dependable ledger. This has implications far beyond the crypto currency."
  2. Menezes, Alfred J.; van Oorschot, Paul C.; Vanstone, Scott A (1996). Handbook of Applied Cryptography
  3. Trottier, Leo (18 June 2016). "original-bitcoin" (self-published code collection). github. Archived from the original on 17 April 2016. Retrieved 18 June 2016. This is a historical repository of Satoshi Nakamoto's original bit coin sourcecode"


hr.png

You can check out My Blog for more amazing content.
Join me on Twitter to push the Hive campaign onward and get more people onboard Hive.