Blockchain Basics

Chapter 1
Blockchain Foundations and Terminology

Diploma in Blockchain
Blockchain Basics   •   Diploma

Blockchain Foundations and Terminology

Introduction

Blockchain is a class of distributed ledger technology (DLT) that enables multiple participants to maintain a shared record of transactions without relying entirely on one central database administrator. It combines cryptography, peer-to-peer networking, data structures, and agreement protocols. Although blockchain became widely known through Bitcoin, its uses now include payments, supply chains, digital identity, tokenized assets, public records, and business-to-business coordination.

A blockchain is not simply a database and it is not automatically a cryptocurrency. Its distinctive feature is the coordinated maintenance of a tamper-evident record by a network of participants. The design of a particular blockchain determines who may participate, how transactions are validated, how new records are accepted, what information is visible, and how errors or disputes are handled.

This chapter develops the foundational vocabulary required to study blockchain systems. It also explains the historical progression from Bitcoin to enterprise blockchain and evaluates the technology’s practical limitations.

Learning Objectives

By the end of this chapter, you should be able to:

  1. Explain distributed ledgers and distinguish them from conventional databases.
  2. Describe blocks, chains, hashes, nodes, wallets, tokens, and smart contracts.
  3. Explain transaction validation, consensus, mining, immutability, and decentralization.
  4. Distinguish public, private, permissioned, and consortium blockchains.
  5. Explain the historical development of blockchain from Bitcoin to enterprise systems.
  6. Evaluate practical, governance, security, ethical, and regulatory issues.
  7. Apply blockchain terminology to a realistic organizational scenario.

1. From Centralized Records to Shared Ledgers

A traditional database is usually controlled by a central organization. A bank, for example, maintains its authoritative account database. Customers may access the system through applications, but the bank controls updates, permissions, backups, and correction procedures. This architecture is efficient and often appropriate, but it creates dependence on a central operator.

A distributed ledger is a record replicated across multiple participating computers, often called nodes. Participants use agreed protocols to determine which transactions are acceptable and in what order they should be recorded. No single copy is necessarily treated as authoritative merely because it belongs to one administrator; authority emerges from the system’s governance and consensus rules.

Distributed does not mean that every participant has identical rights. A permissioned ledger may restrict who can read data, submit transactions, validate records, or operate nodes. Therefore, “distributed” describes the distribution of record-keeping and processing, not necessarily unrestricted public access.

Conventional Database and Blockchain Comparison

FeatureConventional centralized databaseBlockchain or distributed ledger
Primary authorityUsually one organizationProtocol and participating governance structure
Record copiesOften concentrated or centrally managedReplicated among multiple nodes
UpdatesAdministrator or authorized applicationTransactions accepted according to validation and consensus rules
ReversibilityUsually easy for authorized administratorsOften difficult after confirmation, depending on governance
PerformanceTypically high and predictableDepends on consensus, network, and data model
TransparencyControlled by database ownerMay range from public transparency to strict confidentiality
Main trust modelTrust the institution and administratorsTrust a combination of code, cryptography, participants, and governance

Blockchain does not eliminate trust. It changes where trust is placed. Users may trust cryptographic signatures, consensus rules, node operators, software developers, legal institutions, or a consortium of organizations.

2. Historical Development

Early Cryptographic Ideas

Blockchain developed from earlier work in cryptography and distributed computing. Public-key cryptography made it possible for users to create digital signatures. Hash functions enabled compact fingerprints of data. Research on digital timestamps proposed methods for demonstrating that a document existed in a particular form at a particular time. Distributed systems research examined how computers could coordinate despite communication failures or dishonest participants.

Digital cash proposals in the 1980s and 1990s attempted to create electronic money with privacy and resistance to double spending. A fundamental problem was that a digital file can be copied. A payment system therefore needs a method to ensure that the same digital unit is not spent twice.

Bitcoin

In 2008, the pseudonymous author or group known as Satoshi Nakamoto published the Bitcoin white paper. The Bitcoin network began operating in 2009. Bitcoin combined a peer-to-peer network, digital signatures, a chain of blocks, proof-of-work consensus, and an economic incentive system.

