Rewarded puzzle solution
Abstract
The invention relates to distributed ledge technologies such as consensus-based blockchains. Computer-implemented methods for a secure random number generation within blockchain scripts are described. The invention is implemented using a blockchain network, which may be, for example, a Bitcoin blockchain. A first transaction that includes a puzzle is validated at a node in a blockchain network, with the first transaction being associated with a digital asset, and with a solution to the puzzle being indeterminable at a time of validation of the first transaction. A pseudorandom number, based at least in part on a solution to the puzzle that is included in a second transaction, is generated at least in part by validating the second transaction, the second transaction created to transfer control of the digital asset associated with the first transaction. Control of the digital asset is transferred based at least in part on the pseudorandom number.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (13 — 3 Independent, 10 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: validating, at a node in a blockchain network, a first transaction that includes a puzzle, wherein validation of the first transaction is processed by hardware of the node, wherein the puzzle is a set of operation codes comprising a proof of work function in a locking script of the first transaction, wherein the first transaction is associated with a digital asset, and wherein a solution to the puzzle is indeterminable at a time of the validation of the first transaction; generating, at least in part by validating a second transaction created to transfer control of the digital asset associated with the first transaction, a pseudo random number that is based at least in part on the solution included in the second transaction, wherein the solution: is derived at least in part from a header of a future block on or after a specified time in the blockchain network, wherein the header was indeterminable at the time that the first transaction was successfully validated; solves the puzzle of the first transaction; and is used at least in part to derive a seed to a pseudorandom number generation algorithm in the locking script of the first transaction; after the validation of the first transaction, receiving, as input to the locking script of the first transaction, the solution to the puzzle generated at least in part as a result of validating the second transaction; and as a result of execution of the set of operation codes in the locking script with the solution as input, transferring control of the digital asset based at least in part on the pseudorandom number.
- Claim 2Depends on #1
The computer-implemented method according to claim 1, wherein the puzzle is a cryptographic hash puzzle.
- Claim 3Depends on #1
The computer-implemented method according to claim 1, wherein solving the puzzle is more computationally difficult than verifying the solution.
- Claim 4Depends on #1
The computer-implemented method according to claim 1, wherein transferring control of the digital asset includes: on a condition that the pseudorandom number is a first value, validation of the second transaction is successful; and on a condition that the pseudorandom number is a second value, different from the first value, validation of the second transaction is unsuccessful.
- Claim 5Depends on #1
The computer-implemented method according to claim 1, wherein the locking script constrains the validation of the second transaction to a particular time frame.
- Claim 6Depends on #5
The computer-implemented method according to claim 5, wherein expiration of the particular time frame enables a specified party to receive the control of the digital asset.
- Claim 7Depends on #6
The computer-implemented method according to claim 6, wherein the specified party is a party that created the first transaction.
- Claim 8Depends on #1
The computer-implemented method according to claim 1, wherein a distribution for solving the puzzle is larger than the digital asset.
- Claim 9Independent Claim
A system, comprising: a processor; and memory including executable instructions that, as a result of execution by the processor, causes the system to: validate a first transaction that includes a puzzle, wherein the puzzle is a set of operation codes comprising a proof of work function in a locking script of the first transaction, wherein the first transaction is associated with a digital asset, and wherein a solution to the puzzle is indeterminable at a time of the validation of the first transaction; generate, at least in part by validating a second transaction created to transfer control of the digital asset associated with the first transaction, a pseudo random number that is based at least in part on the solution included in the second transaction, wherein the solution: is derived at least in part from a header of a future block on or after a specified time in the blockchain network, wherein the header was indeterminable at the time that the first transaction was successfully validated; solves the puzzle of the first transaction; and is used at least in part to derive a seed to a pseudorandom number generation algorithm in the locking script of the first transaction; after the validation of the first transaction, receive, as input to the locking script of the first transaction, the solution to the puzzle generated at least in part as a result of validating the second transaction; and as a result of execution of the set of operation codes in the locking script with the solution as input, transfer control of the digital asset based at least in part on the pseudorandom number.
- Claim 10Depends on #9
The system of claim 9, wherein the puzzle is a cryptographic hash puzzle.
- Claim 11Depends on #9
The system of claim 9, wherein solving the puzzle is more computationally difficult than verifying the solution.
- Claim 12Depends on #9
The system of claim 9, wherein transferring control of the digital asset includes: on a condition that the pseudorandom number is a first value, validation of the second transaction is successful; and on a condition that the pseudorandom number is a second value, different from the first value, validation of the second transaction is unsuccessful.
- Claim 13Independent Claim
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: Validate a first transaction that includes a puzzle, wherein the puzzle is a set of operation codes comprising a proof of work function in a locking script of the first transaction, wherein the first transaction is associated with a digital asset, and wherein a solution to the puzzle is indeterminable at a time of the validation of the first transaction; generate, at least in part by validating a second transaction created to transfer control of the digital asset associated with the first transaction, a pseudo random number that is based at least in part on the solution included in the second transaction, wherein the solution: is derived at least in part from a header of a future block on or after a specified time in the blockchain network, wherein the header was indeterminable at the time that the first transaction was successfully validated; solves the puzzle of the first transaction; and is used at least in part to derive a seed to a pseudorandom number generation algorithm in the locking script of the first transaction; after the validation of the first transaction, receive, as input to the locking script of the first transaction, the solution to the puzzle generated at least in part as a result of validating the second transaction; and as a result of execution of the set of operation codes in the locking script with the solution as input, transfer control of the digital asset based at least in part on the pseudorandom number.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a 371 of International Patent Application No. PCT/IB2018/056088, filed Aug. 13, 2018, entitled, “ RANDOM NUMBER GENERATION IN A BLOCKCHAIN, ” which claims priority to United Kingdom Patent Application No. 1713086.5, filed Aug. 15, 2017, entitled “ COMPUTER-IMPLEMENTED SYSTEM AND METHOD, ” and United Kingdom Patent Application No. 1713084.0, filed Aug. 15, 2017, entitled “ COMPUTER-IMPLEMENTED SYSTEM AND METHOD, ” the disclosures of which are incorporated herein by reference in their entirety. FIELD OF INVENTION This invention relates generally to distributed ledger technologies, including blockchain transactions, and, more particularly, to secure random number generation within blockchain scripts. This invention further 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. BACKGROUND OF INVENTION In this document the term “ blockchain ” may refer to any of several types of electronic, computer-based, distributed ledgers. These include consensus-based blockchain and transaction-chain technologies, permissioned and unpermissioned 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 the example of “ Bitcoin ” may be referred to as a useful application of the technology described in in the present disclosure for the purpose of convenience and illustration, Bitcoin is just one of many applications to which the technology described in the present disclosure may be applied. However, it should be noted that the invention is not limited to use with the Bitcoin blockchain; alternative blockchain implementations and protocols, including non-commercial applications, also fall within the scope
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 (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Andreas M. Antonopoulos, Mastering Bitcoin, Dec. 1, 2014, O'Reilly Media, 1st Edition, Chapters 5
- &
- 7-8 (Year: 2014).
- Vitalik Buterin, Ethereum White Paper, 2014, ethereum.org (Year: 2014).
- Zeng et al., Pseudorandom Number Generators Based on Evolutionary Algorithm, 2003, IEEE, pp. 1662-1668 (Year: 2003).
- Blum et al., How to Generate Cryptographically Strong Sequences of Pseudo Random Bits, 1982, IEEE, pp. 112-117 (Year: 1982).
- Anonymous,
- “
- Script,
- ”