Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Learn Bitcoin and Blockchain
Learn Bitcoin and Blockchain

Learn Bitcoin and Blockchain: Understanding blockchain and Bitcoin architecture to build decentralized applications

eBook
$14.99 $21.99
Paperback
$25.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Learn Bitcoin and Blockchain

Introduction to Blockchain and Bitcoin

In this chapter, we will take a step-by-step approach to understanding the principles of "Bitcoin" and "blockchain", and their various features and characteristics. The buzzwords Bitcoin and blockchain relate to emerging technologies that have taken the world by storm. As we progress through the chapter, we will cover the fundamentals of these unique technologies in a detailed manner. The chapter will also take you through the essence of cryptography and how cryptocurrencies are using this innovation as a foundation. We will also look into the history of Bitcoin, the alternate cryptocurrencies available, and the various Bitcoin wallets, and we will get an understanding of the structuring of the Bitcoin block header. When it comes to blockchain, we will go through the different types of blockchain, blockchain structure, its various workings and features, the challenges faced, the various platforms available for blockchain, and more.

In this chapter, we will look into the following topics:

  • Cryptography and cryptocurrency
  • History and introduction to Bitcoin
  • An introduction to blockchain
  • Comparing private, public, and consortium blockchains

An introduction to cryptography and cryptocurrency

The blockchain technology is the backbone of cryptocurrency and it uses cryptography to keep the data secure. In this section of the chapter, we will discuss cryptography, cryptocurrency, and how cryptography is used in cryptocurrency implementation. We will also look into the workings of fiat currency cryptography, energy use in cryptocurrency, and also the security features of cryptography that are used. We will learn everything we need to know about decentralized digital money and its underlying architecture.

As we browse through the various parts of this section, we will learn about the history of Bitcoin, its alternative currencies, Bitcoin basics, and the technical operation of Bitcoin; then, we will browse through the technical foundation of the blockchain, the fundamentals of cryptography, and how it keeps data secure. From there, we will move on to understanding blockchain, its features, the underlying architecture on top of each Bitcoin, and how cryptocurrencies are implemented.

Workings and security of fiat currencies

Before we understand cryptocurrency, let's first look at some basic currencies used around the world. These currencies are also known as fiat currencies.

They are shown in the following diagram:

Some of the characteristics of fiat currencies are as follows:

  • These are owned by the governments of countries
  • They are centrally controlled through banks or legal entities
  • They are inflationary, meaning the value of a currency decreases
  • They include various security properties to prevent counterfeiting and cheating, but it is not impossible to counterfeit them

Since it is not impossible to counterfeit currencies, law enforcement comes into the picture to stop and prosecute those involved in counterfeiting fiat currencies. We will now look at various security features that are implemented in fiat currencies, as shown in the following diagram:

You will find two watermarks. You'll also see micro lettering and identification marks being implemented. Most of the time, fluorescent ink is used on notes for detecting notes that are fake.

Understanding cryptocurrency and its uses

Cryptocurrency is a very interesting and intriguing topic that has become a global phenomenon. It is different from all the currencies that are found all over the world. Right from the working of cryptocurrency, to who owns or controls it, its benefits and limitations, its use and much more, are all based on new ideas and processes. Let's now see a brief overview of the various features of cryptocurrency.

The main features of cryptocurrency are as follows:

  • It is a digital asset used as a medium of exchange
  • It secures transactions and controls supply by using cryptography
  • It is a subset of alternative currencies
  • In 2008, the first decentralized cryptocurrency was conceptualized
  • Cryptocurrency is digital money, while the underlying technology that enables the moving of digital coins or assets between individuals is called blockchain

Hash function

The main cryptography techniques used in cryptocurrency are a hash function and a digital signature.

Let's look at each of these briefly. The hash function is a mathematical function with the following properties:

  • Any input that we provide, be it a string, number, floating number, or anything, can be of any size
  • It produces a fixed-size output such as a 128-bit hash outcome or even a 256-bit outcome
  • It is collision-resistant
  • It hides the data within it

Let's now look at an example of a hash function in the following diagram:

Let's look at the hash function being used here. In the preceding diagram, we gave Fox, one string, as an input to the encryption module and we applied a hash function to it. It gives a specific fixed hash outcome, which is also known as a digest hash sum. Let's say we pass another statement that says The red fox runs across the ice and we apply a hash function to it. It gives us a specific hash sum, also known as a digest. Then, we add another statement, The red fox walks across the ice, and we see that it changes the hash function as the input has been changed. This is the key feature that the hash function brings.

