TICK: Tiny Client for Blockchains

Wei Zhang, Jiangshan Yu, Qingqiang He, Nan Zhang, Nan Guan

TL;DR

TICK introduces a "tiny client" architecture for blockchains that allows mobile devices and new miners to verify transactions without downloading hundreds of gigabytes of history. By using a self-balancing AVL hash tree to store unspent transaction outputs (UTXOs), TICK enables fast, cryptographic proofs of a transaction's validity with minimal storage and computational overhead.

What Problem Does This Paper Address?

In Bitcoin-like systems, verifying a transaction requires checking that the "money" (the output) hasn't been spent before. Full nodes do this by maintaining the entire transaction history—currently over 230 GB for Bitcoin and 3 TB for Ethereum. This is impossible for storage-limited devices like smartphones.

Existing "light clients" (using Simplified Payment Verification or SPV) only download block headers. While they can prove a transaction exists in a block, they cannot easily prove that an output hasn't been spent elsewhere without querying a full node and blindly trusting its response. This makes "zero-confirmation" transactions (fast payments) risky. Furthermore, new miners face a massive "barrier to entry" because they must download and audit the entire history before they can start mining.

Methods

The authors propose TICK, which utilizes an AVL hash tree to organize the UTXO set.

  • The AVL Hash Tree: Unlike standard Merkle trees, an AVL hash tree is self-balancing and ordered. This allows for two types of cryptographic proofs: Proof of Presence (PoP) to show an output is unspent, and Proof of Absence (PoA) to prove an output has already been consumed.
  • Efficiency: Previous proposals used ordered Merkle trees, but these were slow to update ($O(N_U)$ complexity). TICK’s AVL structure allows updates in $O(M \log N_U)$ time, where $M$ is the number of changes in a block. This is fast enough to happen during the mining process without causing delays.
  • No Hard Fork Required: TICK stores the root hash of the AVL tree in the "coinbase" field of the first transaction in a block. Since Bitcoin allows up to 100 bytes of arbitrary data here, TICK can be implemented without changing the core consensus rules of the blockchain.

Datasets

The researchers evaluated TICK using actual Bitcoin blockchain data, spanning from the genesis block to block 611,707 (generated in January 2020). At this point, the dataset included approximately 99.4 million UTXOs.

Key Insights and Ideas

  • Self-Balancing is the "Secret Sauce": The core breakthrough is moving from a static Merkle tree to a self-balancing AVL tree. This solves the "update bottleneck" that made previous UTXO-summarization proposals impractical for real-time mining.
  • Constant-Size Light Clients: In traditional SPV, the light client's data grows linearly with the blockchain's height. In TICK, a light client only needs the latest block header (80 bytes) and the UTXO tree root to verify a transaction, making the storage requirement effectively constant.
  • Lowering the Barrier for Miners: By downloading just the finalized UTXO tree (~6 GB) instead of the full history (~230 GB), a new miner can start participating in the network in a fraction of the time.

Key Results

  • Update Speed: On standard hardware, updating the AVL hash tree takes only 0.3 seconds, compared to 80 seconds for an ordered Merkle tree. Given Bitcoin's 10-minute block time, 0.3s is negligible.
  • Proof Size: Proofs are small enough for mobile networks. A Proof of Presence (PoP) is typically less than 2 KB, and a Proof of Absence (PoA) is less than 4 KB.
  • Verification Latency: Generating a proof takes less than 1 millisecond, and verifying it is even faster.
  • Storage Savings: New miners using TICK only need to download about 5.9 GB of data to reach a "ready" state, representing a massive reduction from the 230+ GB required by conventional nodes.

Limitations and Future Work

  • Privacy Concerns: To verify a transaction, a light client must ask a full node for a specific proof. This could leak information about which transactions the user is interested in. The authors suggest using Trusted Execution Environments (like Intel SGX) as a potential future mitigation.
  • Node Incentives: The paper assumes full nodes will be willing to generate and serve these proofs to light clients. However, it does not discuss the economic incentives or potential "denial of service" (DoS) attacks where a node is flooded with proof requests.
  • Network Latency: While storage and computation are optimized, the system still relies on network round-trips to fetch proofs, which may be a bottleneck in high-frequency payment scenarios.

Summary updated

BibTeX
@article{zhang2022tick,
  author = {Wei Zhang and Jiangshan Yu and Qingqiang He and Nan Zhang and Nan Guan},
  title = {{TICK: Tiny Client for Blockchains}},
  journal = {IEEE Internet of Things Journal},
  year = {2022},
  doi = {10.1109/jiot.2020.3015476},
}
Figure