# US 2025/0156865 A1 · Concurrent state machine processing using a blockchain

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0156865 A1
- Document ID: US20250156865A1
- Status: Published application
- Kind: A1
- Application number: 18/975,506
- Filed: 2024-12-10
- Published: 2025-05-15
- Earliest claimed: 2017-08-29
- Assignees: nChain Licensing AG
- Applicants: nChain Licensing AG
- Inventors: DEAN KRAMER
- Web page: https://patentgrep.com/patent/US20250156865A1

## CPC

- G06Q 20/401: {Transaction verification}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06Q 10/10: Office automation; Time management
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q 20/065: {using e-cash}
- G06Q 20/36: using electronic wallets or electronic money safes
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- G06Q 2220/00: Business processing using cryptography
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Trustless deterministic state machines can be implemented using a blockchain infrastructure and state machines can run concurrently over more than one blockchain transaction. The transactions can be done in a Bitcoin blockchain ledger. An unlocking transaction constraint that constrains an unlocking transaction to include a transaction input that references a previous transaction output is determined. A redeemable transaction is created to include a transaction output that includes an amount and a transaction locking script that includes the unlocking transaction constraint, with unlocking the amount being contingent upon execution of at least one unlocking script of the unlocking transaction satisfying the unlocking transaction constraint. The redeemable transaction is caused to be validated at a node of a blockchain network.

## Claims

### Claim 1

(canceled)

### Claim 2

A computer-implemented method comprising:
creating an unlocking transaction that includes:
a transaction input comprising a hash that is a transaction ID (TxID) of a previous transaction (Tx Z) and an output (n) of the previous transaction;
an unlocking script, the unlocking script comprising:
a serialized version of the previous transaction (TxZ);
a serialized version of a further previous transaction (TxZ′) with an output that was transferred by the previous transaction (TxZ);
a set of serialized unlocking transaction fields of the unlocking transaction; and
a byte that indicates which unlocking transaction fields of the unlocking transaction have been included in the unlocking script; and
an output comprising a locking script of the unlocking transaction.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein a locking script of the previous transaction constrains the unlocking script of the unlocking transaction to have included the set of serialized unlocking transaction fields of the unlocking transaction.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the locking script of the previous transaction constrains the unlocking script to have included the serialized version of the previous transaction (Tx Z).

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein the transaction ID of the previous transaction is extracted from fields of the unlocking transaction.

### Claim 6 (depends on 2)

The computer-implemented method of claim 2, wherein the unlocking script further comprises one or more serialised versions of previous transactions.

### Claim 7 (depends on 2)

The computer-implemented method of claim 2, wherein different outputs of the previous transaction apply different sets of constraints on different inputs and outputs of different unlocking blockchain transactions.

### Claim 8 (depends on 2)

The computer-implemented method of claim 2, wherein a locking script of an output of the previous transaction is used to implement a state machine such that the unlocking transaction represents a state transition of the state machine, with the locking script constraining the contents of the unlocking transaction.

### Claim 9 (depends on 2)

The computer-implemented method of claim 2, further comprising:
verifying that the unlocking script comprises the serialized set of unlocking transaction fields, the serialized version of the previous transaction, and a reference to the previous transaction.

### Claim 10 (depends on 9)

The computer implemented method of claim 9, further comprising:
extracting a locking script of the unlocking transaction, and
determining, based on the locking script of the previous transaction's output, what the constraints are to be on the locking script of the unlocking transaction.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, further comprising verifying the constraints.

### Claim 12 (depends on 2)

The computer-implemented method of claim 2, wherein the method is performed by a validation node in the blockchain network.

### Claim 13 (depends on 2)

A non-transitory computer-readable storage medium having stored thereon executable instructions that, as a result of being executed by a processor of a computer system, cause the computer system to at least perform the computer-implemented method according to claim 2.

### Claim 14

A system, comprising:
a processor; and
memory including executable instructions that, as a result of execution by the processor, causes the system to perform the computer-implemented method comprising:
creating an unlocking transaction that includes:
a transaction input comprising a hash that is a transaction ID (TxID) of a previous transaction (Tx Z) and an output (n) of the previous transaction;
an unlocking script, the unlocking script comprising:
a serialized version of the previous transaction (TxZ);
a serialized version of a further previous transaction (TxZ′) with an output that was transferred by the previous transaction (TxZ);
a set of serialized unlocking transaction fields of the unlocking transaction; and
a byte that indicates which unlocking transaction fields of the unlocking transaction have been included in the unlocking script; and
an output comprising a locking script of the unlocking transaction.

### Claim 15 (depends on 14)

The system of claim 14, wherein a locking script of the previous transaction constrains the unlocking script of the unlocking transaction to have included the set of serialized unlocking transaction fields of the unlocking transaction.

### Claim 16 (depends on 15)

The system of claim 15, wherein the locking script of the previous transaction constrains the unlocking script to have included the serialized version of the previous transaction (Tx Z).

### Claim 17 (depends on 14)

The system of claim 14, wherein the transaction ID of the previous transaction is extracted from fields of the unlocking transaction.

### Claim 18 (depends on 14)

The system of claim 14, wherein the unlocking script further comprises one or more serialised versions of previous transactions.

### Claim 19 (depends on 14)

The system of claim 14, wherein different outputs of the previous transaction apply different sets of constraints on different inputs and outputs of different unlocking blockchain transactions.

### Claim 20 (depends on 14)

The system of claim 14, wherein a locking script of an output of the previous transaction is used to implement a state machine such that the unlocking transaction represents a state transition of the state machine, with the locking script constraining the contents of the unlocking transaction.

### Claim 21 (depends on 14)

The system of claim 14, wherein the system comprises a validation node in a blockchain network.