Digital signature

This is the second building block of cryptocurrency and is digitally analogous to the hand written signatures that we usually make.

The properties of the digital signature are as follows:

  • You can create your own signatures, but they can be verified by another person too
  • The signature is tied to a particular document or message so that it cannot be used again and again for different documents and messages

Let's now look at an example of a digital signature in the following diagram:

Let's take an example and say that there is a string in the document which states that "I agree to pay $5000 for the software". Since this is the document that is being signed, we first apply a hash function to it. It gives us a hash or digest of the document, which is again fixed in size. Then, we apply our private key, or a specific key, to encrypt it and we get the outcome as a digital signature. This digital signature is signed specifically for this input, which states that "I agreed to pay $5,000 for the software".

Here, we saw how cryptography and cryptocurrency are digital assets that are widely used. We also saw how cryptocurrency uses cryptography and its techniques, such as hash functions and digital signatures.

An introduction to Bitcoin

Bitcoin is the first decentralized digital currency, and as such it is a revolutionary technology invention. It changed the way we compute things and the way we operate software and computers. Bitcoin and blockchain are considered to be the next big wave of change after the internet.

Now, let's look at the following properties of Bitcoin:

  • It's an international network of payments.
  • It uses cryptography to control its creation and management, rather than relying on central authorities such as governments, banks, union territories, or intermediaries.
  • It's not printed but is produced by people using software that solves mathematical problems.
  • It is controlled and limited in supply, which arrests the hyperinflation problem. For example, whenever African countries were short of currency notes, they had to print more notes, which resulted in hyperinflation and brought the value of the currency down.
  • Since the arrival of Bitcoin, the way Bitcoin programs are written means there will always be a maximum of 21 million Bitcoins available across the globe. The moment 21 million Bitcoins have been mined, the program will not generate any more new Bitcoins. Hence, Bitcoins will be limited in supply and this will arrest the problem of hyperinflation.

History of Bitcoin

Bitcoin was conceptualized by Satoshi Nakamoto in 2008. We do not know whether it is a person or a group of people. This anonymous person or group of persons still remains a mystery. What we know is that Nakamoto has claimed to be a man living in Japan born on April 15th, 1975. However, there are a lot of theories and speculation about the identity of Nakamoto. Some people say that the identity of Nakamoto is based on a number of cryptography and computer science experts living in the US and the EU, not necessarily Japanese people. In November 2017, Nakamoto was believed to own up to roughly 1 million Bitcoins, the value of this 1 million comes to be 7.2 billion US dollars, which is a huge amount of money owned by someone who is not known to anybody in the world.

Alternative cryptocurrencies to Bitcoin

Altcoins is an alternate cryptocurrency to Bitcoin. Once Bitcoin became popular, people realized the value, robustness, and flexibility Bitcoin brought and also started liking the fact that Bitcoin appreciated in value. They simply took the source code of the Bitcoin protocol available from GitHub repositories, forked it, modified it as per their needs, and created alternative cryptocurrencies. With the increasing popularity of Bitcoin, the usage and rate of Bitcoin have skyrocketed. Leaving that aside, the next question that arises is "how do we store or possess this virtual currency securely in digital form?".

Bitcoin wallets

There are several types of wallet available, in which we can hold our Bitcoins safely. Each of these wallets has their own function and ways to operate.

The different kinds of the wallet are as follows:

  • Software wallet: The software wallet is a Bitcoin application that sits on your computer's hard drive and allows you to completely control and secure your Bitcoins. Bitcoin Armory is an example of a software wallet and is supposed to be the most stable and secure wallet of all.
  • Web wallet: The next type of wallet is a web wallet. Web wallets are more convenient than software wallets since they can be accessed to use your funds, Bitcoins, or assets from any device. So, you can access your web wallet on your Android or iOS device, your desktop and even on the internet.
  • Cold wallet: The next type of wallet is called a cold wallet. Cold wallets are simply any kind of Bitcoin wallet that is not connected to the internet. These can be in paper form, or you can have wallets on USB drives as well.
  • Brain wallet: The next type of wallet is the brain wallet. The brain wallet has its address generated by a computer program by hashing the passphrase with words that the user enters.
  • Hardware wallet: The next type of wallet is the hardware wallet. The hardware wallet can only be accessed through physical contact with the wallet by the designated person, who owns the wallet. It stores the user's private keys in a secure hardware drive that is accessible only to the user and usually uses a fingerprint scanner or biometrics to access it.

An introduction to the blockchain

In this section, we will look at the architecture of blockchain, how it works, and what the salient features are that make it so disruptive. Blockchain was created by Satoshi Nakamoto as an infrastructure for Bitcoin and it is treated as the biggest thing since the internet. Blockchain, at a high level, consists of three major components, which are shown in the following diagram:

Let's now look into the following three major components of blockchain:

  • P2P Network: A peer-to-peer network (P2P) helps maintain a consistent copy of the distributed ledger. All the transactions that are captured on the blockchain in the form of blocks are maintained across the network of nodes running the blocks and programs by the distributed ledger.
  • Private Key Cryptography: This component is used by blockchain for the security and hash functions that make it immutable.
  • Blockchain Program: This component is used by blockchain as a protocol to execute steps that make it secure.

Workings of blockchain

Now, let's look at how a blockchain implementation works and what all the things are that are involved in completing the flow of execution. Let's take the example of a Bitcoin, shown in the following workflow for blockchain:

In the preceding diagram, we see how blockchain works and the steps mentioned are as follows:

  1. Let's say someone requests a transaction in Bitcoin; for example, person A wants to send Bitcoin to person B. That person or entity requests a transaction that results in debiting person A's wallet and crediting person B's wallet with one Bitcoin.
  2. Now, this requested transaction is broadcasted to the P2P network, consisting of computers known as nodes, which are spread across the globe.
  3. Now, once the transaction is propagated, the transaction is picked up by the network of nodes, they validate the nodes that are running the blockchain programs, and they validate the transaction and the user status using known algorithms that are common across all nodes.
  4. In our example, we talked about person A sending one Bitcoin to person B, which involves the cryptocurrency as well. The verification part also involves checking whether person A initiating the transaction for one Bitcoin really owns that Bitcoin or not.
One must avoid double booking and fake transactions altogether. Verification may also involve contracts, records, agreements, or documents that need verification.
  1. Once verified, the transaction is then combined with other transactions to create a new block of data for a ledger. This freshly created block of a series of transactions then gets added to an existing blockchain in a way that is permanent (it's unalterable).
  1. With this block added to the blockchain, the transaction is complete.
  2. Once the block is added, it remains there for the rest of the blockchain's life.

Features of blockchain

We will now discuss the following features of blockchain:

  • Secure: It is really impossible for anyone to tamper with transactions or ledger records present in the blockchain, which makes it more secure, so it is seen as a reliable source of information.
  • Global reach: Blockchain has been adopted worldwide and has the backing of many investors from banking and non-banking sectors, which makes it a globally accepted technology stack.
  • Automated operations: Operations are fully automated through software. Private companies are not needed to handle operations, which is why there is no mediation required to carry out the transactions, and trust is assured, so people can carry out their own transactions.
  • Open source: Blockchain is an open source technology. All the operations are carried out by the open source community.
  • Distributed: Blockchain works in a distributed mode, in which records are stored in all nodes in the network. If one node goes down, it doesn't impact any other nodes or any other records, because they are globally distributed across all the nodes.
  • Flexible: Blockchain is programmable, using basic programming concepts and programming semantics, which makes blockchain very flexible.

Structure of blockchain

In this section, we will learn about the following aspects of blockchain: its structure; its building blocks; and its core parts that make it disruptive, robust, strong, and tamperproof.

Let's have a look at the structure of the blockchain. The blockchain structure is very similar to that of linked lists or binary trees. Linked lists or binary trees are linked to each other using pointers, which point to the previous or next list elements on the nodes in the linked list. The structure of blockchain is not really different from that of binary trees, but the major difference is that blockchain is tamperproof and it is also very easy to find out if any tampering has taken place.

In the following diagram, we will look at a representation of how blockchain is constructed and how it is a linked list:

Let's now discuss the structure and elements of the blockchain.

The blockchain is a linked list that is built with hash pointers instead of pointers. This is the exact reason why blockchain, though it resembles a linked list, is different because, in the linked list we have been using the pointers to point to previous nodes for the elements in the lists, but in the case of the blockchain, the pointers are hash pointers and not just simple pointers.

So, typically, any block in the blockchain consists of three parts, or feet such as a Header, Merkle, and Transaction's Id list. This is a newly created block.

We can see the structure of blockchain in the following diagram:

We will now look into the following blocks and their elements:

  • Header: This block contains the version information of the block, the nonce, the previous block ID, and the timestamp that is being hashed again at the time the block is created.
  • Merkle: This block is a hash built from the block's transaction identifiers.
  • Transaction's Id list: This block represents the transactions themselves. It's a list of records, identification hashes, that are included in the block's Merkle tree.

The block is then created with all of the preceding details. This newly created block gets added to the blockchain.

Now, let's look at what the Merkle tree is, as follows:

  • In the blockchain structure, it's also known as a binary hash tree. It's a data structure used for summarizing and verifying the integrity of large sets of data.
  • It not only summarizes the data that is being captured on a particular block, but it also verifies the integrity of the data, which makes sure that the data represented in the block is integrated and not tampered with. It contains cryptographic hashes, which are used to make sure integrity is maintained across the block.
  • It's an upside-down tree where the root is at the top and the leaves are at the bottom.

Now, let's look at a representation of the Merkle tree in the following diagram:

Here is a brief overview of what the top hash, data blocks, and Merkle root stand for, as follows:

  • In the preceding diagram, we can see Top Hash, which is the root of the Merkle tree, and there are leaf nodes or leaves that make up the entire tree.
  • Data Blocks are transactions that have been captured and hashed. They are paired and hashed multiple times, and that's how you reach the top of the Merkle tree.
  • A block of one or more new records is collected, and such records are then paired and hashed together multiple times until a single hash remains. This single hash is called the Merkle root of that Merkle tree.

If any change or tampering occurs in any part of the transaction data, we can see this compromise in a bold and clear manner. Hence, the Merkle tree is important in the implementation of blockchain and is a major contributor to making sure that blockchain data has not been tampered with.

Structuring the Bitcoin block header

Now, we will look into the structure of the Bitcoin block header, in which the header consists of a block and each block holds the following three sets of block metadata:

  • A reference to a previous block hash
  • The difficulty, timestamp, and nonce parts of the header
  • The Merkle root

Let's look at the various terms represented in the following diagram:

The following is an elaboration of the terms mentioned in the preceding diagram:

  • Version: The first part of the header is the 4 bytes of version. A version number tracks software protocol upgrades. It is really important to capture that data as part of the block itself because, if there are any changes made in subsequent versions of the program, it becomes necessary to capture which program or node is running each program to send the transactions and blocks across the internet.
  • Previous Hash Block: The second part of the header is the 32 bytes previous hash block or previous hash block code. It's a reference to the hash of the previous block in the chain. It's not just a link to the previous block, it's a hashed pointer to the previous block, which makes sure that the new block added maintains the sequence of the blocks or the chain.
  • Merkle Root: The third part of the header is the 32 bytes of the Merkle root. We just looked at the Merkle root, which is a hash root of the Merkle tree. It is a final hash code of all the transactions that were captured as part of the block.
  • Timestamp: The fourth part of the header is the 4 bytes of timestamp. It is the approximate time taken for the creation of this block. We use the term approximate because once the block is created, it takes a few milliseconds to get added to the actual blockchain as the transactions are verified by different nodes.
  • Difficulty target: The fifth part of the header is the 4 bytes that capture the difficulty target. It's the proof of work algorithm of the blocks. It is given for a particular node that is running the Bitcoin blockchain program.
  • Nonce: The sixth part of the header is 4 bytes of the nonce. It is the counter used for the Proof of Work (PoW) algorithm. Whichever node is first in calculating and solving the mathematical problem actually yields the result of the problem-solving solution and the result contains this nonce, which is used to capture the transaction and verifies that the PoW being carried by the node is correct.

Thus, we can see that this is the typical structure of a Bitcoin block header, which is roughly 80 bytes of information that is captured in each of the blocks.

Representing the blockchain structure

Now, we will look at the overall structure of the Bitcoin blockchain header in the following diagram:

In this example, Block 16 represents the previous block's hash and consists of the timestamp of creation, the transaction root is also known as the Merkle root, and the nonce is the algorithm-cum-counter that has to be verified. All of the hidden information on the transactions is hashed again, and that hash is captured in Block 17. It consists of the previous block's hash, the timestamp, the Merkle root, and the nonce.

In the sections for Data 1, Data 2, Data 3, and Data 4 in the preceding diagram, all the data is paired and hashed multiple times. Thus, the data keeps going in the upward direction until it gets to one final hash. These blocks keep moving and the entire Merkle tree is formed by the transactions that are captured in the blocks. This is what makes it so strong, robust, tamperproof, integrated, and immutable. This is the beauty of blockchain.

Challenges with blockchain

After looking at the building blocks, structure, and core parts of the blockchain, we are now going to learn about the various types of blockchain implementations available, and we will also look at their features and benefits. As we already know, the Bitcoin blockchain became popular for its immutability, security, robustness, and transparency. The industry was in need of the Bitcoin blockchain architecture, but there were challenges that came up.

The challenges faced by the industry are as follows:

  • How will it cater to an enterprise's specific needs: We know that the Bitcoin blockchain is open source, which is open to all kinds of solutions. If the IT industry or various enterprises wanted to use this blockchain architecture, they would not be able to use it as their needs are different.
  • How can we use other currencies with blockchain: Enterprises that were willing to use the blockchain architecture due to its immutability, security, and transparency wanted to track their own assets, which wasn't possible in Bitcoin blockchain as it was using Bitcoin and other Altcoins as currency.
  • How will it allow us to define specific roles and permissions on the blockchain: Different enterprises have their own roles, privileges, and permissions that have to be captured and executed on the blockchain nodes. In the case of the Bitcoin blockchain, we know that each and every node plays the same role across the globe.

So, these challenges triggered the need for specific changes to blockchain for industries, enterprises, and IT companies, in order to use blockchain for their own purposes, which in turn gave birth to different blockchain versions or variants.

Types of blockchain

Let's have a look at the following types of blockchain:

  • Public: Public blockchains have ledgers visible to everyone on the internet and anyone can verify and add a block of transactions to the blockchain. Some examples are Bitcoins, Ethereum, Dash, Factom, and the hundreds of Altcoins that are available in the market today.
  • Private: The second type of blockchain is the private blockchain. All permissions are kept centralized to an organization. Private blockchains allow only specific people with specific roles in the organization to verify transaction blocks, but everyone on the internet is allowed to view them. This also depends on the organization's decision. Some examples are MultiChain and Blockstack.
  • Consortium: The third and most popular type of blockchain is a consortium. It's controlled by a consortium of members. These members are from top companies who came forward to make changes to blockchain for specific purposes. So, only a predefined set of nodes have access to write data or blocks to the blockchain. Some examples are Ripple, R3, Hyperledger 1.0, and Hyperledger 2.0.

Permission and permissionless blockchain implementations

Now, let's look at the difference between a permission and a permissionless blockchain implementation, shown in the following diagram:

Let's explore the difference between a permission and a permissionless blockchain as follows:

  • Permissionless blockchain: Since the network is open, it's called a permissionless blockchain. Anybody can participate and contribute to the consensus. Now, the consensus varies in all the nodes that are participating in blockchain mining. Even one individual can set up the mining and start running the blockchain implementation. It's a public network, that is available for everyone to play a specific role, or rather, a generic role.
  • Permission blockchain: It restricts the actors who can contribute to the consensus of the system state and provides role-based access to the blockchain for actors who are participating in the implementation.

The following table depicts the difference between the public and private blockchains:

So, let's take a look at the following features that are being provided by these implementations:

  • Access: In terms of access, the public blockchain is open with read and write access to the database for any node that is running the blockchain implementation. On the other hand, the private blockchain needs permission to have read or write access to the database.
  • Speed: In terms of speed, the public blockchain is slower. The reason for this is that it's public and the volume, size, and number of nodes that participate in the blockchain are higher, so it takes some time to capture the transactions. When it comes to private blockchains, they have specific roles which are played by limited nodes that help to make the implementation of the transaction faster.
  • Security: The way the public blockchain works is on the premise of PoW or the Proof of Stake (PoS), while the security in the private blockchain is provided by preapproved participants that can only participate or contribute to the blockchain.
  • Identity: In terms of the public blockchain, it provides anonymity or a pseudonym to the actors contributing to the blockchain. But, in the private blockchain, the identity is known by including each of the nodes that are participating.
  • Assets: The public provides native assets, even in cryptocurrencies like Bitcoin, Ether, and all Altcoins. But, in the private blockchain, the purpose is to use any asset, thus providing a feature that tracks the assets on the blockchain.

Here is an example. Let's say two organizations agree to execute some work, and transfer or exchange assets or currency after the transition gets executed. So, the agreement that they make can be an asset on the private blockchain.

Platforms for blockchain

Let's take a look at the various platforms that have implementations of blockchain:

  • Hyperledger: The first is Hyperledger, which is consortium-built. It's an open source collaborative effort created to advance cross-industry blockchain technologies. It's a very famous platform.
  • Ethereum: The second is Ethereum or Enterprise Ethereum, which has two variants. The first is an open blockchain platform that lets anyone build and use decentralized applications that run on blockchain technology. Like Bitcoin, no one controls or owns Ethereum, and Enterprise Ethereum is a similar consortium to Hyperledger.

  • IBM Bluemix: This is a Platform as a Service (PaaS) that's built on top of the Hyperledger project, and it offers additional security and infrastructure facilities for enterprises to use the Hyperledger blockchain implementation for their own purposes.
  • MultiChain: This is a platform for the creation and deployment of private blockchains or permission blockchains, either within or between organizations.
  • Corda: It's a distributed ledger platform with a pluggable consensus that gives flexibility for enterprises to plug in their own consensus or smart contracts for their own purposes.
  • Openchain: This is a well suited for organizations wishing to issue and manage digital assets. It takes a different approach than the standard Bitcoin approach in implementing blockchain as it works on the partitioned consensus system in which every Openchain instance has only one authority to verify transactions, based on the assets that are being exchanged.

These are just a few examples of blockchain implementations; other than these, there are numerous implementations of platforms available today.

Summary

In this chapter, we began with the fundamentals of cryptography and cryptocurrency. We also got an understanding of its workings and techniques. Then we moved on to an introduction to Bitcoin, its history, and the various wallets and alternate currency available apart from Bitcoin. We then looked at what blockchain is, its structure, features, and the various types available. This chapter has given us a bigger picture of what makes Bitcoin and blockchain the next major innovation after the internet.

In the next chapter, we will focus on decentralization. You will become familiar with decentralization, which sits at the core of blockchain as an innovation, and you will get insights into how decentralization works, what can be decentralized, and what its impact on the world is. We will also go through the pros and cons of decentralization, giving you a holistic overview of it. Stay tuned!

Left arrow icon Right arrow icon

Key benefits

  • Learn quick, effective, and easy ways to master blockchain and Bitcoin
  • Understand the impact of decentralization and discover ways to tackle it
  • Explore the future of Bitcoin and blockchain and implement them in a business network

Description

Blockchain is a distributed database that enables permanent, transparent, and secure storage of data. Blockchain technology uses cryptography to keep data secure. Learn Bitcoin and Blockchain is the perfect entry point to the world of decentralized databases. This book will take you on a journey through the blockchain database, followed by advanced implementations of the blockchain concept. You will learn about Bitcoin basics and their technical operations. As you make your way through the book, you will gain insight into this leading technology and its implementation in the real world. You will also cover the technical foundation of blockchain and understand the fundamentals of cryptography and how they keep data secure. In the concluding chapters, you’ll get to grips with the mechanisms behind cryptocurrencies. By the end of this book, you will have learned about decentralized digital money, advanced blockchain concepts, and Bitcoin and blockchain security.

Who is this book for?

Learn Bitcoin and Blockchain is for anyone who wants to quickly understand and expand their knowledge of how blockchain and Bitcoin work and how they are applied commercially. No prior knowledge of blockchain and Bitcoin is required.

What you will learn

  • Understand the concept of decentralization, its impact, its relationship with blockchain technology and its pros and cons
  • Learn blockchain and Bitcoin architectures and security
  • Explore Bitcoin and blockchain security
  • Implement blockchain technology and its features commercially
  • Understand why consensus protocols are critical in blockchain
  • Get a grip on the future of blockchain
Estimated delivery fee Deliver to South Africa

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 31, 2018
Length: 94 pages
Edition : 1st
Language : English
ISBN-13 : 9781789536133
Vendor :
Bitcoin
Category :
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to South Africa

Standard delivery 10 - 13 business days

$12.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Publication date : Aug 31, 2018
Length: 94 pages
Edition : 1st
Language : English
ISBN-13 : 9781789536133
Vendor :
Bitcoin
Category :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 95.97
Learn Blockchain Programming with JavaScript
$43.99
Learn Bitcoin and Blockchain
$25.99
Hands-On Bitcoin Programming with Python
$25.99
Total $ 95.97 Stars icon
Banner background image

Table of Contents

5 Chapters
Introduction to Blockchain and Bitcoin Chevron down icon Chevron up icon
Fundamentals of Decentralization Chevron down icon Chevron up icon
Advanced Blockchain Concepts Chevron down icon Chevron up icon
Bitcoin and Blockchain Security Chevron down icon Chevron up icon
Other books you may enjoy Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact [email protected] with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at [email protected] using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on [email protected] with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on [email protected] within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on [email protected] who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on [email protected] within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela