Method and system for distributed blockchain functionality

Decentralized methods for blockchain data processing and distributed validation of UTXOs, combined with outsourced proof-of-work computations, address resource-intensive challenges, enhancing transaction speed and scalability in blockchain networks.

JP2024540122APending Publication Date: 2024-10-31NCHAIN LICENSING AG
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2024525456
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-06-29
Filing Date
2022-10-26
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Current blockchain technologies face challenges in efficiently validating transactions and mining operations due to resource-intensive validation tasks, which require significant computational power and time, limiting scalability and accessibility for users.

Method used

The implementation of decentralized methods for processing and managing blockchain data, including distributed storage and validation of UTXOs across multiple resources, utilizing a binary indexing system to allocate and validate transaction segments, and outsourcing proof-of-work computations to untrusted entities.

Benefits of technology

This approach enhances transaction validation speed, reduces resource requirements, and improves scalability by distributing processing tasks, allowing for more efficient and resilient blockchain networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024540122000001_ABST
    Figure 2024540122000001_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a system and associated methods for improving the execution of blockchain implementation or related operations and for providing a novel architecture for blockchain networks. In particular, the system is suitable for distributing blockchain related operations across multiple processing resources. These include operations such as block and / or transaction validation, mining tasks such as proof-of-work calculations, identification and retrieval of blockchain related data, and efficient load balancing across multiple resources used to perform such operations. In some embodiments, tasks related to a given type of blockchain operation, e.g., validation or mining, are outsourced or delegated to one or more dedicated resources. In a preferred embodiment, separate blockchain functions are separated and performed by different resources that may be located anywhere in the world and / or controlled by unrelated and untrusted entities.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure generally relates to improved methods and systems for processing and / or managing data records, and / or the format and / or content of such records. The present disclosure is particularly suited for use in connection with, but not limited to, transactions conducted on or using a blockchain network, storage allocation decisions, pre-mining and / or post-mining validation of blockchain transactions, SPV checks, and the like. Advantages include, but are not limited to, improved security and resilience, efficient or reduced speed and resource requirements, novel approaches to validation, distribution of blockchain-related tasks and operations, and load balancing of processor-based resources not possible in prior art deployments. This results in blockchain implementation deployments that were not previously possible. [Background technology]

[0002] The Bitcoin protocol and network may be referenced herein for purposes of providing an example context for implementation, however, the present disclosure is not limited to use with the Bitcoin blockchain and encompasses alternative protocols and implementations, including those that are account-based and those that involve proof-of-stake consensus. In the following, the term "UTXO" may be used purely for convenience to refer to a transaction output and should not be interpreted as meaning that embodiments of the present disclosure are limited to use with UTXO-based blockchain models.

[0003] A blockchain is a peer-to-peer electronic ledger implemented as a computer-based decentralized distributed system that is composed of blocks, which in turn are composed of transactions. Each transaction is a data structure that encodes the transfer of control of a digital asset between participants in the blockchain system and contains at least one input and at least one output. Each block contains a hash of the previous block, and blocks are chained together to create a permanent, immutable record of all transactions written to the blockchain since its inception.

[0004] In order for a transaction (Tx) to be written to the blockchain, it must be validated. Network nodes (miners) perform the task of verifying that each transaction is valid, and invalid transactions are rejected from the network. In some protocols, a software client installed on the node performs this validation task on the unspent transaction output (UTXO) by executing a lock script and an unlock script. If the execution of the lock script and the unlock script evaluates to TRUE, the transaction is valid and the transaction is written to the blockchain. Thus, for a transaction to be written to the blockchain, it must i) be validated by the first node that receives the transaction -- if the transaction is verified as valid, the node relays the transaction to other nodes in the network, i.e., the transaction is propagated -- ii) be added to a new block constructed by miners, and iii) be mined, i.e., added to the public ledger of past transactions. After the transaction is stored in the blockchain as a UTXO, the user can transfer control of the associated cryptocurrency to another address associated with the input of another transaction that is then written to the blockchain. This is often done using a digital wallet that stores a public / private key pair associated with a user's cryptocurrency. There are various forms of known cryptocurrency wallets, including SPV wallets (Simplified Payment Verification). SPV technology allows users and merchant nodes to perform local verification based on only partial information related to a particular transfer. SPV is described in more detail below.

[0005] However, it is known that the volume of transactions is increasing and that improvements in the ability to quickly determine the validity of unspent transaction outputs (UTXOs) are needed. Current techniques for validation tasks can require significant resources and time due to the need to download and store blocks, maintain large UTXO pools, and perform the processing tasks required for validation. Many users are unable to meet such requirements, or in some cases are unwilling to do so because they do not need to. Thus, there is a need for a faster and more efficient validation model that addresses at least these challenges (and others) without compromising security or adapting existing protocols. Furthermore, the means for validation must be scalable.

[0006] In addition to validation, other blockchain-related operations such as mining could benefit from solutions that increase efficiency and encourage scalability. For example, mining-related tasks such as proof-of-work calculations are well-known to be extremely processor and energy intensive and are typically handled by expensive, dedicated machines dedicated to performing PoW tasks. Many users are unable to operate such equipment at a large enough scale to be able to efficiently compete for the right to mine the next block. Other users simply do not want to become miners, preferring instead to focus on other types of operations. It would therefore be advantageous if this PoW calculation could be outsourced in a trustless manner to entities within or outside its own organization, potentially located anywhere in the world. This would allow for the utilization of mining resources in geographic locations that can provide environmentally friendly energy sources. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] PCT International Application No. PCT / IB2019 / 059793 [Patent Document 2] PCT International Application No. PCT / IB2019 / 059795 [Patent Document 3] PCT International Application No. PCT / IB2019 / 059791 [Patent Document 4] PCT International Application No. PCT / IB2019 / 059803 [Patent Document 5] PCT International Application No. PCT / IB2019 / 060226 [Patent Document 6] PCT International Application No. PCT / IB2019 / 059807

[0008] So, such an improved solution was devised. Summary of the Invention [Means for solving the problem]

[0009] DETAILED DESCRIPTION OF THE DRAWINGS

[0011] Embodiments of the present disclosure provide improved blockchain-related methods, devices, and systems. In one form, such embodiments provide a solution for identifying and / or allocating the processing and / or storage of data associated with transaction outputs (which may be conveniently referred to as UTXOs) that include validation and / or enablement. Here, the abbreviation "UTXO" should be interpreted to mean transaction outputs, possibly unspent outputs, and is not intended to limit embodiments of the present disclosure to use only with UTXO-based blockchain protocols, as account-based models or protocols or other alternative forms are intended to fall within the scope of the present disclosure.

[0010] The assignment and / or identification is based in part on data derived from all or at least a portion of a blockchain transaction, e.g., the derived part of the data includes transaction data, which may be an unspent transaction output (e.g., UTXO) and / or a transaction (Tx) containing an unspent transaction output. The data may additionally or alternatively include transaction data for determining that at least a portion of the transaction is included in a Merkle path of a blockchain block.

[0011] Additionally, a record of at least a portion of a transaction that may be maintained in the assigned and / or identified resource may include at least one of the following: transaction data, a status flag, validation information, a reference to at least one previous record, e.g., a disposition, a signature, and authorization data.

[0012] Composing a record can improve the methods herein, including validation of a transaction, allocation and / or identification of processing and / or storage resources. The record contents, when used, can enable improved security and resilience, speed and efficiency or reduction in resource requirements, including verification of a transaction to which the record pertains.

[0013] According to one form of expression, such embodiments provide a solution for validating or mining part or all of blockchain transactions and / or blockchain blocks. According to additional or alternative forms of expression, such embodiments provide a secure solution for controlling, managing, and / or enhancing the efficiency, resource requirements, speed, and / or resilience of known approaches to processing blockchain transactions. Embodiments also enable scalability of blockchain implementation solutions and provide improved methods and technical architectures for electronic transfer of digital resources. Embodiments may also include methods for enabling and / or controlling the computation / generation of proof of work for blockchain blocks in a distributed and / or parallel manner. Embodiments of the present disclosure may include methods and systems as described, exemplified, and claimed herein with respect to the section entitled "Distributed Mining." Such embodiments may include techniques for authorizing, controlling, establishing authorization, or otherwise formulating requests for the generation of proof of work (PoW) for blockchain blocks that include a particular plurality (set) of transactions. Preferably, the set includes a transaction that includes at least a portion of control data that a Proof-of-Work provider can use to determine whether a requested PoW effort should be initiated, performed, and / or fulfilled. This may be referred to as a "control transaction" (TX0). The request may also include data that the PoW provider can use to determine that TX0 is included in the multiple transactions. In a preferred embodiment, this may include at least one or more of a Merkle proof, a control transaction (TX0), and / or the root of a Merkle tree representing the set of transactions.The PoW provider may process the request in conjunction with at least one pre-specified rule, criteria, or requirement to ensure that a) the control transaction is included in the set and / or b) contains at least one portion of control data that may be used, and determine whether the work of the requested PoW effort should be initiated, performed, and / or fulfilled.

[0014] In combination, PoW requesters and PoW providers may provide distributed blockchain mining nodes. Embodiments provide the ability to separate, distribute, and parallelize the various functions and tasks involved in validating and / or mining blockchain transactions.

[0015] DETAILED DESCRIPTION OF THE DRAWINGS

[0004] Embodiments of the present disclosure provide improved blockchain-related methods, devices, and systems. According to one form of expression, such embodiments provide a solution for assigning the task of storing information associated with a UTXO that includes and / or enables validation. Following assignment, at least a portion of the information, e.g., the UTXO and / or transaction (Tx), may be stored in one or more of a plurality of resources, which may be distributed.

[0016] Additionally or alternatively, the resources may be accessed to (i) verify the validity of the UTXO and / or associated transactions, and / or (ii) retrieve data that allows the validity of the UTXO and / or associated transactions to be determined.

[0017] In additional or alternative phrases, these embodiments provide secure solutions for controlling, managing, and / or enhancing the efficiency, resource requirements, speed, and / or resilience of known approaches to processing blockchain transactions. Embodiments also enable scalability of blockchain-implemented solutions, providing improved methods and technical architectures for the electronic transfer of digital resources.

[0018] The embodiments of the present disclosure may be implemented in part or in whole by a variety of devices. These may be hardware and / or software-based devices, including (but not limited to) one or more virtual machines, servers, GPU-based computing resources, or multi-processor systems. Additionally or alternatively, the embodiments may include one or more digital wallets. Importantly, however, the embodiments provide a mechanism for distributed processing of blockchain-related validation tasks. Coordination, management, and control of distributed processes are known to be inherently technical in nature, as they require a holistic understanding of the interactions between the hardware and software components involved, and the implementation of such distributed solutions is beyond technical triviality.

[0019] Embodiments include solutions that enable or facilitate efficient identification and / or allocation of resources, at least one of which stores and validates information associated with each UTXO and / or transaction. Embodiments support scaling of the systems and methods described herein by balancing the distribution of information across resources. This can balance not only the distribution of information across resources, but also the utilization, e.g., accessibility of information by users, which can mitigate bottlenecks.

[0020] Embodiments may include distribution of validation tasks across multiple processing resources, referred to for convenience as “validators.” A validator may include a single processing resource, or may include multiple related processing resources that may be collectively considered as a validation resource.

[0021] In one example, when a block of transactions needs to be validated and / or downloaded, the Merkle tree may be decomposed into one or more smaller segments, each including its own rooted tree structure and representing a subset of the transactions in the block. These segments may then be assigned to different validators. Each validator operates to perform the necessary processing tasks on the subset of transactions assigned to it.

[0022] The assignment of tree segments to validators can be performed in a variety of ways, but according to one advantageous embodiment, a binary indexing system may be used, where the leading digits of a randomly generated, double-hashed Merkle root are used to assign a given segment to a validator (or group / cluster of validators) with a matching binary identifier. This provides a simple, efficient, and fast mechanism for load balancing across multiple validators.

[0023] The allocation for processing and / or storing information associated with a UTXO may also be implemented based in part on data derived from the blockchain. Using this data, resources are allocated and / or identified for processing and / or storing the UTXO information. The method used for identification / allocation supports an even distribution and / or scalability of information across multiple resources since it is based on pseudo-random data obtained from the blockchain. When information about a UTXO is needed, the resource may be accessed to retrieve at least one of: (i) a validation of the UTXO and / or associated transactions, (ii) data that allows the validity of the UTXO and / or associated transactions to be determined, and (iii) a validation indication and / or proof that the resource or validator has been executed.

[0024] In one or more embodiments, a validator includes or has access to a repository that records work performed by the validator and / or data related to data processed by the validator. In one embodiment, this may include a database that contains unspent transaction outputs (UTXOs) that have been assigned to a given validator for processing. Recall that in the traditional model, all UTXOs on a blockchain are tracked by nodes in a database called a UTXO pool.

[0025] Each full node has its own full copy of the UTXO pool for the blockchain. In accordance with the present disclosure, (i) each validator may have its own UTXO pool that tracks the UTXOs of transactions that have been assigned to it for validation, and / or (ii) a system such as a node may allocate resources to process and / or store information based in part on data derived from the blockchain, e.g., the data is derived from the transactions and / or UTXOs, and the information provides an indication of the validity of the UTXO and / or allows validity to be determined using, e.g., SPV techniques.

[0026] Thus, information associated with a (blockchain) transaction, e.g., a UTXO, is stored as a record. The record may be stored in an allocated resource. The record may include at least some or all of the blockchain transactions in a blockchain block. The record may be used to provide information for determining at least the validity of the transaction. The record may include data that enables the determination of Merkle proofs and / or Simplified Payment Verification (SPV), e.g., the record may be used to verify that a given transaction is in a given block.

[0027] Advantages of such a distributed storage method, e.g., storing transactions or UTXOs, identifying and allocating resources, e.g., pools, include, but are not limited to, scalability, ensuring data integrity, improving speed and efficiency, incorporating and supporting various validation techniques such as SPV, etc. Embodiments may include one, several, or all of the above-mentioned aspects in combination to form a distributed system in which various components perform specific dedicated functions related to blockchain activities or applications.

[0028] To facilitate an understanding of embodiments of the present disclosure and to show how such embodiments may be carried into effect, reference will now be made, by way of example only, to the accompanying drawings, in which: [Brief description of the drawings]

[0029] [Figure 1] FIG. 1 is a schematic block diagram of a system for implementing a blockchain. [Diagram 2] FIG. 1 illustrates a schematic of some example transactions that may be recorded on a blockchain. [Diagram 3] FIG. 1 illustrates a typical Merkle tree structure as known in the art. [Figure 4] FIG. 1 illustrates how a Merkle root can be derived from a set of blockchain transactions, as known in the art. [Diagram 5] FIG. 1 is an example diagram illustrating how a Merkle tree may be divided into subsets (or “segments”) that may then be assigned to respective validation resources according to one embodiment of the present disclosure. [Figure 6] FIG. 6 illustrates an alternative example to FIG. 5 showing how a Merkle tree can be divided into logical segments. [Figure 7] FIG. 2 illustrates a system-level illustration of a distributed validation node according to an exemplary embodiment of the present disclosure. [Figure 8] 1 is a flowchart illustrating, at a high level, the steps involved in an exemplary method of the present disclosure. [Figure 9] FIG. 8 illustrates the example system of FIG. 7 in greater detail. [Figure 10] FIG. 1 is a schematic diagram of an example of the present invention including the identification and / or allocation of resources to generate, store, or maintain a database of information associated with transactions, e.g., unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs. [Figure 11(a)]1 is a table illustrating example values ​​derived from a portion of the data used to identify and determine allocated resources. [Figure 11(b)] 1 is a table illustrating example values ​​derived from a portion of the data used to identify and determine allocated resources. [Figure 11(c)] 1 is a table illustrating example values ​​derived from a portion of the data used to identify and determine allocated resources. [Figure 11(d)] 1 is a table illustrating example values ​​derived from a portion of the data used to identify and determine allocated resources. [Figure 12] 1 is a schematic diagram of a system including a node, an intermediary switch, and allocated resources, the resources having optional validators. [Figure 13] FIG. 1 is a schematic diagram of two transactions having positions in a Merkle tree of a blockchain block, the transactions having allocated resources, the allocated resources holding corresponding records. [Figure 14] 1 provides a high level overview of one embodiment of the present disclosure with respect to the “distributed mining” aspect of the disclosure and illustrates enumerated clause set 7. [Figure 15] FIG. 1 illustrates a conventional approach to validation and mining activities performed by nodes on a blockchain network, as known in the art. [Figure 16] FIG. 3 illustrates an example of how the conventional tasks of FIG. 2 can be distributed among different entities, according to one embodiment of the present disclosure. [Figure 17] FIG. 2 illustrates an example of typical tasks performed by a PoW requester according to one embodiment of the present disclosure. [Figure 18] FIG. 2 illustrates an example of typical tasks performed by a PoW provider according to one embodiment of the present disclosure. [Figure 19]FIG. 2 illustrates a distributed mining node according to an exemplary embodiment of the present disclosure. [Figure 20] FIG. 10 illustrates a broader system according to one embodiment of the disclosure, of which the system of FIG. 9 forms one possible component. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] We will now describe, by way of example and not by way of limitation, exemplary embodiments of various aspects of the present disclosure with reference to the accompanying figures.

[0031] The present disclosure provides embodiments that allow for improved validation, mining, storage, retrieval, processing, and distribution of data stored in or utilized by a blockchain-related system. The system can include various components that provide different functionality that combine to form an improved blockchain-based solution.

[0032] In particular, the embodiments disclosed and described herein and illustrated in FIG. 20 may be advantageously used in combination with one another to form a system 2000 comprising a number of components (700, 19.1000, 1100 and / or 2100) that may play a role in the distribution process of blockchain-related data.

[0033] From one perspective, the present disclosure provides means for processing and / or storing information about unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs, which can be implemented using different systems and methods that can be configured and / or executed separately. Described below are examples of a "UTXO database" and a "block validation," each of which assigns a task to a resource, e.g., a distributed resource, where the task includes storing and / or validating one or more transactions.

[0034] An example of allocating / identifying information, e.g., records, which are allocated to resources, is described below with respect to a "UTXO Database." Also described below are examples of validating transactions, and techniques / management of validation, e.g., "block validation."

[0035] In addition to or in the alternative to the examples of "allocating" and / or "validating," at least one example includes generating, storing, processing, accessing, and / or maintaining a record of at least a portion of a transaction (Tx). The stored information about the transaction, i.e., the record, may be used to support at least validating the transaction. For example, the record may include transaction data for determining that at least a portion of the transaction is included in a Merkle path of a blockchain block.

[0036] In light of the teachings herein, the features of the examples may be combined.

[0037] record The features disclosed in this section may be implemented in hardware and / or software to form a record storage component 2100 as shown in the system 2000 of FIG. 20. FIG. 13 illustrates two transactions derived from the blockchain 150. An example of a method herein generates, stores, processes, accesses, and / or maintains at least a portion of a record of a transaction (Tx) in one of a plurality of resources 1104. The allocation and / or identification of a resource corresponding to each transaction is described below with respect to, for example, a UTXO database using hash table techniques for allocation. The resource 1104 may be one of a plurality of resources that make up the database.

[0038] Figure 13 illustrates two Merkle trees that are constructed using the set of transactions in a block to determine the Merkle root included in the block header. n and Tx n+1 are each part of a respective Merkle tree, at least as described below with respect to FIG.

[0039] A record is a transaction, e.g. Tx n or Tx n+1The record includes transaction data for determining that at least a portion of the transaction is included in the Merkle path of the blockchain block (B). Alone or in combination with the examples taught herein, the record holds data that allows efficient and cost-effective lookup and / or retrieval of information associated with the transaction. In particular, the information held in the record allows a third party wishing to verify the transaction to identify the allocated resource in which the associated record is held and retrieve the transaction data for determining that at least a portion of the transaction is included in the Merkle path of the blockchain block (B). For example, the record holds a Merkle proof that proves that the transaction is part of a Merkle tree that determined the Merkle root of the block in which it is recorded.

[0040] A record can hold a set of data associated with a transaction. A record can include, for example, data that is abbreviated and / or concatenated for efficient storage. Information in a record can be organized for reference. For example, a record can include a data catalog. The data catalog can be structured, e.g., indexed, to selectively identify and / or retrieve information associated with a transaction. The data catalog can hold a set of transaction data, e.g., Merkle proofs that enable Simplified Payment Verification (SPV).

[0041] The records, which may include a data catalog, may be managed by the resource and / or validator 1106. The records function to hold information that may be stored / associated with a transaction, e.g., a UTXO, for at least one of a validation check, a status indication, a retained signature, and a transaction state. For example, the records may include at least a portion of a script that defines an "OP_PUSH_TX" for setting conditions on a transaction. Thus, the records may provide a catalog or library of information associated with a transaction.

[0042] The output of a transaction can be an unspent transaction output (UTXO) and / or a transaction (Tx) that contains a UTXO of a blockchain block. Records are not limited to transaction outputs, as suggested by the UTXO and OP_PUSH_TX records, and at least some of the transactions (Tx) can include outputs, inputs, and / or any other parameters of the transaction.

[0043] The record may be stored in any suitable type of digital storage resource. For example, any suitable known type of database may be used. The database may include multiple resources 1104 and / or validators 1106. The record may include a blockchain transaction (TX0) that includes at least one data item (D). Additionally or alternatively, the record may include at least one further blockchain transaction (TX1) that is necessary to verify whether the blockchain transaction (TX1) is included (or not included) in the Merkle path of the blockchain block (B).

[0044] The records, which may be a data catalog, may be stored in a database or may be spread across multiple databases. The database itself may be distributed across multiple resources 1104. Storage of records, e.g., information and / or data, as taught herein may be applied to and / or support efficient allocation, lookup, and access of records associated with nodes, e.g., metanet nodes, and associated metanet protocols.

[0045] The following applications are incorporated herein by reference in their entireties: - PCT International Application No. PCT / IB2019 / 059793, which concerns indexing and structuring nodes. - Mapping categories to mnemonics, e.g. to support cataloguing, PCT International Application No. PCT / IB2019 / 059795. - PCT International Application No. PCT / IB2019 / 059791, which supports the search for placement resources. - supporting wallets, blockchain search systems, block explorers, etc., enabling users to search / access / view / write / retrieve portions of the data contained in metanet nodes, e.g. transactions, and being able to identify metanet nodes based on a metanet index, PCT International Application No. PCT / IB2019 / 059803; - PCT International Application No. PCT / IB2019 / 060226, PCT International Application No. PCT / IB2019 / 059807, which support partitioning of data across multiple nodes. - PCT International Application No. PCT / IB2019 / 059808, which supports multiple transaction inputs and multiple transaction outputs, in particular splitting records across node attributes. - Atomic swaps, for example where a conditional exchange is established between two or more parties, PCT International Application No. PCT / IB2019 / 059809.

[0046] Using a database and / or records and / or information may include generating, maintaining, providing, updating, storing, accessing, or processing i) the database, and / or ii) the data / records / information stored in or in association with the database. A database may be stored in or across one or more resources, and the data, records, or information stored in the database may be processed and / or stored in the assigned resources (1104).

[0047] In addition to or alternatively to the record containing transaction data for determining whether at least a portion of the transaction (Tx) is included in the Merkle path of the blockchain block (B), the record may hold a Merkle path from the transaction (TX0) to the root of the Merkle tree for the blockchain block (B). The Merkle path may include at least the minimum blockchain transactions required to establish or verify that the blockchain transaction (TX0) is included in the blockchain block (B). The record herein provides an efficient and effective means for validating the transaction. In combination with the allocation and identification of resources in which the record is held and / or the validation techniques herein, an improved system for managing and / or using transaction data is provided. The transaction may be derived from a blockchain block.

[0048] The blockchain transaction (TX0) may be used alone or in combination with at least one further blockchain transaction (TX1) to verify that the blockchain transaction (TX0) is included in the Merkle path of the blockchain block (B). The data item (D), which may be part of the record or information stored in the allocated resource, may be at least one of those stored in association with a script in the transaction and those stored as metadata in the transaction. In total, the record includes validation data necessary to validate the transaction, e.g., the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO.

[0049] Blockchain blocks may be stored on or in association with a blockchain ledger, and / or an off-chain storage resource.

[0050] The record may include a history of at least one prior transaction, i.e., transaction data for at least one prior transaction. The history may include transactions of unspent transaction outputs (UTXOs) and / or transactions containing UTXOs (Tx). The at least one prior transaction may be a transaction prior to the last transaction.

[0051] The record may further include a history of the allocated resources that processed and / or stored at least the previous transaction. The record may include a link to the allocated resources that hold the previous transaction. The record may hold a history of multiple prior transactions of unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs.

[0052] In this way, the history allows a third party using the record to retrieve the most recent transaction and, if necessary, efficiently identify prior transactions without performing further lookups or searches. The history can provide a back catalog or set of shortcuts to key records, data, or information. The history can include at least one of: a set of transaction data for determining Merkle proofs of multiple prior transactions; links to respective assigned resources that processed and / or stored the multiple prior transactions.

[0053] Referring to FIG. 13, the first transaction Tx n After that, a second transaction Tx n+1 followed by. In this example, the first and second transactions have associated records stored in different allocated resources 1104, although they could be stored at different addresses within the same allocated resource. The record of the second transaction can include at least a link to the address of the first transaction in the allocated resource. The record of the second transaction can include, at least in part, a record of transaction data for the first transaction. The record of the second transaction can include records of transaction data for multiple prior transactions.

[0054] The record may include flags and / or status indications of the transaction data, such as unspent transaction outputs (UTXOs) and / or the or each input of a transaction (Tx) that contains UTXOs. For example, these indications may be one of "seen", "in-block", and "double-spend", providing an efficient reference to the status of the transaction data.

[0055] The record may hold any number of transaction data information and / or supplemental data, e.g., validation data. Using the record provides an alternative means of searching, identifying, and processing transaction data that is on-chain. The record may consolidate key data, thus minimizing computational costs in using transactions and performing operations using blockchains and blockchain blocks. The record may further include at least one of a Merkle tree of a block in which the transaction (Tx) is recorded, a Merkle root of a block in which the transaction (Tx) is recorded, a Merkle path that allows determining the value of the Merkle root for the block in which the transaction (Tx) is recorded from a hash of the transaction (Tx), a Merkle proof, a block identifier (block_ID) associated with the blockchain block, a transaction identifier (TxID) associated with the transaction (Tx) in multiple blockchain transactions in the blockchain block, a function of the block identifier (block_ID) and the transaction identifier (TxID), a concatenation of the block identifier (block_ID) and the transaction identifier (TxID), a digital signature, an authentication code, and a signature message for determining a transaction state.

[0056] The allocated resources for processing and / or storing records may be identified and / or allocated using a portion of the data derived from the blockchain to identify and / or allocate the resources, the data from which the portion of data is derived including transaction data, e.g., unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs.

[0057] Examples and associated systems herein enable the use of a database including at least one record, the at least one record including a blockchain transaction (TX0) that includes at least one data item (D), and at least one further blockchain transaction (TX1) necessary to verify that the blockchain transaction (TX1) is included in the Merkle path of a blockchain block (B).

[0058] Using a database includes generating, maintaining, providing, updating, storing, accessing, or processing a database and / or data stored in or in association with the database. The record may further include a Merkle path from the transaction (TX0) to the root of the Merkle tree of the blockchain block (B). The Merkle path may include at least the minimum blockchain transactions necessary to establish or verify that the blockchain transaction (TX0) is included in the blockchain block (B).

[0059] The method herein can use a blockchain transaction (TX0) and at least one further blockchain transaction (TX1) to verify that the blockchain transaction (TX0) is included in the Merkle path of a blockchain block (B).

[0060] The data item (D) may be stored in association with a script within a transaction and / or may be stored as metadata within the transaction. The transaction may further include at least one of a transaction ID (TxID), a protocol flag, a discretionary public key (DPK), and a discretionary transaction ID (DTxID).

[0061] The records described above, e.g., information and data associated with a transaction, derived from or regarding the transaction, may be stored in the allocated resources using methods described below.

[0062] UTXO Database The features disclosed in this section may be implemented in hardware and / or software to form a resource allocation component 1100 as shown in system 2000 of Figure 20. Figures 10 to 12 respectively show steps of the method where data is derived from a blockchain, tables used for allocation to resources 1104, and an example of a system 1100 for implementing the method. System 1100 may form a subsystem or component of the larger system 2000 of Figure 20.

[0063] According to this aspect of the disclosure, data is obtained from the peer-to-peer (P2P) network 106 and / or the blockchain 150. In s1000, the data may be obtained or retrieved, for example, by requesting and retrieving one or more blocks from the blockchain 150. The retrieval may include downloading at least a portion of a blockchain block that includes multiple blockchain transactions. Retrieving or otherwise retrieving data from a blockchain block, for example, retrieving, copying, or reading the data, is necessary if the data is necessary to establish historical, e.g., already recorded, transaction data stored and / or processed in the block 151 that pertains to unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs. UTXOs currently in the mempool, or future transactions and UTXOs, may be received via a connection to the network, for example, by implementing the node 104 to receive transactions broadcast on the network.

[0064] Thus, in general, the system 1100 of FIG. 12 uses a portion of data derived from the blockchain to determine a key and allocate corresponding resources to store information associated with said data, such as information associated with unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs. Specifically, information associated with data derived from the blockchain is stored in resources for efficient and cost-effective reference. The data may include unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs. The portion of the data is used to determine a key, which in turn determines the allocated resources that store information about said data. In this context, the term "key" may be used in the sense of an "index" rather than in the sense of a cryptographic key. The terms "index" or "identifier" may be used in place of "key."

[0065] The data from which the portion of the data is derived includes unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs. In s1002, the portion of the data is used to identify or allocate a corresponding resource 1104, e.g., an allocated resource. In s1004, the resource 1104 operates to at least one of generate, store, and maintain a database of information, the information including data associated with the UTXOs and / or transactions. The information may include an indication of validity of the UTXO and / or enable validity to be determined, e.g., using SPV techniques. The information about the data may include, for example, details of the block from which it was obtained, e.g., block ID, the Merkle path of the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO, the validity status of all UTXOs in the transaction.

[0066] The resources 1104 may operate to store information that may be used by others to validate the UTXO and / or process data to generate an indication, e.g., a flag indicating validity. Additionally or alternatively, the resources 1104 may delegate the determination of the validity of a transaction or UTXO to a validator 1106 in s1006. Storing and / or processing at least a portion of the UTXOs and / or transactions (Tx) may be implemented in the assigned resources, e.g., resource 1104 actively manages the information and maintains a database associated with each UTXO therein, e.g., the resource self-manages, and / or by the assigned resources, e.g., the resource acts as a controller and functions as system 1100 managing sub-resources for storing and / or processing information, and / or in conjunction with the assigned resources, e.g., resource 1104 operates as part of system 1100 as shown in FIG. 12, where, by way of non-limiting example, node 104 provides transaction and UTXO information to a switch 1102, e.g., a router, that operates to determine which of a plurality of resources 1104 is assigned to the task of generating, maintaining, and / or storing UTXO information in a database. In the aggregate, the resources may implement and perform one or more of the operations of FIG. 10. FIG. 12 illustrates a system 1100 having components that individually perform the operations of FIG. 10. In some embodiments, the switch 1102 is operable to send and / or receive (IPv6) multicast transmissions.

[0067] In one example, the task of maintaining information associated with a UTXO is assigned to one resource from a group of resources in the system 1100. Figure 12 illustrates, for example, eight resources, each of which shares information from a UTXO among itself. However, the system can maintain any number of resources and is scalable, for example, a system can have 16, 256, or 1024 resources. Thus, each resource is assigned a range of UTXOs to process, store, and / or maintain.

[0068] A portion of data from an unspent transaction output (UTXO) and / or a transaction (Tx) containing a UTXO may be retrieved and / or received and parsed. The parsing determines which resource is assigned the task of storing the information. The parsing may be performed by the resource 1104 or the switch 1102. At least one of the node 104, the switch 1102, and the resource 1104 may derive that portion of data from the blockchain. When the parsing is performed by the node 104 or the switch 1102, the information is directed to the assigned resource. The identification and / or assignment to processing and / or storage resources may be performed by the node and / or the switch, which act as an intermediary. They are connected to multiple assigned resources, and said node or switch acts as a manager 1104 of multiple resources that determines which resource takes care of which UTXO / Tx. When parsing is performed by a resource 1104, it processes the data and / or stores information derived from the data, or stores data associated with the data, or takes no action if it is not responsible for the UTXO.

[0069] When the allocation of resources 1104 is determined, e.g., when it is determined where information associated with a UTXO / Tx will be kept, resources 1104 may perform the operations of s1004 to generate, store, and / or maintain information associated with the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO. Resources 1104 may process the received data to determine the validity of the UTXO / Tx, e.g., in s1006, or delegate that task to a validator 1106. Resources 1104 and / or validator 1106 may validate, at least in part, the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO.

[0070] Data obtained from the peer-to-peer (P2P) network 106 and / or the blockchain 150. The data may be obtained by the node 104 and / or the switch 1102, which then assigns the data to a resource, or the data may be obtained by the resource 1104 itself, which searches and analyzes the data according to the assigned UTXO / Tx range. The obtained data may include at least one of the following: a UTXO identifier, a hash of the UTXO script, and a transaction identification (TXID).

[0071] The obtained data relates to a UTXO or a transaction having a UTXO and serves to provide a key (i.e., an index or identifier) ​​that identifies and / or assigns a resource in which corresponding information is stored, maintained, or generated. The key may be determined directly by using a portion of the data, e.g., to determine the resource to which the key is assigned, or indirectly by processing, e.g., hashing, a portion of the data such that the resulting hash determines the assigned resource.

[0072] The key is used to determine which resource 1104 holds the corresponding information associated with the key. The resource thus holds a data structure, e.g., a database or hash table implementing an associative array. In other words, data associated with the UTXO and / or transaction is used to determine a key, and said key is used to determine a resource that holds the information associated with the UTXO and / or transaction. Not only do the data and the key allow resources to be assigned, but the stored information can be retrieved by looking up and accessing said information using the key.

[0073] At least one of the data, the key, and the resulting hash includes at least one of an alphanumeric character and a binary number, which is used to determine the allocated resources.

[0074] For example, a portion of the data may include an unspent transaction output (UTXO) and / or a transaction (Tx) that contains the UTXO. Inputs to the transaction may include a transaction ID that references the transaction that contains the UTXO to be spent, an output index that identifies which UTXO for that transaction is being referenced, e.g., Vout, a scriptSig that satisfies the condition placed on the UTXO to unlock it, and a sequence number.

[0075] Potential recipients of a UTXO need to validate the UTXO before a transaction that consumes the UTXO can be compiled and broadcast. Known techniques for validation are slow, resource heavy, and computationally expensive. Using a portion of the data from the UTXO and / or associated transaction information that validates or allows for validation, the UTXO may be stored in a resource. Using a portion of the data unique to the UTXO, a key may be determined that then determines which assigned resource the associated information is stored in and from which it can then be retrieved.

[0076] Using transaction ID (TxID) as a non-limiting example, the TxID is typically referenced in hexadecimal format and can also be represented as a binary number. Figures 11(a) through 11(d) are tables illustrating how a portion of data can be used to determine an allocated resource. The portion of data, e.g., the TxID, can be parsed directly or processed, e.g., hashed. In Figure 11(a), the TxID is parsed such that the first three digits of the TxID in binary form are selected as a key, and the allocated resources according to information associated with the TxID having a binary value, e.g., a binary value with the first three digits "101", are assigned for storage / processing in the allocated resource "6". While the use of the first three digits of the binary value allows one of eight resources to be determined, FIG. 11(c) shows how taking the first four digits from the TxID in binary form supports allocation among 16 resources, e.g., information associated with a TxID beginning with a binary value having "1011" as its first four digits is assigned for storage / processing in assigned resource "12". Alternatively, hexadecimal values ​​of the TxID may be used as shown in FIG. 11(b), where a single hexadecimal value is mapped to resources, e.g., "c" through "13", and in FIG. 11(d) a range of hexadecimal values ​​are assigned to resources, e.g., information associated with a TxID beginning with "76" is assigned to resource "8".

[0077] Alternatively, the portion of the data may be processed, e.g., hashed, to generate a hexadecimal or binary number, so that the portion of the data and subsequent determination of a key to identify / allocate the resource 1104 is not limited to the TxID.

[0078] The portion of data selected from the transaction or its UTXO, or the processed value, e.g., the hash value, is pseudo-random. The allocation to resources is load-balanced, i.e., the portion of the data used to determine the key for allocating resources is pseudo-random, distributing the processing and / or storage among multiple resources. The information associated with the transaction / UTXO will be distributed among multiple resources. The balancing of allocation among resources minimizes the risk that some processing resources are left idle while others are overloaded, and thus the risk of performance degradation or even failure. The resilience, performance, and / or efficiency of the system 1100 is improved.

[0079] The data, or portions of the data, may thus be used to (i) determine allocated resources and then (ii) provide a reference to identify the resources and / or information within the resources, e.g., in a database, associated with the data.

[0080] A portion of the data is derived from the blockchain to determine corresponding resources that store keys and information associated with said data, i.e., unspent transaction outputs (UTXOs) and / or information associated with transactions (Tx) that contain UTXOs.

[0081] An actor seeking to verify the validity of a UTXO can identify a resource that holds information that can be used to determine the validity of the UTXO and / or transaction using a portion of the UTXO and / or the transaction holding said UTXO. The information can include a flag or have a marker associated with it indicating whether the UTXO is locked or unlocked, e.g., invalid or valid, e.g., suitable for inclusion in a subsequent transaction. The information can additionally or alternatively include a record of the UTXO and / or the transaction holding said UTXO that allows an actor to efficiently and independently validate the UTXO.

[0082] The record includes, at least in part, at least one of a Merkle tree for the block in which the transaction (Tx) is recorded, a Merkle root for the block in which the transaction (Tx) is recorded, a Merkle path that enables determining, from a hash of the transaction (Tx), the value of the Merkle root for the block in which the transaction (Tx) is recorded, a Merkle proof, a block identifier (block_ID) associated with the blockchain block, a transaction identifier (TxID) associated with the transaction (Tx) in a number of blockchain transactions within the blockchain block, a function of the block identifier (block_ID) and the transaction identifier (TxID), and a concatenation of the block identifier (block_ID) and the transaction identifier (TxID).

[0083] A resource may contain information and records necessary to determine the validity of a UTXO. Additionally or alternatively, a resource may validate a UTXO and / or generate records supporting the validation of a UTXO, either by itself or via validation s1006 by a validator 1106. A resource 1104 and / or a validator 1106 may at least one of: validate and / or verify the UTXO, perform at least a portion of a Simplified Payment Verification (SPV) process on the UTXO, verify whether a given blockchain transaction (Tx) is contained within a blockchain block, generate at least one hash of the blockchain transaction and use the hash to build a Merkle path and / or check whether the hash matches a transaction identifier (TxID) in a header of a blockchain block, and determine a Merkle proof for the UTXO.

[0084] By providing a means to identify an allocated resource 1104 from a UTXO / transaction and storing the information necessary to validate the UTXO in said resource, an efficient and scalable alternative method for validating UTXOs is provided. Because nodes no longer need to keep a full copy of the blockchain and additional information is no longer required to support transactions, e.g., SPV-based exchanges and wallets, the system 1100 and the resources 1104 therein provide fast and scalable support.

[0085] Generally, the system 1100 comprises a resource 1104 that operates to provide a UTXO repository for generating, storing, and / or maintaining information and / or records associated with a plurality of unspent transaction outputs (UTXOs) each associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block. The resource may record, retrieve, and / or process information and / or records by using a portion of data derived from the blockchain to identify and / or assign said resource, the data from which the portion of data is derived including the unspent transaction outputs (UTXOs) and / or the transactions (Tx) that contain the UTXOs.

[0086] The system 1100 may include a node 104 and / or a switch 1102 for receiving and / or processing an unspent transaction output (UTXO) for inclusion in a transaction. The node and / or switch may support a resource and determine an allocation to one of a plurality of resources. The allocated resource then holds validation data, e.g., information and / or records, for the UTXO.

[0087] After receiving a UTXO for inclusion in a transaction, e.g., as part of a payment or digital asset transfer, validation information and / or records may be requested and / or obtained by the actor from the allocated resources.

[0088] Once an actor has accessed information and / or records from an assigned resource, the actor may at least one of: validate the UTXO and / or the transaction (Tx) containing the UTXO, and / or determine the validity of the UTXO and / or the transaction (Tx) containing the UTXO. Validation by at least one of the resource 1104, the validator 1106, and the actor may include: ii) validating and / or verifying at least one blockchain transaction; and / or ii) performing a Simplified Payment Verification (SPV) process; and / or iii) verifying whether a given blockchain transaction (Tx) is contained within a blockchain block; and / or iii) generating at least one hash of the blockchain transaction and using the hash to build a Merkle path and / or checking whether the hash matches a transaction identifier (TxID) in a header of the blockchain block.

[0089] Then, following validation of the UTXO, said actor or a further actor may prepare and / or transmit a transaction (Tx) having said UTXO as input.

[0090] A node 104 may be configured to at least one of generate, store, and maintain UTXO resources for recording, retrieving, and / or processing a plurality of unspent transaction outputs (UTXOs), and the node processes a portion of the data derived from the blockchain to identify and / or allocate processing and / or storage resources. The data from which the portion of the data is derived includes the unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain the UTXOs.

[0091] Block Validation Traditionally, nodes in a blockchain network maintain a global ledger of all transactions on the blockchain. The global ledger is a distributed ledger, and each node may store a full or partial copy of the global ledger. Transactions by nodes that affect the global ledger are verified by other nodes, thereby maintaining the validity and integrity of the global ledger. Those skilled in the art will understand the implementation and operational details of blockchain networks, such as those that use the Bitcoin protocol.

[0092] Each transaction typically has one or more inputs and one or more outputs. Scripts embedded in the inputs and outputs specify how the transaction's outputs can be accessed and by whom. A transaction's output may be an address to which control of value is transferred as a result of the transaction. That value is then associated with that output address as an unspent transaction output (UTXO). Subsequent transactions may then reference that address as an input to gain control or ownership of that value.

[0093] In our example using the Bitcoin network and protocol as described above, mining nodes participate in a race to create the next block in the blockchain. To assemble a block, miners build the block as a set of transactions from a pool of unconfirmed transactions ("mempool"). The miner then attempts to complete a Proof of Work (PoW) puzzle on the assembled block. If the miner manages to complete the PoW prior to receiving notification that other miners have successfully generated their own blocks and completed the PoW, the miner propagates by sending the block to peer nodes on the network. Those nodes validate the block and then further send it to other nodes on the network. If the miner receives notification that another block is completed prior to finishing its PoW, the miner abandons its work and begins attempting to build the next block.

[0094] Thus, fast propagation of blocks helps to avoid wasted effort (and associated energy) on behalf of miners and validating nodes. By providing a solution that allows faster validation and therefore propagation of blocks, the present invention provides enhanced network performance. It reduces the amount of computation time and the effort required, and therefore the amount of energy required for the network. This provides a more efficient network in terms of resources and time. This ultimately provides an improved (blockchain) network.

[0095] In current blockchain implementations, such as the Bitcoin network, each node that receives a block first validates the block before sending it to other nodes. If it takes a long time to validate a block, it slows down the propagation of the block through the network. It should be noted that some implementations of blockchain, including evolutions of existing protocols, provide for block validation by only a subset of nodes, rather than every node in the network, but block validation by a majority of nodes is still likely to be a feature of a blockchain implementation that prevents invalid blocks from propagating through the network.

[0096] Validating a block involves verifying that the block meets prescribed criteria set by the applicable blockchain protocol. Exemplary criteria applicable to the Bitcoin protocol may include functions such as CheckBlock and CheckBlockHeader. In addition to verifying that the block itself meets prescribed criteria, each transaction within the block may be evaluated for compliance with transaction-level criteria. As an example, transaction-level criteria applied in the Bitcoin protocol may include the functions AcceptToMemoryPool, CheckTransaction, and CheckInputs.

[0097] Specific examples of block-level standards based on the Bitcoin protocol may include: Block data structures are syntactically valid. The block header hash is less than the target difficulty (enforces proof of work). The block timestamp is within 2 hours of the future (allowing for time skew). - The block size is within the acceptable range. The first transaction (and only the first transaction) is a coinbase generated transaction. All transactions within a block are valid.

[0098] Specific examples of transaction-level criteria based on the Bitcoin protocol may include: · The transaction syntax and data structures must be correct. · The input or output list is not empty. Each output value x, and even the sum of all outputs, is 0 <x<21·10 6 must be within the range. None of the inputs have a NULL hash. nLockTime is less than or equal to INT_MAX. The transaction size in bytes is greater than or equal to the minimum and less than or equal to the maximum. The number of signature calculations is less than the upper limit of signature calculations. · The unlock script scriptSig can only push numbers onto the stack, and the lock script scriptPubkey must match the isStandard format. For each input, if the referenced output is present in any other transaction in the pool, the transaction must be rejected. For each input, if the referenced output transaction is a coinbase output, it must have at least COINBASE_MATURITY(100) confirmations. For each input, the referenced output must exist and not already be consumed. Use the referenced output transaction to get the input values ​​and ensure that each input value, and even the sum, is within the allowed range of the value x, i.e. 0 <x<21·10 6 Check that it is in. There must be a matching transaction in a block in the pool or in the main branch. · The sum of the input values ​​must be greater than or equal to the sum of the output values. The transaction fees must be enough to get into an empty block. · The unlock script for each input must be validated against the corresponding output lock script.

[0099] These exemplary criteria are exemplary and should not be construed as sufficient or necessary for all embodiments, as the specified criteria may differ for different protocols and may change over time for a given protocol as changes are made to the protocol. In general, transaction-level validation criteria are specified characteristics that a transaction must have in order to be considered valid under the applicable blockchain protocol. Similarly, block-level validation criteria are specified characteristics that a block must have in order to be considered valid under the applicable blockchain protocol.

[0100] The present application describes methods and devices that speed up block validation to facilitate faster propagation of blocks in a network.

[0101] In one aspect, the present application describes a node structured to validate blocks by performing at least transaction-level validation of individual transactions in a parallel and / or distributed manner. However, certain transaction-level criteria may not be evaluated in parallel. For example, the uniqueness of a UTXO may be evaluated on a serial basis. In such cases, a distributed validation node of the present disclosure may be structured or arranged to verify the uniqueness of a transaction's reference input (UTXO) prior to allocating the set of transactions among a set of two or more parallel processors for validation of the remaining transaction-level criteria.

[0102] In particular, embodiments of the present disclosure provide improved validation and security solutions for processing related or associated data records stored in a tree structure. The tree can be a binary tree or a mesh structure. As is known in the art, a tree structure can be decomposed into smaller trees (which may be referred to herein as "segments," "subsets," or "parts" of the tree), with each segment containing a subset of the data records of the overall tree and having its own root. Advantageously, embodiments of the present disclosure take advantage of this feature to provide a method and system for the distribution and parallelization of processing of related data records across multiple processing resources.

[0103] In our exemplary embodiment, the data records comprise related blockchain transactions as they form nodes in a Merkle tree. The Merkle tree has a root that is or may be included in the header of a block of transactions according to the blockchain protocol, and the root provides a path that can be followed to all leaves (i.e., transaction IDs (TxIDs)) in the tree. In our example, the blockchain protocol is or is derived from the Bitcoin protocol, although other protocols are within the scope of this disclosure.

[0104] In one example, processing the multiple transactions includes validating at least a portion of a blockchain block that includes multiple blockchain transactions and the root of a Merkle tree for that block. These examples are non-limiting, and the techniques disclosed herein may be utilized with respect to non-blockchain relational data and / or with respect to other processes other than validation. For example, embodiments may be used to store, structure, search, and / or maintain any type of data records that may be represented in a Merkle tree. Databases and other known storage resources may be utilized in lieu of or in addition to a blockchain ledger.

[0105] In another exemplary embodiment, processing the multiple transactions includes downloading at least a portion of a blockchain block that includes the multiple blockchain transactions, and the root of the Merkle tree for that block.

[0106] For completeness, and with reference to Figures 3 and 4, we present a detailed explanation of Merkle trees and their use in representing blocks of blockchain transactions.

[0107] Merkle Tree Referring to Figure 3, a Merkle tree is a hierarchical data structure that allows a collection of data to be securely verified. In a Merkle tree, each node in the tree is given an index pair (i,j) and is represented as N(i,j). The indices i,j are simply numerical labels that relate to a particular position in the tree.

[0108] A Merkle tree is characterized by the fact that the structure of each of its nodes is given by

[0109]

number

[0110] This is what is decided by where and H is a cryptographic hash function.

[0111] An example of a binary Merkle tree formed according to these formulas is shown in Figure 3. As shown, the case i=j corresponds to a leaf node, which is simply the ith data packet D i We can see that the hash of i is the hash of j. If i ≠ j then it corresponds to an interior or parent node, which is generated by recursively hashing and concatenating the child nodes until a single parent (the Merkle root) is found.

[0112] For example, node N(0,3) is constructed from four data packets D0,...,D3 as follows: N(0,3)=H(N(0,1)∥N(2,3)) =[H(N(0,0)∥N(1,1))∥H(N(2,2)∥N(3,3))] =[H(H(D0)∥H(D1))∥H(H(D2)∥H(D3))]

[0113] The depth M of a tree is defined as the lowest level of a node in the tree, and the depth m of a node is the level at which the node resides. For example, root =0 and m leaf =M, and in Figure 3 M=3.

[0114] For Merkle trees in Bitcoin and some other blockchains, the hash function is double SHA256, which is the two applications of the standard hash function SHA-256. H(x) = SHA256(SHA256(x))

