BBA: A Maintenance-Efficient Authenticated Data Structure for Sliding-Window Range Queries in Blockchain Systems

Blockchain, a fundamental technology that enables decentralization and trustlessness, has been widely adopted across various applications. To meet the urgent need for data retrieval from blockchain databases, it is crucial to optimize the traditional authenticated data structure (ADS)–initially designed to ensure data integrity–so that it also supports efficient search. In this paper, we focus on solving the sliding-window range-and-selective (SWR) query problem, a useful tool for analyzing historical data in blockchains. The primary challenge is minimizing ADS maintenance costs, as data insertion and deletion complicate the well-known tree-based index and require expensive hash updates due to node operations such as construction, merging, and rotation. We propose a novel ADS, named BBA, that constructs a small, fixed-topology tree via bucketing and leverages bitmaps to support efficient search and hash updates. BBA is a two-layer index: the filtering layer consists of a bucket tree with bitmaps, while the strengthening layer utilizes a limited number of bitmaps for fine-grained bucketing. We introduce a recursive bucketing mechanism to develop this lightweight strengthening layer that enhances data filtering. Our evaluation shows a reduction in maintenance costs by one to two orders of magnitude for dataset sizes ranging from 10 2 to 10 4 compared to the state-of-the-art methods.

Authors

Institutions

Publication Details

Journal
ACM Transactions on the Web
Published
2026-11-06
DOI
https://doi.org/10.1145/3859367
Primary Topic
Blockchain Technology Applications and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

BBA: A Maintenance-Efficient Authenticated Data Structure for Sliding-Window Range Queries in Blockchain Systems

Bo Yin, Yihu Liu
3 links
ACM Transactions on the Web
Blockchain Technology Applications and Security
article

BBA: A Maintenance-Efficient Authenticated Data Structure for Sliding-Window Range Queries in Blockchain Systems

Bo Yin, Yihu Liu
article en

Abstract

Blockchain, a fundamental technology that enables decentralization and trustlessness, has been widely adopted across various applications. To meet the urgent need for data retrieval from blockchain databases, it is crucial to optimize the traditional authenticated data structure (ADS)–initially designed to ensure data integrity–so that it also supports efficient search. In this paper, we focus on solving the sliding-window range-and-selective (SWR) query problem, a useful tool for analyzing historical data in blockchains. The primary challenge is minimizing ADS maintenance costs, as data insertion and deletion complicate the well-known tree-based index and require expensive hash updates due to node operations such as construction, merging, and rotation. We propose a novel ADS, named BBA, that constructs a small, fixed-topology tree via bucketing and leverages bitmaps to support efficient search and hash updates. BBA is a two-layer index: the filtering layer consists of a bucket tree with bitmaps, while the strengthening layer utilizes a limited number of bitmaps for fine-grained bucketing. We introduce a recursive bucketing mechanism to develop this lightweight strengthening layer that enhances data filtering. Our evaluation shows a reduction in maintenance costs by one to two orders of magnitude for dataset sizes ranging from 10 2 to 10 4 compared to the state-of-the-art methods.

ACM Transactions on the Web
Changsha University of Science and Technology (CN)
Openalex Percentile: Top 10%
Blockchain Technology Applications and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon