Constraining injection of unlocking transaction bytecode
Abstract
Techniques presented are related to distributed ledge technologies such as consensus-based blockchains. The methods and systems of the present disclosure are provided for causing receiving, at a node in a blockchain network, a first transaction to validate, the first transaction including a first script that at least: includes a set of field values of the first transaction; and causes, as a result of being executed, the node to obtain the set of field values; obtaining a second transaction, the second transaction having been validated and including a second script that, as a result of being executed, causes the node to at least generate a signature based at least in part on a private cryptographic key and a mask number; and validating the first transaction by executing the first script and the second script.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 79 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, at a node in a blockchain network, a first transaction to validate, the first transaction including a first script that at least: includes a set of field values of the first transaction; and causes, as a result of being executed, causes the node to obtain the set of field values; obtaining a second transaction, the second transaction having been validated and including a second script that, as a result of being executed, causes the node to at least generate a signature based at least in part on a private cryptographic key and a mask number; and validating the first transaction by executing the first script and the second script.
- Claim 2Depends on #1
The method according to claim 1, wherein validating the first transaction is successfully performed without verifying that an entity that created the first transaction has access to secret information.
- Claim 3Depends on #1
The method according to claim 1, wherein: the private cryptographic key is of an asymmetric key pair; and validating the first transaction further includes validating that the signature is associated with a public cryptographic key of the asymmetric key pair.
- Claim 4Depends on #1
The method according to claim 1, wherein: the first script further specifies a signature hash type; and the set of field values is based at least in part on the signature hash type.
- Claim 5Depends on #4
The method according to claim 4, wherein the signature hash type is a value that indicates which field values of the set of field values of the first transaction are to be included in the signature.
- Claim 6Depends on #1
The method according to claim 1, wherein: the second script is a locking script that imposes a set of conditions for validating the first transaction; and execution of the locking script causes the node to validate the first transaction by determining whether the set of conditions have been fulfilled.
- Claim 7Depends on #1
The method according to claim 1, wherein the first script is an unlocking script for satisfying the set of conditions of the second script.
- Claim 8Depends on #1
The method according to claim 1, wherein validating the first transaction causes the transfer of an unspent transaction output of the second transaction.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 18/064,814, filed Dec. 12, 2022, entitled “ CONSTRAINING INJECTION OF UNLOCKING TRANSACTION BYTECODE, ” which is a continuation of U.S. patent application Ser. No. 16/615,802, filed Nov. 21, 2019, entitled “ CONSTRAINING INJECTION OF UNLOCKING TRANSACTION BYTECODE, ” which is a 371 National Stage of International Patent Application No. PCT/IB2018/053335, filed May 14, 2018, which claims priority to United Kingdom Patent Application No. 1708185.2, filed May 22, 2017, United Kingdom Patent Application No. 1708190.2, filed May 22, 2017, United Kingdom Patent Application No. 1708192.8, filed May 22, 2017, United Kingdom Patent Application No. 1708196.9, filed May 22, 2017, United Kingdom Patent Application No. 1708198.5, filed May 22, 2017, and United Kingdom Patent Application No. 1708200.9, filed May 22, 2017, the disclosures of which are incorporated herein by reference in their entirety. TECHNICAL FIELD This invention relates generally to distributed ledger technologies, including blockchain transactions, and more particularly to causing the injection of fields from blockchain transactions into the unlocking transaction scripts. The invention utilises cryptographic and mathematical techniques to enforce security in relation to electronic transfers conducted over a blockchain network. The invention is particularly suited for, but not limited to, use in smart contracts and state machines. BACKGROUND In this document we use the term “ blockchain ” to include all forms of electronic, computer-based, distributed ledgers. These include consensus-based blockchain and transaction-chain technologies, permissioned and un-permissioned ledgers, shared ledgers and variations thereof. The most widely known application of blockchain technology is the Bitcoin ledger, although other blockchain implementations have been proposed and developed. While “ Bitcoin ” may be referr
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (79)
Non-Patent Literature (10)
- Fuchita, Yasuyuki,
- “
- Special Feature: Innovation and Finance
- —
- Blockchain and Financial Transaction Innovation
- ”
- , Nomura capital markets quarterly, Japan, Nomura Institute of Capital Markets Research, Nov. 1, 2015, vol. 19, No. 2 (consecutive number of issue 74), (with English Translation), 59 pages.
- Saito Kenji,
- “
- Currency that Changes the Future