[0115] The main function of a Merkle tree is to find a data packet D i Let D be a set of N data packets D∈{D0,...,D N-1The goal of verification is to verify that a data packet D is a member of a list or set of . The mechanism for verification is known as a Merkle proof, and is i and obtaining a set of hashes known as a Merkle path to a Merkle root R. A Merkle proof for a data packet is simply the minimal list of hashes needed to reconstruct the root R by repeated hashing and concatenation, and is often referred to as an "authentication proof".

[0116] The proof of existence is that for all packets D0,...,D N-1 This can be trivially performed if the order of the data blocks, N, is known to the prover. However, this requires a much larger storage overhead than Merkle proofs, but also requires that the entire data set be available to the prover. A comparison between using Merkle proofs and using the entire list is shown in the table below, where we use binary Merkle trees and assume that the number of data blocks, N, is exactly equal to an integer power of 2.

[0117] The following table shows the relationship between the number of leaf nodes in a Merkle tree and the number of hashes (or Merkle proofs) required for a Merkle proof.

[0118] [Table 1]

[0119] In this simplified scenario -- where the number of data packets is equal to the number of leaf nodes -- we find that the number of hash values ​​required to compute a Merkle proof grows logarithmically. It is clear that it is much more efficient and practical to compute a Merkle proof that involves log2N hashes than it is to store N data hashes and compute an explicit proof.

[0120] Given a Merkle root R, let D∈{D0,...,D N-1}, one can perform a Merkle proof as follows: i. Obtain the Merkle root R from a trusted source. ii. Obtain a Merkle proof Γ from a source, where Γ is a set of hashes. Γ={N(1,1),N(2,3),N(4,7)} iii. Use D1 and Γ to compute the Merkle proof as follows: a. Hash the data block N(0,0)=H(D0) get. b. Concatenate it with N(1,1) and hash it. N(0,1)=H(N(0,0)∥N(1,1)) get. c. Concatenate with N(2,3) and hash it N(0,3)=H(N(0,1)∥N(2,3)) get. d. Concatenate N(4,7) and hash it to the root N(0,7)=H(N(0,3)∥N(4,7)), R'=N(0,7) get. e. Compare the calculated root R' with the root R obtained in (i). 1. If R'=R, then the presence of D0 in the tree, and therefore the dataset D, is confirmed. 2. If R' ≠ R, then the proof fails and it is not confirmed that D0 is a member of D.

[0121] This is an efficient mechanism for providing proof of existence for some data, as part of a dataset represented by a Merkle tree and its root. For example, if some data D0 corresponds to a transaction in a blockchain, and the root R is publicly available as part of the block header, then it can be quickly proven that the transaction was included in that block.

[0122] SPV Simplified Payment Verification (SPV), first demonstrated in section 8 of the 2008 whitepaper "Bitcoin: A Peer-to-Peer Electronic Cash System" by Satoshi Nakamoto, takes advantage of these characteristics of Merkle trees. In an SPV-based cryptocurrency exchange between Alice and Bob, both parties use the same type of SPV wallet. The SPV wallet stores the user's private and public keys, any unspent transactions, and a block header that uniquely identifies the block so that it can be placed on the blockchain. As described, the block header contains fields of data that provide a unique summary or fingerprint of the contents of the entire block, as well as a field that provides the Merkle root for that block. The Merkle root is generated by repeatedly hashing pairs of transaction IDs (TxIDs) from the block until a single hash is eventually reached. The Merkle root provides an efficient and secure mechanism for verifying that a transaction is part of a block, since it allows users such as wallets and merchant nodes to verify a particular transaction locally without having to download the entire blockchain. This is advantageous for parties such as users who do not need or want to run a full node, but simply need to perform a local check if a particular transaction is in a particular block, e.g., a merchant and a customer wishing to perform a money transfer between the merchant and the customer. In summary, SPV allows such users to search a Merkle tree with a given root and check (i.e., verify) if a particular transaction is contained within a particular blockchain block without having to download and store the entire blockchain.

[0123] Thus, SPV wallets provide the advantage that at least power- and storage-constrained devices such as mobile phones and laptops can operate within the Bitcoin ecosystem, since they only need to verify that transactions are verified (hence the name "simplified payment verification"), rather than performing a full check of the blockchain as other forms of wallets do. Because SPV wallets download only the block headers without including any of the transactions, this significantly reduces the storage, energy, and processing resources required for verification. SPV wallets are particularly well suited for use with embodiments of the present disclosure for reasons explained below, and the term "verification" is used herein to include SPV checks.

[0124] Blocking Transactions FIG. 4 illustrates a schematic of an example of a blockchain block. Each block contains a block header and a set of transactions. The block header contains, among other things, a hash of the previous block header, i.e., the hash of the block header of the block based on which the current block was constructed. The block header also contains the Merkle root of a Merkle tree constructed using the set of transactions. Each transaction is first hashed (e.g., double-hashed) to generate a transaction identifier (TxID) for that transaction. The transaction identifier is then used as a leaf node of the Merkle tree. Pairs of transaction identifiers are then concatenated and hashed to form respective internal nodes of a first internal level of the Merkle tree. Pairs of internal nodes of the first internal level are then concatenated and hashed to form respective internal nodes of a second internal level of the Merkle tree. The process of concatenating and hashing pairs of internal nodes is repeated until only a single hash, the Merkle root, remains. This Merkle root is sometimes referred to as the block Merkle root.

[0125] Next, with particular reference to Figures 5, 6 and 7, an embodiment of the present disclosure will be described.

[0126] Identify the segment of the block’s Merkle tree Assume that a particular party, say Alice, wishes to validate some transactions. According to one embodiment of the present disclosure, at least one subset of the transactions is identified, which forms and / or is represented by a segment of the entire Merkle tree for that block. Thus, the block of transactions may be logically segmented into multiple segments based on the block's Merkle tree, with each segment containing a subset of the block's transactions, and each segment having its own root node (or "root hash"). This common root hash is sometimes referred to as the "segment hash" below to distinguish it from the root hash of the entire block. Transactions at the same level in a tree segment (i.e., the lowest level, sometimes also referred to as the "leaf level" or "leaf tier") are siblings. All transactions in a given segment share a common root node for that segment. The common root node may belong to an adjacent level of the Merkle tree, i.e., the level immediately above the lowest level. Alternatively, the common root node may belong to a higher level. In general, the common root node may belong to any level of the Merkle tree between the lowest level and the Merkle root.

[0127] Splitting a block into smaller parts based on its Merkle tree provides significant technical advantages, including the ability to quickly and efficiently allocate transactions among multiple validators. For example, because the Bitcoin protocol uses binary trees, it is possible to implement binary allocation across multiple machines. By using small binary markers as an indexing system for the segments, the position of each segment in the overall Merkle tree can be quickly calculated, which allows the segments to be put back together after validation is complete, reconstructing the full Merkle tree for the block. This binary indexing approach is described in more detail below.

[0128] While various techniques may be used to identify the segments, according to one approach, the number of segments may be determined by the number of available validators in the system. For example, in a system with four validators, the Merkle tree may be divided into four segments, if there are eight validators, the Merkle tree may be divided into eight segments, and so on. The identification of segments for a given Merkle tree may be performed or influenced by a controlling entity, exemplified by controller 702 in FIG. 7.

[0129] The points described above are further illustrated with reference to Figures 5 and 6, where Figure 5 illustrates an example of how a Merkle tree may be split into separate portions 502 and assigned to validators. In the example of Figure 5, each arrow represents a respective transaction that is hashed to form a respective transaction identifier, which is used in each leaf node of the Merkle tree. The top of the Merkle tree is a block Merkle root. In this example, the block of transactions represented by the Merkle tree contains 32 transactions. However, it will be understood that this is merely an example and that in general, a Merkle tree may contain any number of transactions depending on the number of transactions in the block. As shown, the Merkle tree is split into four portions 502a-d, shown as dashed boxes. Each portion 502 is linked by a respective common internal node (inner hash) 504 of the Merkle tree, shown as a solid circle. Each portion 502 represents eight transactions. In this example, the common internal node 504 belongs to the fourth level of the Merkle tree. According to the embodiments described herein, each respective portion 502 (or rather, the transactions forming the portion and / or the transactions representing the portion) is assigned to a respective validator for processing, e.g., for validating the transactions belonging to the respective portion 502.

[0130] FIG. 6 illustrates another example of how a Merkle tree can be split into portions 602. The Merkle tree in FIG. 6 is the same as that in FIG. 5. In this example, the Merkle tree is then split into eight portions 602a-h, each portion 602 representing four transactions. In this example, the common internal node 604 belongs to the third level of the Merkle tree. The Merkle trees in FIG. 5 and FIG. 6 could instead be split into more (e.g., 16) or fewer (e.g., 2) portions 502, 602. In general, a Merkle tree formed from a set of transactions of a block may be split into any number of portions 502, 602, each portion including a minimum of two transactions.

[0131] Assigning segments to each validation resource Following their identification, a subset of transactions are distributed across multiple validation resources, which may also be referred to as "validators" for easy reference. The multiple validators are illustrated in Figures 7 and 9 as Resources A through D (704a through 704d). The allocation process may be directed or influenced by a dedicated unit, such as, but not limited to, component 904 as illustrated in Figure 9.

[0132] Each validator (704a through 704d) may include one or more processing resources. Thus, at least one of the validators of the plurality of validators (704a through 704d) may be or include at least one of one or more virtual machines, one or more servers, one or more GPU-based computing resources, one or more threads, and / or one or more multi-processor systems, etc. Essentially, any of the plurality of validators may be comprised of any type or combination of processing resources, and each may validate one or more transactions that are related to each other by a segment of the block's Merkle tree. The plurality of validators (704a through 704d) and other system components form a collective resource or entity 700, which is referred to as a "(distributed) validation node."

[0133] Preferably, the distribution includes allocating each of the segments to a respective validator in the plurality of validators. · Manipulate one or more transactions that make up the assigned segment; Validate one or more transactions to verify that they comply with the blockchain protocol; and / or Validate that it can be identified in an existing repository, such as a blockchain ledger or database of known, registered, or spent transactions. The arrangement may be configured as follows.

[0134] The activity of the validators and the allocation of subsets to different validators may be directed by a controller. Figure 7 shows a controller 702 assigning subsets of transactions A through D for each tree segment to validators 704a through 704d, respectively. The system-level controller 702 coordinates the activity of systems or devices 704a through 704d in the distributed validation node and may control or influence tasks such as identifying tree segments from the block's Merkle tree, allocating the identified segments to each validator, reordering the validated tree segments into the complete Merkle tree for the block, and / or ordering the transactions within the reconstructed block.

[0135] One or more of these validators may include at least one coordinating entity arranged to act as a controller at the validator level. Thus, any or all of the validators 704a-704d may include at least one controller component of their own. This lower-level controller may influence or direct operations such as the assignment of tasks or subtasks to one or more processing resources within the validator, the reconfiguration of the Merkle tree for a given segment, or interactions with other system components, e.g., other validators or higher-level controllers, UTXO pools, wallets, etc. The processing resources may themselves then be further decomposed into smaller systems, one or more of which may include a controller and one or more processing resources of their own. In this way, the system may include a hierarchical architecture in which segment validation is performed by a validation entity that includes one or more processing resources for performing validation tasks, and one or more controllers for coordinating the activities of the processors and performing inter-component communication.

[0136] In embodiments where the validator includes multiple processing resources, the validator may divide the assigned segment into smaller segments. The validator's controller may then distribute the sub-segments over the processors under its control. In this manner, the validation process may be implemented in a hierarchical and distributed manner.

[0137] This hierarchical decomposition can also be extended to the transaction level, where validation can be further decomposed into sub-processes or tasks on a per-transaction basis, rather than at the tree segment level. In this approach, validation of individual transactions is decomposed into sub-tasks that are distributed on different machines, or different threads running on the same or different machines. These processes can be queued so that when a thread becomes available, another transaction or task can be assigned to the thread.

[0138] Thus, the present disclosure allows many transactions to be processed simultaneously, with the only limitation being the number of hardware available to form distributed validation nodes, rather than the available processing speed that is the bottleneck as in conventional techniques. This allows blockchain processing systems to be scaled horizontally without requiring modifications to the underlying protocol of the blockchain network.

[0139] This disclosure therefore presents a significant departure from conventional approaches to validation, which are described in more detail with reference to Figures 1 and 2 in the following section entitled "Exemplary Technical Environment for Implementation of Exemplary Embodiments of the Disclosure." As described, conventional approaches involve the conventional view that a block is validated as an entire entity, and that the validation node (see 104 in Figure 1) is a single computing unit. In contrast, embodiments of the present disclosure divide the Merkle tree into multiple segments that are fed to different validators (704a to 704d in Figures 7 and 9), each of which can be further divided to increase the degree of distribution involved.

[0140] Still further, by dividing each block into segments based on its Merkle tree, embodiments of the present disclosure allow validators to access, download, and process small portions of a block rather than the entire block. Recall that transactions within each segment hash up (in pairs) to a single root value. This means that segments can be validated using only the relevant transactions required, rather than the entire block being downloaded, stored, and processed as a whole. As protocols such as Bitcoin SV allow for the scaling of block sizes and the inclusion of large blocks in the ledger, the traditional model of downloading the entire block becomes a bottleneck. Embodiments of the present disclosure eliminate this challenge to blockchain scalability by allowing individual validators to receive and process only the (smaller) portions relevant to them. This results in faster overall validation times, improved blockchain networks, and improved applications running on the blockchain.

[0141] Additionally, embodiments support and facilitate the use of SPV processes and resources because such SPV involves local validation of only the portion of the Merkle tree that is of interest to a given party. Thus, the pruning nature of SPV techniques makes them ideal for use in conjunction with embodiments of the present disclosure. In an SPV context, validators may be given only the portion of the block data they need, i.e., the block header or segment root node and associated transactions.

[0142] When each validator performs its checks and validates the segments it has processed, the block can be guaranteed to be valid due to the hashing mechanism used to generate the tree.

[0143] Load balancing among multiple validators Load balancing techniques and systems are known in the art and are arranged to distribute tasks evenly among multiple resources to increase efficiency. The objective is to minimize the risk that some processing resources will be idle and others will be overloaded, resulting in poor performance and even failure. Load balancing is therefore important in ensuring the overall system resilience and its performance and efficiency. Embodiments of the present disclosure may utilize any known load balancing technique, such as, for example, static or dynamic load balancing. Additionally or alternatively, the load balancing approaches disclosed herein may be used to advantage.

[0144] As noted above, embodiments of the present disclosure may use an indexing system in the allocation of block segments to each validator. Preferably, this is a binary indexing system. In this preferred system, each validator is assigned a binary label or identifier. Each identifier is four digits long, with the first validator identified as 0000, the next validator identified as 0001, the next validator identified as 0010, and so on. Notably, a four-digit identifier allows for 256 possible validator IDs, with the last validator identified as 1111 (i.e., the validator number is 255 in decimal).

[0145] When a tree segment needs to be assigned to a validator, the first four digits of the double hash (i.e., the segment hash of the tree segment) can be used to determine which validator will process the segment. The Merkle root is generated by hashing together pairs of transaction IDs (TxIDs) from blocks to generate each internal node (or internal hash) of the Merkle tree, and then hashing adjacent internal hashes repeatedly until a single hash is finally reached. This double-hashed Merkle root provides an efficient, fast, and secure validation mechanism. It also provides the advantage that in the present context, the double hash generates random binary numbers. Each internal hash, including each segment hash, is itself a double hash. Thus, we can take the first x leading digits of the segment hash as the assignment index. A hash with four leading zeros would result in the tree segment being assigned to the validator with ID 0000, a hash with leading digits 0001 would result in the validator with ID 0001, and so on. The random generation of the double hash ensures a random distribution of tree segments to validators.

[0146] Double hashing is typically used when generating Merkle trees, but not required in all instances; instead, only single hashing may be used. In practice, any number of hash operations will produce a random binary number. Load balancing tasks may be performed by a dedicated system component, shown in FIG. 9 as 905, or may be provided elsewhere in system 700 or in association with and communication with system 700.

[0147] Distributed download or reception of blocks According to some embodiments, the allocation of segments of a block Merkle tree to different validators may be used to provide a faster and more efficient process for downloading some or all of a block of transactions. Here, we may use the term "download" for convenience, but the disclosure is not so limited and one or more of the processors / validators may obtain the data via other means, for example by receiving transmission data from a transmission resource on a network such as the Internet or a VLAN.

[0148] Each validator is assigned a segment of the Merkle tree based, for example, on an assignment index as described above. Any given validator then operates to download the set of transactions that form its assigned tree segment. This may involve downloading the set of transactions from the blockchain itself (e.g., from a blockchain node) or from a different resource or entity, such as a third-party service provider. The set of transactions may be downloaded to the validator's internal memory or to a shared storage location, such as a shared drive on the cloud. In some embodiments, the validator may receive the data in the form of one or more data packets sent to a multicast address to which the validator subscribes. This may be an IPv6 multicast address as known in the art. One, some, or all of the validators may subscribe to the multicast address. In some embodiments, a subset of the validators may subscribe to different, respective multicast addresses, such that transactions for different segments may be assigned to groups of validators sharing a common multicast address.

[0149] A distributed node may need a complete block, i.e., the entire set of transactions that form the block. In that case, each validator that has been assigned a tree segment downloads a subset of the transactions that form the segment. In other scenarios, a distributed node may only need a specific portion of a block. In that case, only some of the validators may need to download their respective subsets of transactions to obtain the desired transactions.

[0150] Downloading a block (or a portion of a block) in this manner results in a faster overall download, since each validator only needs to process a subset of the transactions of the entire set of transactions that form the block. This contrasts with traditional block downloads, where a given entity (e.g., a full node) must download the entire block, e.g., by downloading each transaction in the order in which they appear in the block. A block is then downloaded in parallel by multiple validators. A single block may contain tens of thousands, if not orders of magnitude, of transactions. Downloading this number of transactions by a single entity would consume significant resources and take a significant amount of time. The computational load is distributed among the validators, such that each individual validator consumes only a small fraction of the processing resources. Similarly, the overall time it takes to download a block is reduced.

[0151] As described, each validator may download a subset of the transactions. The subsets may then be combined to reconstruct the block in a single storage location. (A "single storage location" may mean either a storage resource that is a self-contained entity or multiple associated storage resources that form a collective entity). To do so, the individual validators may transmit their respective subsets to a central controller of distributed nodes that is configured to arrange the transactions in the correct order. For this purpose, segment hashes (i.e., hashes that link tree segments) may be utilized. For example, a mapping of segment hashes to their positions in the Merkle tree, e.g., from left to right as they appear in the Merkle tree, may be maintained. The subsets of transactions may then be arranged in order (e.g., from first to last) based on the corresponding segment hashes.

[0152] In some embodiments, an individual validator (or the entire distributed node) may verify that the correct transactions have been downloaded (or that the transactions have been downloaded correctly) by reconstructing the Merkle tree. After downloading a subset of transactions, the validator may generate a candidate segment hash based on those transactions. The candidate segment hash is constructed by hashing a pair of TxIDs to generate their respective internal hashes, and repeatedly hashing the pair of internal hashes until a candidate segment hash is generated. The level of the Merkle tree to which the candidate segment hash belongs depends on the number of tree segments the Merkle tree is divided into. The validator may verify that the candidate segment hash is a hash of the Merkle tree. If the hashes do not match, an error occurred during download. In some examples, each validator may generate a candidate segment hash and send it to the controller to perform the validation. As another example, a candidate block Merkle root may be generated based on the entire set of downloaded transactions. Again, the candidate Merkle root should match the actual block Merkle root (i.e., the Merkle root stored in the block) if the block was downloaded correctly.

[0153] In some cases, validators may validate the downloaded transactions using the techniques described above; that is, each validator is assigned a tree segment, downloads a corresponding subset of transactions, and validates those transactions. In other cases, validators may not necessarily validate transactions, but simply download them for later use, e.g., to send to a third party.

[0154] Decentralized UTXO Pool Preferably, each validator 704 forming part of a distributed validation node has its own repository (pool) for generating, storing and / or maintaining unspent transaction outputs (UTXOS). It acts as a UTXO pool providing a record of unspent or unspent outputs associated with blockchain transactions. Thus, each validator's UTXO pool is based on and constructed from transactions assigned by the controller in terms of Merkle tree segments. In one embodiment, this may be a (graph) database containing data related to unspent UTXOs of transactions assigned to a given validator for processing. For each UTXO, when a new Merkle tree segment is assigned, a record in the database is created that the validator will recognize. Thus, from the perspective of the distributed validation node, the UTXO pool is not one single pool, but rather consists of several different UTXO pools, each containing a different set of UTXOs provided at or on different validators. Thus, the UTXO pool for a node is distributed both in terms of the data and also in terms of the resources to store and / or process it.

[0155] This is a significant departure from the traditional UTXO model, where each full node in the network has a copy of a UTXO pool that tracks all UTXOs on the blockchain. In contrast, the present disclosure distributes the UTXO pool across multiple validation resources, each with a UTXO pool that is a subset of the blockchain's entire UTXO set. Each validator's UTXO pool contains the UTXOs for transactions that make up the subportion of the Merkle tree that it is responsible for validating.

[0156] Following such an approach, it may be implemented in a manner similar to a SQL transaction log in that every time a new block needs to be validated, all commands, events, and items related to the database are logged. The term "database log" is used herein to avoid confusion arising from the use of the term "transaction" as known in the context of blockchain, but we use the term "database log" to include terms such as "transaction journal", "transaction log", and the like. In essence, a database log may be interpreted as a history of actions performed by a database management system, providing a record of all changes that have occurred with respect to the state of the database, as known in the field of computer-based databases (see https: / / en.wikipedia.org / wiki / Transaction_log).

[0157] The use of an ordered, historical database log means that the entire UTXO pool can be constructed by running the log's history in the original order. Advantageously, this ensures that a copy of the database can be (re)generated whenever necessary, and no separate copies of the data need to be stored. Data integrity is ensured and fewer storage resources are required. Each UTXO pool can be stored, maintained and processed separately. Advantageously, SPV techniques also facilitate the creation of a separate UTXO database for each validator, provided that they operate on pruned parts of the Merkle tree.

[0158] Transactions (TX) in the database can be structured in a variety of ways, but a particularly advantageous approach is to structure them according to an identifier that comprises a concatenation of a block ID and a transaction ID (block_ID ll TxID). Both the block ID and the transaction ID are 256-bit hashes, resulting in a secure, collision-free 512-bit concatenated field structure.

[0159] Structuring transactions in this manner provides a fast and efficient lookup mechanism. Transactions can be sorted by block_ID such that all transactions with the same block_ID are placed together in the database. Thus, when a validator needs a transaction (e.g., to see if the transaction's UTXO has been spent), the validator can locate the transaction in the database by first looking up the corresponding block_ID and then the corresponding TxID. This has the effect that the search is limited to the relevant section of the database. This efficiency reduces the time, processing resources, and energy required for a lookup operation, providing a significant improvement over the prior art.

[0160] A flag or marker is associated with each UTXO in a validator's pool to indicate whether the UTXO is locked or unlocked. For convenience, we sometimes refer to this flag or marker as the "lock flag." When a UTXO is marked "locked," it serves as an indicator to validators in the group (i.e. elsewhere in the distributed validation nodes) that this UTXO is not available for consumption. Conversely, when a UTXO is marked "unlocked," it serves as an indicator to validators that the UTXO may be spent. This therefore allows validators assigned to verify a transaction that spends a UTXO to signal to their peers that the UTXO has been redeemed and is therefore no longer available, assuming the transaction is proven valid. The "locked" state means that spending is permitted, whereas the "unlocked" state means that spending is prohibited.

[0161] This locked / unlocked flag can be a simple small binary marker, such as "0" for "locked" and "1" for "unlocked." The marker mechanism is used internally by validators in the distributed node system, and the marker is removed from transactions prior to interacting with the blockchain to ensure that the transaction complies with the protocol rules.

[0162] In use, a validator checks the outputs in each new transaction it is assigned by the controller. Any unspent outputs (UTXOs) are added to the validator's UTXO pool, i.e., recorded as an entry in the UTXO database. In the associated database record for each new UTXO, the lock flag is set to "unlocked".

[0163] When a validator sees that a UTXO has been consumed by a newly allocated transaction, it sends a message to all other validators in the validator pool informing them that this UTXO should also be locked in their pool. Essentially, the validator sends a communication to its peers indicating that it saw a spend with a transaction with a particular hash ID at a particular time. Other validators do not need to receive the full data for the entire transaction, since the transaction hash and the list of UTXOs it consumes are enough for them to identify the transaction of interest and mark it as locked in their own database. Upon receiving the message, each receiving validator checks if the UTXO of interest is in their UTXO pool. If so, the state of the lock flag is changed to "locked". Thus, the lock prevents the validator from allowing the same UTXO to be consumed in a subsequent transaction. If a new transaction attempts to consume the same UTXO, the lock flag check indicates that the second spend attempt should be ignored. If the validator that sent the message determines that the validation failed and therefore the UTXO has not been spent, a further message to that effect may be sent to the validator's peers indicating that the lock flag for the UTXO should be changed to the "unclocked" state. After valid consumption is complete, a message to that effect may be sent and the locked UTXO may be removed from the associated UTXO pool.

[0164] In the embodiment described above, each validator has a single UTXO pool, which contains the UTXOs of all transactions in all of the tree segments assigned to it. However, in an alternative approach, the UTXO pool maintained by each validator may be divided / split / compartmentalized / formed into multiple subpools, one for each block. In this way, the single UTXO pool may be organized into a logical hierarchy. In yet another approach, one or more validators may be arranged in association with respective multiple UTXO pools, each of which relates to UTXOs for a set of one or more tree segments. Thus, in some embodiments, a validator may organize UTXOs into separate UTXO pools for different individual tree segments, or according to predefined criteria, such as types of tree segments, or tree segments that are within a given range. In such an embodiment, the identifier may include a block ID that may be used to narrow the search for the relevant UTXO pool, and the search may then proceed within that pool to (attempt to) identify the relevant transaction by its TxID. Those skilled in the art will appreciate that in some embodiments, a mixture of these approaches may be used, i.e., one or more validators within a distributed node may employ a single UTXO pool approach, while others are arranged to use multiple, separate UTXO pools, and / or UTXO pools organized into sub-pools, or any combination thereof.

[0165] This provides protection against "double spend" situations where a party attempts to spend the same UTXO twice. It provides a simple and secure locking mechanism that works efficiently and quickly, regardless of the number or location of validators in the system, and maintains the security and integrity of transactions implemented on the blockchain.

[0166] Distributed Mining We will now describe, by way of illustration and not limitation, an exemplary embodiment of another aspect of the present disclosure with reference to the accompanying Figures 14 to 19 and enumerated clause set 7. The distributed mining features disclosed in this section may be implemented in hardware and / or software to form a (distributed) mining component 2000 as shown in the system of Figure 20.

[0167] In summary, embodiments of this aspect of the disclosure may include techniques for authorizing, controlling, establishing authorization, or otherwise formulating a request for the generation of a proof of work (PoW) or proof of stake (PoS) for a blockchain block that includes a particular plurality (set) of transactions. Hereinafter, we use the terms proof of work or PoW for convenience, but the disclosure is not intended to be limited thereby, and embodiments including other alternatives to proof of stake (PoS) or PoW are within the scope of the disclosure. Preferably, the set includes a transaction that includes at least a portion of control data that the proof of work provider can use to determine whether the requested PoW effort should be initiated, performed, and / or fulfilled. This may be referred to as a "control transaction" (TX0). The request may also include data that the PoW provider can use to determine that TX0 is included in the plurality of transactions. In a preferred embodiment, this may include at least one or more of a Merkle proof, a control transaction (TX0), and / or the root of a Merkle tree representing the set of transactions. The PoW provider may process the request in conjunction with at least one pre-specified rule, criterion, or requirement to ensure that a) the control transaction is included in the set and / or b) contains at least one portion of control data that may be used, and determine whether the work of the requested PoW effort should be initiated, performed, and / or fulfilled.

[0168] In combination, PoW requesters and PoW providers may provide distributed blockchain mining nodes. Embodiments provide the ability to separate, distribute, and parallelize the various functions and tasks involved in validating and / or mining blockchain transactions.

[0169] Traditionally, nodes in a blockchain network maintain a global ledger of all transactions on the blockchain. The global ledger is a distributed ledger, and each node may store a full or partial copy of the global ledger. Transactions by nodes that affect the global ledger are verified by other nodes, thereby maintaining the validity and integrity of the global ledger. Those skilled in the art will understand the details of implementing and operating a blockchain network, such as one that uses the Bitcoin protocol.

[0170] Each transaction typically has one or more inputs and one or more outputs. Scripts embedded in the inputs and outputs specify how the transaction's outputs can be accessed and by whom. A transaction's output may be an address to which control of value is transferred as a result of the transaction. That value is then associated with that output address as an unspent transaction output (UTXO). Subsequent transactions may then reference that address as an input to gain control or ownership of that value.

[0171] In our example using the Bitcoin network and protocol as described above, mining nodes participate in a race to create the next block in the blockchain. To assemble a block, miners build the block as a set of transactions from a pool of unconfirmed transactions ("mempool"). The miner then attempts to complete a Proof of Work (PoW) puzzle on the assembled block. If the miner manages to complete the PoW prior to receiving notification that other miners have successfully generated their own blocks and completed the PoW, the miner propagates by sending the block to peer nodes on the network. Those nodes validate the block and then further send it to other nodes on the network. If the miner receives notification that another block is completed prior to finishing its PoW, the miner abandons its work and begins attempting to build the next block.

[0172] Thus, fast propagation of blocks helps to avoid wasted effort (and associated energy) on behalf of miners and validation nodes. By providing a solution that allows faster validation and thus propagation of blocks, the present invention provides enhanced network performance. It reduces the required computation time and effort, and therefore the amount of energy required for the network. This provides a more efficient network in terms of resources and time. This ultimately provides an improved (blockchain) network.

[0173] Distributed mining - detailed explanation: We next present a detailed description of this aspect of the disclosure in which mining tasks and functions are separated from other operations typically associated with or performed by "full nodes" on a blockchain network, allowing mining tasks to be distributed and parallelized across different resources.

[0174] As known in the art and illustrated in FIG. 15, transactions must be validated before they can be written to the blockchain. Network nodes (miners) perform the task of verifying that each transaction is valid, and invalid transactions are rejected from the network. A software client installed on the node performs this validation task on unspent transactions (UTXOs) by executing lock and unlock scripts. If the execution of the lock and unlock scripts evaluates to TRUE, the transaction is valid and the transaction is written to the blockchain. Thus, for a transaction to be appended to the blockchain ledger, it must i) be validated by the first node that received the transaction--if the transaction is valid, the node relays it to other nodes in the network, ii) be added to a new block constructed by miners, and iii) be mined.

[0175] Traditionally, to mine a block, a mining node selects an unconfirmed transaction from the mempool, generates a coinbase transaction for that block, and forms a candidate block by pairwise hashing all transactions to form a Merkle tree structure with a Merkle (hash) root. The Merkle tree represents all transactions in the candidate block. The miner also determines the version number and current epoch time, and takes the hash of the latest block on the longest chain of the ledger. The Merkle root and other values ​​are concatenated to form a block message BM.

[0176] The miner then attempts to solve the PoW challenge by finding an integer value (a nonce) that, when appended to the block message and generating a complete block header, produces a hash containing a specified number of leading zeros. If this attempt fails to produce a qualifying hash, the miner repeats the calculation using a different nonce. If it finds a nonce that successfully produces the required number of leading zeros, it submits the candidate block, including its complete header, to the blockchain network to be verified by other nodes. The nonce thus provides proof that the miner has expended energy, effort, and time in finding a solution to the challenge.

[0177] Thus, in the conventional approach, miners select transactions, generate candidate blocks, generate PoW and complete block headers. In contrast to the conventional approach where these functions are performed by the same entity, in the presently disclosed approach, these functions are distributed and parallelized among different processing entities. This allows for the verification and enforcement of pre-specified authorization criteria prior to performing and / or completing the PoW calculation.

[0178] In a preferred embodiment, the Merkle structure of blocks allows various functions of the validation and mining process to be separated and handled independently by different computing resources. These resources may be located anywhere in the world and may operate in isolation or in combination with each other. These resources may collectively form "distributed nodes," with different node components specializing in one or more functions related to validating and / or mining blockchain transactions and blocks.

[0179] The disclosed approach involves separating the Proof-of-Work (PoW) computation from the validation effort, transaction processing, and other tasks typically associated with traditional full-node mining. This means that PoW providers do not need to perform any validation tasks, and conversely, validating nodes can offload the PoW computation to expert, dedicated resources that can be located anywhere in the world.

[0180] Thus, the present disclosure represents a significant departure from conventional approaches to validation, which are described in more detail with reference to FIGS. 1 and 2 in the section of this specification entitled "Exemplary Technical Environment for Implementation of Exemplary Embodiments of the Present Disclosure."

[0181] We now refer to Fig. 14 to Fig. 19, which illustrate an embodiment of this aspect. In this approach, as shown in Fig. 14 and Fig. 19, a distributed mining node 14.1000 is provided. Alternatively, it may be referred to as a "PoW provider". The PoW provider 14.1000 includes at least one dedicated PoW calculator, which may also be referred to as a "hash machine" or ASIC. The PoW calculator comprises one or more integrated circuit chips (shown in the figures as 19.1100a, 19.1100b, 19.1100c) arranged to mine cryptocurrency according to an associated protocol. The calculators 19.1100a to 19.1100c may be arranged to mine Bitcoin using the SHA-256 algorithm. Other algorithms may be employed for other cryptocurrencies, such as ETHASH for mining Ethereum.

[0182] As shown in FIG. 14 and FIG. 19, the PoW provider 1000 communicates with a PoW request resource 14.1300 arranged to send a request to the PoW provider to request the generation of a valid nonce (or preferably a complete block header) for a given number of transactions. The term "request" as used herein is intended to include "instruct" and / or "initiate." Thus, a request may include or be the instruction or initiation of PoW generation. For simplicity, we will use the term "request."

[0183] In alternative terms, the PoW request resource 14.1300 may be referred to as a validation and / or mining resource or node, or simply as a "PoW requester." In a preferred embodiment, the request resource 14.1300 may be distributed, facilitating parallelization of validation and / or mining operations. The requester 14.1300 may be substantially as described herein and illustrated in FIG. 7 with reference to the validation node 700. However, in other embodiments, the requesting entity may take any suitable alternative form and may be any entity that requires the generation of PoW (nonce or block header).

[0184] To request a PoW, the PoW requester 14.1300 sends at least a portion of the information necessary to construct a block header for a candidate block of transactions to the PoW provider 1000. The information sent by the PoW requester may be referred to as a "block template" or "block message" and may include at least the root for a Merkle tree representing all transactions in the block. The block template may also include other information used by the PoW provider to generate a block header for the transaction, such as a version number, a previous block hash, a difficulty target, and / or a timestamp, or one or more of these data items may be calculated or obtained by the PoW provider. For example, the PoW provider may obtain, retrieve, or select a version number, or obtain a previous block hash from the network. Note that the PoW provider does not need to receive the entire block from the PoW requester, but simply needs enough minimal information specified by the protocol to attempt to solve the PoW challenge in combination with the selected nonce. This means, however, that the PoW requester must receive a Merkle root for the transactions it wants to include in the block, as this cannot be determined by the PoW provider.

[0185] In some embodiments, the PoW provider may include a controller 19.1200 configured to coordinate the activities of the PoW calculator. In some embodiments, the functions of the PoW provider 14.1000 and / or the controller 19.1200 may be implemented in an ASIC or hash machine. Although FIG. 19 shows the controller as part of the same entity as the PoW calculator, this should not be interpreted as necessarily implying that the controller and the ASIC are implemented in the same hardware or device. They may be provided as physically separate devices, but may be logically or electronically associated with each other and / or communicate with each other to form the PoW provider 14.1000.

[0186] The controller 19.1200 may perform operations such as selecting a nonce or range of nonce for a given calculator (19.1100a to 19.1100c) to operate on, obtaining any information required for PoW calculation not provided by the requester, and / or checking authorization criteria as described below. Calculators 19.1100a, 19.1100b, and 19.1100c may be arranged to operate with different nonce ranges for the same candidate block. However, in some embodiments, the PoW request resource may allocate the nonce range, and the functions of the PoW provider 14.1000 and / or the controller 19.1200 may be implemented in the ASIC 19.1100. In yet other embodiments, the PoW requester may allocate the nonce range.

[0187] In addition to the block template, the PoW requester may provide further data to the PoW provider. This could be any kind of data that the PoW provider needs to verify the achievement or otherwise of at least one prerequisite rule or criterion. This at least one pre-specified rule or criterion is referred to as the control criterion below for ease of reference. The control criterion must be met before the PoW provider starts, continues, and / or completes its PoW computation work. If the (control) data provided to the PoW provider meets the control criterion, the request for PoW generation may be considered by the PoW provider as authorized, legitimate, and / or permitted. The control criterion may be pre-determined in, by, or on behalf of the PoW provider. It may be agreed between the PoW requester and the PoW provider, or the respective associated entities.

[0188] In a preferred implementation, the control data is included in the transaction that forms part of the block on which the PoW is calculated. The control data can be evaluated or checked by the PoW provider against control criteria to ensure pre-authorization or agreement between the parties, or the legitimacy of the request from an authorized requester. For example, the PoW provider may require that the block contains a transaction (TX0) that transfers a portion of the cryptocurrency to a specific address. If this criterion is not met, the PoW request is considered unauthorized and does not attempt to calculate the required PoW. To assist in the checking process, the PoW requester may provide, as part of the data it sends to the PoW provider, a proof in the form of an SPV that the PoW provider can use to verify that the transfer to the pre-specified address will occur if the block is successfully mined and added to the blockchain.

[0189] In another example, a prerequisite may be that TX0 is signed by an authorized party.

[0190] In another example, the control criterion may be that TX0 contains metadata that the PoW provider can check and verify. For example, the metadata may include secret information such as a cryptographic key, or a password / code, or some other data that can be used to verify that the PoW provider is authorized or permitted to generate PoW for or on behalf of the requester.

[0191] In some implementations, TX0 may also include instructions on where the PoW should be sent. For example, it may be sent back to the PoW requester by default, or to another entity as specified in the metadata or some other part of the transaction. The metadata may also include a flag or other identifier to dictate which destination the PoW should be sent to, or which party is authorizing the PoW request. The flag or identifier or password, etc. may be known only to the PoW provider and / or the requester. This may be advantageous in scenarios where the PoW provider may receive requests from multiple unrelated requesters.

[0192] In some cases, inspection of TX0 may trigger an event by the PoW provider. For example, data in the transaction may cause a balance or account to be updated because the PoW provider may identify the request as being received from a particular authorized requester who has an account with the PoW provider. Additionally or alternatively, the PoW provider may not wish to provide more than a specified number of PoWs to a given requester in a given period of time, and may use TX0 to determine whether a threshold condition has been met. Additionally or alternatively, an alarm, alert, or other communication may be initiated by the PoW provider based on the data provided in TX0.

[0193] In yet another example, the control criteria could be that TX0 spends a sufficient amount of cryptocurrency, possibly to a pre-specified address, and the PoW could check TX0's output to ensure that the control criteria are met.

[0194] In still other examples, the TX0 input could be inspected to ensure that funds are not transferred and received from illegitimate or unauthorized sources. For example, if a PoW provider does not want to accept requests from a particular party, for example because it is known or suspected to be associated with illegal activities, the PoW provider could decline to generate the requested PoW. Thus, the present disclosure can provide a solution to ensure compliance with legal or regulatory requirements and provide measures to prevent fraudulent / criminal activities.

[0195] In short, the present invention provides an authorization mechanism for parallelizing and distributing PoW computation in a manner that is efficient and does not require trust between participating parties. The control criteria can be checked separately from, and possibly in parallel with, the PoW computation. In other words, when a request is received from a PoW requester, the PoW provider can start working on the PoW computation at substantially the same time that the PoW provider starts checking the received data against the control criteria. If the received data cannot meet the control criteria, the PoW provider can stop working on the PoW computation, or if it does meet the criteria, allow it to continue. This has advantages under the assumption that the request is legitimate and authorized, and the PoW can be returned to the requester / designated destination as quickly as possible. This can provide advantages when there are strict time constraints, since blockchain mining involves a race to submit the first valid block to the network.

[0196] In the usage example: 17 and 18, we will now describe how the present disclosure may be put into practice according to one exemplary embodiment of this aspect. From the perspective of the PoW requester in Figure 13: · Step S1300: The PoW requester 1300 selects an unconfirmed transaction (TX) from its mempool and generates a coinbase transaction (if required or permitted by the relevant protocol). In other cases, it may receive a set of transactions from another source that provides the transactions to the PoW requester. The PoW requester also generates or obtains at least one transaction TX0 arranged to meet authorization requirements specified by the PoW provider or an associated entity that authorizes and / or directs the activities of the PoW provider. In our illustrative example, the requirement is that TX0 includes at least one output that transfers assets to at least one specified address. Step S1320: The PoW requester (or an associated resource) pairwise hashes all transactions to generate a Merkle tree for the set of transactions. The Merkle tree has a root R. Step S1330: In some embodiments, the PoW requester may generate a block message BM (template) by concatenating the root R with other information required for generating the block header, such as a version number, a previous block hash, a difficulty target, and / or a timestamp. In another embodiment, at least one, some, or all of these values ​​may be obtained, derived, or generated by the PoW provider instead of being provided by the PoW requester. Step 1340: The PoW requester sends the root R (potentially as part of the block message BM) to the PoW provider. The validator also sends a Merkle proof that the PoW can use to prove that TX0 is included in a block of transactions represented by the tree with R as the root. This Merkle proof contains the part of the tree that, when hashed together pairwise with TX0, allows the prover to trace back to the root. In this way, the PoW requester only needs to send the root R, the authorization transaction TX0, and a minimal set of transactions that can be used to generate a path from TX0 to R to the PoW provider. The PoW provider can perform an SPV-style validation to check that the PoW requester meets the authorization criteria (Figure 19).

[0197] From the perspective of the PoW provider in Figure 18: Step S1400: The PoW provider 1000 receives a Merkle root for a set of transactions from the PoW requester. These transactions form the body of the block for which the PoW should generate PoW on behalf of the PoW requester. As described above, the set of transactions may include one or more transactions selected from the mempool, at least one authorization transaction TX0, and, if relevant, a coinbase transaction. The Merkle root R may be received from the PoW requester as part of a complete or incomplete block message. The PoW provider also receives at least one transaction TX0 arranged to satisfy at least one authorization requirement, and a portion of the set of transactions that serves as a Merkle proof to verify that TX0 is included in the set. Step S1410: The PoW provider performs an SPV-style local verification using a Merkle proof to verify that TX0 is included in the set and checks that the PoW requester meets the authorization requirements. Step S1420: If the validation fails, the PoW is not authorized to continue the PoW calculation. This ends the process by instructing the PoW calculator not to start work on finding a valid nonce, or to stop if it has already started doing so. No block header is sent to the PoW requester. However, a warning, signal, or message may be sent to the PoW requester or another destination indicating that authorization for PoW generation has failed.

[0198] Alternatively, if the validation is successful, then they are authorized to continue with PoW generation. Step S1430: To generate PoW, the computer (19.1100a, 19.1100b or 19.1100c) selects or receives a nonce. This may be randomly generated or may be selected from a range of permitted nonces specified to the computer by the controller 1200. Step S1440: The computer concatenates the block message and the selected nonce. Note that if the PoW requester has not provided a complete block message, as described above, the PoW provider may retrieve, obtain, or generate any additional data required to generate the block header according to the relevant blockchain protocol. The concatenation of the block message and the nonce provides the block header BH. · Step S1450: The block header BH is then double hashed. Step S1460: The result of step S1450 is then compared against the difficulty target set by the protocol. If the block does not provide the prerequisite number of leading zeros, it cannot be added to the ledger, so another nonce is selected and the process returns to step S1430. Step S1470: However, if the selected nonce produces the required number of zeros, the block is validly mined and the block header, including the valid nonce, is sent to the PoW requester or another specified destination.

[0199] Although not shown, the PoW requester or another entity can then submit the block to the network for inclusion on-chain. Importantly, because the generation of PoW is outsourced to experts, PoW providers, the PoW requester can handle, delegate or collaborate on other tasks, such as validation work, in parallel with the PoW calculation. This provides technical improvements in transaction processing speed and resource efficiency.

[0200] advantage: Aspects of the present disclosure provide numerous advantages, including but not limited to the following: 1. The effort and cost of computing PoW may be delegated and outsourced by PoW requesters to any PoW providing service of their choice. 2. These may even be providers with whom the validator has no existing relationship. Instead, the relationship between the PoW requester and the PoW provider is governed by meeting at least one pre-specified criterion that serves as a pre-authorization to perform PoW work. In some implementations, the PoW requester sends a Merkle proof that the PoW provider can use to ensure that the necessary criteria have been met before starting the PoW computation work. 3. This allows an additional layer of pre-authorization to be built into the PoW process, since both the PoW requester and the PoW provider can prove that a candidate block contains transactions that meet pre-specified or agreed-upon conditions. If the block is successfully mined and the transaction is included in the blockchain, the transaction and its transfer of assets are immutably recorded. If the authorization criteria require the transfer to a specified address, the PoW provider can be assured that the desired transfer will occur if the block is written to the ledger. 4. Thus, meeting the pre-specified criteria is provably embedded in the data to be processed by the PoW provider, which is not transmitted separately from the PoW requester to the PoW provider, providing a more efficient solution compared to approaches involving separate communications. 5. As the solution allows for the distribution of mining and validation tasks, the transaction processing function is separated from the processing of block headers. Thus, the hash machine / ASIC components can be located in one or several locations, while transaction processing can be performed in other locations. The locations for different functions can be selected according to different needs, such as energy resources or network infrastructure. For example, PoW providers can be located in isolated locations that allow the use of renewable energy sources even with limited access to the Internet, since they only need to return small (80 byte) block headers to PoW requesters. Block headers can be transmitted using low bandwidth cellular. On the other hand, transaction processing can be performed in locations with good access to the Internet, such as major cities. At the same time, this allows for a more versatile and efficient distribution of tasks, including the use of sustainable, environmentally friendly energy sources. 6. Additional security may be provided in that TX0 is compared against control standards to ensure that only requests from legitimate requesters are processed. This may avoid exploitation by unauthorized parties, malicious parties such as attackers, and / or providing PoW work to parties potentially associated with undesirable or illegal activity, and thus participating in criminal activity. 7. Permissions and control techniques for blockchain mining are improved as requesters can identify themselves in a variety of ways via control data provided via TX0.

[0201] Exemplary Systems of Possible Embodiments Figures 7 and 9 illustrate an example system 700 for implementing at least some of the described embodiments, particularly the distributed validation aspects of the present disclosure. Figure 8 illustrates a flow chart of example steps that may be taken in (a high-level view of) the method of the present disclosure. Figure 20 is a more comprehensive diagram showing the system as a whole, including more components.

[0202] With respect to FIGS. 7 and 9 and the validation component, the system 700 may be a closed system in the sense that it may be associated with an organization and form part of a larger proprietary system. In such a case, its data, e.g., transactions, may be received from other components within the organization's wider system and the results and outputs may be sent to internal destinations. Additionally or alternatively, the system 700 may be arranged to interface with various entities, some or all of which may be located outside the organization. In such a case, the system 700 may be arranged to provide validation functionality as a service. For example, the system 700 may be arranged to interact with a blockchain network to obtain the data it needs. Additionally or alternatively, the system 700 may also interact with entities wishing to use its validation services. Thus, the activities of the system 700 may be solely internal with respect to a particular organization or entity, or may be open to interaction with external entities to provide validation services to other parties, or a combination of the two. Communications between other internal or external entities may be coordinated by one or more interfaces or communication components, shown in FIG.

[0203] As shown in Fig. 7 and Fig. 9, the system 700 includes a control entity 702 (or simply "controller") and a number of validation resources 704, also referred to herein simply as "validators". Although only four validators 701a-d are shown in Fig. 7, in general the system 700 may include any number of validators. Furthermore, although the controller 702 is shown in Fig. 7 and Fig. 9 as separate from the validators 704, it is not excluded that the controller 702 may include or be configured by one of the validators 704. As explained above, each validator may include one or more processing resources and include its own controller for coordinating its own internal activities. There are no technical or logical limitations to the hierarchical levels that may be implemented in this manner. However, Fig. 7 shows only one (top) level of such a hierarchy, for simplicity and ease of understanding.

[0204] As shown in FIG. 7, the controller 702 obtains a set of transactions. The transactions may be received across electronic channels or networks from a sending resource. The sender may be any entity, internal or external to the organization of the system, that desires to perform some kind of validation check, as described above. For example, this may be a full node on the blockchain network, such as node 104 in FIG. 1, or a digital wallet, or a merchant / SPV node that desires to perform local checks related to blockchain-implemented transfers made between parties. The interface 902 may facilitate the transmission of data between the system 700 and sources external to the system.

[0205] The transactions form or may form a block of transactions. The transactions may be obtained from a single resource (e.g., from a block of the blockchain) or from different resources (e.g., from one or more users, one or more blockchain nodes, etc.). The transactions may be obtained prior to their publication on the blockchain, i.e., before they are recorded in a block. Alternatively, the transactions may be obtained after they are recorded in the blockchain.

[0206] The controller 702 assigns a respective subset of the transactions to each validator 704 as described herein. Each subset of the transactions forms at least a portion of a respective portion of a Merkle tree generated based on the full set of transactions and is linked by a respective common internal node of the Merkle tree. In the example of FIG. 7, subset A of the transactions is assigned to validator A, subset B of the transactions is assigned to validator B, subset C of the transactions is assigned to validator C, and subset D of the transactions is assigned to validator D. Once the subsets of transactions are assigned, the validators 704 process their respective subsets. In some embodiments, this involves each validator 704 validating its respective subset of the transactions. To do this, the controller 702 may transmit the relevant transactions to each validator 704. The validators 704 may send a communication back to the controller 704 to indicate that each of their respective subsets of transactions is valid or that at least one transaction is not valid.

[0207] At least one, but preferably some or all, of the validators 704a-704d has access to its own UTXO pool, shown in Figure 9 as 901a-901d. This pool may include a storage facility such as a database as described above, and potentially an advantageous indexing structure may include a concatenation of a block ID and a transaction ID. While the pools are shown in Figure 9 as being contained within each validator, those skilled in the art will readily appreciate that they may also / alternatively be provided external to the validators but in communication with them.

[0208] In one or more embodiments, the disclosed process may include a block-level validation phase, in which incoming new blocks are checked against block-level criteria. Exemplary block-level criteria are described above and generally relate to characteristics or restrictions applicable to the block itself, as opposed to prescribed format requirements and transactions within the block. Examples include block size, block header structure or contents, and similar criteria. Such operations may be performed by the controller, or a component of the controller, or another system component.

[0209] In some embodiments, the method may further include a UTXO uniqueness module operable to evaluate whether each of the inputs to the transaction in the new block, i.e., each UTXO, is unique. If the same UTXO appears multiple times as an input in the new block, it indicates a potential double-spend problem, violating the UTXO uniqueness criteria. If the UTXO uniqueness module identifies a UTXO that is referenced multiple times among transaction inputs in the new block, it may output an error signal or other interrupt indicating that the block should be rejected.

