Skip to main content
QUICK REVIEW

[Paper Review] vChain: Enabling Verifiable Boolean Range Queries over Blockchain Databases

Cheng Xu, Ce Zhang|arXiv (Cornell University)|Dec 6, 2018
Blockchain Technology Applications and SecurityComputer Science27 references16 citations
TL;DR

This paper proposes vChain, a verifiable query framework for blockchain databases that enables lightweight users to efficiently and securely execute Boolean range queries with cryptographic proof of result integrity. By introducing accumulator-based authenticated data structures, intra- and inter-block indexes, and an inverted prefix tree for subscriptions, vChain reduces user computational cost by up to 2X and enables sublinear scaling with query window size, ensuring both efficiency and strong security guarantees.

ABSTRACT

Blockchains have recently been under the spotlight due to the boom of cryptocurrencies and decentralized applications. There is an increasing demand for querying the data stored in a blockchain database. To ensure query integrity, the user can maintain the entire blockchain database and query the data locally. However, this approach is not economic, if not infeasible, because of the blockchain's huge data size and considerable maintenance costs. In this paper, we take the first step toward investigating the problem of verifiable query processing over blockchain databases. We propose a novel framework, called vChain, that alleviates the storage and computing costs of the user and employs verifiable queries to guarantee the results' integrity. To support verifiable Boolean range queries, we propose an accumulator-based authenticated data structure that enables dynamic aggregation over arbitrary query attributes. Two new indexes are further developed to aggregate intra-block and inter-block data records for efficient query verification. We also propose an inverted prefix tree structure to accelerate the processing of a large number of subscription queries simultaneously. Security analysis and empirical study validate the robustness and practicality of the proposed techniques.

Motivation & Objective

  • To address the lack of integrity assurance in query results from untrusted full nodes in blockchain databases.
  • To enable lightweight (lightweight) users to verify query results without storing the entire blockchain.
  • To support efficient, dynamic, and verifiable Boolean range queries over arbitrary attributes in blockchain-stored data.
  • To reduce user computational and communication costs through optimized indexing and proof aggregation.
  • To support scalable subscription-based queries with efficient proof management using an inverted prefix tree.

Proposed method

  • Proposes an accumulator-based authenticated data structure (ADS) that maps numerical attributes to set-valued representations for dynamic aggregation over arbitrary query attributes.
  • Introduces a tree-based intra-block index to accelerate local verification within individual blocks.
  • Designs a skip-list-based inter-block index to enable efficient cross-block range query verification and pruning.
  • Develops an inverted prefix tree (IP-Tree) to optimize batch processing of subscription queries by grouping similar queries and reducing redundant proof computation.
  • Employs batch verification techniques using cryptographic accumulators to aggregate mismatch proofs across blocks, reducing proof size and verification time.
  • Integrates real-time and lazy proof generation strategies, with the latter achieving sublinear growth in proof size and user CPU time as subscription periods increase.

Experimental results

Research questions

  • RQ1How can Boolean range queries be efficiently and securely processed over blockchain-stored data without requiring users to store the entire blockchain?
  • RQ2What authenticated data structure enables dynamic aggregation over arbitrary numerical query attributes in a blockchain context?
  • RQ3How can intra-block and inter-block indexes be designed to minimize verification overhead while supporting range queries?
  • RQ4What indexing strategy enables efficient batch processing of subscription queries in a blockchain database?
  • RQ5How does proof aggregation impact performance and scalability in long-running subscription scenarios?

Key findings

  • The use of both intra- and inter-block indexes reduces user CPU time by at least 2X compared to using the accumulator alone.
  • Index-based schemes scale sublinearly with query window size, with the best performance observed in datasets with lower data similarity (e.g., ETH).
  • The lazy proof generation strategy reduces user CPU time by over 50% compared to real-time schemes, especially for long subscription periods.
  • The IP-Tree index reduces the service provider’s CPU overhead by at least 50% in all evaluated datasets, with greater gains in sparser distributions like ETH.
  • The inter-block index outperforms the intra-block index in most cases, particularly when data similarity is low or block sizes are small.
  • The combination of both intra- and inter-block indexes (both) achieves the best overall performance, with the exception of SP CPU time in the 4SQ dataset due to larger multisets in disjointness proofs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.