fbpx Skip to content

Knowledge Byte: Understanding Blockchain 101

84057392_3382513485109192_2570936499621068800_n

Cloud Credential Council (CCC)

Blockchain-444

Despite its increasing popularity and demand, it’s far from easy to understand what Blockchain actually entails to those who are entirely new to it.

Understanding Blockchain Transactions

Transactions are like lines in a double-entry bookkeeping ledger. Each transaction contains one or more “inputs,” which are like debits against a Bitcoin account. On the other side of the transaction, there are one or more “outputs,” which are like credits added to a Bitcoin account. The inputs and outputs (debits and credits) do not necessarily add up to the same amount. Instead, outputs add up to slightly less than inputs and the difference represents an implied transaction fee, which is a small payment collected by the miner who includes the transaction in the ledger

To initiate a transaction, the requestor’s intention is to publish to the nodes. The nodes scan the entire Bitcoin network to validate that the requestor wants to send some Bitcoin and haven’t already sent it to someone else. Once that information is confirmed by other nodes, the transaction gets included in a “block” which gets attached to the previous block. Usually, six node confirmations are required from the network to consider the transaction final. With today’s computing power and fast network, this happens in a couple of minutes.

Let’s take a real-time example of how a transaction works:

Sherly met with her friend Joe to exchange some cash for Bitcoin. The transaction created by Joe funded Sherly’s wallet with 0.10 Bitcoin (BTC). Now, Sherly will make her first retail transaction, buying a cup of coffee at Ken’s coffee shop in Pearland, Texas. Ken’s coffee shop recently started accepting Bitcoin payments, by adding a Bitcoin option to its point-of-sale system. The prices at Ken’s Cafe are listed in the local currency (US dollars), but at the register, customers have the option of paying in either dollars or Bitcoin. Sherly places her order for a cup of coffee and Ken enters the transaction at the register. The point-of-sale system will convert the total price from US dollars to Bitcoins at the prevailing market rate and display the prices in both currencies, as well as show a QR code containing a payment request for this transaction. Sherly uses her smartphone to scan the barcode on display. Her smartphone shows a payment of 0.0150 BTC to Ken’s Cafe and she selects Send to authorize the payment. Within a few seconds (about the same amount of time as a credit card authorization), Ken would see the transaction on the register, completing the transaction.

Working of Blockchain

Let’s take an example of two users A and user B who are trying to make a transaction. The steps would be as follows:

  • Step 1: User A wants to send money to User B. Each of them holds a private and public key. User A adds money to a digital wallet (say Bitcoin) and allows the money to be sent using an encrypted digital signature.
  • Step 2: The requested transaction is broadcasted through a peer-to-peer network (consisting of computers known as nodes) using a Public Key.
  • Step 3: The network of nodes validates the transaction and the user’s status using known algorithms.
  • Step 4: Computers in the connected network verify and validate the transaction. This transaction would include cryptocurrency, contracts, records, or other information.
  • Step 5: Once validated the transaction is combined with other the transaction to create a new block of data for the ledger. From the User A perspective, the transaction is complete and money is moving to User B.
  • Step 6: Transaction complete.

Note: Steps 4 and 5 are complementary steps. The transaction is confirmed after Step 3; however, block confirmation and further transaction reconfirmations, if required, are then carried out in Step 4 and Step 5.

Courses to help you get
results with

Never miss an interesting article

Get our latest news, tutorials, guides, tips & deals delivered to your inbox.

Please enter your name.
Please enter a valid email address.
Please check the required field.
Something went wrong. Please check your entries and try again.

Keep learning

Blockchain-222

Knowledge Byte: 4 Steps to Create and Implement Blockchain

According to a study by Deloitte, 92% of the 26,000 blockchain-based projects that have been created between 2016 and 2018 are now dead. It is...
Blockchain-333

Knowledge Byte: The Real Benefits of Blockchain

Looking for a succinct yet comprehensive list of benefits of blockchain? Look no further. Blockchain provides the following benefits: Transparency: In blockchain, all network participants...
How Blockchain Will Revolutionize Logistics

How Blockchain Will Revolutionize Logistics

Blockchain invented by Satoshi Nakamoto is defined as a distributed database technology which can record transactions and store their data across many computers with high...
Scroll To Top
Tweet
Share
Share