[0210] Assuming that the new block is not rejected, i.e., all UTXO entries are unique, a Merkle tree segment may then be identified and its associated transactions allocated among a set of validators. The identification process may be performed by a component shown in FIG. 9, such as a segment identification unit 903. The allocation process may be performed by a segment allocation unit, shown in FIG. 9 as 904. The allocation unit 904 may employ any one of a number of possible allocation schemes to distribute block segments among the individual validators, but in an advantageous approach, the allocation scheme may be for the purpose of load balancing, as described above. The allocation unit 904 may include (or be in communication with) a load balancing unit 905. Although this is shown in FIG. 9 as a separate and associated component of the system, in other embodiments, the load balancing unit may be part of the allocation unit 904 or may be separate with respect to the controller 702. Any combination of components may be readily employed.

[0211] Individual validators validate transactions associated with the segments they receive against transaction-level validation criteria. No synchronization paradigm between validators is required as validators work independently to verify that their assigned transactions are valid. Each validator outputs a result validating its assigned transactions. These results are added or accumulated to ensure that all transactions in the segment are valid. If one of these validators identifies a non-compliant, i.e., invalid, transaction, the validator may issue an output, such as an interrupt or other signal, to indicate that there is an invalid transaction. The interrupt or signal may be sent to other validators or to a controller or another system component to immediately stop checking their respective transactions and not waste further resources validating transactions in the block to be rejected.

[0212] In some examples, the system may be arranged to check block-level criteria. This may be performed prior to assigning segments to validators, although it will be understood that the block-level validation stage may occur after, or in some cases in parallel with, transaction-level validation checks by the validators.

[0213] Reference is now made to Figure 8, which illustrates in flow chart form an example of a method for validating a block. A block contains multiple transactions, each transaction referencing one or more inputs, each input being a UXTO (except in the case of coinbase generation transactions). The method is implemented using suitable hardware and processor executable instructions within a node on a blockchain network.

[0214] In operation, the distributed validation node 700 receives new block data in step S801. This may be an entire block, or in the case of SPV-related validation, may include only the partial data necessary to perform the SPV check. We refer to this data as a "block" for convenience. The new block to be validated may be received from a mining node on the blockchain network that has generated the new block and completed the proof of work, or from a merchant node that wishes to perform the (SPV) check, or from a wallet, such as an SPV wallet. The new block may be received from another (non-mining) node in the network. In some examples, the distributed validation node 700 validates the block before forwarding it to any other nodes in the network. As described above, validating the new block may include verifying that the block meets certain protocol-based criteria and / or other criteria that may be specified and required within a given implementation.

[0215] In step S802, the system 700 identifies chunks of the Merkle tree of a block. In S803, the segments are distributed to multiple validators, which process respective subsets of the transactions substantially in parallel and independently of each other in S804. In S805, the validators signal to the controller whether the validation was successful or unsuccessful.

[0216] It should be noted that the term "processor" when used in connection with the description of parallel processors herein does not necessarily mean physically distinct microprocessors, but may include any hardware or software implementation that allows for parallel processing resources that can perform processor functions independently and in parallel. A parallel processor may include one processor with multiple cores. In some cases, a parallel processor may comprise multiple separate processing units. Parallel processors may or may not share physical memory. Each parallel processor, however implemented, has a software or hardware mechanism for signaling, such as outputting a signal in response to identifying an invalid transaction. A parallel processor implementation also includes providing the necessary data transfer mechanisms in software and / or hardware that route assigned transaction data to the respective processor for local processing.

[0217] With reference to Fig. 20, the system 700 of Figs. 7 and 9 forms part or a component of a larger and broader system 2000. In addition to the system 700 described above, the system 2000 includes: 1) a distributed mining component 19.1000 substantially as described in the section entitled "Distributed Mining" herein, shown in Figures 14 through 19, and as illustrated in enumerated clause set 7; 2) a record storage component 2100 substantially as described in the section entitled "Records" herein and illustrated in FIGS. 14-19 and as illustrated in enumerated clause set 6; 3) a resource allocation component 1100 substantially as described in the section entitled "UTXO Database" herein, shown in FIGS. 14 through 19, and illustrated in enumerated clause set 5.

[0218] As with system 700, the entire system 2000 may be a closed system owned or controlled by a single entity or related group of entities, or may comprise components controlled by or associated with completely separate, unrelated entities. The resources (hardware and software) may be located anywhere or take any form. However, they may communicate with each other, for example, via telecommunications links, LANs, WANs, or the public Internet.

[0219] For example, validation resources 704a-704d forming part of the distributed validation component 700 may wish to perform PoW calculations using the distributed mining component 19.000. The validation component would thus become a PoW requester 14.1300 in Figure 19. Similarly, resources 704a-704d or controller 702 in Figure 9 may interact with UTXO database 1100 or record storage mechanism 2100 to delegate some of their functions to other system components.

[0220] This provides the advantage that each system component can specialize in handling its own part of the system functionality, which in turn improves efficiency within each component since it can provide designated dedicated services.

[0221] Although only one of each component type is shown in Figure 20, in practice multiple instances of each or some of the components may be provided. Also, while Figure 20 shows each component as separate, in some embodiments one or more components may form a subcomponent or subsystem of another component. For example, the resource allocation component 1100 and / or the record storage component 2100 may be provided within the validator resource 704a or the validation system 700. Thus, the components of the system 2000 may be provided as internal or external to each other, but may be in communication therewith.

[0222] Enumerated clauses The embodiments of various aspects of the present disclosure are presented in the following enumerated clauses for illustrative purposes and without limitation. The features enumerated, described or claimed herein are not intended to be exclusive to any particular aspect of the present disclosure. The features mentioned below with respect to one set of enumerated clauses or aspects of the present disclosure are not intended to be limited in such respect, and any features mentioned herein with respect to one set of clauses / aspects / embodiments can be incorporated into one or more of other sets of clauses / aspects / embodiments.

[0223] Clause Set 1: Clause 1.1: A computer-implemented method of processing (e.g., validating) at least a portion of a blockchain block that includes a plurality of blockchain transactions and the root of a Merkle tree for the block.

[0224] Preferably, the method also comprises: Allocating respective subsets of the blockchain transactions to a plurality of processing (e.g., validation) resources, each respective subset may provide a respective portion of a Merkle tree and may be represented by a respective interior node of the Merkle tree; and / or Using multiple processing (e.g., validation) resources to process (e.g., validate) respective subsets of the blockchain transactions. Includes.

[0225] Additionally or alternatively, the method may further comprise: The method may include transmitting or receiving at least a portion of a blockchain block including a plurality of blockchain transactions and a root of a Merkle tree for the block. The portion of the blockchain block may be transmitted from the transmitting resource to the receiving resource. This may be transmitted over a network such as the Internet. The method may include processing the portion of the blockchain block at the receiving resource. The receiving resource may be referred to as a processing resource or a validation resource. The portion of the blockchain block may be transmitted using an IPv6 multicast transmission. At least one, some, or all of the plurality of processing resources may be members of an IPv6 multicast group. The transmitting resource may comprise a network device. The network device may be operable to transmit IPv6 multicast communications to a multicast address. MLD snooping may be enabled in the network device. This provides efficiency with respect to traffic on the network since the transmitting resource can selectively transmit the portion of the blockchain block to a particular receiving resource (e.g., a resource within the plurality of processing resources). Network traffic is reduced by transmitting data packets to all resources on the network, including those that do not need or want to receive the data, and energy and processing resources are not wasted. This also improves security as it avoids possible Denial of Service (DOS) attacks, and also promotes scalability of the blockchain network by increasing the speed at which transactions can be processed due to lower levels of network congestion.

[0226] The term "validator / processing" may be used interchangeably with the term "validation / processing resource." Multiple validation / processing resources may form or provide a distributed validation / processing node. At least one of the multiple validation / processing resources may include one or more processing resources. Additionally or alternatively, one or more of the multiple validation resources may include a validator controller component substantially as described herein.

[0227] Each internal node may be a segment root. In other words, an "internal node" is a node of the Merkle tree that is neither the root node nor a leaf node of the entire tree. Transactions in each subset may share a common internal node.

[0228] In alternative representations, each subset may include at least two transactions associated with a common node in the Merkle tree such that the subset provides and / or is represented by a (sub)portion of the Merkle tree. The common (internal) node may be a segment node or root, substantially as described herein. A portion of a Merkle tree may be a "segment," substantially as described herein.

[0229] Clause 1.2: The method of clause 1.1, wherein validating a subset of blockchain blocks and / or blockchain transactions comprises: i) validating and / or verifying at least one blockchain transaction; and / or ii) implementing a Simplified Payment Verification (SPV) process; and / or iii) checking whether a given blockchain transaction (Tx) is contained within a blockchain block; and / or iii) generating at least one hash of the blockchain transaction, constructing a Merkle path using the hash, and / or checking whether the hash matches a transaction identifier (TxID) in the header of the blockchain block; A method comprising:

[0230] Clause 1.3: The method according to clause 1.1 or 1.2, comprising the steps of: The method, wherein at least one of the subsets of blockchain transactions includes an identifier associated with the subset that identifies and / or represents the subset.

[0231] Clause 1.4: The method according to clause 1.3, comprising the steps of: The method, wherein the identifier facilitates computation of a position of at least one subset within a Merkle tree.

[0232] Clause 1.5: The method according to clause 1.3 or 1.4, comprising the steps of: The method, wherein the identifier comprises a portion of a hash of a blockchain transaction in at least a subset of the blockchain transactions.

[0233] Clause 1.6: The method according to any one of clauses 1.1 to 1.5, comprising 1. A method according to claim 1, wherein the step of assigning respective subsets of blockchain transactions to a plurality of validation resources comprises matching each subset with a respective validation resource based on a respective identifier associated with the subset of transactions.

[0234] Clause 1.7: The method according to any one of clauses 1.1 to 1.6, comprising i) downloading at least a subset of the blockchain transactions to at least one of a plurality of validation resources; and / or ii) sending at least a subset of the blockchain transactions to at least one of a plurality of validation resources.

[0235] Clause 1.8: The method according to any one of clauses 1.1 to 1.7, comprising A Merkle tree comprises a binary tree or mesh of hashes of multiple blockchain transactions.

[0236] Clause 1.9: The method according to any one of clauses 1.1 to 1.8, comprising The method further includes identifying and / or determining a subset of blockchain transactions within the plurality of blockchain transactions.

[0237] Clause 1.10: The method according to any one of clauses 1.1 to 1.9, comprising At least one of the multiple validation resources is The method is or comprises one or more of a virtual machine, a server, a GPU-based computing resource, a processing thread, and / or a multi-processor system.

[0238] Clause 1.11: The method according to any one of clauses 1.1 to 1.10, comprising i) at least two transactions are siblings in the Merkle tree, and / or ii) A common node is a parent or ancestor of at least two transactions.

[0239] Clause 1.12: A blockchain validation system operable to validate at least a portion of a blockchain block including a plurality of blockchain transactions and a root of a Merkle tree for the block, comprising: The system includes a plurality of validation resources, the plurality of validation resources including: A processor; and a memory containing executable instructions that, when executed by a processor, cause the system to perform the computer-implemented method described in any one of clauses 1.1 to 1.11.

[0240] Clause 1.13: A non-transitory computer-readable storage medium having stored thereon executable instructions which, when executed by a processor of a computer system, cause the computer system to perform the computer-implemented method recited in any one of clauses 1.1 to 1.11.

[0241] According to another aspect of the present disclosure, there is provided a computer-implemented system arranged to perform any method step or combination of method steps described or claimed herein.

[0242] Also provided is a blockchain system (network) including a plurality of computer-implemented nodes, each node in the blockchain network being: A processor; and a memory containing executable instructions that, upon execution by the processor, cause the system to perform any variation of the computer-implemented methods claimed or described herein. The network may be arranged to operate using a blockchain protocol as described herein.

[0243] Additionally or alternatively, the present disclosure may include a computer-implemented method for downloading at least a portion of a blockchain block. The block may include a plurality of blockchain transactions and the root of a Merkle tree for the block. The method may include the steps set forth in one or more of the following clauses:

[0244] Clause Set 2: Clause 2.1: A computer-implemented method, the method preferably including receiving, e.g., downloading, at least a portion of a blockchain block, the block preferably including a plurality of blockchain transactions and the root of a Merkle tree for the block, the method preferably including: Allocating respective subsets of the blockchain transactions to a plurality of processing resources, each respective subset providing a respective portion of a Merkle tree and represented by a respective interior node of the Merkle tree; and / or Receiving, e.g., downloading, a respective subset of the blockchain transactions using one, some, or all of a plurality of processing resources.

[0245] According to one or more embodiments, one, some, or all of the processing resources may receive a respective subset of the blockchain transactions from the providing (transmitting) resource. This may be transmitted over a network such as the Internet. The respective subset of the blockchain transactions may be transmitted using IPv6 multicast transmission. At least one, some, or all of the plurality of processing resources may be members of an IPv6 multicast group. The transmitting resource may comprise a network device. The network device may be operable to transmit IPv6 multicast communications to a multicast address. MLD snooping may be enabled in the network device. This provides efficiency with respect to traffic on the network since the transmitting resource may selectively transmit a subset of the blockchain transactions to a particular receiving resource (e.g., a resource within the plurality of processing resources). By transmitting data packets to all resources on the network, including those that do not need or want to receive the data, network traffic is reduced and energy and processing resources are not wasted. This also improves security as it avoids the possibility of denial of service (DOS) attacks, and also promotes scalability of the blockchain network by speeding up transaction processing due to lower levels of network congestion.

[0246] Each respective subset may be represented by a respective internal node in the sense that each respective internal node may encode the respective subset. That is, each internal node may be generated based on (i.e., as a function of) the respective subset. Each transaction in each respective subset is linked to the respective internal node by one or more hash operations.

[0247] Clause 2.2: A method according to clause 2.1, comprising the steps of: A method comprising one, some, or all of a plurality of processing resources transmitting respective subsets of the blockchain transactions to a central storage location.

[0248] Clause 2.3: The method according to clause 2.2, comprising the steps of: Each internal node of the Merkle tree has a respective position in the Merkle tree, and the method 1. A method comprising: arranging respective subsets of blockchain transactions based on respective positions of respective interior nodes of a Merkle tree.

[0249] Clause 2.4: The method according to any one of clauses 2.1 to 2.3, comprising one, some, or all of the processing resources generating respective candidate internal nodes of the Merkle tree based on the respective downloaded subsets of the blockchain transactions; Verifying that each candidate internal node matches a respective internal node in the Merkle tree; and / or Verifying that each candidate internal node is a node of the Merkle tree by performing a Merkle proof based on the root of the Merkle tree; and / or The method further comprising at least one of transmitting each candidate internal node of the Merkle tree to one or more other processing resources.

[0250] Clause 2.5: The method according to any one of clauses 2.1 to 2.4, comprising A method comprising validating a respective subset of blockchain transactions using one, some, or all of a plurality of processing resources.

[0251] Clause 2.6: A method according to clause 2.1, comprising the steps of: Validating each subset of blockchain transactions i) validating and / or verifying at least one blockchain transaction; and / or ii) carrying out the Simplified Payment Verification (SPV) process; and / or iii) verifying whether a given blockchain transaction is contained within a blockchain block; and / or iii) generating at least one hash of a blockchain transaction, constructing a Merkle path using the hash, and / or checking whether the hash matches a transaction identifier in a header of the blockchain block.

[0252] Clause 2.7: The method according to any one of clauses 2.1 to 2.6, comprising The method, wherein at least one of the respective subsets of blockchain transactions includes a respective identifier associated with, identifying, and / or representing the respective subset.

[0253] Clause 2.8: A method according to clause 2.7, comprising the steps of: The method, wherein each identifier facilitates computation of a respective position of at least one respective subset within the Merkle tree.

[0254] Clause 2.9: The method according to clause 2.7 or 2.8, comprising the steps of: The method, wherein each identifier is based on a respective interior node of the Merkle tree.

[0255] Clause 2.10: A method according to clause 2.9, comprising the steps of: Each identifier comprises a portion of a respective interior node of the Merkle tree.

[0256] Clause 2.11: The method according to any one of clauses 2.1 to 2.10, comprising 1. A method according to claim 1, wherein the step of allocating respective subsets of blockchain transactions to a plurality of respective processing resources includes matching the respective subsets of transactions to the respective processing resources based on respective identifiers associated with the respective subsets of transactions.

[0257] Clause 2.12: The method according to any one of clauses 2.1 to 2.11, comprising The Merkle tree comprises a binary tree or mesh structure of hashes of multiple blockchain transactions.

[0258] Clause 2.13: The method according to any one of clauses 2.1 to 2.12, comprising 1. A method comprising identifying and / or determining a subset of blockchain transactions within a plurality of blockchain transactions.

[0259] Clause 2.14: The method according to any one of clauses 2.1 to 2.13, comprising The method, wherein at least one of the plurality of processing resources is or includes a virtual machine, a server, a GPU-based computing resource, or a multi-processor system.

[0260] Clause 2.15: A blockchain processing system operable to download at least a portion of a blockchain block including a plurality of blockchain transactions and a root of a Merkle tree for the block, the system comprising a plurality of processing resources, the plurality of processing resources comprising: A processor; and a memory containing executable instructions that, when executed by a processor, cause or enable the system to perform the computer-implemented method of any one of clauses 2.1 to 2.14.

[0261] Clause 2.16: A non-transitory computer-readable storage medium having stored thereon executable instructions which, when executed by a processor of a computer system, cause or enable a computer system to perform the computer-implemented method of any one of clauses 2.1 to 2.14.

[0262] According to another aspect, there is provided a non-transitory computer-readable storage medium having stored thereon executable instructions which, when executed by a processor of a computer system, cause the computer system to perform any version of the computer-implemented methods claimed or described herein.

[0263] Clause Set 3: Clause 3.1: A computer-implemented method, preferably comprising: generating, storing, and / or maintaining a first output repository for recording, searching, and / or processing a plurality of unspent transaction outputs (UTXOs), each associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; Preferably, the plurality of blockchain transactions provide and / or are represented by a portion of a Merkle tree for the blockchain block.

[0264] Clause 3.2: The method according to clause 3.1, comprising the steps of: The method includes generating, storing, and / or maintaining at least one further output (e.g., UTXO) repository.

[0265] Clause 3.3: The method according to clause 3.1 or 3.2, comprising the steps of: The method further includes generating and / or maintaining a database log containing a history of actions, changes, and events related to the output repository.

[0266] Clause 3.4: The method according to any one of clauses 3.1 to 3.3, comprising The first and / or at least one further output repository i) Unspent Transaction Outputs (UTXOs), and / or ii) at least one record associated with a) an unspent transaction output and / or b) an identifier associated with a transaction (Tx) in a plurality of blockchain transactions.

[0267] Clause 3.5: The method according to clause 3.4, comprising the steps of: At least one record is i) the block identifier (block_ID) associated with the blockchain block, and / or ii) a record identifier having a transaction identifier (TxID) associated with a transaction (Tx) in a plurality of blockchain transactions.

[0268] Clause 3.6: The method according to clause 3.5, comprising the steps of: i) the record identifier comprises a function of a block identifier (block_ID) and a transaction identifier (TxID); and / or ii) there is a concatenation of a block identifier (block_ID) and a transaction identifier (TxID), and / or iii) A method, wherein transactions of multiple blockchain transactions are associated with unspent transaction outputs (UTXOs).

[0269] Clause 3.7: The method according to clause 3.5 or 3.6, comprising the steps of: The method further comprising using the record identifier to search for, identify, access, or insert at least one record in an output repository.

[0270] Clause 3.8: The method according to any one of clauses 3.1 to 3.7, comprising At least one unspent transaction output (UTXO) of the multiple unspent transaction outputs (UTXOs) is stored in an output repository. i) indicating whether unspent transaction outputs (UTXOs) are available or unavailable for spending; and / or ii) associated with a lock flag that is configurable between a first state indicating consumption of unconsumed transaction outputs is permitted and a second state indicating consumption of unconsumed transaction outputs is prohibited.

[0271] Clause 3.9: A method according to clause 3.8, comprising the steps of: i) associating an unspent transaction output (UTXO) with a lock flag; and / or ii) changing the state of the lock flag from a first state to a second state or from the second state to the first state.

[0272] Clause 3.10: The method according to clause 3.8 or 3.9, comprising the steps of: 11. A method comprising: sending a communication from a first processing resource to at least one further processing resource to cause the at least one further processing resource to change a state of a lock flag associated with an unconsumed transaction output from a first state to a second state or from the second state to the first state.

[0273] Clause 3.11: The method according to clause 3.10, wherein the communication content is i) the transaction (TX), a transaction identifier (TxID), and / or a hash of the transaction (Tx); ii) a list of one or more unspent transaction outputs (UTXOs).

[0274] Clause 3.12: The method according to clause 3.10 or 3.11, comprising the steps of: receiving the communication at at least one further processing resource; changing a state of the lock flag from a first state to a second state or from the second state to the first state.

[0275] Clause 3.13: The method according to any one of clauses 3.1 to 3.12, comprising i) a portion of a Merkle tree is a sub-portion or segment of a Merkle tree for a blockchain block; and / or ii) the multiple blockchain transactions are represented by interior nodes of the Merkle tree.

[0276] Clause 3.14: A blockchain-implemented system including a plurality of processing resources, the plurality of processing resources comprising: A processor; and a memory including executable instructions that, upon execution by a processor, cause or enable the system to perform the computer-implemented method of any one of clauses 3.1 to 3.13.

[0277] Clause 3.15: A non-transitory computer-readable storage medium having stored thereon executable instructions which, when executed by a processor of a computer system, cause or enable a computer system to perform the computer-implemented method of any one of clauses 3.1 to 3.13.

[0278] Clause Set 4 Any embodiment defined in any clause or combination of clauses in clause set 4 may be arranged to implement or combine any clause in any other clause set herein. The present disclosure may include a system including a validation component. The system and / or validation component may be operable to facilitate and / or enable distributed validation of at least one blockchain transaction and / or blockchain blocks of a transaction. The validation component may be provided according to the following clauses in clause set 4:

[0279] Clause 4.1: A system operable to validate at least a portion of a blockchain block including a plurality of blockchain transactions and the root of a Merkle tree for the block, comprising: A plurality of validation resources, At least one processor associated with at least a portion of the memory storing executable instructions, the executable instructions causing, as a result of execution by the at least one processor, a validation resource to be causing or enabling validation of at least a subset of the plurality of blockchain transactions, the at least one subset providing a portion of a Merkle tree and represented by an interior node of the Merkle tree; At least one processor a plurality of validation resources each comprising: A system comprising:

[0280] The system may include a validation component that includes a number of validation resources.

[0281] Clause 4.2: The system according to clause 4.1, comprising: i) a load balancing component arranged and configured to facilitate load balancing of distribution of a plurality of subsets of a plurality of blockchain transactions among a plurality of validation resources; and / or ii) a segment identification component configured to facilitate identification of at least a subset of the plurality of blockchain transactions; and / or iii) Allocation Units; and / or iv) One or more interfaces for sending or receiving communications between the system and one or more data sources or destinations. The system further comprises:

[0282] Clause 4.3: A system according to clause 4.1 or 4.2, comprising: The system includes at least one controller component, the controller component comprising: At least one validation resource, at least one processor of at least one validation resource; One or more interfaces, One or more load balancing components, and / or One or more segment identification components configured to facilitate identification of at least a subset of the plurality of blockchain transactions. The system is configured to affect and / or control the operation of at least one of:

[0283] Clause 4.4: A system according to any one of clauses 4.1 to 4.3, comprising: i) at least two of the multiple blockchain transactions are siblings in the Merkle tree; and / or ii) An internal node is a parent or ancestor of a subset of blockchain transactions in the system.

[0284] Clause 4.5: A system according to any one of clauses 4.1 to 4.4, further comprising a plurality of output repositories, each repository of the plurality of repositories associated with a respective validation resource and arranged to facilitate recording, retrieval, and / or processing of a plurality of unspent transaction outputs (UTXOs); Preferably, each of the plurality of unspent transaction outputs is associated with at least one transaction (Tx) within the plurality of blockchain transactions.

[0285] Clause 4.6: The system according to clause 4.5, comprising: The system is operable to create and / or maintain a database log containing a history of actions, changes, and events relating to at least one of a plurality of output repositories.

[0286] Clause 4.7: A system according to any one of clauses 4.1 to 4.6, At least one of the multiple output repositories is i) Unspent Transaction Outputs, and / or ii) The system includes at least one record associated with a) an unspent transaction output and / or b) an identifier associated with a transaction (Tx) in a plurality of blockchain transactions.

[0287] Clause 4.8: A system according to clause 4.7, comprising: At least one record is i) the block identifier (block_ID) associated with the blockchain block, and / or ii) A system including a record identifier having a transaction identifier (TxID) associated with a transaction (Tx) in a plurality of blockchain transactions.

[0288] Clause 4.9: The system of clause 4.7 or 4.8, wherein the record identifier is: i) a function of the block identifier (block_ID) and the transaction identifier (TxID), and / or ii) A system including a concatenation of a block identifier (block_ID) and a transaction identifier (TxID).

[0289] Clause 4.10: A system according to clause 4.8 or 4.9, comprising: The system is operable to use the record identifier to search for, identify, access, or insert at least one record in at least one UTXO repository in a plurality of output repositories.

