Compact Blockchain Scripts for Reduced Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain technologies face challenges in reducing bandwidth and storage requirements for transmitting and storing transactions, particularly due to the large size of scripts and blocks, which hinders scalability and efficiency.
Innovation Solution
The implementation of a high-level scripting language that generates and validates blockchain transactions using compact scripts, which are equivalent to expanded scripts written in a low-level scripting language but more compact in size, thereby reducing storage and bandwidth needs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If low-level scripting language is used for blockchain transactions, then validation precision is maintained, but transaction size increases leading to higher bandwidth and storage requirements
Solution Approach 1:
The patent segments the scripting language into two distinct layers: a high-level scripting language for writing compact transaction scripts, and a low-level scripting language for precise validation. This segmentation allows transactions to be written in a compact form while maintaining validation precision through the separate low-level interpretation layer.
Solution Approach 2:
The patent introduces an intermediary high-level scripting language that acts as a mediator between the user and the low-level validation system. This high-level language serves as a translation layer, converting compact high-level scripts into equivalent low-level scripts for validation, thereby reducing transaction size without compromising validation precision.
2Quantity of substance
If compact high-level scripting language is used, then bandwidth and storage requirements are reduced, but validation complexity increases
Solution Approach 1:
The patent applies preliminary action by pre-compiling or pre-interpreting high-level scripts into their low-level equivalents during the transaction creation or validation setup phase. This allows the validation process to work with pre-processed low-level scripts, reducing the complexity of real-time validation while maintaining the benefits of compact high-level script storage and transmission.
3Ease of operation
If high-level scripting language is implemented, then ease of operation is improved through compact scripts, but manufacturing precision of transaction validation may be compromised
Solution Approach 1:
The high-level scripting language serves as an intermediary that simplifies transaction creation for users while maintaining validation precision through its translation to low-level scripts. The high-level language provides ease of operation with compact syntax, while the low-level interpretation layer ensures manufacturing precision in validation by executing equivalent operations with exact semantics.
Data Source
AI summary
A computer-implemented method of generating blockchain transactions, wherein the method is performed by a first party and comprises: generating a first blockchain transaction, wherein the first blockchain transaction comprises a first compact script (CS), wherein the first CS is at least partly written in a high-level (HL) scripting language and comprises one or more HL functions, wherein when executed, each HL function is configured to perform an operation equivalent to a respective operation performed by one or more low-level (LL) functions of a LL scripting language, wherein the first CS is configured to perform an operation equivalent to a first expanded script (ES) written in the LL scripting language and comprising a plurality of LL functions, and wherein the first CS is smaller in storage size than the first ES; and making the first blockchain transaction available to one or more nodes of a blockchain network and/or a second party.


