Hash Tree Proofs for Private Databases on Public Blockchains

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for securing private structured databases on public blockchains face challenges in ensuring data privacy and integrity while maintaining a decentralized and trustless consensus.

Innovation Solution

A method involving hash trees and blockchain objects is employed to secure private structured databases by generating hash trees representing data states, submitting transactions to create blockchain objects with root hashes, and using non-interactive proofs of inclusion to manage data updates and transactions, ensuring data privacy and integrity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If private structured databases are stored on public blockchains, then data privacy is improved, but data integrity and public inspection capability deteriorate

Engineering Contradiction:
Improvedata privacyVSAvoiddata integrity verification
Core Design Contradiction:
Loss of informationVSReliability

Solution Approach 1:

The database is segmented into individual data units that are independently hashed and stored on the blockchain. Each data unit can be individually verified through its hash without exposing the actual data content, resolving the contradiction between privacy protection and integrity verification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Cryptographic hash functions serve as intermediaries between the private data and the public blockchain. The hash values are stored on-chain while the actual data remains private, allowing public verification of data integrity without compromising data privacy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If hash trees are generated for each data state to ensure integrity, then data verification reliability is improved, but computational complexity and processing time worsen

Engineering Contradiction:
Improvedata verification reliabilityVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The hash tree structure segments the computational work into manageable parts, where only the root hash needs to be stored on-chain while intermediate hashes are computed locally. This reduces on-chain data storage requirements and simplifies verification processes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Hash trees are generated in advance for each data state before submission to the blockchain. This preliminary computation allows for efficient verification later, as the structural integrity checks are already performed and the root hash is ready for immediate comparison.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If non-interactive proofs of inclusion are used to manage data updates, then transaction processing efficiency is improved, but proof verification complexity worsens

Engineering Contradiction:
Improvetransaction processing efficiencyVSAvoidproof verification complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Non-interactive proofs of inclusion act as intermediaries that enable efficient verification of data unit membership in the database without requiring interactive communication between nodes. The proofs are generated once and can be verified independently, improving transaction processing efficiency while maintaining verifiable security.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Quantity of substance

If root hashes are stored in blockchain objects to represent data states, then data storage efficiency is improved, but data retrieval capability deteriorates

Engineering Contradiction:
Improvedata storage efficiencyVSAvoiddata retrieval capability
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

Only the essential root hash is extracted and stored on the blockchain, while the complete data can be retrieved locally or from off-chain storage. This extraction approach maintains storage efficiency on-chain while preserving full data retrieval capability through local copies and verifiable proofs.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12519650B2Method for securing private structured databases within a public blockchain
Publication Date: 2026.01.06 CHIA NETWORK INC
  • US12519650B2 patent drawing
  • US12519650B2 patent drawing
  • US12519650B2 patent drawing

AI summary

A method includes: generating a hash tree representing a structured data object including a data unit, the hash tree including a root hash and a data unit hash representing the data unit; submitting a first transaction to a distributed network, the first transaction configured to generate a blockchain object including the root hash, the blockchain object configured to generate an announcement representing membership of the data unit hash in the hash tree; and submitting a second transaction to the distributed network, the second transaction configured to trigger the blockchain object to generate the announcement based on a proof of inclusion of the data unit hash within the hash tree.