[0290] Clause 4.11: A system according to any one of clauses 4.5 to 4.10, comprising: At least one unspent transaction output (UTXO) of the multiple unspent transaction outputs (UTXOs) is i) indicating whether unspent transaction outputs (UTXOs) are available or unavailable for spending; and / or ii) associated with a lock flag that is configurable between a first state indicating consumption of unconsumed transaction outputs is permitted and a second state indicating consumption of unconsumed transaction outputs is prohibited.

[0291] Clause 4.12: The system according to clause 4.11, comprising: The system is operable to change a state of the lock flag from a first state to a second state or from the second state to the first state.

[0292] Clause 4.13: A system according to clauses 4.1 to 4.12, comprising: i) allocating each subset of blockchain transactions to a number of validation resources; ii) downloading and / or receiving respective subsets of the blockchain transactions using one, some, or all of the multiple validation resources; The system is operable to:

[0293] Clause 4.14: A system according to any one of clauses 4.1 to 4.13, comprising: operative to generate respective candidate internal nodes of the Merkle tree based on the respective downloaded subsets of the blockchain transactions using one, some, or all of the validation resources; and Verifying that each candidate internal node matches a respective internal node in the Merkle tree; and / or Verifying that each candidate internal node is a node of the Merkle tree by performing a Merkle proof based on the root of the Merkle tree; and / or transmitting each candidate internal node of the Merkle tree to one or more other processing resources.

[0294] Clause 4.15: A system as described in clauses 4.1 to 4.14, comprising: i) validating and / or verifying at least one blockchain transaction; and / or ii) carrying out the Simplified Payment Verification (SPV) process; and / or iii) verifying whether a given blockchain transaction is contained within a blockchain block; and / or iii) generating at least one hash of the blockchain transaction, constructing a Merkle path using the hash, and / or checking whether the hash matches a transaction identifier in the header of the blockchain block; The system is operable to:

[0295] Clause 4.16: A system according to any one of clauses 4.1 to 4.15, The system, wherein at least one of the plurality of validation resources is or includes at least one of a virtual machine, a server, a GPU-based computing resource, a thread, and / or a multiprocessor system.

[0296] Clause Set 5 Any embodiment defined by any clause or combination of clauses in Clause Set 5 may be arranged to implement or combine any feature or clause described or contained in the description or any other clause set contained herein. The clauses in Clause Set 5 may relate in particular to the features described in the section of this specification entitled "UTXO Database."

[0297] Clause 5.1: A computer-implemented method comprising identifying and / or allocating processing and / or storage resources using a portion of data derived from a blockchain, the data from which the portion of data is derived comprising (unspent) transaction outputs (UTXOs) and / or transactions (Tx) containing unspent outputs. The outputs may be referred to as UTXOs.

[0298] The data may additionally or alternatively include transaction data for determining that at least a portion of a transaction (Tx) is included in a Merkle path of a blockchain block (B).

[0299] Information associated with data derived from the blockchain is stored in resources for efficient and cost-effective reference. By allocating resources using portions of the data, the relationship between the data, its associated information, and the resource in which it is stored is maintained. The data may include unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs. The portions of the data may be used to determine keys, which in turn determine the allocated resources that store information about the data.

[0300] A database of outputs, e.g., UTXOs and / or transactions having UTXOs, may be established. The database may be distributed, resulting in a distributed pool. The database may hold at least one of a validity flag of the unspent transaction outputs (UTXOs) and / or transactions (Tx) containing the UTXOs, and information that allows the validity of the unspent transaction outputs (UTXOs) and / or transactions (Tx) containing the UTXOs to be determined, e.g., SPV information.

[0301] Prior to the allocation, which enables subsequent identification of the resource, the method can include obtaining a portion of the data derived from the blockchain and / or associated data. Following the allocation, the method can include storing and / or validating the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO.

[0302] The allocation may support or provide load balancing among multiple resources.

[0303] Clause 5.2: The method of clause 5.1, further comprising storing and / or processing at least a portion of the UTXOs and / or transactions (Tx) in and / or by and / or in association with the allocated resources.

[0304] The processing may include at least one of validating the UTXO and / or transaction (Tx) and managing information associated with the data in an accessible structure, such as a database.

[0305] Clause 5.3: The method of clause 5.1 or 5.2, further comprising receiving the data from which a portion of the data has been derived in allocated resources, parsing the data to process the data and / or store information derived from the data, or to determine whether to do nothing.

[0306] One of the multiple resources may receive a portion of the data and / or information associated with the data and determine whether it is responsible for storing information related to the UTXO.

[0307] Clause 5.4: The method of any one of clauses 1.1 to 5.3, further comprising deriving a portion of the data from the blockchain.

[0308] Clause 5.5: The method of any one of clauses 1.1 to 5.4, wherein the identification and / or allocation to processing and / or storage resources is performed by an intermediary connected to a plurality of allocated resources.

[0309] Clause 5.6: The method of any one of clauses 1.1 to 5.5, wherein the allocated resources are used, at least in part, to at least one of: validate unspent transaction outputs (UTXOs) and / or transactions containing UTXOs (Tx); and generate, store, and / or maintain records of validation data necessary to validate the unspent transaction outputs (UTXOs) and / or transactions containing UTXOs (Tx).

[0310] Clause 5.7: The method of clause 5.1, wherein the data includes at least one of a UTXO identifier, a hash of the UTXO script, and a transaction identification (TXID).

[0311] Clause 5.8: The method of any one of clauses 1.1 to 5.7, wherein processing the data includes determining a key, the key determining the allocated resources.

[0312] Clause 5.9: The method of clause 5.8, wherein the key is hashed and the resulting hash determines the allocated resources.

[0313] Clause 5.10: A method according to any one of clauses 1.1 to 5.9, wherein at least one of the data, the key and the resulting hash comprises at least one of alphanumeric and binary numbers, said numbers being used to determine allocated resources.

[0314] Clause 5.11: The method of clause 5.10, wherein a portion of the number is parsed to determine allocated resources.

[0315] Clause 5.12: The method of any one of clauses 1.1 to 5.11, further comprising determining, in a hash table, the allocated resources in which at least a portion of the UTXO and / or transaction (Tx) is stored.

[0316] Clause 5.13: The method of any one of clauses 5.6 to 5.12, wherein the record of at least a portion of the UTXO and / or transaction (Tx) includes at least one of a Merkle tree of a block in which the transaction (Tx) is recorded, a Merkle root of the block in which the transaction (Tx) is recorded, a Merkle path enabling a determination of a value of a Merkle root for the block in which the transaction (Tx) is recorded from a hash of the transaction (Tx), a Merkle proof, a block identifier (block_ID) associated with the blockchain block, a transaction identifier (TxID) associated with the transaction (Tx) in a plurality of blockchain transactions in the blockchain block, a function of the block identifier (block_ID) and the transaction identifier (TxID), and a concatenation of the block identifier (block_ID) and the transaction identifier (TxID).

[0317] Clause 5.14: The method of any one of Clauses 1.1 to 5.13, further comprising, for at least a portion of a transaction (Tx) and / or the UTXO, at least one of: validating and / or verifying the UTXO; performing at least a portion of a Simplified Payment Verification (SPV) process on the UTXO; verifying whether a given blockchain transaction (Tx) is contained within a blockchain block; generating at least one hash of the blockchain transaction and building a Merkle path using the hash and / or checking whether the hash matches a transaction identifier (TxID) in a header of the blockchain block; and determining a Merkle proof for the UTXO.

[0318] Clause 5.15: A computer-implemented method, comprising: generating, storing, and / or maintaining a first UTXO resource for recording, retrieving, and / or processing a plurality of unspent transaction outputs (UTXOs), each associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; and identifying and / or allocating said resource using a portion of data derived from the blockchain, wherein the data from which the portion of the data is derived includes the unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain the UTXOs.

[0319] Clause 5.16: A computer-implemented method comprising receiving and / or processing an unspent transaction output (UTXO) for inclusion in a transaction, and / or using a portion of data derived from the UTXO to identify an allocated resource, the allocated resource maintaining, using, and / or requesting validation data from the allocated resource.

[0320] Clause 5.17: The method according to clause 5.16, comprising: (i) the validity of the UTXO and / or the transaction (Tx) containing said UTXO; and / or (ii) obtaining at least one of a UTXO and / or a record for determining validity of a transaction (Tx) containing the UTXO.

[0321] Clause 5.18: The method of any one of clauses 1.1 to 5.17, further comprising preparing and / or transmitting a transaction (Tx) having the UTXO as input.

[0322] Clause 5.19: A blockchain node configured to at least one of generate, store, and maintain UTXO resources for recording, retrieving, and / or processing a plurality of unspent transaction outputs (UTXOs), wherein the node processes a portion of data derived from a blockchain to identify and / or allocate processing and / or storage resources, the data from which the portion of data is derived including unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain UTXOs.

[0323] Clause 5.20: A computing apparatus comprising a memory including one or more memory units, and a processing unit including one or more processing units, the memory storing code arranged to be executed on the processing unit, the code being arranged to perform a method according to any one of clauses 5.1 to 5.18 when on the processing unit.

[0324] Clause 5.21: A computer program embodied on a computer readable storage and configured to, when executed on one or more processors, perform the method according to any one of clauses 5.1 to 5.18.

[0325] Clause Set 6 Any embodiment defined by any clause or combination of clauses in clause set 6 may be arranged to implement or combine any clause in clause sets 1 through 5. The clauses in clause set 6 may relate in particular to the features described in the section herein entitled "Records."

[0326] Clause 6.1: A computer-implemented method comprising: generating, storing, processing, accessing, and / or maintaining records of at least some of the transactions (Tx); The record includes transaction data for determining that at least a portion of a transaction (Tx) is included in a Merkle path of a blockchain block (B).

[0327] Collectively, records have the function of holding information, e.g., data items. As described elsewhere, records may be stored in an assigned resource, e.g., a database, which may be part of the blockchain, e.g., a resource connected to a node, or other resource connected to the blockchain network. The invention is not so limited, and the validation, assignment / identification, and format of records may be used to implement functionality of a node that may be off-chain.

[0328] A record contains at least the transaction data and may also contain status flags / states, verification information, validation data, details of where the UTXO can be found, and a reference to at least one previous record, e.g. disposition, signature, and authorization data. Records allow data relating to transactions to be stored and stored in a catalogue fashion.

[0329] In other words, the record is part of a pruned version of a blockchain block. The record becomes part of a collection of records, preferably stored in an allocated resource, and holds data items obtained directly from a block of the blockchain and / or data derived from the blockchain, e.g., validation data, or a collection of information associated with a transaction.

[0330] The database that holds records of transactions and / or the system 1100 that manages allocated resources 1104 can be said to operate like a node -- the records hold transaction data having at least a portion of the transactions included in a Merkle path, and thus a Merkle-linked pruned node can be implemented.

[0331] For example, a system, e.g., Merkle-linked pruned nodes, may be established and used by the owner. For example, blockchain data associated with tokens issued by the Bank of England may be held as records in the allocated resources. The records may be pruned and / or expanded versions of the corresponding transaction data held on the blockchain.

[0332] Constructing a record stores at least one of validation of a transaction and allocation and / or identification of processing and / or storage resources, as taught herein. The record contents enable improved security and resilience, speed and efficiency or reduction in resource requirements when used, including validation of the transaction to which the record pertains.

[0333] The assignment and / or identification is based on a portion of data derived from all or at least a portion of a blockchain transaction, e.g., the portion of the derived data includes transaction data, which may be an unspent transaction output (UTXO) and / or a transaction (Tx) containing a UTXO. The data may additionally or alternatively include transaction data for determining that at least a portion of the transaction is included in a Merkle path of a blockchain block.

[0334] Clause 6.2: The method of clause 6.1, wherein the record comprises a data catalog, the data catalog being or comprising a set of transaction data.

[0335] Clause 6.3: The method according to clause 1 or 2, The records are processed and / or stored in the allocated resources, method (1104).

[0336] Clause 6.4: The method according to any one of clauses 1.1 to 6.3, comprising A method, wherein at least a portion of a transaction (Tx) is a transaction output.

[0337] Clause 6.5: The method of clause 6.4, wherein the output of the transaction is: Unspent Transaction Outputs (UTXO), and / or A transaction (Tx) that contains a UTXO of a blockchain block.

[0338] Clause 6.6: The method according to any one of clauses 1.1 to 6.5, wherein the records are stored in a database, the records being i) a blockchain transaction (TX0) that includes at least one data item (D); ii) at least one further blockchain transaction (TX1) required to verify that the blockchain transaction (TX1) is included in the Merkle path of the blockchain block (B).

[0339] Clause 6.7: The method according to any one of clauses 1.1 to 6.6, wherein using a database comprises: i) databases, and / or ii) Data stored in or in connection with a database Methods including generating, maintaining, providing, updating, storing, accessing or processing.

[0340] Clause 6.8: The method according to any one of clauses 1.1 to 6.7, comprising: The record is The method further includes a Merkle path from the transaction (TX0) to the root of the Merkle tree of the blockchain block (B).

[0341] Clause 6.9: The method according to any one of clauses 1.1 to 6.8, comprising: The method, wherein the Merkle path includes at least the minimum blockchain transactions required to establish or verify that a blockchain transaction (TX0) is included in a blockchain block (B).

[0342] Clause 6.10: The method according to any one of clauses 1.1 to 6.9, wherein the blockchain block is i) a blockchain ledger; and / or ii) stored on or in association with an off-chain storage resource.

[0343] Clause 6.11: The method according to any one of clauses 6.6 to 6.10, comprising The method further includes using the blockchain transaction (TX0) and at least one further blockchain transaction (TX1) to verify that the blockchain transaction (TX0) is included in a Merkle path of the blockchain block (B).

[0344] Clause 6.12: The method according to any one of clauses 6.6 to 6.11, wherein the data item (D) is stored in connection with the script in the transaction; and / or The method is stored as metadata within the transaction.

[0345] Clause 6.13: The method according to any one of clauses 1.1 to 6.12, wherein the record is The method further includes validation data necessary to validate the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO.

[0346] Clause 6.14: The method according to any one of clauses 1.1 to 6.13, wherein the record is The method further includes a history of a number of prior transactions of the transaction (Tx) containing the unspent transaction output (UTXO) and / or the transaction containing the UTXO.

[0347] Clause 6.15: The method according to any one of clauses 1.1 to 6.14, wherein the record is The method further includes a history of allocated resources processing and / or storing data of at least one prior transaction, preferably at least one unspent transaction output (UTXO) and / or transaction containing a UTXO (Tx).

[0348] Clause 6.16: The method according to clause 14 or 15, wherein the history comprises: a set of transaction data for determining Merkle proofs of a number of preceding transactions; The method includes at least one of a link to a respective assigned resource that processed and / or stored a plurality of prior transactions.

[0349] Clause 6.17: The method according to any one of clauses 1.1 to 6.16, wherein the record is The method further includes a flag and / or status indication for the or each input of the unspent transaction output (UTXO) and / or the transaction (Tx) containing the UTXO.

[0350] Clause 6.18: The method according to any one of clauses 1.1 to 6.17, wherein the record is The Merkle tree of the block in which the transaction (Tx) is recorded; The Merkle root of the block in which the transaction (Tx) is recorded; a Merkle path that allows determining, from the hash of the transaction (Tx), the value of the Merkle root for the block in which the transaction (Tx) was recorded; Merkle proof, The block identifier (block_ID) associated with the blockchain block, A transaction identifier (TxID) associated with a transaction (Tx) among multiple blockchain transactions in a blockchain block; A function of the block identifier (block_ID) and the transaction identifier (TxID), A concatenation of a block identifier (block_ID) and a transaction identifier (TxID), Digital signature, Authentication code, A signing message to determine the transaction state; Protocol flags, A discretionary public key (DPK), and The method further comprising at least one of an arbitrary transaction ID (DTxID).

[0351] Clause 6.19: The method of any one of clauses 6.3 to 6.18, wherein the allocated resources for processing and / or storing records are identified and / or allocated using a portion of data derived from the blockchain to identify and / or allocate resources, the data from which the portion of data is derived including unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs.

[0352] Clause 6.20: A computer-implemented method comprising: using a database containing at least one record, i) a blockchain transaction (TX0) that includes at least one data item (D); ii) at least one further blockchain transaction (TX1) required to verify that the blockchain transaction (TX1) is included in the Merkle path of the blockchain block (B).

[0353] Clause 6.21: The method according to clause 6.20, wherein using a database comprises: i) databases, and / or ii) Data stored in or in connection with a database Methods including generating, maintaining, providing, updating, storing, accessing or processing.

[0354] Clause 6.22: The method according to any one of clauses 6.20 to 6.21, wherein the record is The method further includes a Merkle path from the transaction (TX0) to the root of the Merkle tree of the blockchain block (B).

[0355] Clause 6.23: The method described in clause 6.22, wherein the Merkle path includes at least the minimum blockchain transactions required to establish or verify that the blockchain transaction (TX0) is included in the blockchain block (B).

[0356] Clause 6.24: The method according to any one of clauses 6.20 to 6.23, wherein the block i) a blockchain ledger; and / or ii) stored on or in association with an off-chain storage resource.

[0357] Clause 6.25: The method according to any one of clauses 6.20 to 6.24, comprising: The method further includes using the blockchain transaction (TX0) and at least one further blockchain transaction (TX1) to verify that the blockchain transaction (TX0) is included in a Merkle path of the blockchain block (B).

[0358] Clause 6.26: The method according to any one of clauses 6.20 to 6.25, wherein data item (D) is stored in connection with the script in the transaction; and / or The method is stored as metadata within the transaction.

[0359] Clause 6.27: The method of any one of clauses 6.20 to 6.26, wherein the transaction comprises: Transaction ID (TxID), Protocol flags, A discretionary public key (DPK), and The method further includes an optional transaction ID (DTxID).

[0360] Clause 6.28: Computer equipment, a memory including one or more memory units; A computing apparatus comprising: a processing device including one or more processing units; and a memory storing code configured to be executed on the processing device, the code being configured to perform a method according to any one of clauses 6.1 to 6.27 when on the processing device.

[0361] Clause 6.29: A computer program embodied on a computer readable storage and configured to, when executed on one or more processors, perform the method according to any one of clauses 6.1 to 6.27.

[0362] Clause Set 7 Any embodiment defined by any clause or combination of clauses in Clause Set 7 may be configured to implement or combine any clause in one or more other enumerated clause sets contained herein. Clauses in Clause Set 7 may relate in particular to the features described in the section of this specification entitled "Distributed Mining."

[0363] The present disclosure may provide methods and systems for distributed and / or parallel processing of data records. Such methods / systems may be provided for mining blockchain transactions in blockchain blocks and / or for generating Proof of Work (PoW) for blockchain blocks. Advantageously, embodiments may enable separation of PoW computation from other blockchain mining / validation tasks. The present disclosure may be described as providing authorization and / or control mechanisms for improved blockchain mining techniques and / or improved PoW generation techniques. It may also be described as improved security techniques.

[0364] Preferably, the PoW requester (first party / entity) may send to the expert PoW provider (second party / entity) one or more of: i) a Merkle root for a Merkle tree representing a set of transactions; ii) a control transaction (TX0); and iii) a Merkle proof verifying that TX0 is included in the set of transactions. TX0 may provide or include control data that the PoW provider can use to determine whether a PoW computation is to be performed or is complete.

[0365] A preferred embodiment can be described as follows. Clause 7.1: A computer-implemented method comprising: Transmitting a request from a first resource to a second resource to generate a proof of work (PoW) for a blockchain block containing a plurality of transactions, the request including a Merkle proof for verifying that a control transaction (TX0) is included in the plurality of transactions, and / or receiving a request from the first resource to the second resource to generate a proof of work (PoW) for a blockchain block containing a plurality of transactions, the request including a Merkle proof for verifying that a control transaction (TX0) is included in the plurality of transactions. 4. A computer-implemented method comprising:

[0366] The first resource may be a PoW requester and the second resource may be a PoW provider. The PoW may be any PoW specified by the blockchain protocol. A Merkle proof may contain enough data to prove that a given blockchain transaction is included in a particular set of transactions and conversely disprove its inclusion in the set of transactions. The set of transactions may be represented by a Merkle tree T with a Merkle root R.

[0367] Clause 7.2: A method according to clause 7.1, comprising the steps of: The control transaction (TX0) includes control data for controlling, authorizing and / or prohibiting the execution of the proof-of-work generation, preferably the control data includes: i) at least one output specifying a predetermined address for a destination of the blockchain transfer; Preferably, the address is associated with the second resource or with a party associated with or authorized by the second resource, output, and / or ii) at least one prescribed signature; and / or iii) including at least one secret value or secret portion of data.

[0368] Clause 7.3: The method according to clause 7.1 or 7.2, comprising the steps of: the first resource is a PoW request resource, a blockchain validation resource, or a blockchain mining resource; and / or The second resource is a proof-of-work provider, and / or The method, wherein the second resource includes at least one ASIC, or hash machine, or dedicated cryptocurrency mining resource.

[0369] Clause 7.4: The method according to any one of clauses 7.1 to 7.3, comprising: i) receiving a proof of work for a blockchain block at the first resource from the second resource; and / or ii) transmitting the proof of work for the blockchain block from the second resource to the first resource.

[0370] Clause 7.5: The method of any one of clauses 7.1 to 7.4, wherein the proof of work comprises: A value (nonce) configured to provide an output that meets one or more targets, rules, or criteria specified by the blockchain protocol; and / or The block header for the blockchain block, and / or The method includes a solution to a puzzle or challenge specified according to a blockchain protocol.

[0371] Clause 7.6: The method of any one of Clauses 7.1 to 7.5, wherein generating the proof of work comprises: i) generating or selecting a value (a nonce) configured to provide an output that satisfies a target, challenge, rule, or criterion specified by the blockchain protocol; ii) concatenating the block message and the nonce for the blockchain block; and / or iii) double hashing a block header for the blockchain block.

[0372] Clause 7.7: The method according to any one of clauses 7.1 to 7.6, comprising: processing or comparing at least a portion of the control transactions (TX0) with respect to predefined control criteria, and generating or not generating a proof of work based on an output of the processing or comparison; Preferably, the control criteria include at least one of thresholds, rules, or criteria for enabling initiation, execution or completion, or proof-of-work generation.

[0373] Clause 7.8: A method according to clause 7.7, comprising the steps of: Allowing or disallowing the generation of Proof of Work, i) the success or failure of the validation that the control transaction (TX0) is included in multiple transactions, and / or ii) a determination that a control transaction does or does not include a portion of data that satisfies a predetermined rule or criterion; and / or iii) acting upon a determination that the control transaction, or at least a portion thereof, satisfies the control criterion.

[0374] Clause 7.9: The method according to any one of clauses 7.1 to 7.8, comprising: determining, at the first or second resource, a portion of data required by the blockchain protocol for generation of a proof of work for a block, the portion of data being A protocol version identifier, Block hash, the proof-of-work difficulty target specified by the protocol, and / or The method further comprising one or more of the time stamps.

[0375] Clause 7.10: The method according to any one of clauses 7.1 to 7.9, comprising i) the Merkle proof includes data arranged to enable performance of an SPV verification to determine whether a control transaction is included in a plurality of transactions; ii) the request includes a control transaction.

[0376] Clause 7.11: The method according to any one of clauses 7.1 to 7.10, comprising: processing the plurality of transactions to form a Merkle tree; Preferably, the processing involves a hash function.

[0377] Clause 7.12: The method according to any one of clauses 7.1 to 7.11, comprising: A method wherein the control transaction (TX0) includes an identifier that enables the second resource to identify the first resource, preferably the identifier being provided in an input, output, script, or metadata portion of the control transaction.

[0378] Clause 7.13: A system operable to control or influence the generation of a proof of work for a blockchain block containing a plurality of transactions and / or to implement a method as described in any one of clauses 7.1 to 7.12.

[0379] Clause 7.14: A system as described in clause 7.13, comprising: At least one proof-of-work providing resource (1000), Preferably, the at least one proof-of-work providing resource includes at least one ASIC or hash machine (1100a to 1100c), at least one proof-of-work requesting resource (1000); At least one proof of work request resource (1300), A system, wherein the at least one proof-of-work request resource preferably comprises at least one of: at least one proof-of-work request resource (1300), including a distributed validation node (700) substantially as disclosed herein.

[0380] Clause 7.15: A non-transitory computer-readable storage medium having stored thereon executable instructions which, when executed by a processor of a computer system, cause or enable a computer system to perform the computer-implemented method of any one of Clauses 7.1 to 7.13.

[0381] Clause Set 8 Any embodiment defined by any clause or combination of clauses in clause set 8 may be arranged to implement or combine any clause in any other clause set herein.

[0382] The present disclosure may include a computer-implemented system, which may be a distributed blockchain system.

[0383] The system may include at least one (distributed) validation component. The system and / or validation component may be operable to facilitate and / or enable (distributed) validation of at least one blockchain transaction and / or blockchain block of a transaction. The validation component may be provided in accordance with the provisions in clause set 4 or may be arranged to perform any method or combination of methods of the provisions in clause sets 1, 2, 3 and / or 4.

[0384] The system may include a (distributed) mining component. The mining component may be operable to facilitate and / or enable distributed mining of blockchain blocks and / or computation of proof-of-work computations. The distributed mining component may be provided in accordance with one or more clauses in Clause Set 7 or may be configured to perform the method of any of the clauses in Clause Set 7 or as disclosed in the section entitled "Distributed Mining" and / or Figures 14 to 19.

