Blockchain & Distributed Ledgers for Architects
- Explain what a blockchain guarantees (tamper evidence, Byzantine-tolerant ordering, signature-based authorization) and what it does not (truth of off-chain data, privacy, speed)
- Compare proof of work, proof of stake and BFT consensus by fault model and finality
- Decide when a shared ledger beats a central database with a signed audit log
- Design custody, deposits, withdrawals and reconciliation for a bank, wallet or exchange that touches a public chain
TL;DR
- A blockchain is a replicated state machine with a Byzantine fault model: signed transactions in hash-linked blocks, ordered by consensus among operators who do not trust each other.
- Finality is the number you integrate against. Proof of work is probabilistic, Ethereum finalizes in ≈ 13 minutes, BFT chains (CometBFT, QBFT) are final in one block but halt if more than a third of validators are down.
- The chain guarantees the integrity of what was written, not its truth. Oracles, bridges and private keys are where money is lost.
- Use a shared ledger only when several writers distrust each other and no operator is acceptable to all, or when public verifiability is the product. Otherwise use Postgres plus a hash-chained, signed audit log.
- Integration is payments engineering with harsher failures: custody tiers on HSM or MPC, an indexer that credits after N confirmations and reverses on reorg, an idempotent withdrawal pipeline, and reconciliation at a finalized height.
- As of 2026: US GENIUS Act (signed July 2025, rules being finalized), EU MiCA (fully applied December 2024), FATF Travel Rule, and Vietnam's Law 71/2025/QH15 plus the Resolution 05/2025/NQ-CP pilot market.
Why it matters
Bank interviewers ask "would you use a blockchain for X?" to test judgement. The strong answer starts from the trust model and usually ends with "a database, plus these controls"; you need enough depth to spot the cases where that is wrong.
The integration work is real: tokenized deposits, client custody, settlement accounts for exchanges, stablecoin rails. In Vietnam, large banks and securities firms are applying to back licensed crypto-asset exchanges under the 2025 pilot. The problems are familiar from Idempotency & Exactly-Once, Double-Entry Ledger Design and Reconciliation & Settlement, with harsher failures: transfers cannot be recalled, a reorg can un-confirm a credited deposit, and one leaked key can empty a wallet in one block.
Core concepts
The replicated state machine view
A blockchain has the shape of Consensus & Raft: an ordered log of commands applied by every node to a deterministic state machine (balances, contract storage). The fault model and membership differ:
| Aspect | Raft | BFT chain (CometBFT, QBFT) | Public PoW / PoS chain |
|---|---|---|---|
| Faults tolerated | Crash-stop; nodes never lie | f liars among 3f + 1 | Minority of hash power or stake |
| Membership | Fixed | Known validators | Open; Sybil resistance via work or stake |
| Validation | Followers trust the leader | Every validator re-executes and signs | Every full node re-executes |
| Finality | Majority ack, ms | Deterministic, seconds | Probabilistic or checkpoint, minutes |
Re-executing everything everywhere removes trust in the leader, and is why throughput is low: more nodes add verifiers, not capacity.
Hash chains and Merkle proofs
Each block header contains the previous header's hash, so editing an old transaction changes every later hash. That is tamper evidence, not tamper resistance: a lone operator can recompute the chain in seconds. Rewriting gets expensive only through consensus (redo the work, get slashed, forge other validators' signatures). A central audit log gains the same property when its head hash is signed and handed to someone the operator cannot overrule.
A header commits to its transactions through a Merkle root. An inclusion proof is the log2(n) sibling hashes on the path: for 1,000,000 transactions, 20 × 32 bytes = 640 bytes. Light clients, bridges and Certificate Transparency logs rely on this.
In a review, check that leaves and interior nodes use different hash prefixes (RFC 6962: 0x00 and 0x01) and that odd levels are padded safely (Bitcoin's duplicate-last-node rule led to CVE-2012-2459).
Keys, signatures and accounts
- An account is a key pair. The address derives from the public key; a signature (secp256k1 ECDSA on Bitcoin and Ethereum, Ed25519 on many newer chains) is the only authorization. No password reset, no chargeback, no freeze unless the token contract has one (regulated stablecoins usually do).
- UTXO model (Bitcoin): a transaction consumes unspent outputs and creates new ones, including change.
- Account model (Ethereum): balances per address plus a per-account nonce. Nonces must be consecutive: replay protection and strict ordering, and the cause of most withdrawal-pipeline bugs.
Consensus families and finality
Proof of work. Nodes follow the chain with the most work; Bitcoin targets a block every ≈ 10 minutes. Finality is probabilistic: the Bitcoin whitepaper shows an attacker with 10% of hash power has under 0.1% chance of catching up from 5 blocks behind (24 blocks for 30%). Hence "6 confirmations ≈ 1 hour", set deeper for smaller PoW chains.
Proof of stake, Ethereum's Gasper. 12-second slots, 32-slot epochs (6.4 minutes). LMD-GHOST picks the head; Casper FFG finalizes checkpoints once validators with two thirds of the stake vote for them, normally after ≈ 2 epochs (≈ 12.8 minutes). Reverting a finalized block requires at least a third of all stake to be slashed: economic finality. Head blocks can still reorg by a slot or two. JSON-RPC offers block tags latest, safe and finalized. If over a third of validators go offline, blocks continue but finality stalls (briefly in May 2023, from client bugs). Faster finality is on the roadmap; verify before quoting timings.
BFT (deterministic finality). The PBFT lineage commits a block once more than two thirds of a known validator set (n ≥ 3f + 1) sign it: Tendermint / CometBFT (Cosmos; CometBFT forked Tendermint Core), IBFT 2.0 / QBFT (Hyperledger Besu, whose docs recommend at least four validators; four or five tolerate one fault) and HotStuff (linear leader changes; basis of Diem's LibraBFT). No forks, but if more than a third of voting power is unreachable the chain halts: it chooses consistency in CAP & PACELC terms.
| Family | Example | Block / finality (≈) | Throughput (rough, L1) | Under partition |
|---|---|---|---|---|
| PoW | Bitcoin | 10 min / ≈ 60 min (6 conf.) | Single-digit tps | Forks; shorter side reorgs |
| PoS checkpoints | Ethereum | 12 s / ≈ 13 min | Tens of tps | Keeps producing, stops finalizing |
| BFT | CometBFT, QBFT | Seconds / same block | Hundreds to low thousands | Halts |
Throughput depends on transaction mix, gas limits and hardware: orders of magnitude, not benchmarks.
Public vs permissioned ledgers
Public chains give open access, censorship resistance and public verifiability. You give up privacy (every transfer is visible, which chain analytics exploits), fee predictability and control over upgrades.
Permissioned ledgers run by a known consortium:
- Hyperledger Fabric: execute-order-validate. Peers simulate chaincode (often Go), an ordering service sequences transactions (Raft, or the SmartBFT orderer added in v3.0), and peers check endorsement policies such as "two of three banks sign". Channels and private data collections limit visibility. v2.5 is the LTS line.
- Hyperledger Besu: a Java Ethereum client for mainnet or private QBFT / IBFT 2.0 networks, keeping the EVM and its tooling.
- Corda (R3): not a broadcast chain; states are shared only between deal parties, and a notary prevents double spends.
Five known banks running validators is a replicated database with Byzantine tolerance and heavy governance. Its value is that no single member operates it. If one party (a central bank, NAPAS, a securities depository) is trusted to operate it anyway, a conventional system is simpler.
Smart contracts, oracles, bridges and rollups
- Smart contracts are code plus storage at an address, executed by every node and metered in gas. Since EIP-1559 a fee is a base fee plus a tip, and the base fee can multiply within minutes.
- Immutability makes bugs permanent (the 2016 DAO reentrancy exploit). Upgrade proxies (EIP-1967, UUPS) allow fixes but add a trusted admin key; put it behind a multisig and a timelock. For client money: two independent audits, fuzzing, monitoring and a pause switch.
- Oracles: a chain verifies only signatures and its own state. Prices, shipments and fiat reserves enter through an oracle, and the system is exactly as trustworthy as that oracle.
- Bridges lock assets on one chain and mint IOUs on another under a small validator set. In the 2022 Ronin attack, 5 of 9 validator keys were compromised, four of them held by one company.
- Rollups execute off L1 and post data and commitments to Ethereum. Optimistic rollups (Arbitrum, OP Stack chains such as Base) accept fraud proofs during a ≈ 7-day challenge period, so exits to L1 wait that long. ZK rollups post validity proofs, so exits complete once L1 verifies the proof. Most still run a single sequencer whose soft confirmation is a promise, not finality.
Do you need a blockchain?
Why the Postgres table usually wins:
- One writer, no consensus problem. Loyalty points, internal audit trails and KYC stores have one operator. Hash-chain the journal, have an HSM sign the head every few minutes, and give the signed heads to auditors.
- Garbage in, immutable garbage out. Supply-chain projects fail at the physical-to-digital boundary, which consensus never touches.
- Governance is the real cost. Bank-backed trade finance networks show it: we.trade went insolvent in 2022, TradeLens shut in early 2023 for lack of commercial viability, Marco Polo went insolvent in 2023 and Contour closed in November 2023, leaving Komgo as the survivor of the four 2019 networks. The technology mostly worked; funding and adoption did not.
- Privacy law vs immutability. Personal data on a replicated append-only ledger cannot be erased (compare Vietnam's Law 91/2025/QH15 on personal data). Keep it off-chain; anchor hashes only.
A shared ledger wins when assets circulate among parties with no common operator (stablecoins, tokenized funds), when central banks will not let one of them run the platform, or when public verifiability is the product (proof of reserves).
Finance use cases as of 2026
| Use case | Status (as of 2026; verify before quoting) |
|---|---|
| US stablecoins | GENIUS Act signed 18 July 2025: 1:1 reserves in cash, insured deposits or short Treasuries, redemption rights, AML programs. Effective on the earlier of 18 January 2027 or 120 days after final rules; regulators missed the July 2026 rulemaking deadline and were still finalizing key rules in October 2026 |
| EU stablecoins and providers | MiCA: stablecoin rules from 30 June 2024, full application 30 December 2024, provider transitional periods ended by 1 July 2026 |
| Tokenized deposits | J.P. Morgan's JPMD, a permissioned USD deposit token on Base (an Ethereum L2), announced June 2025 for institutional clients |
| Tokenized funds | BlackRock's BUIDL money market fund on Ethereum since March 2024, Securitize as transfer agent |
| Wholesale cross-border | mBridge (PBoC, HKMA, Bank of Thailand, UAE central bank; Saudi Central Bank joined 2024) reached MVP in mid-2024, and the BIS handed it to the partners in October 2024. Project Agorá (BIS, IIF, seven central banks, 40+ firms) published a prototype in May 2026: tokenized deposits and reserves with atomic multi-currency settlement. Not production |
| Trade finance consortia | Mostly closed (see above) |
The successes put regulated liabilities on a ledger that several institutions settle on atomically. The failures tried to solve a coordination problem with technology.
Integration architecture for a bank, wallet or exchange
The internal ledger stays the system of record; the chain is an external settlement network you can query but not correct.
Custody
- Tiers. Hot: online, signs automatically within policy, holds about a day of expected payouts. Warm: online, human approval per transaction, refills hot. Cold: offline, multi-person, holds the bulk. Size hot by the loss you can absorb.
- HSM vs MPC. An HSM keeps the whole key in certified hardware (check secp256k1 support). MPC splits it into shares on separate machines, so the full key never exists, yet produces one ordinary signature. On-chain multisig (such as Safe) is visible on-chain but chain-specific.
- Key ceremonies: scripted, witnessed, recorded; split knowledge; separated backups; recovery drills. Treat it like a root CA.
- Approvals: limits, velocity, allowlisted destinations with a cooling-off period, maker-checker above thresholds. In February 2025 attackers took ≈ USD 1.5 billion from Bybit's multisig cold wallet by compromising the wallet provider's web interface, so signers approved a malicious transaction shown as routine. Verify the decoded transaction on an independent device.
Deposits and reorgs
- Addresses: per-customer addresses derived from an extended public key (BIP-32/44), so the deposit service holds no private keys. ERC-20 balances spread over many addresses must be swept, paying gas per address.
- Indexer: store
(height, hash, parent_hash). A block whose parent does not match your stored hash signals a reorg: walk back to the common ancestor and rescan. Cross-check hashes from two independent sources. - Identity: a deposit is (tx hash, log index); one transaction can pay many addresses. Allowlist token contracts, because fake "USDT" tokens are common.
- Policy: show pending at once; make funds available only after the chain's finality rule. If a reorg removes a credited deposit, post a reversal entry and treat a negative balance as a credit-risk event.
Withdrawal pipeline
- Persist the signed transaction before broadcast, so a retry resends the same bytes instead of signing a second payment with a new nonce (the classic double payout).
- One nonce allocator per signing address. A stuck nonce 42 blocks 43 onwards; cancel it with a zero-value self-transfer at nonce 42 and a higher fee.
- Replacements need higher fees (Geth and Reth default to ≈ 10% more on both fee fields; verify for your nodes). Each has a new hash and any may be mined, so track all of them and settle once. Cap fees per withdrawal; pause payouts during spikes.
Reconciliation and AML
- Reconcile at one finalized height: on-chain wallet balances vs the ledger's custody accounts vs total customer liabilities. Expect breaks from dust and spam tokens (including address poisoning: look-alike addresses hoping operations copies the wrong one), unbooked fees, in-flight withdrawals, reversals and manual cold-wallet moves.
- Travel Rule: FATF Recommendation 15 applies the Recommendation 16 Travel Rule to virtual-asset transfers. The sending provider passes originator and beneficiary data to the receiving one; FATF allows a USD/EUR 1,000 de minimis threshold, and jurisdictions differ (the EU applies none between providers; verify). IVMS101 is the common data model; TRP and TRISA are common protocols. FATF revised R.16 in June 2025 for payment transparency.
- Chain analytics: score deposit sources and withdrawal destinations for exposure to sanctioned addresses, mixers and stolen funds; holds sit before available and before signing.
Vietnam lens
Based on public texts and law-firm summaries available in 2026. Implementing rules and licensing decisions are still being issued.
- Law 71/2025/QH15 on Digital Technology Industry: adopted 14 June 2025, effective 1 January 2026. It defines digital assets as Civil Code assets in digital-data form and classifies virtual assets and crypto assets, excluding securities, digital fiat and other financial assets. Detailed rules are delegated to the Government.
- Resolution 05/2025/NQ-CP (9 September 2025): a five-year pilot crypto-asset market under the Ministry of Finance. Providers must be Vietnamese companies with at least VND 10,000 billion paid-up capital, at least 65% institutional (over 35% from at least two banks, securities firms, fund managers, insurers or tech firms), foreign ownership at most 49%, and Level 4 information-system security. Issued assets must be backed by real assets, not securities or fiat, and offered only to foreign investors. Everything settles in VND. Six months after the first license, trading through unlicensed channels becomes sanctionable.
- Licensing opened with Decision 96/QĐ-BTC (20 January 2026). By mid-2026, several bank- and securities-backed applicants had reportedly passed initial review; check whether licenses have been granted.
- NDAChain: a permissioned national Layer-1 announced in July 2025 by the National Data Association, run under the Ministry of Public Security's National Data Center: proof of authority, 49 validator nodes, a data-verification layer hosting the NDA DID identity system linked to VNeID (see Decentralized Identity: DIDs & Verifiable Credentials).
For a Vietnamese bank, the realistic work is VND settlement accounts for licensed exchanges and their foreign investors, AML monitoring of those flows, custody partnerships and reconciliation, not public-chain nodes in core banking.
Trade-offs
| Option | Strengths | Weaknesses | Choose when |
|---|---|---|---|
| Central DB + signed, hash-chained audit log | Fast, cheap, private, erasable | Trust in the operator | One operator, or one everyone accepts (most cases) |
| Transparency log | Third parties verify append-only history | No shared writes | Public verifiability of one party's records |
| Permissioned BFT ledger | No single operator; deterministic finality | Governance and upgrades; halts | Several institutions refuse to let one run it |
| Public L1 | Open access, global liquidity | Public data, fee spikes, slow finality | Assets that must circulate freely |
| Public L2 rollup | Low fees, fast soft confirmation | Sequencer and bridge trust; 7-day optimistic exits | High-volume payments settling to L1 |
In practice
Example confirmation policy (illustrative; set yours per chain and amount):
| Chain | Funds available when | Watch |
|---|---|---|
| Bitcoin | 1–2 confirmations small, 6 large | Deeper for small PoW chains |
| Ethereum L1 | safe small, finalized (≈ 13 min) large | Finality stalls |
| Optimistic rollup | L1-finalized batch for value | ≈ 7-day exits |
| CometBFT / QBFT | First committed block | Halts |
A deposit tracker that credits after N confirmations and reverses on reorg, idempotent on keys built from tx hash, log index and block hash:
package deposit
import (
"context"
"fmt"
"math/big"
"sync"
)
// Ledger posts journal entries. Both calls must be idempotent on key: a second
// call with the same key is a no-op (a unique constraint in the ledger DB).
type Ledger interface {
Credit(ctx context.Context, key, account string, amount *big.Int) error
Reverse(ctx context.Context, key, account string, amount *big.Int) error
}
// EventID identifies one transfer log. One transaction can emit many
// transfers (batch payouts), so the tx hash alone is not unique.
type EventID struct {
TxHash string
LogIndex uint
}
// Event is a transfer into one of our deposit addresses, as seen in a block
// that was canonical when the indexer read it.
type Event struct {
ID EventID
Block uint64
BlockHash string
Account string // internal account that owns the deposit address
Amount *big.Int // base units; 18-decimal tokens overflow int64
}
type deposit struct {
Event
credited bool
}
// Tracker credits deposits after enough confirmations and reverses them if a
// reorg removes their block. A real one keeps this state in the ledger DB.
type Tracker struct {
mu sync.Mutex
required uint64 // confirmations, counting the block that includes the tx
ledger Ledger
seen map[EventID]*deposit
}
func NewTracker(required uint64, l Ledger) *Tracker {
return &Tracker{required: required, ledger: l, seen: make(map[EventID]*deposit)}
}
// Observe records a deposit. Replays of the same event are no-ops.
func (t *Tracker) Observe(ev Event) error {
t.mu.Lock()
defer t.mu.Unlock()
if d, ok := t.seen[ev.ID]; ok {
if d.BlockHash != ev.BlockHash {
return fmt.Errorf("event %v moved to block %s without a reorg", ev.ID, ev.BlockHash)
}
return nil
}
t.seen[ev.ID] = &deposit{Event: ev}
return nil
}
// OnHead credits every pending deposit that now has enough confirmations.
// On Ethereum, pass the finalized block number and set required to 1.
func (t *Tracker) OnHead(ctx context.Context, head uint64) error {
t.mu.Lock()
defer t.mu.Unlock()
for _, d := range t.seen {
if d.credited || head < d.Block || head-d.Block+1 < t.required {
continue
}
if err := t.ledger.Credit(ctx, postingKey("credit", d.Event), d.Account, d.Amount); err != nil {
return err // retried on the next head; the key makes that safe
}
d.credited = true
}
return nil
}
// OnReorg is called when the blocks from height fork upwards were replaced.
// Pending deposits are dropped; credited ones get a reversal entry, never a
// delete. The indexer then rescans the new blocks and calls Observe again.
func (t *Tracker) OnReorg(ctx context.Context, fork uint64) error {
t.mu.Lock()
defer t.mu.Unlock()
for id, d := range t.seen {
if d.Block < fork {
continue
}
if d.credited {
if err := t.ledger.Reverse(ctx, postingKey("reverse", d.Event), d.Account, d.Amount); err != nil {
return err
}
}
delete(t.seen, id)
}
return nil
}
// postingKey includes the block hash, so a transaction re-included in another
// block after a reorg gets a new, still deterministic, ledger key.
func postingKey(kind string, ev Event) string {
return fmt.Sprintf("deposit:%s:%s:%d:%s", kind, ev.ID.TxHash, ev.ID.LogIndex, ev.BlockHash)
}
- Persist tracker state and postings in one database transaction; the idempotent keys are the second line of defence.
- Ethereum's
logIndexis the position in the block, so a re-included transaction can get a new index; the block hash in the key keeps postings correct. - Store each token's
decimalswith the contract allowlist (USDT and USDC use 6 on Ethereum, most ERC-20 tokens 18). - Alert on node hash disagreement, head and finality lag, a low hot-wallet balance, old pending withdrawals and nonce gaps.
Common pitfalls
- Crediting large amounts on a mempool sighting or one confirmation: the deposit vanishes in a reorg after the customer has withdrawn.
- Tx hash as deposit id: batch payouts credit one recipient, or replays double-credit.
- Re-signing on timeout instead of rebroadcasting: two payments for one withdrawal.
- Two workers allocating nonces for one wallet: "nonce too low", then a gap that blocks every later withdrawal.
- One RPC provider's
latestas truth: phantom reorgs and missed deposits. int64or floats for amounts: overflow above ≈ 9.2 tokens at 18 decimals, or rounding breaks.- Blind signing in a web UI: signers approve what the screen shows (Bybit, 2025).
- Personal data on-chain: erasure requests you cannot honour.
Interview angle
- "Blockchain for interbank reconciliation, loyalty points or KYC sharing?" Ask who writes, who operates, who must verify, and what happens when a member leaves. Propose the central alternative (a shared service run by NAPAS or a jointly owned company, with signed audit logs) and say what would flip the answer.
- "Design crypto deposits and withdrawals." It is the Ch 12 · Digital Wallet problem plus an untrusted external ledger: indexer and reorgs, confirmation policy, custody tiers, signing policy, nonces, fee spikes, ledger postings per state, reconciliation, Travel Rule.
- Follow-ups: "A 3-block reorg removes a deposit the customer already traded with." "Fees jump 20×; what happens to the queue?" "Why
3f + 1for BFT but2f + 1for Raft?" - Red flags: "the blockchain makes data true", "smart contracts remove trust", throughput quoted without finality, calling a chain decentralized when one vendor runs every node.
Self-check
1. Why does a hash chain not stop a database administrator from rewriting history, and what does?
The administrator can recompute every hash after the edit, so the chain stays self-consistent. Only independent witnesses holding an earlier head block the rewrite: other validators in a blockchain, or signed head hashes given to auditors, counterparties or a public transparency log.
2. How large is a Merkle proof for one transaction among 1,000,000, and why use different leaf and node prefixes?
About 20 sibling hashes, 640 bytes. Without domain separation an attacker can present an interior node's children as a leaf and forge an inclusion proof.
3. When is a deposit safe to treat as final on Bitcoin, Ethereum and QBFT?
- Bitcoin: never absolutely; six confirmations (≈ 1 hour) is the convention for large amounts.
- Ethereum: once its checkpoint is finalized, ≈ 13 minutes normally; reverting needs a third of stake slashed.
- QBFT: once committed with over two thirds of signatures, seconds; the risk becomes halts, not reorgs.
4. Why do BFT protocols need 3f + 1 nodes when Raft needs 2f + 1?
Raft nodes fail by stopping, so two majorities share at least one honest node. With up to f liars and f honest nodes possibly unheard from, quorums of 2f + 1 out of 3f + 1 overlap in at least f + 1 nodes, so at least one honest node blocks conflicting commits.
5. Five Vietnamese banks want a blockchain to share a mule-account blacklist. Evaluate.
There are several writers, but the banks already accept common operators (NAPAS, a jointly owned company), and the data is personal and must be correctable. A central service with per-bank credentials, signed submissions, an append-only audit log and a dispute workflow fits better. A permissioned ledger makes sense only if every operator is refused, and personal data still stays off-chain.
6. A withdrawal has been pending two hours after a fee spike. Operations wants to "send it again". What do you do?
Never sign a new transaction with a new nonce. Rebroadcast the persisted signed transaction; if underpriced, sign a replacement with the same nonce and fees at least ≈ 10% higher. Track every hash, since any may be mined, and settle once. Above the fee ceiling, pause payouts rather than overpay.
7. How do you reconcile an exchange's on-chain holdings with its ledger?
At one finalized height, compare wallet balances with the ledger's custody accounts and with total customer liabilities. Explain every gap (pending deposits, in-flight withdrawals, fees, spam tokens, reversals, manual moves) through the normal break process with suspense accounts. Assets must be at least liabilities.
Exercise
Build and break a deposit tracker, standard library only.
- Simulate a chain in Go: blocks with height, hash, parent hash and transfers to 10 customer addresses, plus a fault injector that reorgs the last 1–5 blocks, drops transfers, moves others and changes log indices.
- Write an indexer that detects reorgs only by parent-hash mismatch, calls
OnReorgand rescans; use an in-memory ledger that is idempotent on key. - Property-test 10,000 random runs: once reorgs stop and finality depth is reached, each balance equals the customer's canonical transfers, no key repeats, and every reversal follows a credit.
- Write a one-page ADR for confirmation policy per chain and amount band.
Done when: the property holds whenever required exceeds the maximum injected reorg depth, fails explainably when it does not, and the ADR says what you credit on, when funds become withdrawable, and who approves exceptions.
Further reading
- Satoshi Nakamoto, "Bitcoin: A Peer-to-Peer Electronic Cash System" (2008) — SPV and the attacker-probability table.
- Vitalik Buterin, "Ethereum Whitepaper" (2013); Buterin et al., "Combining GHOST and Casper" (2020).
- ethereum.org, "Proof-of-stake (PoS)" and "Optimistic rollups".
- Castro & Liskov, "Practical Byzantine Fault Tolerance" (1999); Yin et al., "HotStuff" (2019).
- Besu, "Proof of authority consensus"; Hyperledger Fabric, "What's new".
- Antonopoulos & Harding, Mastering Bitcoin (3rd ed.); Antonopoulos & Wood, Mastering Ethereum.
- Wüst & Gervais, "Do you need a Blockchain?" (2018) — the decision framework.
- BIS, Project Agorá report (2026); BIS, Project mBridge; ESMA, MiCA.
- FATF, "Updated Guidance for a Risk-Based Approach to Virtual Assets and VASPs" (2021).
- Ledger Insights, on Contour's shutdown — the trade finance track record.
- Baker McKenzie on Resolution 05 (2025); Vietnam Briefing on NDAChain (2025).
Related
- Consensus & Raft — the crash-fault version of the same state machine.
- Double-Entry Ledger Design — the internal system of record.
- Reconciliation & Settlement — breaks between on-chain and internal balances.
- Ch 12 · Digital Wallet — wallet design extended here to external chains.
- Idempotency & Exactly-Once — keys for deposits and withdrawals.
- Compliance: PCI DSS, KYC/AML, Data Protection — AML, maker-checker, Vietnam data rules.
- Security for Architects — key management and HSMs.
- Decentralized Identity: DIDs & Verifiable Credentials — identity on ledgers, including NDA DID.
Do the self-check first. Marking it complete schedules spaced reviews (1, 3, 7, 14, 30… days).