Blockchain Data Storage With TEE Error-Correction Sharing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Distributed ledger systems (DLSs) face challenges in efficiently storing blockchain data, leading to high consumption of technical resources and data inequality among nodes, as each node stores an entire copy of the blockchain, which results in storage inefficiencies and security risks due to uneven data distribution.
Innovation Solution
Implementing error correction coding (ECC) in trusted execution environments (TEEs) to encode blockchain data, allowing nodes to store a subset of encoded blocks and share the remainder, using hash values for authentication and data recovery, thereby reducing storage burden and maintaining data equality.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If every node stores an entire copy of the blockchain, then data completeness is improved, but storage space consumption increases significantly
Solution Approach 1:
The blockchain data is divided into multiple segments or shards that can be distributed across different nodes. Each node stores only a portion of the total data rather than complete copies, reducing individual storage requirements while maintaining collective data completeness through the network.
Solution Approach 2:
Instead of storing complete blockchain copies, nodes store cryptographic hashes and verification data that enable them to verify the integrity of data stored elsewhere in the network, reducing storage requirements while maintaining verification capability.
2Quantity of substance
If a few shared nodes store the entire copy of the blockchain, then storage efficiency is improved, but data security risk increases due to data inequality
Solution Approach 1:
By segmenting blockchain data and distributing it across multiple nodes rather than concentrating it on a few shared nodes, the system achieves both storage efficiency and enhanced security through decentralization, eliminating the single point of failure risk.
Solution Approach 2:
Different nodes are assigned different data segments based on their capabilities and roles in the network, creating a heterogeneous distribution pattern that optimizes both storage efficiency and security by matching data placement with node characteristics.
3Reliability
If error correction coding is performed on each node, then data recovery capability is improved, but computational overhead increases
Solution Approach 1:
Error correction coding operations are consolidated and performed centrally or cooperatively by selected nodes rather than independently by each node. This merging of computational efforts maintains data recovery capability across the network while significantly reducing the total computational overhead by eliminating redundant processing.
Data Source
AI summary
Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for storing blockchain data. One method includes receiving a request from an application component of a blockchain node to execute one or more software instructions in a trusted execution environment (TEE); determining one or more blockchain node blocks for executing the one or more software instructions; performing error correction coding of the one or more blocks in the TEE to generate one or more encoded blocks; dividing each of the one or more encoded blocks into a plurality of datasets; selecting one or more datasets from each of the one or more encoded blocks; and hashing the one or more datasets to generate one or more hash values corresponding to the one or more datasets for use in replacing the one or more datasets to save storage space of the blockchain node.