[0385] The system may include at least one record storage component, which may be a database. The database may be provided in accordance with one or more clauses of clause set 5 or substantially as disclosed in the section entitled "Records" and / or FIG. 13. The record storage component may include a record of at least a portion of a blockchain transaction, the record including transaction data for determining whether at least a portion of a transaction (Tx) is included in a Merkle path of a blockchain block.

[0386] The system may be at least one allocation component operable to allocate blockchain-related or blockchain-implemented tasks to at least one computing resource. The system may be operable to allocate blockchain-related or blockchain-implemented tasks to at least one computing resource by identifying and / or allocating (computer-based) processing / storage resources using a portion of data derived from the blockchain. The portion of the data may be derived from a (larger portion) of data including unspent transaction outputs (UTXOs) and / or transactions (Tx) containing unspent transaction outputs. The allocation component may be provided in accordance with one or more of the clauses in Clause Set 6 or as disclosed in the section entitled "UTXO Database" and / or in Figures 10 to 12.

[0387] The system may include one of the above-mentioned components or may include multiple of these components. When multiple components are used, the components are arranged for communication. The components of the system may be arranged to read from and / or write to a blockchain and / or blockchain network. The blockchain may be associated with a blockchain protocol implemented by the network.

[0388] Clause 8.1: A computer-implemented system comprising: i) at least one validation component; ii) at least one mining component; iii) at least one task allocation component; iv) A computer-implemented method comprising any one, two, or more of at least one record storage component containing a record of (at least) a portion of a blockchain transaction, the record containing transaction data for determining whether (at least) a portion of a transaction (Tx) is included in a Merkle path of a blockchain block.

[0389] Clause 8.2: The system of clause 8.1, wherein at least one validation component comprises: Validating at least a portion of a blockchain block that includes a plurality of blockchain transactions and a root of a Merkle tree for the block; and preferably assigning respective subsets of the blockchain transactions to a plurality of validation (processing) resources, each respective subset providing a respective portion of a Merkle tree and represented by a respective interior node of the Merkle tree; and Validating respective subsets of the blockchain transactions using a plurality of validation resources The system is operable to:

[0390] Clause 8.3: The system of clause 8.1 or 8.2, wherein at least one validation component comprises: Operable to download at least a portion of a blockchain block that includes a plurality of blockchain transactions and a root of a Merkle tree for the block; Preferably, the validation component validates the download by: Allocating respective subsets of the blockchain transactions to a plurality of processing resources, each respective subset providing a respective portion of a Merkle tree and represented by a respective interior node of the Merkle tree; and Downloading respective subsets of blockchain transactions using one, some, or all of multiple processing resources The system is arranged and configured to execute the

[0391] Clause 8.4: The system of any one of clauses 1.1 to 8.3, wherein at least one validation component comprises: operative to generate, store, and / or maintain a first UTXO repository for recording, searching, and / or processing a plurality of unspent transaction outputs (UTXOs), each UTXO being associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; A system in which a plurality of blockchain transactions provide and / or are represented by a portion of a Merkle tree for a blockchain block.

[0392] Clause 8.5: The system of any one of clauses 1.1 to 8.4, wherein the system and / or at least one validation component comprises: i) validating and / or verifying at least one blockchain transaction; and / or ii) carrying out the Simplified Payment Verification (SPV) process; and / or iii) verifying whether a given blockchain transaction is contained within a blockchain block; and / or iii) generating at least one hash of the blockchain transaction, constructing a Merkle path using the hash, and / or checking whether the hash matches a transaction identifier in the header of the blockchain block; The system is operable to:

[0393] Clause 8.6: The system of any one of clauses 1.1 to 8.5, wherein the system and / or at least one validation component comprises: A system including at least one validation resource that is or includes at least one of a virtual machine, a server, a GPU-based computing resource, a thread, and / or a multiprocessor system.

[0394] Clause 8.7: The system of any one of clauses 1.1 to 8.6, wherein at least one allocation component comprises: i) identifying and / or allocating processing and / or storage resources using a portion of the blockchain-derived data; Preferably, the portion of data includes or is derived from unspent transaction outputs (UTXOs) and / or transactions (Tx) that contain unspent transactions; Identifying and / or allocating; and / or ii) using / providing, generating, storing, and / or maintaining a first UTXO resource, the first UTXO resource being configured to: a) record, retrieve, and / or process a plurality of unspent transaction outputs (UTXOs), each associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; and / or b) identify and / or allocate said resource using a portion of data derived from the blockchain, the data from which the portion of data is derived including unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs; and / or iii) receiving and / or processing unspent transaction outputs (UTXOs) for inclusion in the transaction and / or using a portion of data derived from the unspent transaction outputs to identify allocated resources, where the allocated resources hold validation data for the UTXOs and / or request, receive, process, and / or use validation data from the allocated resources; The system is operable to:

[0395] Clause 8.8: The system of clause 8.7, wherein at least one allocation component comprises: The system is further operable to store and / or process at least a portion of the unconsumed power and / or transactions (Tx) in and / or by and / or in association with the allocated resources.

[0396] Clause 8.9: The system of any one of clauses 1.1 to 8.8, wherein at least one mining component is Sending a request from a first resource to a second resource to generate a Proof of Work (PoW) for a blockchain block containing a plurality of transactions, the request including a Merkle proof for verifying that the control transaction (TX0) is included in the plurality of transactions; and / or receiving, from a first resource at a second resource, a request to generate a proof of work (PoW) for a blockchain block containing a plurality of transactions, the request including a Merkle proof for verifying that a control transaction (TX0) is included in the plurality of transactions; The system is operable to:

[0397] Clause 8.10: A system as described in clause 8.9, comprising: The control transaction (TX0) includes control data for controlling, authorizing and / or prohibiting the execution of the proof-of-work generation, preferably the control data includes: i) at least one output specifying a predetermined address for a destination of the blockchain transfer; Preferably, the address is associated with at least one output associated with the second resource or with a party associated with or authorized by the second resource, and / or ii) at least one prescribed signature; and / or iii) At least one secret value or secret portion of data Including, the system.

[0398] Clause 8.11: A system according to clause 8.9 or 8.10, the first resource is a PoW request resource, a blockchain validation resource, or a blockchain mining resource; and / or The second resource is a proof-of-work provider, and / or The system, wherein the second resource includes at least one ASIC, or hash machine, or dedicated cryptocurrency mining resource.

[0399] Clause 8.12: The system of any one of clauses 1.1 to 8.11, wherein at least one record storage component comprises: Contains at least one record, and at least one record is i) a blockchain transaction (TX0) that includes at least one data item (D); ii) at least one further blockchain transaction (TX1) necessary to verify that the blockchain transaction (TX1) is included in the Merkle path of the blockchain block (B); and Including, the system.

[0400] Clause 8.13: A system as described in clause 8.12, comprising: The record further includes a Merkle path from the transaction (TX0) to the root of the Merkle tree of the blockchain block (B), Preferably, the Merkle path includes at least the minimum blockchain transactions required to establish or verify that a blockchain transaction (TX0) is included in a blockchain block (B), in the system.

[0401] Clause 8.14: When embodied in computer-readable storage and executed on one or more processors: i) implementing some or all of the functionality of the system claimed in this application; and / or ii) A computer program arranged or configured to implement, facilitate, enable or provide one or more of the features set out in any one of clauses 1.1 to 8.13.

[0402] Exemplary Technical Environment for Implementing Exemplary Embodiments of the Present Disclosure We next provide an overview of a computing environment in which one or more embodiments of the present disclosure may be practiced. However, as noted above, this context is not intended to be limiting, and embodiments may be practiced for processing data records and structures that are not implemented via blockchain. Non-blockchain embodiments may be devised, for example, using databases instead of distributed ledgers.

[0403] FIG. 1 illustrates an exemplary system 100 for implementing a blockchain 150. The system 100 may comprise a packet-switched network 101, typically a wide-area internetwork such as the Internet. The packet-switched network 101 includes a number of blockchain nodes 104 that may be arranged to form a peer-to-peer (P2P) network 106 within the packet-switched network 101. Although not illustrated, the blockchain nodes 104 may be arranged as a nearly complete graph. Thus, each blockchain node 104 is highly connected to the other blockchain nodes 104.

[0404] Each blockchain node 104 includes a peer computer device, with different ones of the nodes 104 belonging to different peers. Each blockchain node 104 includes a processing device including one or more processors, for example one or more central processing units (CPUs), accelerator processors, application specific processors and / or field programmable gate arrays (FPGAs), and other devices such as application specific integrated circuits (ASICs). Each node also includes a memory, i.e., a computer readable storage device in the form of a non-transitory computer readable medium. The memory may include one or more memory units employing one or more memory media, for example, a magnetic medium such as a hard disk, an electronic medium such as a solid state drive (SSD), a flash memory, or an EEPROM, and / or an optical medium such as an optical disk drive.

[0405] The blockchain 150 includes a chain of blocks 151 of data, with a respective copy of the blockchain 150 maintained at each of multiple blockchain nodes 104 in a distributed or blockchain network 106. As mentioned above, maintaining a copy of the blockchain 150 does not necessarily mean storing the blockchain 150 in its entirety. Instead, the blockchain 150 can be pruned so long as each blockchain node 150 stores the block header (described below) of each block 151. Each block 151 in the chain includes one or more transactions 152, where a transaction in this context refers to a type of data structure. The nature of the data structure depends on the type of transaction protocol used as part of the transaction model or scheme. A given blockchain uses one particular transaction protocol throughout. In one common type of transaction protocol, the data structure of each transaction 152 includes at least one input and at least one output. Each output specifies an amount that represents a quantity of a digital asset as property, an example of which is a user 103 to whom the output is cryptographically locked (requiring that user's signature or other solution to unlock it and thereby be redeemed or spent). Each input points to an output of a preceding transaction 152, thereby linking the transactions.

[0406] Each block 151 also contains a block pointer 155 that points to a previously created block 151 in the chain, defining an order for the blocks 151. Each transaction 152 (other than a coinbase transaction) contains a pointer to a previous transaction, defining an order for the sequence of transactions (Note: the sequence of transactions 152 is allowed to branch). The chain of blocks 151 dates back to a genesis block (Gb) 153, which was the first block in the chain. One or more original transactions 152 earlier in the chain 150 pointed to the genesis block 153 rather than to a preceding transaction.

[0407] Each of the blockchain nodes 104 is configured to forward transactions 152 to other blockchain nodes 104, thereby propagating the transactions 152 throughout the network 106. Each blockchain node 104 is configured to create blocks 151 and store a respective copy of the same blockchain 150 in its respective memory. Each blockchain node 104 also maintains an ordered set (or "pool") 154 of transactions 152 waiting to be incorporated into a block 151. The ordered pool 154 is often referred to as a "mempool." This term herein is not intended to be limited to any particular blockchain, protocol, or model. It refers to the ordered set of transactions that the node 104 has accepted as valid, for which the node 104 is obligated not to accept any other transactions that attempt to consume the same output.

[0408] For a given current transaction 152j, its (or each) input contains a pointer that references the output of a preceding transaction 152i in the sequence of transactions, specifying that this output should be redeemed or "consumed" in the current transaction 152j. In general, the preceding transaction can be any transaction in the ordered set 154 or any block 151. The preceding transaction 152i does not necessarily have to exist at the time the current transaction 152j is created or even sent to the network 106, but the preceding transaction 152i must exist and be validated for the current transaction to be valid. Thus, "preceding" in this specification refers to a preceding element in a logical sequence linked by a pointer, not necessarily at the time of creation or transmission in the temporal sequence, and therefore does not necessarily exclude transactions 152i, 152j from being created or transmitted out of sequence (see the discussion below regarding orphan transactions). The preceding transaction 152i can equally be referred to as a previous transaction or a preceding transaction.

[0409] The input of the current transaction 152j also includes an input authorization, e.g., the signature of the user 103a to which the output of the previous transaction 152i is locked. The output of the current transaction 152j can then be cryptographically locked to the new user or entity 103b. The current transaction 152j can thus transfer to the new user or entity 103b the amount defined in the input of the previous transaction 152i as defined in the output of the current transaction 152j. In some cases, the transaction 152 may have multiple outputs to divide the input amount among multiple users or entities (one of which may be the original user or entity 103a to provide change). In some cases, a transaction may also have multiple inputs to collect amounts from multiple outputs of one or more previous transactions and redistribute them to one or more outputs of the current transaction.

[0410] According to an output-based transaction protocol such as Bitcoin, when a party 103, such as an individual user or an organization, wants to enact a new transaction 152j (either manually or by an automated process adopted by the party), the enacting party sends the new transaction from its computer terminal 102 to a recipient. The enacting party or recipient will eventually send this transaction to one or more of the blockchain nodes 104 of the network 106 (currently typically a server or a data center, but in principle it could be other user terminals). It is also not excluded that the party 103 enacting the new transaction 152j sends this transaction directly to one or more of the blockchain nodes 104 and in some examples does not send it to a recipient. The blockchain nodes 104 that receive the transaction check whether the transaction is valid according to the blockchain node protocol applied at each of them. The blockchain node protocol typically requires that the blockchain nodes 104 check that the cryptographic signature in the new transaction 152j matches an expected signature, which depends on the previous transaction 152i in the ordered sequence of transactions 152. In such output-based transaction protocols, this may involve checking that a cryptographic signature or other authorization of party 103 included in the input of the new transaction 152j matches a condition defined in the output of the previous transaction 152i that the new transaction assigns, which typically involves at least checking that the cryptographic signature or other authorization in the input of the new transaction 152j unlocks the output of the previous transaction 152i to which the input of the new transaction is linked. This condition may be defined at least in part by a script included in the output of the previous transaction 152i. Alternatively, it may simply be fixed by the blockchain node protocol alone, or result from a combination of these.In any case, if the new transaction 152j is valid, the blockchain node 104 forwards it to one or more other blockchain nodes 104 in the blockchain network 106. These other blockchain nodes 104, following the same blockchain node protocol and applying the same tests, forward the new transaction 152j to one or more further nodes 104, and so on. In this manner, the new transaction is propagated throughout the network of blockchain nodes 104.

[0411] In the output-based model, the definition of whether a given output (e.g., UTXO) has been allocated (e.g., spent) is whether it has still been validly redeemed by the input of another, forward transaction 152j according to the blockchain node protocol. Another condition for a transaction to be valid is that the output of the preceding transaction 152i that it attempts to redeem has not yet been redeemed by another transaction. Again, if it is not valid, the transaction 152j is not propagated (unless it is flagged as invalid and propagated due to a warning) or recorded in the blockchain 150. This protects against double spending, where a transaction executor tries to allocate the output of the same transaction multiple times. On the other hand, the account-based model prevents double spending by maintaining an account balance. Again, since there is a defined order of transactions, the account balance has a single defined state at any point in time.

[0412] In addition to validating transactions, blockchain nodes 104 compete to be the first to create a block of transactions in a process commonly referred to as mining, supported by "proof of work." At the blockchain nodes 104, new transactions are added to an ordered pool 154 of valid transactions that have not yet appeared in a block 151 recorded on the blockchain 150. The blockchain nodes then compete to assemble a new valid block 151 of transactions 152 from an ordered set of transactions 154 by attempting to solve a cryptographic puzzle. Typically, this involves searching for a "nonce" value such that when the nonce is concatenated with a representation of the ordered pool of pending transactions 154 and hashed, the output of the hash satisfies a predefined condition. For example, the predefined condition could be that the output of the hash has a certain predefined number of leading zeros. This is just one particular type of proof of work puzzle, others are not excluded. A property of a hash function is that it has an unpredictable output for an input. Therefore, this search can only be performed by brute force, thus consuming a significant amount of processing resources at each blockchain node 104 attempting to solve the puzzle.

[0413] The first blockchain node 104 that solves the puzzle publishes this to the network 106, providing the solution as a proof that other blockchain nodes 104 in the network can easily check (given the hash solution, it is easy to check that it matches the hash output). The first blockchain node 104 propagates the block to a threshold consensus of other nodes that accept the block, thus enforcing the protocol rules. The ordered set of transactions 154 then becomes recorded as a new block 151 in the blockchain 150 by each of the blockchain nodes 104. A block pointer 155 is also assigned to the new block 151n that points to a previously created block 151n-1 in the chain. The significant amount of effort, e.g., in the form of a hash, required to create the proof-of-work solution signals the first node 104's willingness to follow the rules of the blockchain protocol. Such rules include not accepting a transaction as valid if it assigns the same output as a previously validated transaction, otherwise known as double spending. Once created, blocks 151 cannot be modified because they are known and maintained by each of the blockchain nodes 104 in the blockchain network 106. Block pointers 155 also impose an order on blocks 151. This therefore provides an immutable public ledger of transactions, as transactions 152 are recorded in ordered blocks at each blockchain node 104 in the network 106.

[0414] Note that different blockchain nodes 104 competing to solve the puzzle at any given time may do so based on different snapshots of the pool of transactions 154 that are not yet published at any given time, depending on when they started looking for a solution or the order in which the transactions were received. The first to solve each puzzle defines which transactions 152 will be included in the next new block 151n and in what order, and the current pool of unpublished transactions 154 is updated. The blockchain nodes 104 then compete to create blocks from the newly defined ordered pool of unpublished transactions 154, and so on. There is also a protocol to resolve any "forks" that may occur, which is when two blockchain nodes 104 solve the puzzle within such a short time of each other that opposing views of the blockchain are propagated between the nodes 104. In essence, whichever branch of the fork grows the longest becomes the definitive blockchain 150. Note that this should not affect users or agents of the network when the same transaction appears in both forks.

[0415] According to the Bitcoin blockchain (and most other blockchains), a node that successfully constructs a new block 104 is granted the ability to allocate a new additional accepted amount of digital assets in a new special type of transaction that distributes an additional defined amount of digital assets (as opposed to an agent-to-agent or user-to-user transaction that transfers digital assets from one agent or user to another). This special type of transaction is usually referred to as a "coinbase transaction," but may also be called an "initiation transaction" or "generation transaction." It typically forms the first transaction of a new block 151n. The proof of work signals the intention of the node constructing the new block to follow protocol rules that allow this special transaction to be redeemed later. Blockchain protocol rules may require a redemption period, e.g., 100 blocks, before this special transaction can be redeemed. Often, a regular (non-generating) transaction 152 also specifies an additional transaction fee in one of its outputs to further reward the blockchain node 104 that created the block 151n in which the transaction was published. This fee is commonly referred to as a "transaction fee" and is explained below.

[0416] Due to the resources involved in validating and publishing transactions, typically at least each of the blockchain nodes 104 takes the form of a server including one or more physical server units, or even an entire data center. However, in principle, any given blockchain node 104 can also take the form of a user terminal or a group of networked user terminals.

[0417] The memory of each blockchain node 104 stores software configured to execute on the processing unit of the blockchain node 104 to perform its respective one or more roles and process transactions 152 in accordance with the blockchain node protocol. It will be understood that any activity attributed to a blockchain node 104 herein may be performed by software executing on the processing unit of the respective computing device. The node software may be implemented in one or more applications at the application layer, or at a lower layer, such as the operating system layer or protocol layer, or any combination thereof.

[0418] Also connected to the network 101 are computer devices 102 of each of a number of parties 103 who assume the role of consuming users. These users may interact with the blockchain network 106 but do not participate in validating transactions or constructing blocks. Some of these users or agents 103 may act as senders and receivers in transactions. Other users may interact with the blockchain 150 without necessarily acting as senders or receivers. For example, some parties may act as storage entities that store copies of the blockchain 150 (e.g., having obtained a copy of the blockchain from a blockchain node 104).

[0419] Some or all of the parties 103 may be connected as part of a different network, for example a network overlaid on the blockchain network 106. Users of the blockchain network (often referred to as "clients") may be said to be part of a system that includes the blockchain network 106, but these users are not blockchain nodes 104 because they do not perform the necessary role of a blockchain node. Instead, each party 103 may interact with the blockchain network 106 by connecting (i.e., communicating) with a blockchain node 106, thereby utilizing the blockchain 150. Two parties 103 and their respective devices 102 are shown for illustrative purposes: a first party 103a and its respective computer device 102a, and a second party 103b and its respective computer device 102b. It will be understood that many more such parties 103 and their respective computer devices 102 may exist and participate in the system 100, but for convenience they are not illustrated. Each party 103 may be an individual or an organization. Purely by way of example, the first party 103a will be referred to herein as Alice and the second party 103b will be referred to as Bob, although it will be understood that this is not intended to be limiting and that references herein to Alice or Bob may be replaced with "first party" and "second party," respectively.

[0420] The computer equipment 102 of each party 103 comprises a respective processing device including one or more processors, e.g., one or more CPUs, GPUs, other accelerator processors, application specific processors, and / or FPGAs. The computer equipment 102 of each party 103 further includes a memory, i.e., a computer readable storage device in the form of a non-transitory computer readable medium. This memory may include one or more memory units employing one or more memory media, e.g., a magnetic medium such as a hard disk, an electronic medium such as a SSD, a flash memory, or an EEPROM, and / or an optical medium such as an optical disk drive. The memory on the computer equipment 102 of each party 103 stores software including a respective instance of at least one client application 105 arranged to execute on the processing device. It will be understood that any activity attributed to a given party 103 herein may be performed using software executed on the processing device of the respective computer equipment 102. The computer equipment 102 of each party 103 includes at least one user terminal, e.g., a desktop or laptop computer, a tablet, a smartphone, or a wearable device such as a smart watch. The computing equipment 102 of a given party 103 may also include one or more other network-connected resources, such as cloud computing resources accessed via a user terminal.

[0421] The client application 105 may be initially provided on the computing equipment 102 of any given party 103 on a suitable computer-readable storage medium, for example downloaded from a server, or may be provided on a removable storage device such as a removable SSD, a flash memory key, a removable EEPROM, a removable magnetic disk drive, a magnetic floppy disk or tape, an optical disk such as a CD or DVD ROM, or a removable optical drive, or the like.

[0422] The client application 105 has at least a "wallet" function. It has two main functionalities. One of these is to allow each party 103 to create, authorize (e.g., sign), and send transactions 152 to one or more Bitcoin nodes 104 for subsequent propagation throughout the network of blockchain nodes 104 and thereby inclusion in the blockchain 150. The other is to report to each party the amount of digital assets it currently owns. In an output-based system, this second function involves reconciling amounts belonging to the party of interest as determined in the outputs of various transactions 152 scattered throughout the blockchain 150.

[0423] NOTE: Although various client functions may be described as being integrated into a given client application 105, this is not necessarily limiting, and instead any client functionality described herein may instead be implemented as a set of two or more different applications, for example, interfaced via an API or plugged into one another. More generally, client functionality may also be implemented at the application layer, or at a lower layer such as an operating system, or any combination of these. While the following will describe client application 105, it will be understood that this is not limiting.

[0424] An instance of a client application or software 105 on each computing device 102 is operatively coupled to at least one of the blockchain nodes 104 of the network 106. This allows the wallet function of the client 105 to send transactions 152 to the network 106. The client 105 can also contact the blockchain nodes 104 to query the blockchain 150 for any transactions in which the respective party 103 is a recipient (or indeed to inspect the transactions of other parties in the blockchain 150, since in an embodiment the blockchain 150 is a public facility that provides trust to transactions in part through its public visibility). The wallet function on each computing device 102 is configured to formulate and send transactions 152 according to a transaction protocol. As noted above, each blockchain node 104 executes software configured to validate transactions 152 according to a blockchain node protocol and forward transactions 152 for propagation throughout the blockchain network 106. The transaction protocol and the node protocol correspond to each other, and a given transaction protocol goes with a given node protocol and together implement a given transaction model. The same transaction protocol is used for all transactions 152 in the blockchain 150. The same node protocol is used by all nodes 104 in the network 106.

[0425] When a given party 103, say Alice, wants to send a new transaction 152j to be included in the blockchain 150, Alice formulates the new transaction (using the wallet functionality of Alice's client application 105) according to the relevant transaction protocol. Alice then sends the transaction 152 from her client application 105 to one or more blockchain nodes 104 to which she is connected. For example, this could be the blockchain node 104 that is most connected to Alice's computer 102. When any given blockchain node 104 receives a new transaction 152j, it processes it according to the blockchain node protocol and its respective role. This involves first checking whether the newly received transaction 152j satisfies certain conditions to be "valid", examples of which will be explained in more detail shortly. In some transaction protocols, the conditions for validity checking may be configurable per transaction by a script included in the transaction 152. Alternatively, this condition could simply be a built-in feature of the node protocol or be defined by a combination of the script and the node protocol.

[0426] Provided that the newly received transaction 152j passes the test for being considered valid (i.e., it is "validated"), any blockchain node 104 that receives the transaction 152j adds the new validated transaction 152 to the ordered set of transactions 154 maintained at that blockchain node 104. Additionally, any blockchain node 104 that receives the transaction 152j forward propagates the validated transaction 152 to one or more other blockchain nodes 104 in the network 106. Because each blockchain node 104 applies the same protocol, then, assuming the transaction 152j is valid, this means that it will be propagated throughout the network 106 immediately.

[0427] After being admitted into the ordered pool of pending transactions 154 maintained by a given blockchain node 104, that blockchain node 104 starts a race to solve a proof-of-work puzzle with the latest version of each pool 154 that contains the new transaction 152. (Recall that other blockchain nodes 104 may be trying to solve the puzzle based on different pools of transactions l54, but whoever gets there first defines the set of transactions included in the latest block 151. Eventually, the blockchain node 104 will have solved the puzzle for the part of the ordered pool 154 that contains Alice's transaction 152j.) After the proof-of-work is done for the pool 154 that contains the new transaction 152j, it immutably becomes part of one of the blocks 151 in the blockchain 150. Each transaction 152 contains a pointer to the previous transaction, so the order of the transactions is also immutably recorded.

[0428] Different blockchain nodes 104 may initially receive different instances of a given transaction and therefore have conflicting views about which instance is "valid" before the instances are published in a new block 151, at which point all blockchain nodes 104 agree that the published instance is the only valid instance. If a blockchain node 104 accepts one instance as valid and then discovers that a second instance has been recorded in the blockchain 150, it must accept it and discard (i.e., treat as invalid) the instance it originally accepted (i.e., the one not published in block 151).

[0429] An alternative type of transaction protocol operated by some blockchain networks may be referred to as an "account-based" protocol, as part of the account-based transaction model. In the account-based case, each transaction does not define the amount transferred by referencing the UTXO of the preceding transaction in the sequence of past transactions, but rather by referencing the absolute account balance. The current state of every account is stored and constantly updated by the nodes of the network, separate from the blockchain. In such a system, transactions are ordered using the running transaction tally (also called the "position") of the account. This value is signed by the sender as part of the cryptographic signature and hashed as part of the transaction reference calculation. In addition, an optional data field may also be signed in the transaction. This data field may point to a previous transaction, for example if a previous transaction ID is included in the data field.

[0430] UTXO-based model FIG. 2 illustrates an example of a transaction protocol. This is an example of a UTXO-based protocol. A transaction 152 (abbreviated as "Tx") is a fundamental data structure of a blockchain 150 (each block 151 contains one or more transactions 152). The following is described with reference to an output-based or "UTXO"-based protocol. However, this is not limited to all possible embodiments. It should be noted that the exemplary UTXO-based protocol is described with reference to Bitcoin, but could equally be implemented on other exemplary blockchain networks.

[0431] In the UTXO-based model, each transaction ("Tx") 152 comprises a data structure that includes one or more inputs 202 and one or more outputs 203. Each output 203 may include an unspent transaction output (UTXO) that may be used as a source of input 202 for another new transaction (if the UTXO has not yet been redeemed). The UTXO includes a value that specifies an amount of a digital asset. This represents a set number of tokens on the distributed ledger. The UTXO may also include, among other information, the transaction ID of the transaction from which it originated. The transaction data structure may also include a header 201 that may include indicators of the sizes of the input fields 202 and the output fields 203. The header 201 may also include the ID of the transaction. In an embodiment, the transaction ID is a hash of the transaction data (excluding the transaction ID itself) and is stored in the header 201 of the raw transaction 152 submitted to the node 104.

[0432] For example, Alice 103a wants to create a transaction 152j that transfers an amount of digital assets of interest to Bob 103b. In FIG. 2, Alice's new transaction 152j is labeled "Tx1". It takes the amount of digital assets locked to Alice in the output 203 of the preceding transaction 152i in the sequence and transfers at least a portion of it to Bob. The preceding transaction 152i is labeled "Tx0" in FIG. 2. Tx0 and Tx1 are merely arbitrary labels. They do not necessarily mean that Tx0 is the first transaction in the blockchain 151, nor that Tx1 is the immediate next transaction in the pool 154. Tx1 can also refer to any preceding (i.e., previous) transaction that still has unspent outputs 203 locked to Alice.

[0433] The preceding transaction Tx0 may already be validated and included in a block 151 of the blockchain 150 by the time Alice creates the new transaction Tx1, or at least sends it to the network 106. It may already be included in one of the blocks 151 at that time, or may still be waiting in the ordered set 154, in which case it will be included in the new block 151 soon. Alternatively, Tx0 and Tx1 may be created together and sent to the network 106 together, or Tx0 may even be sent after Tx1 if the node protocol allows for buffering of "orphan" transactions. The phrases "preceding" and "successor" as used herein in the context of a sequence of transactions refer to the order of the transactions in the sequence as defined by the transaction pointers specified in the transactions (which transactions point to which other transactions, etc.). They may equally be replaced with "predecessor" and "successor", or "predecessor" and "descendant", "parent" and "child", or the like. This does not necessarily imply the order in which they are created, sent to the network 106, or arrive at any given blockchain node 104. Nevertheless, subsequent transactions (descendant transactions or "children") that point to a preceding transaction (the previous transaction or "parent") are not validated until and unless the parent transaction is validated. A child that arrives at a blockchain node 104 before its parent is considered an orphan. It may be discarded or buffered for a period of time to await its parent, depending on the node protocol and / or node behavior.

[0434] One of the one or more outputs 203 of the preceding transaction Tx0 includes a particular UTXO, here labeled UTXO0. Each UTXO includes a value that specifies the amount of the digital asset represented by the UTXO, and a locking script that defines the conditions that must be met by an unlocking script in the input 202 of the subsequent transaction for the subsequent transaction to be validated and thus the UTXO to be successfully redeemed. Typically, the locking script locks the amount to a particular party (the beneficiary of the transaction in which it is included). That is, the locking script typically defines unlocking conditions, including a condition that the unlocking script in the input of the subsequent transaction includes a cryptographic signature of the party to whom the preceding transaction is locked.

[0435] A lock script (also called scriptPubKey) is a piece of code written in a domain-specific language recognized by the node protocol. A particular example of such a language is called "Script" (capital S) used in blockchain networks. A lock script specifies the information required to consume a transaction output 203, for example the requirements for Alice's signature. An unlock script appears within the output of a transaction. An unlock script (also called scriptSig) is a piece of code written in a domain-specific language that provides the information required to satisfy the criteria of the lock script. For example, this may include Bob's signature. An unlock script appears within the input 202 of a transaction.

[0436] Thus, in the illustrated example, UTXO0 in output 203 of Tx0 must have Alice's signature Sig P in order for UTXO0 to be redeemed (or, more precisely, for a subsequent transaction attempting to redeem UTXO0 to be valid). A Requires lock script [Checksig P A ] is equipped. A ] is the public key P from Alice’s public-private key pair.A , a representation (i.e., a hash) of Tx1's input 202. Tx1's input 202 includes a pointer to Tx1 (e.g., with its transaction ID, TxID0, which in an embodiment is a hash of the entire transaction Tx0). Tx1's input 202 includes an identification UTXO0 in Tx0 to identify it among any other possible outputs of Tx0. Tx1's input 202 includes an unlock script containing Alice's cryptographic signature, created by Alice applying the private key from her key pair to a predefined portion of data (sometimes called a "message" in cryptography). <Sig P A The data (or "message") that needs to be signed by Alice to provide a valid signature may be defined by the lock script, or by the node protocol, or by a combination of these.

[0437] When a new transaction Tx1 arrives at a blockchain node 104, the node applies the node protocol, which involves running the lock script and the unlock script together to check whether the unlock script satisfies the conditions defined in the lock script (where the conditions may include one or more criteria). In an embodiment, this involves concatenating the two scripts as follows: <Sig P A > <P A > || [Checksig P A ] Here, "||" represents concatenation, "<...>" means putting data on the stack, and "[...]" is a function that is constructed by the lock script (a stack-based language in this example). Equivalently, the scripts could be executed one after the other, with a common stack, rather than concatenating the scripts. Either way, when executed together, the scripts will create a lock script that contains Alice's public key P, as contained in the lock script in the output of Tx0. A, to authenticate that the unlock script in the input for Tx1 contains Alice's signature, signing the expected portion of the data. In order to perform this authentication, the expected portion of the data itself (the "message") must also be included. In an embodiment, the signed data includes the entirety of Tx1 (and thus there is no need to include a separate element specifying the signed portion of the data in plaintext, since it is already inherently present).

[0438] The details of authentication with public-private cryptography will be familiar to those skilled in the art. Essentially, if Alice signs a message using her private key, then given Alice's public key and the plaintext message, another entity, such as node 104, can authenticate that the message must have been signed by Alice. Signing typically involves hashing the message, signing the hash, and tagging this as the signature to the message, so that anyone holding the public key can authenticate the signature. Thus, it should be noted that references herein to signing a particular data portion or part of a transaction, etc., may, in embodiments, mean signing a hash of that data portion or part of a transaction.

[0439] If the unlock script of Tx1 satisfies one or more conditions specified in the lock script of Tx0 (thus, in the illustrated example, Alice's signature is provided and authenticated in Tx1), the blockchain node 104 considers Tx1 valid. This means that the blockchain node 104 adds Tx1 to the ordered pool of pending transactions 154. The blockchain node 104 also forwards the transaction Tx1 to one or more other blockchain nodes 104 in the network 106, thereby propagating it throughout the network 106. After Tx1 is validated and entered into the blockchain 150, it defines Tx0 to UTXO0 as spent. Note that Tx1 can only be valid if it consumes an unspent transaction output 203. If it attempts to consume an output that has already been consumed by another transaction 152, Tx1 becomes invalid even if all other conditions are met. Therefore, a blockchain node 104 also needs to check whether the UTXO referenced in the preceding transaction Tx0 has already been spent (i.e., whether it already forms a valid input to another valid transaction). This is one of the reasons why it is important for the blockchain 150 to impose a defined order on transactions 152. Indeed, a given blockchain node 104 may maintain a separate database that marks which UTXOs 203 have been spent in which transactions 152, but what ultimately defines whether a UTXO has been spent is whether it already forms a valid input to another valid transaction in the blockchain 150.

[0440] If the total amount specified in all outputs 203 of a given transaction 152 is greater than the total amount pointed to by all its inputs 202, this is another criterion for invalidity in most transaction models. Therefore, such a transaction is not propagated and is not included in block 151.

[0441] Note that in the UTXO-based transaction model, a given UTXO must be spent in its entirety. It is not possible to "leave" part of the amount defined in the UTXO as spent while another part is being spent. However, the amount from a UTXO may be split among multiple outputs of a subsequent transaction. For example, the amount defined in UTXO0 in Tx0 may be split among multiple UTXOs in Tx1. Thus, if Alice does not want to give Bob all of the amount defined in UTXO0, she can use the remainder to give herself change in the second output of Tx1 or to pay another party.

[0442] In practice, Alice would also typically need to include a fee for any Bitcoin node 104 that successfully puts her transaction 104 into a block 151. If Alice does not include such a fee, Tx0 will be rejected by the blockchain node 104 and thus, although technically valid, will not be propagated and will not be included in the blockchain 150 (the node protocol does not force blockchain nodes 104 to accept the transaction 152 if they do not want to do so). In some protocols, the transaction fee does not require its own separate output 203 (i.e., it does not require a separate UTXO). Instead, any difference between the total amount pointed to by the input 202 and the total amount specified in the output 203 of a given transaction 152 is automatically given to the blockchain node 104 that publishes the transaction. For example, a pointer to UTXO0 is the only input to Tx1, which has only one output UTXO1. If the amount of the digital asset specified in UTXO0 is greater than the amount specified in UTXO1, the difference may be allocated by the node 104 that won the proof-of-work race to create the block containing UTXO1. However, it is not necessarily excluded that a transaction fee may alternatively, or in addition, be explicitly specified in one of the UTXOs 203 of transaction 152 itself.

[0443] Alice and Bob's digital assets consist of the UTXOs locked to them in any transaction 152 anywhere in the blockchain 150. Thus, typically, a given party's 103 assets are scattered throughout the UTXOs of various transactions 152 throughout the blockchain 150. There is no one number stored anywhere in the blockchain 150 that defines a given party's 103 total balance. It is the role of the wallet function in the client application 105 to collate together the values ​​of all the various UTXOs locked to each party that have not yet been spent in another onward transaction. This can be done by querying a copy of the blockchain 150 as stored in any of the Bitcoin nodes 104.

[0444] Note that script code is often expressed generally (i.e., without using a precise language). For example, an operation code (opcode) may be used to express a particular function. "OP_..." refers to a particular opcode in the Script language. As an example, OP_RETURN is an opcode in the Script language that, when preceded by OP_FALSE at the beginning of the lock script, creates a non-consumable output of the transaction that can store data within the transaction, thereby immutably recording the data in the blockchain 150. For example, the data may include a document that is desired to be stored in the blockchain.

[0445] Typically, the input for a transaction is a public key P AIn an embodiment, this is based on ECDSA using the elliptic curve secp256k1. The digital signature signs certain data. In some embodiments, for a given transaction, the signature signs some of the transaction inputs and some or all of the transaction outputs. The specific parts of the outputs it signs depend on the SIGHASH flag, which is typically a four-byte code included at the end of the signature that selects which outputs are signed (and thus fixed at the time of signing).

[0446] The lock script may be referred to as a "scriptPubKey", referring to the fact that it typically includes the public key of the party for whom the respective transaction is locked. The unlock script may be referred to as a "scriptSig", referring to the fact that it typically provides a corresponding signature. However, more generally, in all applications of the blockchain 150, it is not essential that the condition for a UTXO to be redeemed includes authenticating the signature. More generally, the scripting language may be used to define any condition or conditions. Thus, the more general terms "lock script" and "unlock script" may be preferred.

[0447] Side Channels As shown in FIG. 1, the client applications on each of Alice's and Bob's computing devices 102a, 120b, respectively, may include additional communication capabilities. This additional functionality allows Alice 103a to establish a separate side channel 107 with Bob 103b (at the instigation of either party or a third party). The side channel 107 allows for the exchange of data away from the blockchain network. Such communication is sometimes referred to as "off-chain" communication. For example, this may be used to exchange transactions 152 between Alice and Bob without the transaction (yet) being registered on the blockchain network 106 or progressing on the chain 150 until one of the parties chooses to broadcast it to the network 106. Sharing transactions in this manner is sometimes referred to as sharing a "transaction template." A transaction template may lack one or more inputs and / or outputs necessary to form a complete transaction. Alternatively, or in addition, the side channel 107 may be used to exchange any other transaction-related data, such as keys, negotiated amounts or terms, data content, etc.

[0448] The side channel 107 may be established over the same packet-switched network 101 as the blockchain network 106. Alternatively, or in addition, the side channel 301 may be established over a different network, such as a mobile cellular network, or a local area network, such as a local wireless network, or even over a direct wired or wireless link between Alice's device 102a and Bob's device 102b. In general, the side channel 107 referenced anywhere herein may include any one or more links over one or more network technologies or communication media for exchanging data "off-chain," i.e., separate from the blockchain network 106. When multiple links are used, the bundle or collection of off-chain links may be referred to as the side channel 107 as a whole. Thus, it should be noted that when Alice and Bob are said to exchange some information or data or the like over the side channel 107, this does not necessarily imply that all pieces of these data must be transmitted over the exact same link or the same type of network.

[0449] conclusion Other variations or use cases of the disclosed technology will be apparent to those skilled in the art after the disclosure herein is presented. The scope of the present disclosure is not limited by the described embodiments, but only by the appended claims. For example, some embodiments above have been described with respect to the Bitcoin network 106, the Bitcoin blockchain 150, and the Bitcoin nodes 104. However, it will be understood that the Bitcoin blockchain is a specific example of the blockchain 150, and the above description may be generally applied to any blockchain. That is, the present invention is in no way limited to the Bitcoin blockchain. More generally, any references above to the Bitcoin network 106, the Bitcoin blockchain 150, and the Bitcoin nodes 104 may be replaced with references to the blockchain network 106, the blockchain 150, and the blockchain nodes 104, respectively. The blockchains, blockchain networks, and / or blockchain nodes may share some or all of the described characteristics of the Bitcoin blockchain 150, the Bitcoin network 106, and the Bitcoin nodes 104 described above.

[0450] In a preferred embodiment of the present disclosure, the blockchain network 106 is the Bitcoin network, and the Bitcoin nodes 104 perform at least some or all of the described functions of creating, publishing, propagating, and storing blocks 151 of the blockchain 150. It is not excluded that there may be other network entities (or network elements) that perform only one or some, but not all, of these functions. That is, network entities may perform the functions of propagating and / or storing blocks without creating and publishing them (recall that these entities are not considered to be nodes of the preferred Bitcoin network 106).

[0451] In other embodiments of the present disclosure, the blockchain network 106 may not be the Bitcoin network. In these embodiments, it is not excluded that a node may perform at least one or some, but not all, of the functions of creating, publishing, propagating, and storing blocks 151 of the blockchain 150. For example, in these other blockchain networks, a "node" may be used to refer to a network entity that is configured to create and publish blocks 151, but does not store and / or propagate those blocks 151 to other nodes.

[0452] More generally, any reference above to the term "Bitcoin node" 104 may be replaced with the term "network entity" or "network element," where such entity / element is configured to perform some or all of the roles of creating, publishing, propagating, and storing blocks. The functionality of such network entities / elements may be implemented in hardware using the same methods as described above with reference to the blockchain node 104.

[0453] The term "user" may be used herein to include a human or a machine-based entity.

[0454] It should be noted that the above-described embodiments are illustrative of the present disclosure rather than limiting it, and that those skilled in the art may design many alternative embodiments without departing from the scope of the present disclosure as defined by the appended claims. In the claims, reference signs in parentheses shall not be construed as limiting the claims. Furthermore, the words "comprise" and "include" and similar expressions do not exclude the presence of elements or steps other than those described in any claim or throughout the specification. As used herein, "comprise" and "comprises" mean "comprises or consists of", and "comprising" and "comprising" mean "comprises or consists of". Throughout the specification, conjugations such as "comprise", "comprise", or "comprising" are understood to imply the inclusion of a stated element, integer, or step, or group of elements, integers, or steps, but not the exclusion of any other element, integer, or step, or group of elements, integers, or steps. The singular reference of an element does not exclude the plural reference of such element, and vice versa. The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain means are recited in mutually different dependent claims does not indicate that a combination of these means cannot be used to advantage. [Explanation of symbols]

[0455] 14.1000 distributed mining nodes, PoW providers 14.1300 PoW requested resources, PoW requesters 19,000 Distributed Mining Components 19.1100 ASIC 19.1100a, 19.1100b or 19.1100c Calculator 19.1200 Controller 100 Systems 101 Packet Switching Network 102 Computer Equipment 102a Computer equipment 102b Computer equipment 103 User, Parties 103a User 103a First Party 103b New User or Entity 103b Second Party 104 Blockchain nodes 105 Client Applications 106 Peer-to-peer (P2P) networks, decentralized or blockchain networks 107 Side Channel 120b Computer equipment 150 Blockchain 151 Blocks of Data 151n Block 151n-1 Block 152 Transactions 152i Transactions 152j Transaction 153 Genesis Block (Gb) 154 Ordered Sets (or "Pools") 155 Block Pointer 201 Header 202 Input 203 Output 301 Side Channel 502 parts 504 Common internal node (internal hash) 602 parts 602a~h part 604 Common Internal Nodes 700 System, Validation Node, Distributed Validation Component 702 System Level Controller 704 Validator 704a to 704d Validation Resources 902 Interface 903 Segment Identification Unit 904 Components 904 Allocation Units 905 Load Sharing Unit 1100 Resource Allocation Component 1102 Switch 1104 resources 1106 Validator 2000 System 2100 Record Storage Component

Claims

1. 1. A computer implemented system comprising: i) at least one validation component operable to facilitate and / or enable distributed validation of at least one blockchain transaction and / or blockchain blocks of a transaction; and / or ii) at least one mining component operable to facilitate and / or enable distributed mining of blockchain blocks and / or computation of proof-of-work computations; and / or iii) by identifying and / or allocating processing and / or storage resources using portions of the blockchain-derived data; At least one allocation component operable to allocate blockchain-related or blockchain implementation tasks to at least one computing resource, the portion of data being derived from data including unspent transaction outputs (UTXOs) and / or transactions (Tx) containing unspent transaction outputs; and / or iv) at least one record storage component including a record of at least a portion of a blockchain transaction, the record including transaction data for determining whether the at least a portion of a transaction (Tx) is included in a Merkle path of a blockchain block; 16. A computer-implemented system comprising:

2. The at least one validation component: Validating at least a portion of a blockchain block that includes a plurality of blockchain transactions and a root of a Merkle tree for the blockchain block; and preferably assigning respective subsets of the blockchain transactions to a plurality of validation (processing) resources, each respective subset providing a respective portion of the Merkle tree and represented by a respective interior node of the Merkle tree; and validating their respective subsets of blockchain transactions using the plurality of validation resources. The system of claim 1 , operable to:

3. The at least one validation component: Operable to download at least a portion of a blockchain block that includes a plurality of blockchain transactions and a root of a Merkle tree for the blockchain block; Preferably, the validation component validates the download by: allocating respective subsets of the blockchain transactions to a plurality of processing resources, each respective subset providing a respective portion of the Merkle tree and represented by a respective interior node of the Merkle tree; and downloading respective subsets of the blockchain transactions using one, some, or all of the plurality of processing resources; 3. The system of claim 1 or 2, arranged to execute by:

4. The at least one validation component: operative to generate, store, and / or maintain a first UTXO repository for recording, searching, and / or processing a plurality of unspent transaction outputs (UTXOs), each UTXO being associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; 4. The system of claim 1, wherein the plurality of blockchain transactions provide and / or are represented by a portion of a Merkle tree for the blockchain block.

5. The system and / or at least one validation component may further comprise: i) validating and / or verifying at least one blockchain transaction; and / or ii) carrying out the Simplified Payment Verification (SPV) process; and / or iii) verifying whether a given blockchain transaction is contained within said blockchain block; and / or iii) generating at least one hash of the blockchain transaction, constructing a Merkle path using the hash, and / or checking whether the hash matches a transaction identifier in a header of the blockchain block.

5. The system of claim 1 , wherein the system is operable to:

6. The system and / or at least one validation component may further comprise:

6. The system of any one of claims 1 to 5, comprising at least one validation resource that is or includes at least one of a virtual machine, a server, a GPU-based computing resource, a thread, and / or a multiprocessor system.

7. The at least one allocation component: i) identifying and / or allocating processing and / or storage resources using a portion of the blockchain-derived data; Preferably, the portion of data includes or is derived from, identifying and / or allocating unspent transaction outputs (UTXOs) and / or blockchain transactions (Tx) that contain unspent transactions; and / or ii) using / providing, generating, storing, and / or maintaining a first UTXO resource, the first UTXO resource being configured to: a) record, retrieve, and / or process a plurality of unspent transaction outputs (UTXOs), each associated with a transaction (Tx) in a plurality of blockchain transactions (TX) of a blockchain block; and / or b) identify and / or allocate resources using a portion of data derived from the blockchain, the data from which the portion of data is derived including unspent transaction outputs (UTXOs) and / or transactions (Tx) containing UTXOs; and / or iii) receiving and / or processing an unspent transaction output (UTXO) for inclusion in a transaction, and / or using the portion of data derived from the unspent transaction output to identify an allocated resource that holds validation data for the UTXO and / or requests, receives, processes, and / or uses the validation data from the allocated resource; 7. The system of claim 1 , wherein the system is operable to:

8. The at least one allocation component:

8. The system of claim 7, further operable to store and / or process the unconsumed transaction outputs and / or at least a portion of the transactions (Tx) in and / or by and / or in association with the allocated resources.

9. The at least one mining component comprises: Sending a request from a first resource to a second resource to generate a proof of work (PoW) for a blockchain block containing a plurality of transactions, the request being a control transaction (TX 0 ) is included in said plurality of transactions; and / or receiving a request from the first resource at the second resource to generate a proof of work (PoW) for a blockchain block containing a plurality of transactions, the request being a control transaction (TX 0 ) is included in said plurality of transactions, 9. A system according to any one of claims 1 to 8, operable to:

10. The control transaction (TX 0 ) includes control data for controlling, authorizing and / or prohibiting the execution of proof-of-work generation, preferably said control data comprising: i) at least one output specifying a predetermined address for a destination of the blockchain transfer; Preferably, the address is associated with the second resource or with a party associated with or authorized by the second resource; At least one output, and / or ii) at least one prescribed signature; and / or iii) At least one secret value or secret portion of data The system of claim 9, comprising:

11. the first resource is a PoW request resource, a blockchain validation resource, or a blockchain mining resource; and / or the second resource is a proof-of-work provider; and / or 11. The system of claim 9 or 10, wherein the second resource comprises at least one ASIC, or a hash machine, or a dedicated cryptocurrency mining resource.

12. The at least one record storage component: at least one record, said at least one record comprising: i) A blockchain transaction (TX) that contains at least one data item (D). 0 )and, ii) The blockchain transaction (TX 1 At least one further blockchain transaction (TX) required to verify that the block (B) is included in the Merkle path of the blockchain block (B). 1 )and 12. The system according to claim 1 , comprising:

13. The record is the transaction (TX 0 ) to the root of the Merkle tree of the blockchain block (B), Preferably, the Merkle route is 0 13. The system of claim 12, further comprising at least a minimum set of blockchain transactions required to establish or verify that a block (B) of the blockchain is included in the block (B).

14. When embodied in computer readable storage and executed on one or more processors, i) implementing some or all of the functionality of the system claimed in this application; and / or ii) A computer program product arranged or configured to implement, facilitate, enable or provide one or more of the features recited in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Parallel merkle tree construction and verification method suitable for energy block chain

    CN111581214A

  • High-Performance Distributed Recording System

    JP2021508877A

  • Maintaining blockchain blocks in a partitioned blockchain network

    JP2021522710A

  • Scaling and accelerating decentralized execution of transactions

    US20210273807A1

  • Computer-implemented systems and methods for implementing transfers over a blockchain network

    WO2020165676A1