Blockchain Locking Script for Conditional Transaction Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing blockchain transaction systems lack efficient mechanisms to enforce complex conditions on subsequent transactions, particularly in ensuring that the unlocking script of a second transaction meets the locking script of a first transaction, which is crucial for maintaining transaction integrity and security.

Innovation Solution

A method is introduced where a first blockchain transaction includes a locking script that generates and verifies a signature based on fields of the second transaction, ensuring that the second transaction is only validated if it matches a representation of the first transaction, thereby enforcing conditions through a simplified signature generation process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional locking scripts are used to enforce conditions on blockchain transactions, then transaction security is maintained, but computational complexity and storage requirements increase

Engineering Contradiction:
Improvetransaction securityVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a simplified copy of the transaction data structure called a 'representation' that contains only the essential fields needed for verification. Instead of storing and processing the full complex transaction data, nodes work with this streamlined copy that preserves the critical verification information while reducing computational overhead and storage requirements.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts only the necessary fields from the complete transaction data to create the representation structure. By taking out only the essential elements (input references, output references, and relevant data) and leaving out redundant information, the system maintains security verification capabilities while significantly reducing computational complexity and storage demands.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If comprehensive transaction validation is performed to ensure integrity, then transaction integrity is maintained, but processing time increases

Engineering Contradiction:
Improvetransaction integrityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by creating the representation of the transaction data structure before the actual validation process. This pre-processing step organizes the essential verification information in advance, so that during validation, nodes only need to check the pre-organized representation rather than parsing and validating the entire complex transaction structure, thereby reducing processing time while maintaining integrity.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If detailed transaction data is stored for verification purposes, then verification accuracy is improved, but storage requirements increase

Engineering Contradiction:
Improveverification accuracyVSAvoidstorage requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent creates a simplified copy of the transaction data structure called a 'representation' that contains only the essential fields needed for verification. Instead of storing and processing the full complex transaction data, nodes work with this streamlined copy that preserves the critical verification information while reducing computational overhead and storage requirements.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts only the necessary fields from the complete transaction data to create the representation structure. By taking out only the essential elements (input references, output references, and relevant data) and leaving out redundant information, the system maintains security verification capabilities while significantly reducing computational complexity and storage demands.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentEP4374536B1Enforcing conditions on blockchain transactions
Publication Date: 2026.04.22 NCHAIN LICENSING AG
  • EP4374536B1 patent drawingFigure 1
  • EP4374536B1 patent drawingFigure 2
  • EP4374536B1 patent drawingFigure 3A~3B

AI summary

A computer-implemented method of enforcing conditions on a second blockchain transaction using a first blockchain transaction, wherein a first one of the conditions is that, when a first unlocking script of the second transaction is executed alongside a first locking script of the first transaction, a representation of the second transaction is output to memory, wherein the representation is based on a plurality of fields of the second transaction and a first output of the first transaction, and wherein the method comprises: generating the first transaction, wherein the first transaction comprises a first output, wherein the first output comprises the first locking script, and wherein the first locking script comprises: a message sub-script; a signature sub-script; a public key corresponding to a private key; and a verification sub-script.