Light Node Data Verification via Pre-calculated Transaction Proofs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In blockchain networks, light nodes lack the ability to verify the accuracy of data obtained from full nodes, leading to uncertainties in data validity, particularly in scenarios where malicious behavior could occur.
Innovation Solution
A data synchronization method where light nodes request and verify synchronization transaction data by obtaining verification data and target data sets from full nodes, allowing them to validate the integrity of the data through a blockchain-based verification process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If light nodes obtain data from full nodes through P2P network, then data synchronization is achieved, but data validity cannot be verified
Solution Approach 1:
The full node performs preliminary actions by pre-calculating and storing verification data (including read data, result data, and their corresponding verification information) before the light node requests it. This allows the light node to later verify data validity without performing complex calculations itself, resolving the contradiction by shifting the verification burden to the full node in advance.
Solution Approach 2:
The patent introduces verification data as an intermediary element that mediates between the full node's data and the light node's verification needs. The verification data includes read data, result data, and verification information that enables the light node to verify validity without directly accessing or trusting the full node, thus resolving the trust issue while maintaining simplicity for light nodes.
2Measurement precision
If light nodes perform self-verification, then data accuracy can be confirmed, but computational resources are consumed
Solution Approach 1:
Instead of requiring light nodes to perform complete verification of all transaction data, the patent implements partial verification using verification data provided by full nodes. The light node only needs to verify the provided verification information against the obtained data, which is a partial action that consumes significantly less computational energy while still ensuring data accuracy.
Solution Approach 2:
The full node creates copies of verification-relevant data (read data, result data, and verification information) and provides these copies to light nodes. This allows light nodes to perform verification without accessing the full node's complete data set or performing intensive computations, reducing energy consumption while maintaining verification capability.
3Reliability
If verification data is transmitted to light nodes, then data integrity is ensured, but network bandwidth is consumed
Solution Approach 1:
The patent extracts only the essential verification data (read data, result data, and verification information) from the complete blockchain data set and transmits only these extracted elements to light nodes. This selective extraction ensures data integrity verification capability while minimizing the amount of data transmitted over the network, thus reducing bandwidth consumption.
Solution Approach 2:
Instead of transmitting complete transaction data for verification, the patent transmits only the partial verification data necessary for integrity checking. This partial transmission approach maintains data integrity assurance while significantly reducing network bandwidth usage compared to complete data synchronization.
Data Source
AI summary
A data synchronization method includes: receiving a data synchronization request from a light node; the request including a block identifier; obtaining synchronization transaction data in the synchronization block according to the block identifier; the synchronization transaction data including transaction detail data and contract information; obtaining, from a database, a target data set corresponding to the synchronization transaction data; the target data set including read data or result data. The result data is obtained by processing the transaction detail data based on the contract information; and obtaining verification data corresponding to the synchronization transaction data, and transmitting the synchronization transaction data, the verification data, and the target data set to the light node; verifying by the light node, a validity of the synchronization transaction data and to-be-verified result data corresponding to the transaction detail data, based on the verification data and the target data set.


