The first work on a cryptographically secured chain of blocks was described in 1991 by Stuart Haber and W. Scott Stornetta. In 1992, Bayer, Haber and Stornetta incorporated Merkle trees to the design, which improved its efficiency by allowing several documents to be collected into one block.
The first blockchain was conceptualized by Satoshi Nakamoto in 2008. It was implemented the following year by Nakamoto as a core component of the cryptocurrency bitcoin, where it serves as the public ledger for all transactions on the network. Through the use of a blockchain, bitcoin became the first digital currency to solve the double spending problem without requiring a trusted authority and has been the inspiration for many additional applications.
Blockchain Structure
A blockchain is a decentralized, distributed and public digital ledger that is used to record transactions across many computers so that the record cannot be altered retroactively without the alteration of all subsequent blocks and the collusion of the network. This allows the participants to verify and audit transactions inexpensively. A blockchain database is managed autonomously using a peer-to-peer network and a distributed timestamping server. They are authenticated by mass collaboration powered by collective self-interests. The result is a robust workflow where participants’ uncertainty regarding data security is marginal. The use of a blockchain removes the characteristic of infinite reproducibility from a digital asset. It confirms that each unit of value was transferred only once, solving the long-standing problem of double spending. Blockchains have been described as a value-exchange protocol. This blockchain-based exchange of value can be completed more quickly, more safely and more cheaply than with traditional systems. A blockchain can assign title rights because it provides a record that compels offer and acceptance.
Blockchain Blocks
Blocks hold batches of valid transactions that are hashed and encoded into a Merkle tree. Each block includes the cryptographic hash of the prior block in the blockchain, linking the two. The linked blocks form a chain. This iterative process confirms the integrity of the previous block, all the way back to the original genesis block.
Blockchain Block time
The block time is the average time it takes for the network to generate one extra block in the blockchain. Some blockchains create a new block as frequently as every five seconds. By the time of block completion, the included data becomes verifiable. In cryptocurrency, this is practically when the money transaction takes place, so a shorter block time means faster transactions.
Blockchain Architecture
Blockchain systems can seem complex; however, they can be easily understood by examining each component technology individually. At a high level, blockchains utilize well-known computer science mechanisms (linked lists, distributed networking) as well as cryptographic primitives (hashing, digital signatures, public/private keys) mixed with financial concepts (such as ledgers).
Blockchain Hashes
An important component of the blockchain technology is the use of cryptographic hash functions for many operations, such as hashing the content of a block. Hashing is a method of calculating a
relatively unique fixed-size output (called a message digest, or just digest) for an input of nearly any size (e.g., a file, some text, or an image). Even the smallest change of input (e.g., a single bit) will result in a completely different output digest.
Hash algorithms are designed to be one-way (known as being preimage resistant): it is computationally infeasible to find any input that maps to any pre-specified output. If a particular output is desired, many inputs must be tried by passing them through the hash function until an input is found that produces the desired result. Hash algorithms are also designed to be collision resistant (known as second preimage resistant): it is computationally infeasible to find two or more inputs that produce the same output.
A hashing algorithm used in many blockchain technologies is the Secure Hash Algorithm (SHA) with an output size of 256 bits (SHA-256). Many computers support this algorithm in hardware, making it fast to compute. This algorithm has an output of 32 (8-bit) characters.
Blockchain Use Cases
Banking
Suppose a number of banks want to keep a private, distributed ledger available to only the participating banks. This would provide the ability to record transactions from each bank in a way that is visible to the participants, but not the public. However, to do this as a private blockchain (to avoid having to use an expensive proof of work algorithm), each bank takes turns signing the blocks under a distributed consensus algorithm such as Byzantine Paxos.
There are a few interesting considerations when using a private blockchain with few participants, such as the ability to overcome its immutability. If there was some major disaster or exception situation, the banks could coordinate to roll back the blockchain and write a different transaction. Additionally, the transactions would not be anonymous because a banking ID would be needed to join.
Supply Chain
Recording the transfer of physical goods from a producer, to a shipping terminal, to a ship, to a cargo train, to a delivery truck and to a store is an appealing application of blockchain technology.
A blockchain could play a crucial role in trust and transparency with end customers.
The blockchain could also be used to monitor supplier actions. Suppliers can record the product produced (such as X number of widgets on a certain date) in a way that other viewers of the blockchain can verify. With a blockchain, it is possible for warehouses to manage logistics efficiently by avoiding overstocking.
Insurance and Healthcare
Whenever someone visits a care provider, a myriad of transactions take place behind the scenes.
Administrative transactions from nurses, doctors, staff, medical providers, insurance companies, and pharmacies could all be written to a blockchain. Transactions (such as checking benefits,
eligibility, coverage, and the available medicine supply) could be read from the blockchain.
Blockchain Limitations and Misconceptions
There is a tendency to overhype and overuse most nascent technology. Many projects will attempt to incorporate the technology, even if it is unnecessary. This stems from the technology being relatively new and not well understood, or the technology being surrounded by misconceptions. Blockchain technology has not been immune. This section highlights some of the limitations and misconceptions of blockchain technology.
Blockchain Control
A common misconception is that permissionless blockchains are systems without control and ownership. The phrase “no one controls a blockchain!” is often exclaimed; however, while no user, government, or country controls a blockchain, there is still a group of core developers who are responsible for the system’s development. These developers may act in the interest of the community at large, but they still maintain some level of control. For example, in 2013 Bitcoin developers released a new version of the most popular Bitcoin client which introduced a flaw and started two competing chains-of-blocks. The developers had to decide to either keep the new
version (which had not yet been adopted by everyone) or revert to the old version Either choice would result in one chain being discarded—and some people’s monetary transactions becoming invalid.
The developers made a choice, reverted to the old version, and successfully controlled the progress of the Bitcoin blockchain. This example was an unintentional fork; however, developers can purposely build new clients, and with enough adoption from the user base, a successful fork can be created. These forks are often discussed at length and given a long adoption period before being made mandatory to continue recording transactions on the new “main” fork.
The phrase “no one controls a blockchain!” would be better stated as, “no one controls with whom and when you can perform transactations, within the rules of the blockchain system.”
Malicious Users
While the blockchain system can enforce transaction rules and specifications, it cannot enforce a
code of conduct. This is problematic in permissionless blockchain systems, since users are pseudonymous and there is not a one-to-one mapping between blockchain nodes and users of the system. Permissionless blockchains provide incentive (e.g., a cryptocurrency)to motivate users to act fairly; however, some may choose to act maliciously if that provides greater incentives.
The largest problem for malicious users is getting enough power (be it a stake in the system, processing power, etc.) to cause damage. Once a large enough malicious collusion is created,malicious mining actions can include:
- Ignoring transactions from specific users, nodes, or even entire countries.
- Creating an altered, alternative chain in secret, then submitting it once the alternative chain is longer than the real chain. The honest nodes will switch to the chain that has the most “work” done (per the blockchain protocol). This could attack the concept of “immutability” within a blockchain system.
- Refusing to transmit blocks to other nodes, essentially disrupting the distribution of information.
While malicious users can be annoyances and create short-term harm, blockchains can perform hard forks to combat them. Whether damages done (money lost) would be reversed would be up to the developers and users of the blockchain system.
No Trust
Another common misinterpretation comes from people hearing that there is no “trusted third party” in a blockchain and assuming blockchain systems are “trustless” environments. While
there is no trusted third party certifying transactions in permissionless blockchain systems (in permissioned systems it is less clear, as administrators of those systems act as an administrator of trust by granting users admission and permissions), there is still a great deal of trust needed to
work within a blockchain system:
- There is trust in the cryptographic technologies utilized. For example, cryptographic algorithms or implementations can have flaws, and smart contracts can have unintended loopholes and flaws.
- There is trust in the developers of the software to produce software that is as bug-free as possible.
- There is trust that most users of the blockchain are not colluding in secret. If a single group or individual can control more than 50 percent of all block creation power, it is possible to subvert a permissionless blockchain system. However, generally obtaining the necessary computational power is prohibitively expensive.
- There is trust that nodes are accepting and processing transactions fairly.
Resource Usage
Blockchain technology has enabled a worldwide network of value where every transaction is verified and the blockchain is kept in sync amongst a multitude of users. For blockchain systems
utilizing proof of work, this means there is a large number of users churning away processing time and consuming a lot of electricity. A proof of work method is a great solution for “hard to
create, easy to verify” proofs, but it requires significant resource usage.
An additional strain on resources occurs whenever a new full node is created; the node must obtain (usually through downloading) most of or all the blockchain data (Bitcoin’s blockchain data is over 100 gigabytes in size as of this writing). This process uses a lot of network bandwidth.
Blockchains are often compared to databases, and while they both store information, blockchains have limits on the amount of data that can be stored and are not meant to be a general storage medium. In order to quickly calculate hashes on transactions and distribute transactions amongst the network, transactions need to be relatively small. Large amounts of data are usually stored “off chain,” with “pointers/references” or hashes of the data stored within the blockchain itself. Blockchains also benefit from data being immutable, which is not a trait general purpose data usually needs.
Conclusion
Blockchains are a significant new avenue for technological advancements, enabling secure transactions without the need for a central authority. Starting in 2009, with Bitcoin leveraging blockchain technology, there has been an increasing number of blockchain based cryptocurrencies. Possibly more importantly, new applications beyond the realm of currencies are building upon the fundamentals of blockchain technology.
The first applications were digital currencies with the distribution of a global ledger containing all transactions. These transactions are secured with cryptographic hashes, and transactions are signed and verified using public/private key pairs. The transaction history is summarized with Merkle trees, to efficiently and securely record a chain of events in a way that any attempt to edit or change a past transaction will also require a recalculation of all subsequent blocks of transactions.
The use of blockchains is still in its early stages, but it is built on widely understood and sound cryptographic principles. Moving forward, it is likely that blockchains will be another tool that can be used to solve newer sets of problems.
Financial organizations are likely to be the businesses most impacted by blockchains. They may need to adapt or even completely change their practices to focus on being platforms for value exchange and not just places to store value.
Blockchains are also digitizing assets other than money. Companies that need to maintain a public record, such as holding land title, marriage, or birth records, should consider how their problem sets might be addressed by blockchain technologies. Blockchains also have strong potential for storing and recording supply chain records. A blockchain can record each step in a product’s life, from when it was created in a factory, to when it was shipped and subsequently delivered to a store, and finally to when a consumer purchased it.
There may even be new industries, such as digital notaries who can prove a person had access to a specific piece of information by recording the hash of it into the blockchain.
There are many potential uses and opportunities for blockchain technologies.
A blockchain relies on existing network, cryptographic, and recordkeeping technologies but uses them in a new manner. It will be important that organizations are able to look at the technologies and both the advantages and disadvantages of using them. Once a blockchain is implemented and widely adopted, it becomes very difficult to change it without forking. Once something is recorded in a blockchain, it is usually there forever, even when there is a mistake. For some organizations these are desirable features. For others, these may be deal breakers preventing the adoption of blockchain.
Blockchain technologies have the power to disrupt many industries. To avoid missed opportunities and undesirable surprises, organizations should start investigating whether or not a blockchain can help them achieve thier goals.
Share this: >Tweet