Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Public, private and consortium blockchains

Clear notes comparing public, private and consortium blockchains, their definitions, trust models, trade-offs, formulas for throughput and fault tolerance, worked examples, common exam mistakes and practice questions.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Engineers choose between blockchain types when building systems for payments, supply chain, government records or enterprise data. Knowing the difference between public, private and consortium blockchains guides choices about who can read or write data, how consensus is reached, security assumptions and performance.

Key ideas

Start from first principles and define terms before using them.

  • Blockchain: a tamper-evident, append-only ledger made of ordered blocks; each block contains transactions and a cryptographic link (hash) to the previous block. Assumes participants can verify cryptographic proofs (see other topics: Cryptographic hash functions and SHA-256, Digital signatures).

  • Node: a network participant that stores or forwards blockchain data. Nodes can have different roles (e.g., full node, light node).

  • Permissionless: a system property where any actor can join and take part (read and/or write) without prior approval. Example: Bitcoin's network is permissionless for validating and mining.

  • Permissioned: a system property where participants must be authorized (given permission) to perform certain actions (usually to write/validate). Access control lists or identity systems enforce permissioning.

  • Public blockchain: a blockchain that is both permissionless and publicly readable. Any node can read the ledger; any actor can try to participate in consensus (subject to protocol rules). Security relies on economic incentives and open-participation consensus (e.g., Proof of Work, Proof of Stake). Assumes wide, open participation and that majority-of-resources attacks are costly.

  • Private blockchain: a blockchain that is permissioned and typically controlled by a single organization. Read and write access are restricted. Consensus is achieved among known, trusted nodes or replicas. Assumes organizational governance and administrative control.

  • Consortium blockchain: a blockchain that is permissioned and controlled by a group of organizations (a consortium). Writing/validation rights are restricted to consortium members; reading may be either restricted or public. Governance is shared among the consortium members.

  • Validator / Miner: a participant that participates in forming new blocks (the terminology depends on the consensus algorithm). Miner usually refers to Proof-of-Work actors; validator refers to nodes that propose/attest/vote in many consensus protocols (e.g., public PoS and permissioned BFT).

  • Consensus algorithm: a protocol ensuring network nodes agree on the next block. Examples: Proof of Work (PoW), Proof of Stake (PoS), Practical Byzantine Fault Tolerance (PBFT). Assumes network synchrony or partial synchrony depending on the algorithm.

  • Finality: the property that once a transaction is included in the blockchain it cannot be reversed (or the probability of reversal is negligible). Public PoW systems have probabilistic finality; some permissioned protocols (PBFT) provide deterministic finality under assumptions about faulty nodes. Some modern public PoS protocols provide economic/deterministic finality under a supermajority-honest assumption.

  • Throughput: transactions per second (TPS) the blockchain can sustain. It depends on block size, average transaction size and block interval for blockchains using blocks.

  • Latency: time between submitting a transaction and it being confirmed/final. Depends on block interval and required confirmation depth.

Key trade-offs and assumptions (state them explicitly):

  • Security vs performance: Permissionless, widely open systems favour high decentralization and strong censorship-resistance but tend to have lower throughput and higher latency (e.g., Bitcoin, Ethereum mainnets). Permissioned systems trade some decentralisation for higher throughput and lower latency by restricting validators.

  • Trust model: Public blockchains assume economic incentives and open competition to secure the network; consortium/private blockchains assume legal, contractual and organisational trust between known parties.

  • Governance: Public chains often use on-chain/off-chain governance with broad stakeholder influence; consortiums use agreed governance frameworks (voting rules, membership policies). Write down governance rules when designing permissioned systems.

What to draw (exam diagram):

  • Diagram 1: Three vertically stacked boxes labelled Public, Consortium, Private. For each box draw a set of circles representing nodes: Public shows many dispersed nodes with icons for "unknown" identities; Consortium shows several groups of nodes each inside a labelled organization box; Private shows nodes inside a single organisation. Draw arrows for "read" and "write" access: Public: read=all, write=all; Consortium: read=public or restricted (label), write=consortium members; Private: read=restricted, write=single org. Label consensus type beneath each (e.g., PoW/PoS for Public; PBFT (BFT)/Raft (CFT) for Permissioned).

  • Diagram 2 (consensus fault tolerance): draw n nodes, mark f faulty, show requirement for n ≥ 3f + 1 for PBFT.

Assumptions commonly stated in exam answers: network partial synchrony for PBFT-style finality; honest-majority of hashpower for PoW and an honest supermajority (e.g., ≥2/3) of stake/validators for many BFT-style PoS (protocol-specific); membership and identity management in permissioned setups.

Formulas

TPS ≈ (block_size_bytes / avg_tx_size_bytes) / block_interval_seconds — TPS (transactions per second); block_size_bytes in bytes; avg_tx_size_bytes in bytes; block_interval_seconds in seconds. Applies to block-based ledgers where blocks are fixed-size or rate-limited.

f = floor((n - 1) / 3) — maximum number of Byzantine faulty nodes tolerated by classical PBFT where n is total replicas and the protocol requires n ≥ 3f + 1. f is dimensionless (count of nodes). Applies to PBFT-style consensus under a Byzantine fault model in a partially synchronous network.

prob_attack ≈ probability(attacker controls the protocol’s critical resource threshold) — qualitative expression; in PoW, attacks like double-spends typically require >50% hashpower, whereas many BFT-style PoS protocols lose safety/liveness with ≥1/3 malicious stake; verify specifics per protocol before using in a calculation.

confirmation_time ≈ k · block_interval_seconds — for systems that require k blocks for confidence (e.g., 6 blocks in Bitcoin). Units: seconds.

Worked examples

  1. Throughput calculation: compare a public and a permissioned blockchain.

Given: public chain block_size = 1,000,000 bytes (1 MB), avg_tx_size = 250 bytes, block_interval = 600 s (10 min). Permissioned chain block_size = 5,000,000 bytes (5 MB), avg_tx_size = 500 bytes, block_interval = 2 s.

Steps:

  • Public: tx_per_block = block_size / avg_tx_size = 1,000,000 / 250 = 4,000 tx per block.
  • Public TPS = tx_per_block / block_interval = 4,000 / 600 = 6.666... ≈ 6.67 TPS.
  • Permissioned: tx_per_block = 5,000,000 / 500 = 10,000 tx per block.
  • Permissioned TPS = 10,000 / 2 = 5,000 TPS.

Conclusion: under these assumptions the permissioned chain has far higher TPS due to shorter block interval and larger blocks. (Numbers chosen for illustration; verify protocol limits and average tx sizes for real systems.)

  1. PBFT fault tolerance example.

Given: a consortium runs a PBFT-based validator set with n = 7 nodes.

Steps:

  • Compute f = floor((n - 1) / 3) = floor(6 / 3) = 2.
  • Interpretation: the protocol tolerates up to 2 Byzantine (arbitrary faulty) nodes; with 3 faulty nodes safety or liveness may be lost.

Answer: The system can tolerate up to 2 faulty nodes out of 7.

  1. Consortium voting example (model answer long-question style).

Question: A consortium of 5 banks uses a voting rule: a transaction is accepted if a majority (strict >50%) of banks approve. If the banks have unequal voting weights {A:40, B:25, C:15, D:10, E:10}, what minimal set of banks can approve to reach >50%? Show reasoning.

Model answer:

  • Total weight = 100.
  • To reach >50% need >50 weight points, i.e., at least 51.
  • Start with largest: A(40) + B(25) = 65 ≥ 51 — so {A,B} is sufficient.
  • Minimal by count: try two banks smallest? A(40) + C(15) = 55 ≥ 51 → {A,C} also sufficient and has smaller second weight.
  • The minimal single bank cannot reach 51. So minimal approval sets by weight include {A,B} and {A,C} (and A plus any bank with weight ≥11). Provide final answer: two banks including A plus any bank of weight ≥11.

Common mistakes

  • Misstating PBFT fault bound as n ≥ 2f + 1 instead of n ≥ 3f + 1.
  • Treating finality the same across all chains: public PoW is probabilistic finality, PBFT gives deterministic finality under assumptions.
  • Using TPS numbers from one chain as generic; throughput depends on block interval, tx size, consensus and network.
  • Mixing up validator vs miner terminology; miners are specific to PoW.

For your exam

Question types you will see: definitions (define public/permissioned/consortium), short notes (advantages/disadvantages), derivations (derive TPS formula, show PBFT f formula), numerical problems (calculate TPS, compute f for given n), diagrams (draw public/consortium/private node arrangements), and design questions (choose type for an application and justify).

What full-marks answers include:

  • Clear definitions of each highlighted term with bold name.
  • Stated assumptions (e.g., block-based ledger, average tx size known, partial synchrony for PBFT).
  • Stepwise derivations for formulas used and units carried through in numericals.
  • Diagrams labelled as required (nodes, read/write access, consensus type).
  • Short justification of trade-offs (security, performance, governance) with examples.

Quick check

  1. Define a consortium blockchain in one sentence.
  2. Write the formula to compute TPS from block size, average transaction size and block interval.
  3. For PBFT with n = 10, what is the maximum f (Byzantine nodes tolerated)?

Answers: 1) A consortium blockchain is a permissioned ledger run by a group of organisations who jointly control writing/validation; 2) TPS ≈ (block_size_bytes / avg_tx_size_bytes) / block_interval_seconds; 3) f = floor((10 - 1)/3) = 3.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?