Computer-implemented systems and methods to enable complex functionality on a blockchain while preserving security-based restrictions on script size and opcode limits

A technology of blockchain and computer, applied in the field of blockchain to achieve the effect of enhancing the security mechanism

Active Publication Date: 2019-07-26
NCHAIN HLDG LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the advent of more complex program elements (e.g., primitives), this limit limits the development of more complex technical solutions for applications such as smart contract execution

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Computer-implemented systems and methods to enable complex functionality on a blockchain while preserving security-based restrictions on script size and opcode limits
  • Computer-implemented systems and methods to enable complex functionality on a blockchain while preserving security-based restrictions on script size and opcode limits
  • Computer-implemented systems and methods to enable complex functionality on a blockchain while preserving security-based restrictions on script size and opcode limits

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0135] Example 1: Splitting the script into multiple inputs and outputs

[0136] Figures 1, 9a and 9b illustrate the transaction chain and sequential steps involved in the multiple input / output method of embodiment 1. Tx1 contains a set of unspent transaction outputs (UTXOs) that will be consumed by Tx2. The construction of Tx2 proceeds incrementally. At each stage, the (automated software) agent presents the unlocking script to a UTXO of Tx1. The agent verifies Tx2, reads the value at the top of the stack, and prepares a new unlocking script. Automated generation of blockchain transactions and scripts is known in the related art and therefore will not be explained herein.

[0137] The proxy can use information obtained from the stack in previous steps (or from earlier steps) and present this new unlocking script to another UTXO contained within Tx1. Tx2 is broadcast when all necessary steps of the current task have been completed.

[0138] Advantageously, this ...

Embodiment 2

[0146] Example 2: Split the script into multiple transactions

[0147] A second embodiment uses blockchain transactions to write functions (see Figure 4). This method is in principle similar to the previous embodiment. However, during the validation phase, the proxy reads the value at the top of the stack and adds it / them after OP_RETURN as described above.

[0148] Figures 5 to 8 show transactions 1, 2, 3 and 4 according to illustrative versions of embodiment 2.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to blockchain technologies such as the Bitcoin blockchain. The invention uses a novel technique to decompose the functionality of a blockchain transaction script into several chunks or functional parts, and to use the output of a chunk as the input of the next chunk. Advantageously, this allows the blockchain to be used for ever complex tasks and computations while minimisingscript size, and also provides a novel architecture for the distributed execution of computational processes. The invention comprises a method of using a plurality of blockchain transactions to execute a computer-implemented task, the method comprising the steps: using an unlocking script (ULS1) in a blockchain transaction (Tx2) to present at least one data item to a locking script (LS1) of another transaction (Tx1) so as to provide a result on a stack; generating a further unlocking script (ULS2) which comprises the result provided on the stack; presenting the further unlocking script (ULS2)to a further locking script (LS2) such that the result from the stack is provided as input to the further locking script.

Description

technical field [0001] The present invention relates generally to blockchain technology, and more particularly to enabling complex functionality through blockchain. Advantageously, the present invention allows the results of computing or executing code to be communicated to each other, providing a mechanism for initiating, influencing and directing the activity of computer-implemented processes using blockchain transactions as a control mechanism. The invention is particularly applicable to, but not limited to, the realization and control of automated processes. Background technique [0002] In this document, we use the term "blockchain" to include all forms of electronic, computer-based distributed ledgers, including but not limited to blockchain and transaction chaining technologies, permissioned and permissionless ledgers Ledgers, shared ledgers, and variants thereof. Although other blockchain implementations have been proposed and developed, the most widely known appli...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/32
CPCH04L9/3239H04L2209/56H04L9/50G06Q20/401G06F9/466G06Q20/065H04L9/0643H04L9/3247H04L9/06G06Q20/389G06F9/4484
Inventor 史蒂芬·文森特
Owner NCHAIN HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products