首页>
外国专利>
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
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 minimising script 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, comprising the steps: using an unlocking script (ULS1) associated with a first input (In1) in a blockchain transaction (Tx2) to present at least one data item to a first locking script (LS1) of another transaction (Tx1) so as to provide a result on a stack; generating a further unlocking script (ULS2) associated with a second input (In2) and comprising the result from the stack; wherein the second input (In2) is provided in a further blockchain transaction (Tx3); and 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. Preferably, the locking script (LS1) and further locking script (LS2) are associated with outputs in different blockchain transactions.
展开▼