BOSS: A Blockchain Off-State Sharing System

Shan Wang, Ming Yang, Tingjian Ge, Yan Luo, Xinwen FuarXiv 2021

Introduction

Blockchain technology offers unparalleled trust and auditability but faces significant challenges when handling large-scale data. Traditional ledgers require every node to synchronize the entire state, making the storage of gigabyte-sized files technically infeasible or prohibitively expensive. BOSS (Blockchain Off-State Sharing System) addresses this by introducing an "off-state" storage architecture. This system allows nodes to share massive files while maintaining a verifiable chain of custody on the blockchain without bloating the ledger.

The Challenge of Big Data on Blockchain

Conventional blockchain frameworks like Bitcoin or Ethereum are optimized for small transaction payloads. Storing large biomedical or scientific datasets directly on-chain is often impossible due to block size limits or high "gas" costs. Existing solutions frequently rely on centralized data centers for storage, using the blockchain merely for access tokens. This approach reintroduces single points of failure and obscures the "chain of custody"—the documented history of data access and transfer. BOSS aims to bridge this gap by enabling secure, peer-to-peer big data sharing with the full auditability of a blockchain.

Methods and Architecture

The core innovation of BOSS is the "off-state" storage concept. While the "world state" is synchronized across all network nodes, off-state data resides locally at specific nodes but remains under the management of the blockchain's logic.

The prototypical BOSS architecture illustrating off-state data (F1, F2, F3) managed across multiple nodes.

The system implements a four-phase protocol on Hyperledger Fabric:

  1. File Transfer Request: A user initiates a transaction to request a file. Smart contracts validate this request against an on-chain "File Profile."
  2. Encrypted File Transfer: The sender encrypts the file and transmits it to the receiver via a standard protocol like SFTP. The hash of the encrypted file is recorded on-chain to ensure integrity.
  3. Key Retrieval: The receiver requests the decryption key. BOSS utilizes Fabric’s Private Data Collection (PDC) to ensure the symmetric key is only accessible to authorized parties.
  4. File Decryption: The receiver uses the retrieved key to unlock the data.
The four-phase off-state sharing protocol sequence diagram.

Evaluation and Results

The researchers evaluated BOSS using a variety of scientific data types, ranging from 67MB PDFs to 5.3GB ZIP archives. Key findings include:

  • Scalability: The system successfully handled files up to 5.3GB, bypassing the typical limits of standard blockchain transactions.
  • Stable Latency: Transaction overhead remained constant (approx. 2.5–3.5 seconds) regardless of file size, as the blockchain only handles metadata and keys.
  • Efficiency: Performance is primarily limited by the underlying network's SFTP transfer speed rather than blockchain consensus.

Conclusion and Future Work

BOSS demonstrates that decoupling heavy data storage from the consensus mechanism allows blockchains to manage big data effectively. However, challenges remain, such as Hyperledger Fabric's 30-second smart contract timeout, which can affect extremely large operations. Future work will explore digital watermarking to prevent "out-of-band" leaks once data is decrypted and improvements to timeout management in blockchain frameworks.

Summary updated

BibTeX
@misc{wang2021boss,
  author = {Shan Wang and Ming Yang and Tingjian Ge and Yan Luo and Xinwen Fu},
  title = {{BOSS: A Blockchain Off-State Sharing System}},
  year = {2021},
  eprint = {2109.07626},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.07626},
}
Figure