Bitcoin’s central innovation was not the invention of every underlying component. Rather, it integrated existing ideas into an operational system in which participants could transfer value without a central clearing institution. Miners competed to add blocks, and the protocol rewarded successful participants under defined rules. The ledger recorded transactions in a publicly inspectable sequence.

Beyond Currency

After Bitcoin, developers explored programmable blockchains. Ethereum, launched in 2015, popularized a general-purpose blockchain capable of executing smart contracts. A smart contract is program code deployed to a blockchain that can automatically perform actions when specified conditions are met. Smart contracts support decentralized applications, token issuance, decentralized finance, and digital collectibles.

Enterprise Blockchain

Public blockchains are not always suitable for organizations that require confidentiality, predictable performance, identity management, or legal accountability. Enterprise blockchain projects therefore developed permissioned networks. Examples include systems based on Hyperledger Fabric, R3 Corda, and Quorum-related technologies. These platforms typically allow known organizations to operate nodes and may use practical Byzantine fault-tolerant or other voting-based protocols rather than open mining.

The historical movement can be summarized as follows:

PeriodMain developmentSignificance
Before 2009Cryptographic signatures, hashing, digital cash researchTechnical foundations
2009 onwardBitcoinDecentralized digital currency and public blockchain
Mid-2010sProgrammable platforms such as EthereumSmart contracts and decentralized applications
Late 2010s onwardEnterprise and consortium platformsControlled participation and organizational use
Current periodTokenization, interoperability, scaling, and regulationIntegration with broader digital and legal systems

3. Core Technical Architecture

3.1 Transactions

A transaction is a digitally authorized instruction or state change. In a cryptocurrency system, it may transfer value from one address to another. In an enterprise system, it may record the transfer of goods, update an ownership claim, or invoke a business process.

A transaction commonly contains:

  • the sender’s address or identity reference;
  • the recipient’s address or identity reference;
  • an amount or proposed state change;
  • a transaction fee or priority value, where applicable;
  • a digital signature;
  • a sequence number, timestamp, or other metadata.

A digital signature demonstrates that the holder of a private key authorized the transaction. It does not prove that the underlying real-world claim is true. For example, a validly signed transaction may transfer a token, but the signature alone does not prove that the token represents a legally enforceable ownership right.

3.2 Blocks

A block is a structured collection of transactions and metadata. Typical metadata includes a reference to the preceding block, a timestamp or approximate time value, a consensus-related field, and a summary of the included transactions.

Transactions are often summarized using a Merkle tree. A Merkle tree repeatedly hashes pairs of transaction hashes until one value, called the Merkle root, represents the entire set. If a transaction changes, the resulting root changes. This allows a participant to verify that a transaction belongs to a block without downloading every transaction in that block.

3.3 Hash Functions

A cryptographic hash function maps input data of arbitrary length to a fixed-length output. For input x, the result may be represented as:

h = H(x)

Here, H is the hash function, x is the input, and h is the resulting hash value. A secure cryptographic hash is designed to be computationally infeasible to reverse, to find two different inputs with the same output, or to predict how an output will change when the input changes.

Hash functions are used for block references, transaction summaries, identifiers, and integrity checks. A hash is not encryption: encryption is designed to support controlled recovery of the original message using a key, whereas hashing is normally one-way.

3.4 Chains

Each block normally contains a hash or identifier of the preceding block. This creates a chronological linkage. If an earlier block is modified, its hash changes, causing the reference stored in the next block to become inconsistent. The alteration would then need to be reconciled with later blocks and accepted by the network’s consensus rules.

The term immutability should be used carefully. Blockchain data is generally tamper-evident and resistant to unauthorized alteration, not metaphysically impossible to change. A blockchain may be reorganized, upgraded, censored, attacked, or administratively corrected. Immutability is therefore a matter of economic, technical, and governance difficulty.

4. Nodes and Network Roles

A node is a computer that participates in a blockchain network. Node roles vary by platform:

  • Full node: stores and independently verifies a substantial or complete ledger history.
  • Light node: stores limited information and relies on other nodes for some data, while still using verification techniques where available.
  • Validator: participates in proposing, voting on, or approving blocks under the consensus protocol.
  • Miner: in proof-of-work systems, competes to produce a valid block by performing computational work.
  • Archive node: retains extensive historical state for research, auditing, or infrastructure services.
  • Ordering or sequencing service: in some permissioned platforms, establishes transaction order for the network.

Nodes communicate through a peer-to-peer network. A transaction may be broadcast to peers, checked locally, placed in a temporary pool, and later included in a proposed block. The exact process depends on the blockchain protocol.

5. Wallets, Keys, and Addresses

A blockchain wallet is software or hardware that manages cryptographic keys and helps users create and authorize transactions. The wallet usually does not store coins in the same way that a physical wallet stores cash. The ledger records balances or ownership conditions; the wallet stores credentials that allow the user to control associated assets.

A private key is secret information used to create digital signatures. A public key is mathematically related to the private key and can be used to verify signatures. An address is typically a shorter representation derived from a public key or script. The relationships can be expressed conceptually as:

private key → public key → address

The exact derivation differs among blockchain systems. Loss or theft of a private key can result in permanent loss of control. A wallet may be custodial, where a service provider controls the keys, or non-custodial, where the user controls them directly.

Good operational practice includes secure backups, hardware protection for significant holdings, multi-signature authorization, access separation, and careful verification of recipient addresses. A blockchain transaction sent to an incorrect address may not be reversible.

6. Tokens and Digital Assets

A token is a digital representation managed by a blockchain protocol or smart contract. Tokens may represent:

  • native currency used to pay fees or reward network participants;
  • fungible units, where each unit is interchangeable with another unit;
  • non-fungible assets, where each token has a distinct identifier or attributes;
  • voting rights, access rights, claims, certificates, or loyalty points;
  • representations of physical or financial assets.

Tokenization does not automatically create legal ownership. The legal effect depends on the issuing arrangement, applicable law, contractual terms, and ability to connect the digital record to the real-world asset. A token may be technically transferable while still being subject to securities law, consumer-protection rules, tax obligations, or contractual restrictions.

7. Validation and Consensus

Validation and consensus are related but distinct.

Validation is the checking of an individual transaction or block against protocol rules. A node may check whether a signature is valid, whether an account has sufficient balance, whether a transaction follows the correct format, and whether the block respects size or state-transition rules.

Consensus is the process by which the network agrees on the accepted ordering and state of transactions. A transaction can be valid but not included in the accepted ledger. Consensus determines which valid proposal becomes part of the shared record.

Proof of Work

In proof-of-work systems, miners repeatedly vary a value called a nonce and calculate a block hash. The block is accepted only if the hash meets a difficulty condition, often expressed as being below a target T:

H(block header) < T

H is the cryptographic hash function, the block header is the data being hashed, and T is the network target. A smaller target generally makes finding a qualifying hash more difficult. The condition does not guarantee that a miner is honest; it makes block production costly and allows the network to identify the chain containing the greatest accumulated work under the protocol.

Proof of work can provide strong open-network security, but it consumes energy and may have limited throughput. It also creates risks associated with mining concentration and specialized hardware.

Proof of Stake and Voting-Based Protocols

Proof-of-stake systems select or weight validators according to staked assets and protocol rules. Misbehavior may lead to penalties, often called slashing. Proof of stake can reduce direct energy consumption compared with proof of work, but it introduces design questions concerning wealth concentration, validator incentives, governance, and network participation.

Permissioned enterprise networks may use voting-based protocols in which identified members approve transactions. These protocols can provide faster finality and predictable performance, but they depend on the participating organizations and their governance arrangements.

Confirmation and Finality

A confirmation generally means that a transaction has been included in a block and that additional blocks or approvals have followed. Some systems provide probabilistic finality: the likelihood of reversal decreases as more blocks are added. Other systems provide deterministic or economic finality once a specified quorum approves a block. Users must understand which type applies before designing payment, settlement, or compliance processes.

8. Decentralization and Immutability

Decentralization has several dimensions:

  1. Technical decentralization: how many independent nodes process and store data.
  2. Consensus decentralization: how many entities can influence block acceptance.
  3. Economic decentralization: how mining, staking, development, or infrastructure power is distributed.
  4. Governance decentralization: how protocol changes and disputes are decided.
  5. Geographic decentralization: how widely infrastructure is distributed.

A network may be decentralized in one dimension and centralized in another. For example, many users may run nodes, while a small number of companies control most development or validation power.

Immutability offers audit value because historical records are difficult to alter without detection. However, it can conflict with privacy rights, correction requirements, and operational realities. Organizations should avoid placing sensitive personal data directly on a public blockchain when it cannot be deleted or corrected. A common design is to store a hash or reference on-chain while keeping the underlying personal data in a controlled off-chain system.

9. Public, Private, and Consortium Blockchains

TypeParticipationTypical strengthsTypical limitations
Public permissionlessAnyone may usually read, transact, and possibly validateOpenness, censorship resistance, broad network effectsVolatility, privacy limits, scalability and governance challenges
Private permissionedOne organization controls accessConfidentiality, speed, clear accountabilityCentralization and dependence on the operator
Consortium permissionedSeveral known organizations share controlInter-organizational coordination and governanceMembership disputes, legal complexity, coordination costs
HybridCombines restricted and public componentsFlexible privacy and public verifiabilityMore complex architecture and governance

The choice should follow the business problem. Blockchain is most compelling when several parties need a shared record but do not want one party to control the entire system, and when a common database with ordinary governance is insufficient.

10. Smart Contracts and Applications

A smart contract is code deployed to a blockchain that changes blockchain state when invoked according to predefined rules. It can enforce a payment condition, issue tokens, maintain a registry, or coordinate a multi-step workflow.

Smart contracts have important limitations. They cannot automatically know whether an off-chain event occurred unless they receive information from an oracle or trusted data source. If an oracle reports incorrect data, the contract may execute incorrectly even though its code functions exactly as written. Smart-contract code may also contain vulnerabilities, and immutability can make flaws difficult to repair.

Applications include:

  • cross-border payments and settlement;
  • supply-chain provenance;
  • trade documentation;
  • identity credentials;
  • insurance claims;
  • asset registries;
  • certificates and educational records;
  • digital rights and royalties.

A blockchain is not automatically the best solution. A conventional database may be cheaper, faster, easier to correct, and more private when one trusted organization already has legitimate authority.

11. Applied Case: Traceable Pharmaceutical Distribution

The following is an illustrative case rather than a report of a specific company.

Background

A pharmaceutical supply chain includes manufacturers, logistics providers, wholesalers, pharmacies, hospitals, and regulators. Each organization may maintain its own database. Product information can become fragmented, and participants may struggle to determine whether a batch was legitimately manufactured, transported under the required conditions, or recalled.

Problem

A manufacturer wants a shared history of batch creation, custody transfers, temperature readings, and delivery confirmation. However, participants do not want one competitor to control the entire database. Patient-identifying information must also remain confidential.

Analysis

A consortium permissioned ledger may be appropriate because participants are identifiable organizations with established legal relationships. Each participant can operate a node or access the network through an authorized service. Transactions can be digitally signed, and the ledger can record batch identifiers and custody events. Temperature sensors can submit readings through an integration service, but the data source must be governed because the blockchain cannot independently verify the physical sensor.

Sensitive patient information should not be stored directly on the ledger. Instead, the network may store a product identifier, event timestamp, responsible organization, and a cryptographic reference to documents stored in a controlled repository. Access policies can limit which participants see commercial or regulatory information.

Approach and Solution

The consortium establishes:

  1. a membership policy defining eligible organizations;
  2. a data standard for product and batch identifiers;
  3. validation rules for custody transfers;
  4. a consensus and finality process;
  5. procedures for correcting erroneous data;
  6. governance rules for software upgrades and disputes;
  7. security controls for keys, devices, and administrator accounts.

A pharmacy scans a batch code and verifies the recorded chain of custody. If a recall is issued, authorized parties can identify affected batches more rapidly. The ledger does not prove that a physical product is genuine merely because a record exists; physical controls, audits, secure labels, and trusted data entry remain necessary.

Outcome

The proposed system can improve shared visibility, reduce reconciliation work, and support faster investigations. It may not eliminate all fraud, because false information can be entered at the source. It also introduces costs for integration, governance, training, and cybersecurity.

Learning Points

The case demonstrates that blockchain value depends on multi-party governance, reliable data input, appropriate privacy architecture, and clearly defined business outcomes. The technology supports coordination; it does not replace organizational accountability.

12. Challenges, Ethics, and Regulation

Scalability and Performance

Public blockchains may process fewer transactions per second and with greater latency than centralized systems. Scaling approaches include larger or more efficient blocks, layer-two networks, sharding, sidechains, and off-chain processing. Each approach introduces trade-offs involving security, interoperability, complexity, and finality.

Privacy

Public visibility can support auditability but may expose transaction patterns. Pseudonymous addresses are not necessarily anonymous; analysis may link addresses to individuals or organizations. Privacy-enhancing technologies, permission controls, selective disclosure, and off-chain storage can reduce exposure, but they require careful design.

Security

Blockchain protocols can be robust while surrounding systems remain vulnerable. Common risks include private-key theft, exchange compromise, phishing, smart-contract bugs, insider abuse, malicious validators, oracle manipulation, and poor recovery procedures.

Governance

Protocol changes may create disagreement among users, developers, validators, businesses, and regulators. A technically successful network still requires procedures for upgrades, emergencies, disputed transactions, membership, and accountability.

Environmental and Social Issues

Proof-of-work mining may consume substantial electricity. Its environmental impact depends on hardware efficiency, energy sources, network demand, and the opportunity cost of electricity. Proof of stake reduces direct computational competition but does not remove all environmental, economic, or governance concerns.

Legal and Regulatory Issues

Organizations must consider financial regulation, securities law, anti-money-laundering obligations, taxation, data protection, consumer rights, intellectual property, and jurisdiction. Regulation differs by country and changes over time. Technical teams should involve legal and compliance professionals before deployment.

Responsible Design Practices

A professional blockchain project should:

  • define the problem before selecting the technology;
  • identify all stakeholders and decision rights;
  • minimize on-chain personal data;
  • protect keys using least privilege and separation of duties;
  • audit smart contracts and integrations;
  • test failure, recovery, and upgrade procedures;
  • document consensus, governance, and dispute processes;
  • measure costs, performance, inclusion, and environmental effects;
  • provide accessible remedies when transactions or data are incorrect.

Chapter Summary

Blockchain is a form of distributed ledger technology that coordinates a shared record among multiple participants. Its main building blocks include digitally signed transactions, cryptographic hashes, blocks, linked chains, nodes, wallets, addresses, tokens, and consensus protocols. Validation checks whether transactions and blocks follow rules, while consensus determines which valid records become part of the accepted ledger.

Bitcoin demonstrated how a public network could combine proof of work, cryptography, incentives, and a chain of blocks to support decentralized digital currency. Later platforms introduced smart contracts and programmable assets. Enterprise blockchain systems generally use permissioned participation, identified organizations, controlled data access, and voting-based or stake-based agreement mechanisms.

Immutability should be understood as resistance to unauthorized change rather than absolute permanence. Decentralization has technical, economic, governance, and geographic dimensions. Blockchain can improve multi-party coordination, auditability, and provenance, but it does not guarantee truthful input, legal ownership, privacy, scalability, or security. Effective adoption requires a clear use case, reliable data sources, sound governance, key management, regulatory analysis, and responsible system design.

Key Terms

Distributed ledger: A replicated record maintained and coordinated across multiple participants.

Blockchain: A distributed ledger that commonly organizes records into cryptographically linked blocks.

Transaction: A digitally authorized instruction or state change.

Block: A structured collection of transactions and metadata.

Hash: A fixed-length output produced from input data by a hash function.

Hash function: A function designed to produce a computationally unique and difficult-to-reverse data fingerprint.

Node: A computer participating in a blockchain network.

Full node: A node that independently verifies substantial or complete ledger data.

Wallet: Software or hardware that manages cryptographic keys and authorizes transactions.

Private key: Secret cryptographic information used to create digital signatures.

Public key: Cryptographic information used to verify signatures.

Address: An identifier used to specify a destination or account condition.

Token: A blockchain-managed digital representation of value, rights, access, or assets.

Mining: The process of proposing blocks through computational work in proof-of-work systems.

Validator: A participant that proposes or approves blocks under a consensus protocol.

Consensus: The process by which participants agree on accepted transaction ordering and state.

Immutability: Resistance to unauthorized alteration of recorded information.

Smart contract: Blockchain-deployed code that performs state changes according to defined rules.

Permissioned blockchain: A blockchain in which participation or access is restricted.

Oracle: A service that supplies external information to a blockchain or smart contract.

Review Questions

Short Answer Questions

  1. What is the principal difference between a centralized database and a distributed ledger?
  2. What role does a cryptographic hash play in linking blocks?
  3. Why is a private key important in a blockchain wallet?
  4. Distinguish transaction validation from consensus.
  5. What is meant by a permissioned blockchain?

Long Answer Questions

  1. Explain the historical development from cryptographic research and digital cash proposals to Bitcoin, smart-contract platforms, and enterprise blockchain.
  2. Describe the structure of a blockchain transaction and explain how it may be included in a block and linked to earlier blocks.
  3. Compare proof of work, proof of stake, and voting-based consensus in terms of participation, security assumptions, performance, and governance.
  4. Explain why blockchain immutability is better understood as tamper resistance rather than absolute inability to change.
  5. Discuss the main ethical, privacy, legal, and security issues that organizations should assess before deploying blockchain.

Analytical / Application Questions

  1. A group of competing banks wants a shared settlement record but requires known participants, confidential data, and predictable finality. Which blockchain architecture and governance features would you recommend, and why?
  2. A company proposes storing customers’ full identity documents directly on a public blockchain. Analyze the proposal and recommend a safer architecture.
  3. In the pharmaceutical case, explain why a blockchain record cannot by itself prove that a physical product is genuine. Identify at least three complementary controls that should be used.

Multiple Choice Questions with Answers

Question 1

Which statement best describes a distributed ledger?

A. A single database controlled by one administrator

B. A replicated record coordinated among participating computers

C. A private key used to authorize transactions

D. A program that encrypts all network traffic

Correct Answer: B. A replicated record coordinated among participating computers

Question 2

What is the primary purpose of including a previous block’s hash in a new block?

A. To increase the monetary value of the block

B. To conceal all transaction details

C. To create a tamper-evident chronological linkage

D. To identify the wallet owner

Correct Answer: C. To create a tamper-evident chronological linkage

Question 3

Which item normally authorizes a blockchain transaction?

A. A private key and its resulting digital signature

B. A public blockchain explorer

C. A block timestamp alone

D. A mining computer’s serial number

Correct Answer: A. A private key and its resulting digital signature

Question 4

What does transaction validation involve?

A. Choosing the organization that owns the blockchain

B. Checking whether a transaction follows protocol rules

C. Guaranteeing that an off-chain event is truthful

D. Converting a private key into physical cash

Correct Answer: B. Checking whether a transaction follows protocol rules

Question 5

In proof of work, miners generally search for a block header whose hash satisfies which condition?

A. H(block header) > T

B. H(block header) = 0 in every case

C. H(block header) < T

D. H(block header) contains the sender’s name

Correct Answer: C. H(block header) < T

Question 6

Which statement about wallets is correct?

A. A wallet necessarily stores the actual coins as physical objects

B. A wallet manages keys used to control ledger-recorded assets

C. A wallet replaces the need for digital signatures

D. A wallet makes incorrect transactions automatically reversible

Correct Answer: B. A wallet manages keys used to control ledger-recorded assets

Question 7

Which architecture is most suitable when several identified organizations share control of a ledger?

A. Consortium permissioned blockchain

B. Unrestricted anonymous blockchain only

C. A single-user local spreadsheet

D. A wallet backup file

Correct Answer: A. Consortium permissioned blockchain

Question 8

Why does a valid blockchain signature not necessarily prove that a physical product is genuine?

A. Signatures cannot be verified by nodes

B. The signature proves authorization, not the truth of the external physical claim

C. Hashes cannot be used with transactions

D. Consensus removes all product records

Correct Answer: B. The signature proves authorization, not the truth of the external physical claim

Question 9

What is a smart contract?

A. A legal contract printed and stored in a filing cabinet

B. A blockchain-deployed program that executes defined state changes

C. A private key recovery phrase

D. A computer used exclusively for mining

Correct Answer: B. A blockchain-deployed program that executes defined state changes

Question 10

Which is an important limitation of public blockchain immutability?

A. It guarantees that all input data is truthful

B. It makes governance unnecessary

C. It can complicate correction or deletion of sensitive information

D. It prevents every possible network attack

Correct Answer: C. It can complicate correction or deletion of sensitive information

Blockchain Basics
Chapter 1 of 14